Please look at the process-department.xsp..

You will understand...

may be the <esql:parameter is considering string and
so when u add 1 to string ... basically its taking
result as string again.. so

2 + 1 = 21 (string expressions)

21 + 1 = 211 (String expressions)...

:-)

 --- Sumit Ranjan <[EMAIL PROTECTED]>
wrote: > in the sample database table
"department_table" ,
> whenever i add a new entry
> the id generated is in the sequence
> 2,21,211,2111,21111 ...and so on....
> 
> is this a bug ? or am i doing anything wrong.
> 
> please suggest as i am new to cocoon.
> 
> i am using C2 on tomcat 3.2.2 and apache 1.3.11 on
> my NT 4.0 work statation.
> 
> 
> Sumit Ranjan
> 
> 
> 
>
---------------------------------------------------------------------
> 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]>
>  

=====
Thanks and have great day
srini

____________________________________________________________
Do You Yahoo!?
Send a newsletter, share photos & files, conduct polls, organize chat events. Visit 
http://in/ groups.yahoo.com

---------------------------------------------------------------------
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