but somehow it really tries to convert a null value to a primitive int
And we don't support that. You could try to debug what it tries to populate.

johan


On 2/1/07, Robert ... <[EMAIL PROTECTED]> wrote:

I don't think it's a convertor problem, because if the user is already
logged in, the ConfirmationPage can be reached without a problem.
It's only when the user still has to login between the Checkout and
Confirmation page.

I don't know why it is trying to set something in CheckoutBook anyway. I'm
guessing because it is returning to the CheckoutPage instead of
ConfirmationPage.


On 2/1/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
>
> looks like a converter problem? maybe that field that is collection an
> int needs to be marked required, or be backed by Integer rather then int.
>
> -igor
>
>
> On 2/1/07, Robert ... <[EMAIL PROTECTED]> wrote:
>
> >  Hi,
> >
> > I have read the "Pro Wicket" book and I am trying to make some
> > examples from the book. However I get an error when trying to use a
> > RestartResponseAtInterceptPageException in the bookstore example from page
> > 114. It happens after the Login page calls continueToOriginalDestination.
> >
> > wicket.util.convert.ConversionException: Can't convert null value to a 
primitive class: int for setting it on [EMAIL PROTECTED]
> >
> >
> > In the authorization strategy/listener onUnauthorizedInstantiation
> > method I see that the component is the ConfirmationPage as I expected.
> > However the expection page I get shows the CheckoutPage as the page class.
> > I'm not sure if it means anything, but it seems to go back to the
> > CheckoutPage instead of continuing to the ConfirmationPage.
> >
> > What am I doing wrong?
> >
> > Robert.
> >
> >
> >
> > -------------------------------------------------------------------------
> > Using Tomcat but need to do more? Need to support web services,
> > security?
> > Get stuff done quickly with pre-integrated technology to make your job
> > easier.
> > Download IBM WebSphere Application Server v.1.0.1 based on Apache
> > Geronimo
> >
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> >
> > _______________________________________________
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
> >
> >
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services,
> security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier.
> Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>
>

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to