Vadim,
Here is a portion of my xsp file:
if( <xsp:content><xsp-session:get-attribute
name="test-name-wcart"/></xsp:content> == null
||
((String)<xsp:content><xsp-session:get-attribute
name="test-name-wcart"/></xsp:content>).length() == 0
){
<xsp:content>
Here is the java file that is created to be compiled:
if (xspAttr.addAttribute("", "name", "name", "CDATA",
"test-name-wcart");
this.contentHandler.startElement("http://apache.org/xsp/session/2.0",
"get-attribute",
"xsp-session:get-attribute",
xspAttr);
xspAttr.clear();
this.contentHandler.endElement("http://apache.org/xsp/session/2.0",
"get-attribute",
"xsp-session:get-attribute");
== null || ((String) xspAttr.addAttribute("", "name", "name",
"CDATA", "test-name-wcart");
this.contentHandler.startElement("http://apache.org/xsp/session/2.0",
"get-attribute",
"xsp-session:get-attribute",
xspAttr);
xspAttr.clear();
this.contentHandler.endElement("http://apache.org/xsp/session/2.0",
"get-attribute",
"xsp-session:get-attribute");
).length() == 0) {
It seems that the xslt (I'm guessing) is not producing the correct java
code from the xsp-session namespace tags.
Any suggestion/assessment?
Matthew
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>