commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <>
Subject Re: [jelly] echo tag
Date Thu, 23 Jan 2003 11:32:42 GMT
From: "Christian Sell" <>
> > what exactly would it look like? i.e. what do you
> > want to type in your Jelly scripts?
> <j:echo stdout="true" stderr="false" xmlout="false" endcr="true">this is
> a message</j:echo>

How about

    <j:stdout newline="true">this is some text</j:stdout>
    <j:stderr newline="false">this is some text</j:stderr>

> where the above attributes show all the default values, so that they can
> be ommitted, yielding this effect:
> System.out.println("this is a message");

Just an idle observation, you could declare System.out and System.err as
variables, then just do

${out.println('some text')}
${err.println('some text')}


Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts

View raw message