Re: Reading properties from web.xml in Tapestry5 templates

2010-05-05 Thread Mark Allan
ate String streamServerLocation; On Wed, May 5, 2010 at 2:00 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: On Wed, 05 May 2010 07:27:25 -0300, Mark Allan wrote: Hi All, Hi! I've tried a number of variations on the following, but nothing works:

Reading properties from web.xml in Tapestry5 templates

2010-05-05 Thread Mark Allan
Hi All, I've tried searching in vain for an answer to this, so have included my search terms throughout this email in case anyone is stuck on the same issue in the future - if it looks like I'm using various terms to refer to the same thing, that's why! I've got a T5 app which is almost r

Re: Tapestry and SeeSaw talk

2010-04-01 Thread Mark Allan
Me too. I even created a Vimeo account as the original error message wasn't very helpful, leading me to think that 'private' just meant you needed to be a Vimeo user, but I'm still getting: Sorry, you do not have permission to watch this private video. Mark On 1 Apr 2010, at 8:18 am

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 th

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 Mark Allan
, and I don't have this problem. But there's one catch: you have to instruct your IDE to use UTF-8 for your templates, Tapestry property files and *classes*. I've just created a simple class that returns a string with accented characters and it worked flawlessly. I suggest

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 ta

Re: [T5.1] Return a file as response of a ActionLink event

2010-03-26 Thread Mark Allan
On 26 Mar 2010, at 2:24 pm, Everton Agner wrote: Hi, I need to return a PDF file as response of a ActionLink request... How can I do that? Can I return a Resource or a File in the "onActionFrom()" method and T5 takes care of the Response header configuration? Quick response off the t

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 si

Problem with HTML entities and OutputRaw

2010-03-23 Thread Mark Allan
Hi all, I'm developing a site which will be available in two different languages - English and Gaelic. I've localised the pages and can change easily between the two different versions, however, many terms in Gaelic include diacritic marks on some of the characters, for example the word f