Re: T5: OutputRaw filtering?

2008-03-24 Thread Andy Huhn
Thank you, Filip! That was exactly what I needed! Andy On Sun, 2008-03-23 at 01:42 +0100, Filip S. Adamsen wrote: > You need to have an (X)HTML DOCTYPE somewhere in your page. > > See "Template Doctypes" at > http://tapestry.formos.com/nightly/tapestry5/tapestry-core/guide/templates.html. > >

Re: T5: OutputRaw filtering?

2008-03-22 Thread Filip S. Adamsen
You need to have an (X)HTML DOCTYPE somewhere in your page. See "Template Doctypes" at http://tapestry.formos.com/nightly/tapestry5/tapestry-core/guide/templates.html. -Filip Andy Huhn skrev: Hello, I have the following in my .tml file: I expected this to generate "©" in the HTML being s

T5: OutputRaw filtering?

2008-03-22 Thread Andy Huhn
Hello, I have the following in my .tml file: I expected this to generate "©" in the HTML being sent to the browser. But instead, Tapestry gives me an error message: [ERROR] RequestExceptionHandler Processing of request failed with uncaught exception: Failure parsing template classpath:com/hom

Re: T5: outputRaw and bbcode

2007-12-04 Thread jeffrey ai
Sorry, I have no ideas about that. Cheers, Jeffrey Ai Angelo Chen wrote: > > hi jeffrey, > > thanks for the response, what I want to do is, the text has some bbcode , > I'd like to convert that to html tags, then use outputRaw to display it, > any existing components that can do that? > > >

Re: T5: outputRaw and bbcode

2007-12-03 Thread Angelo Chen
hi jeffrey, thanks for the response, what I want to do is, the text has some bbcode , I'd like to convert that to html tags, then use outputRaw to display it, any existing components that can do that? jeffrey ai wrote: > > Maybe I got your question wrong, could you just create a component to >

Re: T5: outputRaw and bbcode

2007-12-03 Thread Filip S. Adamsen
You would need a Java BBCode parser for that. -Filip Angelo Chen skrev: Hi, I'd like to know know if there is a component that can display BBCode text in the correct html format? i tried outputRaw and seems I'm wrong, any ideas? Thanks. A.C. -

Re: T5: outputRaw and bbcode

2007-12-03 Thread jeffrey ai
Maybe I got your question wrong, could you just create a component to escape special chars in your BBCode text. One choice is to use StringEscapeUtils in Jakarta Commons-Lang. Cheers, Jeffrey Ai Angelo Chen wrote: > > Hi, > I'd like to know know if there is a component that can display BBCode

T5: outputRaw and bbcode

2007-12-03 Thread Angelo Chen
Hi, I'd like to know know if there is a component that can display BBCode text in the correct html format? i tried outputRaw and seems I'm wrong, any ideas? Thanks. A.C. -- View this message in context: http://www.nabble.com/T5%3A-outputRaw-and-bbcode-tf4935074.html#a14125808 Sent from the Tap

Re: T5: outputRaw

2007-09-19 Thread Angelo Chen
Hi Howard, I thought it was intended, already found a way how to use it: it can modify template in the run time achieving effects similar to Titles, but have not yet tested it. anyway, it's a bug, so will not bother:) A.C. Howard Lewis Ship wrote: > > This is a known bug, and fixed. When usi

Re: T5: outputRaw

2007-09-18 Thread Nick Westgate
That's the same issue, and as Howard says it has been fixed. To use the fix you have to build T5 or wait for a snapshot. Cheers, Nick. Marcelo Lotif wrote: Righ Howard, but some people wrote this on a recent thread regarding a Loop+expansions problem: On 9/17/07, Michael Gottschalk <[EMAIL P

Re: T5: outputRaw

2007-09-18 Thread Marcelo Lotif
Righ Howard, but some people wrote this on a recent thread regarding a Loop+expansions problem: > On 9/17/07, Michael Gottschalk <[EMAIL PROTECTED]> wrote: > > On Monday 17 September 2007 08:42:46 Davor Hrg wrote: > > > I had no problem using expansions in a loop, (T5.0.5) > > > > > > > > >

Re: T5: outputRaw

2007-09-18 Thread Howard Lewis Ship
This is a known bug, and fixed. When using the ${...} syntax, Tapestry was being over-agressive about caching the result. https://issues.apache.org/jira/browse/TAPESTRY-1667 On 9/15/07, Angelo Chen <[EMAIL PROTECTED]> wrote: > > > Hi, > I use following code to output a html text, but it works fi

Re: T5: outputRaw and how to display html formated data?

2007-09-17 Thread Nick Westgate
> String : the data source should be a string, but the currentTime is a date > in my sample, still acceptable, why? Read about parameter type coercion here: http://tapestry.apache.org/tapestry5/tapestry-core/guide/parameters.html Cheers, Nick. Angelo Chen wrote: Hi Nick, Thanks, it works!, I

Re: T5: outputRaw

2007-09-17 Thread Marcelo Lotif
i saw it few minutes ago... try to write: 2007/9/16, Erik Vullings <[EMAIL PROTECTED]>: > > Hi Angelo, > > And how did you define currentuser? Any annotations? > > Cheers, Erik > > On 9/16/07, Angelo Chen <[EMAIL PROTECTED]> wrote: > > > > > > Hi, > > I use following code to output a html text, b

Re: T5: outputRaw and how to display html formated data?

2007-09-16 Thread Angelo Chen
Hi Nick, Thanks, it works!, I tried to avoid asking question first so I have been reading outputraw doc for a long time, but can't understand it, here is: NameTypeFlags Default Default Prefix Description value String RequiredpropThe value to to render. If unbou

Re: T5: outputRaw and how to display html formated data?

2007-09-16 Thread Nick Westgate
Attributes default to the prop binding, so there's no need to use expansions: See the current "loop problem" thread. Cheers, Nick. Angelo Chen wrote: Hi Erik, To make things easier, i use this: public Date getCurrentTime() { return new Date(); } the

Re: T5: outputRaw and how to display html formated data?

2007-09-16 Thread Angelo Chen
Hi Erik, To make things easier, i use this: public Date getCurrentTime() { return new Date(); } then in my html file I use: when the page is displayed second time, the time does not change, you have to restart the program to have the time updated,

Re: T5: outputRaw

2007-09-16 Thread Erik Vullings
Hi Angelo, And how did you define currentuser? Any annotations? Cheers, Erik On 9/16/07, Angelo Chen <[EMAIL PROTECTED]> wrote: > > > Hi, > I use following code to output a html text, but it works first time, when > I > switch to other users, the page will never be updated, remain the contents >

T5: outputRaw

2007-09-15 Thread Angelo Chen
Hi, I use following code to output a html text, but it works first time, when I switch to other users, the page will never be updated, remain the contents from the first user, any hint? thanks. A.c. -- View this message in context: http://www.nabble.com/T5%3A-outputRaw-tf44499