cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mamadou Bobo Sylla" <b...@ewarna.com>
Subject XSP - Identifier expected : xspParentNode = xspCurrentNode
Date Mon, 20 Aug 2001 05:47:34 GMT
This is the error message I keep receiving:
31: Identifier expected.
xspParentNode = xspCurrentNode;
                ^
I am using Tomcat3.2.1
cocoon1.8.2

My code is:
<?xml version="1.0"?>
<?cocoon-process type="xsp"?>
<?cocoon-process type="xslt"?>
<?xml-stylesheet href="../../userFactory.xsl" type="text/xsl"?>
<xsp:page language="java" xmlns:xsp="http://www.apache.org/1999/XSP/Core">
 <xsp:structure>
  <xsp:include> java.lang.*</xsp:include>
 </xsp:structure>
 <xsp:logic>
    
      String fname = request.getParameter("fname");
          
 <userFactory>
 <title>eWarna.com - Issue Log System - Member Registration</title>
 <header>New Member Registration</header>
 boolean bool=false;
  if (fname.equals("") ) bool=true;  
 <![CDATA[
 if (bool)
  {]]>
    <xsp:content>
    <row>
     <name>First Name</name>
     <img>
      <border>0</border>
      <src>IMG/warningSign.gif</src>
      <width>23</width>
      <height>11</height>
     </img>
     <field input="yes" name="fname"/>
     <status color="#800000">The first name field should be filled</status>
    </row>
   </xsp:content>
  <![CDATA[  }]]>

   
<update-button/>
  </userFactory>
 </xsp:logic>
</xsp:page>
========
I still don't get what is wrong!! Please I need your assistance.
Thank you in advance.



---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message