cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Derek Hohls" <>
Subject XSP/Java - simple? problem
Date Wed, 11 Jun 2003 06:43:05 GMT

Can someone explain what is wrong with
the following code:

      <labels show="true">
      <xsp:attribute name="label"><xsp:expr>fGraphPtLabel</xsp:expr></xsp:attribute>
      if ((fGraphPtLabel != null) &amp;&amp; (fGraphPtLabel.equals("name"))) {   
        <xsp:attribute name="rotate">14</xsp:attribute>
      } else {
        <xsp:attribute name="rotate">1</xsp:attribute>

Gives an output of:

  <labels show="true" label="null" rotate="14" rotate="1">

ie. if the fGraphPtLabel is null, the rotate should be equal to 1
and not 14 as well?!


This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Mailscanner thanks transtec Computers for their support.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message