PageParameter question

2008-08-15 Thread Mathias P.W Nilsson
() ){ String key = (String)iter.next(); } A do not get the order I'm looking for. -- View this message in context: http://www.nabble.com/PageParameter-question-tp1829p1829.html Sent from the Wicket - User mailing list archive at Nabble.com

Re: PageParameter question

2008-08-15 Thread Michael Sparer
-on-tech.blogspot.com -- View this message in context: http://www.nabble.com/PageParameter-question-tp1829p19000175.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: PageParameter question

2008-08-15 Thread Mathias P.W Nilsson
Well of course, the Wicket ValueMap extends HashMap. OK, to get this parameters in a correct order I need to roll my own PageParameter? -- View this message in context: http://www.nabble.com/PageParameter-question-tp1829p19000196.html Sent from the Wicket - User mailing list archive

Re: PageParameter question

2008-08-15 Thread Michael Sparer
to roll my own PageParameter? - Michael Sparer http://talk-on-tech.blogspot.com -- View this message in context: http://www.nabble.com/PageParameter-question-tp1829p19000354.html Sent from the Wicket - User mailing list archive at Nabble.com

Re: PageParameter question

2008-08-15 Thread Mathias P.W Nilsson
I don't quite know what you mean. I must still pass PageParameters to the contructor of a page? How could this help me? -- View this message in context: http://www.nabble.com/PageParameter-question-tp1829p19001494.html Sent from the Wicket - User mailing list archive at Nabble.com

Re: PageParameter question

2008-08-15 Thread Michael Sparer
this... Mathias P.W Nilsson wrote: I don't quite know what you mean. I must still pass PageParameters to the contructor of a page? How could this help me? - Michael Sparer http://talk-on-tech.blogspot.com -- View this message in context: http://www.nabble.com/PageParameter-question

Re: PageParameter question

2008-08-15 Thread Daniel Freitas
PageParameters to the contructor of a page? How could this help me? -- View this message in context: http://www.nabble.com/PageParameter-question-tp1829p19001494.html Sent from the Wicket - User mailing list archive at Nabble.com

Re: PageParameter question

2008-08-15 Thread Mathias P.W Nilsson
. What other choice is there? -- View this message in context: http://www.nabble.com/PageParameter-question-tp1829p19004816.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL

Re: PageParameter question

2008-08-15 Thread Mathias P.W Nilsson
I have already solved this using wicket ultimate stateful WebFramework. Customer requires that the site must be google friendly. -- View this message in context: http://www.nabble.com/PageParameter-question-tp1829p19004831.html Sent from the Wicket - User mailing list archive at Nabble.com

Re: PageParameter question

2008-08-15 Thread Jeremy Thomerson
://www.wickettraining.com On Fri, Aug 15, 2008 at 3:12 PM, Mathias P.W Nilsson [EMAIL PROTECTED]wrote: I have already solved this using wicket ultimate stateful WebFramework. Customer requires that the site must be google friendly. -- View this message in context: http://www.nabble.com/PageParameter-question

Re: PageParameter question

2008-08-08 Thread pixologe
you might also consider using put instead of add, which replaces an existing parameter of the same key (if any) -- View this message in context: http://www.nabble.com/PageParameter-question-tp16026015p18895652.html Sent from the Wicket - User mailing list archive at Nabble.com

PageParameter question

2008-03-13 Thread Thijs
I'm having troubles with pageparameters. when I use Page.getPageParameters() they are always null untill I call super(paramters) in my constructor. But when I then add a BookmarkablePageLink I get very strange behavior. See the following example code: public HomePage(final PageParameters

Re: PageParameter question

2008-03-13 Thread Martijn Dashorst
Why don't you create a new PageParameters object in each populateItem? Martijn On 3/13/08, Thijs [EMAIL PROTECTED] wrote: I'm having troubles with pageparameters. when I use Page.getPageParameters() they are always null untill I call super(paramters) in my constructor. But when I then

Re: PageParameter question

2008-03-13 Thread Thijs
because I want to use the already existing parameters and add them to the link. Thijs Martijn Dashorst schreef: Why don't you create a new PageParameters object in each populateItem? Martijn On 3/13/08, Thijs [EMAIL PROTECTED] wrote: I'm having troubles with pageparameters. when I

Re: PageParameter question

2008-03-13 Thread Martijn Dashorst
So why don't you expect the loop to add them to the existing parameters? Martijn On 3/13/08, Thijs [EMAIL PROTECTED] wrote: because I want to use the already existing parameters and add them to the link. Thijs Martijn Dashorst schreef: Why don't you create a new PageParameters

Re: PageParameter question

2008-03-13 Thread Thijs
Sorry I'm not sure I follow. What I'm trying is to add a new PageParameter to the set that the current page is created with. So I get the Page, get it's pageParameters and add a new one to the existing set and feed that to the bookmarkablepagelink. If I would do: protected void

Re: PageParameter question

2008-03-13 Thread Martijn Dashorst
You keep adding your new parameters to the parameters from the page. Not a new page parameters object. You should do something like: PageParameters p = new PageParameters(getPage().getPageParameters()); p.add(key, value); Martijn On 3/13/08, Thijs [EMAIL PROTECTED] wrote: Sorry I'm not sure I

Re: PageParameter question

2008-03-13 Thread Thijs
Stupid, I should have known that :'( Thanks Martijn Martijn Dashorst schreef: You keep adding your new parameters to the parameters from the page. Not a new page parameters object. You should do something like: PageParameters p = new PageParameters(getPage().getPageParameters()); p.add(key,