cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Haul <h...@dvs1.informatik.tu-darmstadt.de>
Subject Re: XSP/Java - simple? problem
Date Wed, 11 Jun 2003 08:27:59 GMT
On 11.Jun.2003 -- 08:43 AM, Derek Hohls wrote:
>       <labels show="true">
>       <xsp:attribute name="label"><xsp:expr>fGraphPtLabel</xsp:expr></xsp:attribute>
>       <xsp:logic>
>       if ((fGraphPtLabel != null) &amp;&amp; (fGraphPtLabel.equals("name")))
{              
>         <xsp:attribute name="rotate">14</xsp:attribute>
>       } else {
>         <xsp:attribute name="rotate">1</xsp:attribute>
>       }
>       </xsp:logic> 

Can't see a problem here but you might like to know that you could
save yourself some of the xsp:logic tags.... (see above)

	Chris.
-- 
C h r i s t i a n       H a u l
haul@informatik.tu-darmstadt.de
    fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Mime
View raw message