Hi

Can someone explain what is wrong with
the following code:

      <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:logic>
        <xsp:attribute name="rotate">14</xsp:attribute>
      <xsp:logic>
      } else {
      </xsp:logic>
        <xsp:attribute name="rotate">1</xsp:attribute>
      <xsp:logic>
      }
      </xsp:logic> 

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?!

Thanks
Derek


-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to