Bugs item #1517845, was opened at 2006-07-05 22:56 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1517845&group_id=119783
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: core Group: 1.2 Status: Open Resolution: None Priority: 5 Submitted By: Smitti (smitti) Assigned to: Nobody/Anonymous (nobody) Summary: Exception using crypted coding strategy and DropDownChoise Initial Comment: Changing selection of a DropDownChoise component throws a StringIndexOutOfBoundsException when wantOnSelectionChangedNotifications is set to true. It looks like it is related to CryptedUrlWebRequestCodingStrategy and parsing of components relative URL. Using WebRequestCodingStrategy everything works fine. java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1762) at java.lang.String.substring(String.java:1735) at wicket.markup.html.form.Form$FormDispatchRequest.getRelativeURL(Form.java:1327) at wicket.protocol.http.request.CryptedUrlWebRequestCodingStrategy$DecodedUrlRequest.<init>(CryptedUrlWebRequestCodingStrategy.java:401) at wicket.protocol.http.request.CryptedUrlWebRequestCodingStrategy.decode(CryptedUrlWebRequestCodingStrategy.java:97) at wicket.markup.html.form.Form.dispatchEvent(Form.java:1182) at wicket.markup.html.form.Form.onFormSubmitted(Form.java:296) It is simple to reproduce in wicket-examples. Change line 102 in wicket.examples.forminput.FormInputApplication to new CryptedUrlWebRequestCodingStrategy(new WebRequestCodingStrategy()), and run the example. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1517845&group_id=119783 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-develop mailing list Wicket-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-develop