Re: Hide page version query parameters

2011-12-31 Thread Taneli Korri
On Sat, Dec 31, 2011 at 9:09 AM, Martin Grigorov mgrigo...@apache.org wrote:
 On Fri, Dec 30, 2011 at 11:43 PM, martin.dilger
 martin.dil...@googlemail.com wrote:
 hi,
 you could try to change your render strategy to redirect to render, that
 would dismiss the page
 parameters version.

 This is not correct.
 The page id is encoded in the url only for stateful pages. Make your
 page stateless and it wont be there.


OK, thanks for the info.

If I remember correctly, in Wicket 1.4 stateful pages had also clean
urls if the page was mounted to a certain path, i.e. the page version
number was stored somewhere behind the scenes. I'm guessing this isn't
possible anymore in Wicket 1.5?

Regards,
Taneli Korri

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



wicket-fullCalendar Custom month View

2011-12-31 Thread lucast
Dear forum,
I am using wicket-fullCalendar and I am quite happy with it.
I have 2 questions, though.
1) The default month view shows 6 weeks instead or the customary 5. 
Is there a way to change the default month view so that it only displays 5
weeks or as many weeks as one wishes?

2)The default month view shows the entire current month, starting with the
first day of the month on the first row.  
Is there a way to make the month view display the current week as the start
of the month plus the next 3 or 4 weeks ahead?

Today, for example, being the last day of the month, it shows all of
December and only one row of January, if I want to see upcoming events, it's
not quite ideal to have the last week of December in the penultimate row.

I hope some wicket-fullCalendar user out there can shed some light on this.
Thanks in advance and happy New Year everyone!
Lucas

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/wicket-fullCalendar-Custom-month-View-tp4248424p4248424.html
Sent from the Users forum 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



Re: Hide page version query parameters

2011-12-31 Thread Martin Grigorov
On Sat, Dec 31, 2011 at 2:29 PM, Taneli Korri tko...@gmail.com wrote:
 On Sat, Dec 31, 2011 at 9:09 AM, Martin Grigorov mgrigo...@apache.org wrote:
 On Fri, Dec 30, 2011 at 11:43 PM, martin.dilger
 martin.dil...@googlemail.com wrote:
 hi,
 you could try to change your render strategy to redirect to render, that
 would dismiss the page
 parameters version.

 This is not correct.
 The page id is encoded in the url only for stateful pages. Make your
 page stateless and it wont be there.


 OK, thanks for the info.

 If I remember correctly, in Wicket 1.4 stateful pages had also clean
 urls if the page was mounted to a certain path, i.e. the page version
 number was stored somewhere behind the scenes. I'm guessing this isn't
 possible anymore in Wicket 1.5?

Everything is possible.
The new IRequestMapper are easily extensible and you can even use your own one.
By default this special parameter is set so when the user presses F5
(Refresh) the page Wicket will deliver the same version of the page.
Otherwise a new instance will be created without the knowledge of the
exact version.

Why do you want to hide this parameter ?


 Regards,
 Taneli Korri

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




-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

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



Re: wicket-fullCalendar Custom month View

2011-12-31 Thread Igor Vaynberg
you need to see if the fullcalendar library itself supports what you
want. and if it does we can build the config options for it in the
wicket wrapper.

-igor

On Sat, Dec 31, 2011 at 4:49 AM, lucast lucastol...@hotmail.com wrote:
 Dear forum,
 I am using wicket-fullCalendar and I am quite happy with it.
 I have 2 questions, though.
 1) The default month view shows 6 weeks instead or the customary 5.
 Is there a way to change the default month view so that it only displays 5
 weeks or as many weeks as one wishes?

 2)The default month view shows the entire current month, starting with the
 first day of the month on the first row.
 Is there a way to make the month view display the current week as the start
 of the month plus the next 3 or 4 weeks ahead?

 Today, for example, being the last day of the month, it shows all of
 December and only one row of January, if I want to see upcoming events, it's
 not quite ideal to have the last week of December in the penultimate row.

 I hope some wicket-fullCalendar user out there can shed some light on this.
 Thanks in advance and happy New Year everyone!
 Lucas

 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/wicket-fullCalendar-Custom-month-View-tp4248424p4248424.html
 Sent from the Users forum 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