Hi,

I am still stuck with this problem. What I try to do is to use info(),
error(), and warn() to add messages to the page, and I want to do this
as soon as another page returns to my page using
setResponsePage(pageObject). Somehow, the messages I set in onAttach()
or
onBeforeRender are lost.

Anyone have any ideas on how I should be solving this problem?

Cheers
  Erik

On 11/1/06, Erik Brakkee <[EMAIL PROTECTED]> wrote:
> Hi,
>
>
> I have a form from displaying a number of items. The form also displays some
> validation problems. The user can correct these problems by editing items by
> clicking on a link and is then forwarded to another page using
> setResponsePage(...). After editing, the eidt page forwards back to the same
> instance of the form page.
>
> Now I want to do validation as soon as this happens and add messages to the
> page using info(), warn(), and error(). Nevertheless, I cannot get this to
> work. I tried overriding onAttach() and onBeforeRender() but apparently my
> messages are getting lost. What would be the correct way to trigger this
> validation?  Apparently I am too early in the lifecycle and the messages are
> being reset after I set them.
>
> Cheers
>   Erik
>
>

-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to