Current released version is 1.2 final, can you check if it works with
that version?
-Matej
Alban Duval wrote:
> Hi all.
>
> I have two problems with Form in wicket 1,2-rc4 (it worked wit rc3 :-/ )
>
> * The first is RequiredTextField that is not required when
> executing. The user can go to the next page without filling the
> text field.
>
> The RequiredTextField is added in a form like this :
>
> public class IntroForm extends Form {
> public IntroForm(String arg0) {
> super(arg0, new CompoundPropertyModel(loan));
> RequiredTextField RTF = new
> RequiredTextField("textRTF");
> add(RTF);
> }
>
> protected void onSubmit() {
> log.debug("Submitting NykStep0Page");
> setResponsePage(NykStep1Page.class);
> }
> }
>
>
> * The second problem is for a RadioGroup. The method
> onSelectionChanged is not called when changing the selection....
> So the model is not updated, so it doesn't work as I would like
> to... but changing the selection
>
> RadioGroup erg = new
> RadioGroup("educationRadioGroup",new PropertyModel(pdwa, "education")){
>
> protected void onSelectionChanged(Object newSelection) {
> log.debug("NykStep1Page - educationRadioGroup -
> onSelectionChanged");
> pdwa = (PersonalDataWithAddress)newSelection;
> }
>
> protected boolean
> wantOnSelectionChangedNotifications() {
> return true;
> }
> };
>
> If someone has an idea why those two simple things don't work....
>
> Best regards,
> Alban Duval.
>
>
> ------------------------------------------------------------------------
>
> 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
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