Re: [Wicket-user] encoding of AttributeModifier's model

2007-04-28 Thread Ludovic Orban
I faced this with version 1.2.6 but could reproduce it as well with a fresh build I made from 1.3 in svn's trunk. So I've opened a JIRA issue as you asked: https://issues.apache.org/jira/browse/WICKET-517 Merci, Ludovic Jean-Baptiste Quenot-3 wrote: > > * Ludovic Orban: >> >> I recently face

Re: [Wicket-user] encoding of AttributeModifier's model

2007-04-27 Thread Jean-Baptiste Quenot
* Ludovic Orban: > > I recently faced an annoying problem with AttributeModifier and encoding of > its model. I have something looking like this in my code: > > String url = "http://www.somewhere.com?param1=a¶m2=b";; > component.add(new AttributeModifier("href", true, new Model(url))); Please sp

Re: [Wicket-user] encoding of AttributeModifier's model

2007-04-27 Thread Igor Vaynberg
i dont know if it should be done all the time. but what you can do is write a XmlSafeModel that escapes the string, and use that in your attrib modifier. -igor On 4/27/07, Ludovic Orban <[EMAIL PROTECTED]> wrote: Hi all, I recently faced an annoying problem with AttributeModifier and encod

[Wicket-user] encoding of AttributeModifier's model

2007-04-27 Thread Ludovic Orban
Hi all, I recently faced an annoying problem with AttributeModifier and encoding of its model. I have something looking like this in my code: String url = "http://www.somewhere.com?param1=a¶m2=b";; component.add(new AttributeModifier("href", true, new Model(url))); After rendering the component

Re: [Wicket-user] encoding problem

2007-04-27 Thread Janos Cserep
> Is it this one? > > Parameters of nice URL's pages with 'sensitive' characters > https://issues.apache.org/jira/browse/WICKET-40 Probably, yes. Thanks for the url and the patch... Janos - This SF.net email is sponsored b

Re: [Wicket-user] encoding problem

2007-04-26 Thread Jean-Baptiste Quenot
* Janos Cserep: > > I've run into a problem with how wicket handles requests in > PageParameters. I'm seeing this particular behaviour with BookmarkablePage > urls that contain a string with non ascii, utf-8 characters, like this: Is it this one? Parameters of nice URL's pages with 'sensitive'

[Wicket-user] encoding problem

2007-04-26 Thread Janos Cserep
I've run into a problem with how wicket handles requests in PageParameters. I'm seeing this particular behaviour with BookmarkablePage urls that contain a string with non ascii, utf-8 characters, like this: pages/J%C3%A1nos This doesn't work. The following does: pages/J%E1nos First I thought

Re: [Wicket-user] encoding

2005-08-05 Thread Johan Compagner
t;); 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

Re: [Wicket-user] encoding

2005-08-05 Thread Matej Knopp
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

Re: [Wicket-user] encoding

2005-08-05 Thread [EMAIL PROTECTED]
sage: - 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 &

Re: [Wicket-user] encoding

2005-08-05 Thread Troy MacNeil
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 PagePara

[Wicket-user] encoding

2005-08-05 Thread [EMAIL PROTECTED]
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

Re: [Wicket-user] Encoding

2005-07-06 Thread Juergen Donnerstag
Jan, the current implementation copies the from the page's markup to the output. It is used to determine the encoding of the markup file and in case of the Page the encoding of the output. In case any of the remaining component's contains it is used to determine the encoding of the markup only a

[Wicket-user] Encoding

2005-07-06 Thread Jan Bares
Hi, we would like to produce pages in utf-8 encoding. This works fine if the is in the source markup. However the rendered pages should not contain the declaration. This is due to quirk/standard mode of IE. XML standard says, that if a XML file doesn't have the declaration, it is assumed to be

[Wicket-user] Encoding PNG8 with RenderedDynamicImageResource

2005-03-21 Thread Gili
Internet Explorer cannot display transparency for 24-bit PNG images used by CSS -- which is exactly what I do for my RoundCornerBorder. As an alternative, I would like to encode 8-bit PNG images instead. Any idea how one does this using ImageIO? If I know this I cannot make the appropriate c