Can be the problem of update in the tutorial this?

<key dbcol="department_id" mode="manual" param="id" type="long"/>

Please see the mode attribute.

Antonio Gallardo

El Domingo, 18 de Agosto de 2002 03:25, Christian Haul escribió:
> On 18.Aug.2002 -- 01:09 AM, Antonio Gallardo Rivera wrote:
> > I am trying the tutorial example that comes with Cocoon.
> >
> > When I try to create a employe or update a department. I always get this
> > error in the sitemap.log file:
> >
> > Thread-14/AbstractValidatorAction: Validating long parameter department
> > (encoded in a string: true)
> >
> > Then, my question is: How I can send a parameter of type "long" in a
> > request string? Is there another method todo that?
>
> This is no error but a debug message (change log level to turn it off). It
> says that the value is passed as a java instance of String. This is correct
> for request parameters as they are indeed strings.
> In case you were validating e.g. session attributes, they would not be
> encoded as Strings but be of the required type.
>
> So, if form validation fails, it has another cause. Usually, it says
> "validating parameter foo, foo should (something) and it (is / does) not."
>
> HTH.
>       Chris.
>
> Please follow up summarizing your problem and which suggested solution
> / information worked for you when you consider your problem
> solved. Add "SUMMARY: " to the subject line. This will make FAQ
> generation and searching the list easier. In addition, it makes
> helping you more fun. Thank you.

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

Reply via email to