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.
>
>
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
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
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?
>
>
>
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
>
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.
-
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
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
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
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
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)
> > >
> > >
> > >
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
> 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
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
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
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
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,
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
>
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
19 matches
Mail list logo