nah. the problem with storing navigation in session is that it will
get out of sync when the user uses the backbutton. a proper way to
construct breadcrumbs is to pass the "previous" crumb into the new
page. the crumb should contain a name and a pagereference to its page.

-igor

On Tue, Nov 10, 2009 at 12:56 PM, Peter Ertl <pe...@gmx.org> wrote:
> Why not just store the data model for the navigation in the session and
> render the components based on this?
>
> Basically you just change the navigation model via
> CustomSession.get().getNavigation() and the navigation, breadcrumbs etc.
> render themselves properly ...
>
>
> Am 10.11.2009 um 17:49 schrieb Igor Vaynberg:
>
>> are you looking to build a breadcrumb-like system?
>>
>> -igor
>>
>> On Mon, Nov 9, 2009 at 11:54 PM, Giambalvo, Christian
>> <christian.giamba...@excelsisnet.com> wrote:
>>>
>>> Hi all,
>>>
>>>
>>>
>>> how to iterate over latest version of all pages in pagemap?
>>>
>>> All my Pages have the ability to reload the navigation, but to
>>> accomplish this,  I need to tell the page to reload the navigation.
>>>
>>> So my first idea was to iterate over latest version of all pages in
>>> pagemap and call the needed method on it.
>>>
>>> But Session#getPageMaps returns a list of IPageMap which doesn't offer
>>> an iterator.
>>>
>>> How can a accomplish this?
>>>
>>>
>>>
>>> Greets
>>>
>>> Chris
>>>
>>>
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> 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
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to