cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sonny Sukumar" <>
Subject <xsp:attr> bug?
Date Wed, 10 Sep 2003 01:20:10 GMT

How comes this doesn't work?:

<xsp:attribute name="error">
      if (somVar == null)
        errorStatus = false;
        errorStatus = true;

What is strange to me that Cocoon doesn't complain in producing the Java 
code, but that it puts the equivalent Java code for 
"<xsp:expr>errorStatus</xsp:expr>" *before* the equivalent code fo the 
<xsp:logic> block.  So it then fails to compile, saying that variable 
errorStatus may not have been initialized.

So why does Cocoon generate the Java code backwards?



Get 10MB of e-mail storage! Sign up for Hotmail Extra Storage.

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

View raw message