Actually, what I mean is that based on page parameters you encode into url,
you can take the decision of what panel to show, or how it should behave. It
all depends on your application. 

Alex


Stefan Jozsa-2 wrote:
> 
> 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 <alex_objel...@yahoo.com> wrote:
> 
>> From: Alex Objelean <alex_objel...@yahoo.com>
>> Subject: Re: single-page, multi-panel, pretty URL webapp
>> To: users@wicket.apache.org
>> 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: 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
>> 
>> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> 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-tp26843002p26843700.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