Sorry. I put the code in reverse order. Option 1) RootPanel root = RootPanel.get("module1"); - working
Option 2) RootLayoutPanel root = RootLayoutPanel.get(); - not working with jsp headers and footer. Option 1 is working but when the page is re-sized, the page is displayed unnecessary scroll bars. Option2 is not working with jsp headers and footers. If I remove headers and footers, it is working fine. But I want to have same headers and footers across the multiple GWT modules. Only reason we are moving to uiBinder model is, do not have handle browser re-size events manually in all panels. Resetting the size of the SplitPanels and ScrollPanels is very tricky and it is not consistent if we handle this manually. Aplication's base panel is VerticalSplitPanel which I changed to SplitLayputPanel. Thanks Suresh On Apr 28, 4:36 am, kerrr <kerr.rai...@gmail.com> wrote: > If you want to inset what your building with the uiBinder model into a > specific bit of html then you will have to use > RootPanel.get("module1"). You don't explain what you are doing to > instantiate and add the uiBinder widget to the RootPanel. If you had > a widget that was working before trying to port it to the uiBinder > model then how you add it to you page shouldn't change. > > -- > Kerr > > On Apr 27, 4:01 pm,suresh<udayasur...@gmail.com> wrote: > > > > > I'm porting my gwt module to GWT2.0 UiBinder model. Current GWT > > application is embedded in jsp. Jsp has header which has links to > > other modules and footer and some graphics that can change. > > > When I try to use RootPanel, nothing gets displayed except the header > > and footer. > > RootPanel root = RootPanel.get("module1"); > > > Below is working but I cannot insert headers and footers which are > > shared across the other modules. > > RootLayoutPanel root = RootLayoutPanel.get(); > > > Here is the jsp file > > <table width="100%" height="100%"> > > <tr><td height="50"> > > <%@ include file="/WEB-INF/jsp/header.jsp" %> > > </td></tr> > > > <tr><td id="module1"> > > </td></tr> > > > <tr><td height="100"> > > <%@ include file="/WEB-INF/jsp/footer.jsp" %> > > </td></tr> > > </table> > > > Please help me. > > > Thanks in advance!Suresh > > > -- > > 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 > > athttp://groups.google.com/group/google-web-toolkit?hl=en. > > -- > 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 > athttp://groups.google.com/group/google-web-toolkit?hl=en. -- 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.