There are some things not entirely clear from your code, that and the
fact that i have never worked with radio or radiogroup before makes
any answer i can give an estimated guess at most, but here goes :).

What i gather from the code in radiogroup i would say that the value
is automatically set at the selected radio (at form submit)
So you would not have to do group.setModelObject(). I don't think
(remember i am guessing here) that setting a value at the group is
cascaded to the radio choices (at least i could not find any code that
would suggest something like that)
I noticed that in the callback you get the modelobject from the
modalwindow but i could not find where the modelobject of the window
is set to the value of the group. So that might be why your textfield
is not updated. Another trick you can try is to pass the firstpage to
the thirdpage and onformsubmit set the selected value on the
firstpage. In the callback you would then only have to refresh the
component.

Hope this helps a bit. And that i am not completely wrong here :)

Maurice

On Sun, Jul 27, 2008 at 4:41 AM, nicholes <[EMAIL PROTECTED]> wrote:
>
> Hi, can anyone offering any help? Really appreciate that.
>
> Thanks.
> nicholes
>
> --
> View this message in context: 
> http://www.nabble.com/Having-problem-in-modal-window.setWindowClosedCallback-tp18664531p18672817.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]

Reply via email to