On Mar 18, 2:24 pm, Jim <jim.p...@gmail.com> wrote: > Can I do some coding in this way? > > 1. There is one Constants interface - EmployeeConstants > public interface EmployeeConstants extends Constants { > String lastName(); > String firstName(); > > } > > 2. There is one corresponding property file - > EmployeeConstants.properties > firstName: First Name* > lastName: Last Name* > 3. In UIBinder file, there are some code: > > <ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder' > > ui:template='employee:com.gwt.example.EmployeeConstants,department:com.gwt. > example.DepartmentConstants'> > > <g:HTMLPanel> > <table><tr><td><ui:msg key='employee:firstName'></ > td><td><ui:Text ui:field="firstName" /></td></tr> > <tr><td><ui:msg key='employee:lastName'></ > td><td><ui:Text ui:field="lastName" /></td></tr> > </table> > </g:HTMLPanel> > < > </ui:UiBinder>
Not yet on a released version: http://code.google.com/p/google-web-toolkit/source/detail?r=7640 -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.