I know that is no such thing like 'panel mounting', this is my problem ! I can encode arguments as PageParameters, but after ? What you mean saying "restore the page based on those params" ?
Thanks, Stefan --- On Fri, 12/18/09, Alex Objelean <[email protected]> wrote: > From: Alex Objelean <[email protected]> > Subject: Re: single-page, multi-panel, pretty URL webapp > To: [email protected] > Date: Friday, December 18, 2009, 3:36 PM > > There is no such thing like 'panel mounting'. All you can > do, is to encode > the state into url using PageParams & restore the page > based on those > parameters. > > Alex > > > Stefan Jozsa-2 wrote: > > > > My application is a single-page multiple-panel (heavy > AJAX) webapp > > (except the login page). > > > > Part of page is almost constant, is expensive to > instantiate/refresh > > and cannot be (always) refreshed (having embedded > Flash player). > > > > Rest of page is a panel and is populated succesively > with > > 'addOrReplace(somePanel)' according to UI/user > actions. > > > > What I want to achieve (after login) is > > something like 'panel mounting', that is: > > > > http://myDomain.com/myApp/ => > > instantiate MyPage and set as > content-panel new HomePanel() > > > > Typing 'whoknows' in search field and clicking > 'Search' button: > > URL: http://myDomain.com/myApp/search?k=whoknows > > action: just set as > content-panel new SearchPanel("whoknows") > > > > Clicking artist Hendrix in search panel: > > URL: http://myDomain.com/myApp/artist?k=123456789 => > > action: just set as > content-panel new ArtistPanel(123456789) > > > > so that can navigate using browser's back/forth. > > > > How this can be done? > > Thanks in advance, > > Stefan > > > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > > > > > -- > View this message in context: > http://old.nabble.com/single-page%2C-multi-panel%2C-pretty-URL-webapp-tp26843002p26843501.html > Sent from the Wicket - User mailing list archive at > Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
