How to get DateField value

2009-07-20 Thread Ryan Burns
Hi i'm new to wicket, I wonder if any of yous can help me. I'm trying to get the date selected from DateField component when the date is changed. I've tried getConvertedInput() and getInput()but they just return null. Below is my code, I've striped it down to just display the date in the console to

Re: How to get DateField value

2009-07-20 Thread Ryan Burns
Hi, Thanks for the reply. I've tried this too, but this also returns null. There is date in the textfield box of the datefield but for some reason it doen't get it Ryan On Mon, Jul 20, 2009 at 2:19 PM, Mathias Nilsson < wicket.program...@gmail.com> wrote: > > You can get the model > > Date d =

Re: How to get DateField value

2009-07-20 Thread Ryan Burns
Ok, i tried this. But i get the date the DateField was initialised with ie today 20/07/09. If i change text field to 10/07/09 i still get the 20/07/09. I can get it working with a normal submit button but when i try anything with ajax i get the problem stated. Can paste the code that you got this w

Re: How to get DateField value

2009-07-20 Thread Ryan Burns
Yes, that does work for DateTextField. But i am using the DateField component which is a combination of DateTextField and DatePicker Ryan On Mon, Jul 20, 2009 at 8:25 PM, Mathias Nilsson < wicket.program...@gmail.com> wrote: > > > import java.util.Date; > > import org.apache.wicket.ajax.AjaxRequ

Re: How to get DateField value

2009-07-20 Thread Ryan Burns
wicket-extension. This one, org.apache.wicket.extensions.yui.calendar.DateField; On Mon, Jul 20, 2009 at 8:45 PM, Mathias Nilsson < wicket.program...@gmail.com> wrote: > > from wicket-extension or from another project? > -- > View this message in context: > http://www.nabble.com/How-to-get-DateFi

Re: How to get DateField value

2009-07-20 Thread Ryan Burns
It's working now. Overriding the newDateTextField worked. Thanks for your help On Mon, Jul 20, 2009 at 9:31 PM, Mathias Nilsson < wicket.program...@gmail.com> wrote: > > Also, how does your markup look? You should use the DateField with a span > or > div. > -- > View this message in context: > ht

Column Pagingview

2009-09-17 Thread Ryan Burns
Is there a way of having a paging view for columns instead of rows? Does anybody know how to do this or have any examples? Thanks

Column Pagingview

2009-09-21 Thread Ryan Burns
Is there a way of having a paging view for columns instead of rows? Does anybody know how to do this or have any examples? Thanks