is it possible to create a custom widget in UiBinder that can contain
unknown number of child elements ?

similar to FlowPanel and HTMLPanel.

for example, how to create a MyContainer, that can contain One or More
Hyperlinks ?

<my:MyContainer>
<g;HyperLink ui:field="a" />
<g;HyperLink ui:field="b" />
<g;HyperLink ui:field="c" />
....
<g;HyperLink ui:field="n" />

</my:MyContainer>

reading the documentation, I noticed there are @UiFactory and
@UiConstructor, but I believe
they are useful when we have number of attributes.
for example
<my:MyContainer attr1="a" attr2="b" .. attrN="n"/>

how can we do similar with child elements ?
how can <my:MyContainer> gain access to its child elements ?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to