Hi I need to update the value of a textfield in an already attached
panel when the user clicks a button.
This panel is attached to a tabPanel.How can I update this value?



                                  Panel   formPanel = new NurseryDetails
(cooperator,node,selectedGermplasmList);
                                      detailsTab.add(new HTML("in detailsTab
panel :"+node.getAttribute("nursery")));
                                        
detailsTab.add(formPanel);//nurserySelectedEntries
                                        detailsTab.doLayout();
                                        
detailsTab.setActiveItemID(node.getAttribute("nursery"));
                                  System.out.println("\n --> 
detailsTab.getActiveItemID() = " +
detailsTab.getActiveItemID());


public void onClick(Button button, EventObject e) {

/*
I need to update the value of the textfield here
*/

}



//=========================  Here is the class I instantiated
public NurseryDetails(CooperatorBean cooperator,TreeNode
node,ArrayList<Germplasm> selectedGermplasmList) {
...
TextField entries = new TextField("Number of selected
entries","nurserySelectedEntries",400);
...
}

-- 
You received this message because you are subscribed to the Google Groups 
"GWT-Ext Developer Forum" 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/gwt-ext?hl=en.

Reply via email to