partial support for references complete
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/user/reports@84747 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
583dc432d9
commit
c538f3c247
|
@ -185,7 +185,7 @@ public class TemplateComponent {
|
|||
area.setStyleName("report-ui-component");
|
||||
area.addStyleName(getStyle(sc.getType()));
|
||||
area.getElement().getStyle().setMarginTop(5, Unit.PX);
|
||||
area.setPixelSize(width, 18);
|
||||
area.setWidth(width+"px");
|
||||
area.setText((String) sc.getPossibleContent());
|
||||
this.content = area;
|
||||
}
|
||||
|
@ -202,7 +202,7 @@ public class TemplateComponent {
|
|||
area.addStyleName("readOnlyText");
|
||||
//area.addStyleName(getStyle(sc.getType()));
|
||||
area.getElement().getStyle().setMarginTop(5, Unit.PX);
|
||||
area.setPixelSize(width-5, 18);
|
||||
area.setWidth(width+"px");
|
||||
area.setText((String) sc.getPossibleContent());
|
||||
this.content = area;
|
||||
}
|
||||
|
@ -215,12 +215,13 @@ public class TemplateComponent {
|
|||
break;
|
||||
case BODY:
|
||||
if (sc.isLocked()) {
|
||||
HTML area = new HTML();
|
||||
area.setStyleName("d4sFrame");
|
||||
area.addStyleName("fixedTextArea");
|
||||
area.addStyleName("hasRichTextToolbar");
|
||||
area.setPixelSize(width, height);
|
||||
area.setHTML((String) sc.getPossibleContent());
|
||||
HTML area = new HTML();
|
||||
area.setStyleName("report-ui-component");
|
||||
area.addStyleName("readOnlyText");
|
||||
//area.addStyleName(getStyle(sc.getType()));
|
||||
area.getElement().getStyle().setMarginTop(5, Unit.PX);
|
||||
area.setWidth(width+"px");
|
||||
area.setText((String) sc.getPossibleContent());
|
||||
this.content = area;
|
||||
}
|
||||
else {
|
||||
|
|
Reference in New Issue