http://download.instantiations.com/D2GWTDoc/continuous/latest/docs/html/preferences/gwt/preferences_code_generation.html
On Nov 22, 9:50 am, Noor <[email protected]> wrote: > Hello, > > I am new to GWT but I've been using java object orientation > programming for quite a long. The problem is that when gwt designer > generates the code for the user interface. It defines the components > directly in the construction which is problem when we try to access > the component outside the constructor. > > e.g. This is how gwt designer would generate code for the UI with 1 > textbox > > public class View() > { > View() > { > TextBox Username= new TextBox(); > } > > } > > I wanted it to generate like this: > public class View() > { > private TextBox Username; > View() > { > Username= new TextBox(); > } > > } > > Like this, the component will be accessible everywhere. > > Is this possible for configure the generation of the code else I think > google should implement it this way because it is more dynamic -- 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.
