Re: Iterate over Pages in Pagemap

2009-11-10 Thread Ernesto Reinaldo Barreiro
Why not make your pages consult some kind of service that builds the navigation? And then have some a timer that get back to the server and looks for a flag newEntriesAdded and then repaint part of the page via AJAX? Another possibility is get changes pushed to your pages using reverse AJAX, but

AW: Iterate over Pages in Pagemap

2009-11-10 Thread Giambalvo, Christian
(or am I wrong?). Can you tell me a bit more about reverse ajax? Greets Chris -Urspr√ľngliche Nachricht- Von: Ernesto Reinaldo Barreiro [mailto:reier...@gmail.com] Gesendet: Dienstag, 10. November 2009 09:21 An: users@wicket.apache.org Betreff: Re: Iterate over Pages in Pagemap Why

Re: Iterate over Pages in Pagemap

2009-11-10 Thread Ernesto Reinaldo Barreiro
Hi, On Tue, Nov 10, 2009 at 9:36 AM, Giambalvo, Christian christian.giamba...@excelsisnet.com wrote: Well, i don't want a timer in the page. This causes unneeded checks. That's why I thought of the simplest solution. The basepage gets its navigation from session (which gets rebuild upon

AW: Iterate over Pages in Pagemap

2009-11-10 Thread Giambalvo, Christian
reverse ajax. Btw, cant find any wicketstuff-push svn or project description. Greets Chris -Urspr√ľngliche Nachricht- Von: Ernesto Reinaldo Barreiro [mailto:reier...@gmail.com] Gesendet: Dienstag, 10. November 2009 09:54 An: users@wicket.apache.org Betreff: Re: Iterate over Pages in Pagemap

Re: Iterate over Pages in Pagemap

2009-11-10 Thread Ernesto Reinaldo Barreiro
Betreff: Re: Iterate over Pages in Pagemap Hi, On Tue, Nov 10, 2009 at 9:36 AM, Giambalvo, Christian christian.giamba...@excelsisnet.com wrote: Well, i don't want a timer in the page. This causes unneeded checks. That's why I thought of the simplest solution. The basepage gets its

AW: Iterate over Pages in Pagemap

2009-11-10 Thread Giambalvo, Christian
2009 11:44 An: users@wicket.apache.org Betreff: Re: Iterate over Pages in Pagemap I haven't used wicketstuff-push myself so I can't be of much help there. I once had to implement some push functionality and I used DWR in combination with Wicket. Going the reverse AJAX can complicate things a lot

Re: Iterate over Pages in Pagemap

2009-11-10 Thread Ernesto Reinaldo Barreiro
. November 2009 09:54 An: users@wicket.apache.org Betreff: Re: Iterate over Pages in Pagemap Hi, On Tue, Nov 10, 2009 at 9:36 AM, Giambalvo, Christian christian.giamba...@excelsisnet.com wrote: Well, i don't want a timer in the page. This causes unneeded checks. That's why I

Re: Iterate over Pages in Pagemap

2009-11-10 Thread 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

Re: Iterate over Pages in Pagemap

2009-11-10 Thread Peter Ertl
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

Re: Iterate over Pages in Pagemap

2009-11-10 Thread Igor Vaynberg
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,

Iterate over Pages in Pagemap

2009-11-09 Thread Giambalvo, Christian
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