cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicolas Maisonneuve" <n.maisonne...@hotPop.com>
Subject XSP function java with xsp:content error
Date Tue, 30 Sep 2003 16:54:44 GMT
hy , i would like create a function  like:
<xsp:page>
<xsp:logic>
String text="coco"
 public void addXml() {
     <xsp:content><hy><xsp:attribute name="coucou"><xsp:expr>text</xsp:expr></xsp:attribute></hy></xsp:content>
   }
 }
<page>
</page>
</xsp:logic>
</xsp:page>
but there is a exception :

start error (lines 92-92) "xspAttr cannot be resolved"
    xspAttr.addAttribute(

when i look the generated java code,  the xspAttr = new AttributImp(); is in the generate()
function but not in my function 

someone can me help ?

thanks in advance :-)

nico
Mime
View raw message