i insert multiple similar own-widget(MYCustomWidget) into div in
uibinder (HOLDER_IN_UIBINDER)

 <g:HTMLPanel ui:field="HOLDER_IN_UIBINDER">
 //programically adding multiple MYCustomWidget ; each mycustomwidget
is "li" element
 </g:HTMLPanel>

Before i'm using below code to retrieve value for each MYCustomWidget,
I use jquery to change the sequence of each MYCustomWidget. I verified
this using firefox(see the raw html), and i able to see the sequence
was changed.

 for (Widget w: HOLDER_IN_UIBINDER) {
   if (w instanceof MYCustomWidget) {
        System.out.println(  ((MYCustomWidget)w).getValue()  );

   }

 }

My question is after i retrieve value with above code, it seem gwt
still remember the original sequence of all MyCustomWidget inside
HOLDER_IN_UIBINDER. Can't GWT
for (Widget w: HOLDER_IN_UIBINDER) use the sequence that I changed
when retrieve each value?

-- 
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