|
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
|
- Re: XSP function java with xsp:content error Nicolas Maisonneuve
- Re: XSP function java with xsp:content error Sylvain Wallez
