Without looking at all of your code, it is hard to be sure what the problem
might be.  For instance, how is "username" declared in your program?  The
best way to debug these problems is to look at the generated Java code, so
that you can easily see where variables are being declared and set and so
forth.  The generated Java code is in your repository directory, the
location of which is defined in your cocoon.properties file.  The
repository directory basically follows the same hierarchy as your cocoon
context, except everything has a leading underscore.

-Christopher



HI ALL,
        here i tried to keep esql results into varible and comparing with
other variable , but its not working ...plz help me out.

<xsp:logic>
     String uname="";
</xsp:logic>

<esql:connection>
          <xsp:logic>
               uname=<esql:get-string column="username"/>;
               if( username.equals(uname)){
               }
               else
                    { do something}
          </xsp:logic>
</esql:connection>


but always it goes into "else" loop not going into "if" loop at all.
even i tried trimming the both variables ,even though its not working
plz help out..

Advance Thanks
Rammi.





---------------------------------------------------------------------
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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to