What servlet container are you testing with? I'm right now making a
workingaround for a bug in Jetty 6 (or rather the specification), that
results in the required check failing.
Eelco
On 7/3/06, Alban Duval <[EMAIL PROTECTED]> 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