a page divide into two side, the left hand side is a menu, click on a
menu will cause the right hand side show the page correspondingly.
example:
menu1
--submenu 1.1
menu2
menu3
if click on menu 1, the right hand side will show panel 1
if click on menu 2, the right hand side will show panel 2
Maneesh Godbole wrote:What have you got so far and where are you stuck?
From your description, using a HorizontalSplitPanel for the main container and a Tree for the menu would be the way to go.
in fact, I do not know how to start it.
I think the right is a frame, and the left menu item is something like link, set target to that frame...
but do not know how to start it.
and cannot find any simple project with these layout yet.
thanks for the link
I see the link and see a type of panel called FormPanel, I also see something about GWT-RPC.
I think if one of the right panel is let user fill in some searching criteria, and when the user click on the submit button,
the searching criteria will pass to server, and in the server will run a sql to retrieve the result, and then return to another panel to show the record retrieved.
in this case, need use FormPanel?
then when submit, the parameter is passed to server, but how the server get that parameter? just use request.getParameter("XXX")?
then how to return result to other panel to show the reult?
and how this related to GWT-RPC?
I am very new in GWT and always found the references is only for one page (no jump page like the above scenario).
peter tong
Ranch Hand
Joined: Mar 15, 2008
Posts: 234
posted
0
I think, if GWT-RPC for ajax partial refresh, for whole page refresh like my example (jump page from search criteria to result), then use formpanel and traditional request.getParameter, request.sendDispatcher?
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.
subject: how to do the following simple work in GWT