Re: Problem with HTML entities and OutputRaw

2010-03-30 Thread Mark Allan
On 29 Mar 2010, at 4:29 pm, Mark Allan wrote: On 29 Mar 2010, at 4:26 pm, Andreas Andreou wrote: Are you using the the encoding flag of javac ? I'll have a look. Right now, I'm just using mvn compile so will try and find out what flags it passes to javac. OK, I've done the following and

Re: Problem with HTML entities and OutputRaw

2010-03-29 Thread Thiago H. de Paula Figueiredo
On Mon, 29 Mar 2010 12:26:46 -0300, Andreas Andreou wrote: @Thiago of course it's possible to work this way. But i've found than when switching OS, IDEs / editors and VCS all the time, it's just simpler + safer to keep such strings out of java source I agree with you. :) I was just sayin

Re: Problem with HTML entities and OutputRaw

2010-03-29 Thread Mark Allan
On 29 Mar 2010, at 4:26 pm, Andreas Andreou wrote: Are you using the the encoding flag of javac ? I'll have a look. Right now, I'm just using mvn compile so will try and find out what flags it passes to javac. -- The University of Edinburgh is a charitable body, registered in Scotland,

Re: Problem with HTML entities and OutputRaw

2010-03-29 Thread Andreas Andreou
Are you using the the encoding flag of javac ? @Thiago of course it's possible to work this way. But i've found than when switching OS, IDEs / editors and VCS all the time, it's just simpler + safer to keep such strings out of java source On Mon, Mar 29, 2010 at 16:28, Mark Allan wrote: > > On

Re: Problem with HTML entities and OutputRaw

2010-03-29 Thread Mark Allan
On 29 Mar 2010, at 2:21 pm, Thiago H. de Paula Figueiredo wrote: On Mon, 29 Mar 2010 09:32:05 -0300, Andreas Andreou wrote: I've been bitten a few times in the past by having such strings in the java files My first language is Portuguese, which has a lot of accented characters, and I

Re: Problem with HTML entities and OutputRaw

2010-03-29 Thread Thiago H. de Paula Figueiredo
On Mon, 29 Mar 2010 09:32:05 -0300, Andreas Andreou wrote: I've been bitten a few times in the past by having such strings in the java files My first language is Portuguese, which has a lot of accented characters, and I don't have this problem. But there's one catch: you have to instruct

Re: Problem with HTML entities and OutputRaw

2010-03-29 Thread Andreas Andreou
I've been bitten a few times in the past by having such strings in the java files and i've since considered it a good practice to always move them to resourcebundles - perhaps it's worth a try... On Mon, Mar 29, 2010 at 14:11, Mark Allan wrote: > On 23 Mar 2010, at 12:30 pm, Mark Allan wrote: > >

Re: Problem with HTML entities and OutputRaw

2010-03-29 Thread Mark Allan
On 23 Mar 2010, at 12:30 pm, Mark Allan wrote: On 23 Mar 2010, at 12:14 pm, Thiago H. de Paula Figueiredo wrote: On Tue, 23 Mar 2010 09:07:49 -0300, Mark Allan wrote: I know I can use the OutputRaw element, and most of the time it works fine, but I can't use that inside an alt tag for my

Re: Problem with HTML entities and OutputRaw

2010-03-23 Thread Mark Allan
On 23 Mar 2010, at 12:14 pm, Thiago H. de Paula Figueiredo wrote: On Tue, 23 Mar 2010 09:07:49 -0300, Mark Allan wrote: I know I can use the OutputRaw element, and most of the time it works fine, but I can't use that inside an alt tag for my images. Why don't you write a simple Image co

Re: Problem with HTML entities and OutputRaw

2010-03-23 Thread Thiago H. de Paula Figueiredo
On Tue, 23 Mar 2010 09:07:49 -0300, Mark Allan wrote: Hi all, Hi! I know I can use the OutputRaw element, and most of the time it works fine, but I can't use that inside an alt tag for my images. Why don't you write a simple Image component that writes your tag programatically? It wou