dev@jsftemplating.java.net

Re: JSFTemplating: multiple text lines

From: Ken Paulsen <Ken.Paulsen_at_Sun.COM>
Date: Mon, 27 Nov 2006 16:33:38 -0800

You can do the following:

" line1\
 <br /><br />\
 line2\
 <br />\
 line3

This processes faster, but isn't any easier to write. I think the
following will work also:

<staticText value="
  line1
  <br /><br />
  line2
  <br />
  line3
  " />

I am open to ideas. It wouldn't be difficult to support another syntax.

Ken

Anissa Lam wrote:
>
> I think there is another way to specify text that goes directly to the
> page without processing instead of beginning every line with double
> quote "
> eg.
>
> " line1
> " <br/><br/>
> " line2
> "<br/>
> " line3
>
> Would like to find out the alternative.
>
> thanks
> Anissa.