PDA

View Full Version : [CLOSED] dev console warnings starting UiBinding usage of forms



nbuesing
16 Jan 2012, 7:19 AM
I added UiBinder and forms and am now starting to get warnings in my development mode console. While this is a minor issue, it still seems like something should be changed to avoid these warnings.


UiBinder Fragment:
<container:child layoutData="{verticalLayoutData}">
<form:FieldLabel text="Yes or No" labelSeparator="">
<form:widget>
<g:HorizontalPanel>
<form:Radio ui:field="Yes" boxLabel="Yes" />
<form:Radio ui:field="No" boxLabel="No"/>
</g:HorizontalPanel>
</form:widget>
</form:FieldLabel>
</container:child>


Warnings
Rebinding com.sencha.gxt.theme.base.client.field.FieldLabelDefaultAppearance_FieldLabelTemplate_render_SafeHtml__String_id__Style_style__boolean_isTop__int_labelWidth__int_padding___SafeHtmlTemplates

Invoking generator com.google.gwt.safehtml.rebind.SafeHtmlTemplatesGenerator

Constructing interface com.sencha.gxt.theme.base.client.field.FieldLabelDefaultAppearance_FieldLabelTemplate_render_SafeHtml__String_id__Style_style__boolean_isTop__int_labelWidth__int_padding___SafeHtmlTemplates


Generating method body for render0()


Template with variable in CSS attribute context: The template code generator cannot guarantee HTML-safety of the template -- please inspect manually or use SafeStyles to specify arguments in a CSS attribute context


Template with variable in CSS attribute context: The template code generator cannot guarantee HTML-safety of the template -- please inspect manually or use SafeStyles to specify arguments in a CSS attribute context

sven
16 Jan 2012, 7:25 AM
http://www.sencha.com/forum/showthread.php?173900-FieldLabel-GWT-warning