Re: [Announce] Wicket Stuff Core 1.5.1 Released

2011-10-08 Thread Bruno Borges
Excelent work Michael, thanks a lot! *Bruno Borges* (21) 7672-7099 *www.brunoborges.com* On Sat, Oct 8, 2011 at 11:23 PM, Michael O'Cleirigh < michael.ocleir...@rivulet.ca> wrote: > Hello, > > Following the release of wicket 1.5.1 have cut a matching wicketstuff-core > release. > > The artifa

[Announce] Wicket Stuff Core 1.5.1 Released

2011-10-08 Thread Michael O'Cleirigh
Hello, Following the release of wicket 1.5.1 have cut a matching wicketstuff-core release. The artifacts have been promoted and are now available in maven central. They can be retrieved like this: org.wicketstuff wicketstuff-annotation 1.5.1 The release tag is here: https://github.com/wi

RE: Forwarding in 1.5 not working like in 1.4

2011-10-08 Thread Chris Colman
Looks like the redirect is due to the PRG strategy implementation so it's set to REDIRECT_TO_BUFFER. (From my, possibly naïve, understanding I thought you only needed PRG when a form submission was involved but it looks like it's applied to every page request). I probably should keep using th

RE: Forwarding in 1.5 not working like in 1.4

2011-10-08 Thread Chris Colman
Could it be that Wicket sees the original URL as being / (i.e. home page) and so performs a redirect to the home page? Possibly it should be looking at the 'forward' request URL which is not / but "content/home/o/76429" and should be handled directly without a redirect. >-Original Message--

RE: Forwarding in 1.5 not working like in 1.4

2011-10-08 Thread Chris Colman
I have found that the method below appears to return the wrong result for relativeUrl: WebPageRender.java protected void redirectTo(Url url, RequestCycle requestCycle) { WebResponse response = (WebResponse)requestCycle.getResponse();

Re: Community tools

2011-10-08 Thread Gaetan Zoritchak
2011/10/7 Clint Checketts > So what is the best way (official? permanent?) to link to a previous > response? > > In 6 months when someone has a similar question, what is the official way > to > link to previous answers? Equally, what is the best way to improve those > answers if the answer 6 mont

Re: DateField with String model

2011-10-08 Thread samket
DateField seems to require a Date model. You can implement a model (a class that implements IModel) that transforms between String and Date. public class DateModel implements IModel { private static final long serialVersionUID = 1L; private final IModel innerModel; public DateModel(IModel i