those will be required as attributes.". The javadoc for the
annotation says "The parameter names of the constructor are treated as
required xml element attribute values."
So why do I get:
[ERROR] <itf:TabLayoutPanel addStyleNames='itfTabPanel newRow'
barHeight='60' barUnit='PX' height='600px' ui:field='tabPanel'
width='900px'> missing required attribute(s): barUnit barHeight
For this:
<itf:TabLayoutPanel barUnit='PX' barHeight='60'
addStyleNames="itfTabPanel newRow" ui:field="tabPanel" width="900px"
height="600px">...
with this:
@UiFactory
public TabLayoutPanel createTabLayoutPanel(String barUnit, String
barHeight) {
return new TabLayoutPanel(Double.valueOf(barHeight),
Unit.valueOf(barUnit), messageSource);
}
Sure I've done something stupid, but what?
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment