DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17299>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17299 Page variable not set on DynaValidatorForms for mutlipage validations ------- Additional Comments From [EMAIL PROTECTED] 2003-06-06 12:02 ------- Correction: Adding a "page" variable to my form of type java.lang.Integer does work, but I wouldn't have expected to have to put a "page" property in my form, because the DynaValidatorForm class already has a page attribute. Instead of: Map props = this.getMap(); if(props.containsKey("page")){ this.page = ((Integer)props.get("page")).intValue(); } wouldn't this be more appropriate: String page = request.getParameter("page"); if( page != null ) this.page = Integer.parseInt(page); as you would then set the page attribute by including a hidden input field in your html form and you wouldn't have to change your bean? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
