Well, let me try to be more clear with code. PageParameters pParams = new PageParameters(); pParams.put("name", "a&b"); BookmarkablePageLink link = new BookmarkablePageLink ("aLink", MyPage.class,pParams);
And in MyPage.java, I retrieve the "name" parameter and display it in a text field. Thus, String value = pParams.get("name"); System.out.println(value) = "a"; instead of "a&b" Seems to me the Wicket framework should be taking care of the encoding and escaping. Could this be a bug? Francis Original Message: ----------------- From: Troy MacNeil [EMAIL PROTECTED] Date: Fri, 05 Aug 2005 13:02:14 -0300 To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] encoding I'm new to Wicket, but in HTML the '&' character is used to begin character codes. To actually display '&' use: & So in your example "a&b" should give you the result you want. Troy On Fri, 2005-05-08 at 11:45 -0400, [EMAIL PROTECTED] wrote: > Hi, > > I'm setting a parameter using the PageParameter class with value containing > a '&' character but when I retrieve this value to display it in a form > field I get only the first part before the '&'. In otherwords, setting > "a&b", on retrieval I get only "a". How do I remedy this? > > Francis > > -------------------------------------------------------------------- > mail2web - Check your email from the web at > http://mail2web.com/ . > > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ . ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user