Hmm... let's say I have a MainPanelView.ui.xml containing... <ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder' xmlns:g='urn:import:com.google.gwt.user.client.ui'> <g:TabLayoutPanel barUnit='PX' barHeight='30'> <g:tab> <g:header>Tab A</g:header> <g:DecoratorPanel ui:field="tab_a"></g:DecoratorPanel> </g:tab> <g:tab> <g:header>Tab B</g:header> <g:DecoratorPanel ui:field="tab_b"></g:DecoratorPanel> </g:tab> </g:TabLayoutPanel> </ui:UiBinder>
... and a TabAView.ui.xml containing... <ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder' xmlns:g='urn:import:com.google.gwt.user.client.ui'> <g:VerticalPanel> <g:Label>Click if you like tab A:</g:Label> <g:Button text="Click me, click me! :P" ui:field="button_a"/> </g:VerticalPanel> </ui:UiBinder> ... and a TabBView.ui.xml containing... <ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder' xmlns:g='urn:import:com.google.gwt.user.client.ui'> <g:VerticalPanel> <g:Label>Click if you like tab B:</g:Label> <g:Button text="Click me, click me! :P" ui:field="button_b"/> </g:VerticalPanel> </ui:UiBinder> ... and then I define a view and a presenter class for each of these templates... hmm... and then I am kind of stuck!! >D I can make my AppController call the go method of a MainPanelPresenter object containing an instance of the MainPanelView object... but don't see where the TabA and TabB classes get into play................................... argh!--
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.