Hello all
I am using smart gwt on windows OS with chrome browser.
I am using smart gwt for my project and before using smart gwt I was using gwt ext.In the gwt ext there is a feature through which I can find ext-comopnents.
Here is the code :
Above code will set a Id to the field which append string UIControl.
Now for searching the same particular field I used this.
By doing this I am able to get the same field for transaction part.
Now I want to so the same thing in the smart gwt. Please help me out. Thanks in advance
I am using smart gwt on windows OS with chrome browser.
I am using smart gwt for my project and before using smart gwt I was using gwt ext.In the gwt ext there is a feature through which I can find ext-comopnents.
Here is the code :
Code:
public static void setIdentifier(Object value, com.gwtext.client.widgets.Component field) { field.setId(getUIControlId(String.valueOf(value))); } public static String getUIControlId(String id) { return id + "UIControl"; }
Now for searching the same particular field I used this.
Code:
String id = (String) UIControlFactory.getUIControlId(String .valueOf(((component).getId()))); ExtElement element = Ext.get(id); if (element != null) { com.gwtext.client.widgets.Component field= Ext .getCmp(element); }
Now I want to so the same thing in the smart gwt. Please help me out. Thanks in advance
Comment