Re: DateTextField "bug" : no validation and giving null to Hibernate

2008-07-10 Thread Joseph P.

It's not better in 1.3.4...

I'll open the issue later on.

bye
Joseph

-- 
View this message in context: 
http://www.nabble.com/DateTextField-%22bug%22-%3A-no-validation-and-giving-null-to-Hibernate-tp18379140p18384463.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: DateTextField "bug" : no validation and giving null to Hibernate

2008-07-10 Thread Joseph P.

Ok, we will :)

bye

-- 
View this message in context: 
http://www.nabble.com/DateTextField-%22bug%22-%3A-no-validation-and-giving-null-to-Hibernate-tp18379140p18384019.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: DateTextField "bug" : no validation and giving null to Hibernate

2008-07-10 Thread Ryan Gravener
If you are accessing any extended browser information, be sure to access
that information in your constructor.  That way you will not be redirect
while submitting your form.

On Thu, Jul 10, 2008 at 9:55 AM, Igor Vaynberg <[EMAIL PROTECTED]>
wrote:

> try wicket 1.3.4 first.
>
> -igor
>
> On Thu, Jul 10, 2008 at 2:49 AM, Joseph P. <[EMAIL PROTECTED]>
> wrote:
> >
> > Hi
> >
> > We have found it : it's the
> > getRequestCycleSettings().setGatherExtendedBrowserInfo(true); setting in
> the
> > application initSettings() which was causing all this fuss. Since we
> > commented it out it works fine...
> >
> > shall I open a bug ?
> >
> > bye
> > joseph
> > --
> > View this message in context:
> http://www.nabble.com/DateTextField-%22bug%22-%3A-no-validation-and-giving-null-to-Hibernate-tp18379140p18379413.html
> > Sent from the Wicket - User mailing list archive at Nabble.com.
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Ryan Gravener
http://twitter.com/ryangravener


Re: DateTextField "bug" : no validation and giving null to Hibernate

2008-07-10 Thread Igor Vaynberg
try wicket 1.3.4 first.

-igor

On Thu, Jul 10, 2008 at 2:49 AM, Joseph P. <[EMAIL PROTECTED]> wrote:
>
> Hi
>
> We have found it : it's the
> getRequestCycleSettings().setGatherExtendedBrowserInfo(true); setting in the
> application initSettings() which was causing all this fuss. Since we
> commented it out it works fine...
>
> shall I open a bug ?
>
> bye
> joseph
> --
> View this message in context: 
> http://www.nabble.com/DateTextField-%22bug%22-%3A-no-validation-and-giving-null-to-Hibernate-tp18379140p18379413.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: DateTextField "bug" : no validation and giving null to Hibernate

2008-07-10 Thread Joseph P.

Hi

We have found it : it's the
getRequestCycleSettings().setGatherExtendedBrowserInfo(true); setting in the
application initSettings() which was causing all this fuss. Since we
commented it out it works fine...

shall I open a bug ?

bye
joseph
-- 
View this message in context: 
http://www.nabble.com/DateTextField-%22bug%22-%3A-no-validation-and-giving-null-to-Hibernate-tp18379140p18379413.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DateTextField "bug" : no validation and giving null to Hibernate

2008-07-10 Thread Joseph P.

Hi

We're currently facing an issue with a DateTextField define like this :
DateTextField yearOfPublication = new DateTextField("published", getModel(),
new PatternDateConverter("",true));
add(yearOfPublication);
This field is added in a panel containing as well a required field (named
title). This panel is added to a form containing a feedback panel and a
compound property model. A simple html submit button does the submit.

In a new browser session, when I first access the page, if a put a value in
this DateTextField and submit the form, no validation is made (be it of the
required text field being null or the date field itself : I can put letters
into it without error showing up)  and everything is sent to the DB, which
of course complain of the missing required title (of the required
textfield).

We are using Hibernate for the DAO, Guice for injection and Wicket 1.3.3.

Any clue of why it happens ?

Any help is really appreciated (users are waiting..).

I add a file with the stack trace (I just removed some packages names) if it
can help :  http://www.nabble.com/file/p18379140/trace.txt trace.txt 

Thanks in advance

bye
Joseph
-- 
View this message in context: 
http://www.nabble.com/DateTextField-%22bug%22-%3A-no-validation-and-giving-null-to-Hibernate-tp18379140p18379140.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]