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: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 
> 
> 

-- 
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: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to