cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John L. Webber" <john.web...@jentro.com>
Subject Re: Problem with FlowScript
Date Wed, 11 May 2005 07:25:17 GMT
Hi Christian,

It would help if you could include any error messages, or explain exacly
what doesn't work. Taking a quick look at your code, I see an error:

> if (pwd1.length < 5)

should probably be
if (pwd1.length() < 5)

If that doesn't fix your problem, please give us some more information.

Regards,

John

Christian Tanzmann wrote:
> Hi,
> I will control the length of a requested String object in a FlowScript
> but it dont function.
> Here the example:
> 
> var pwd1 = new String();
> pwd1 = cocoon.request.get("password1");
> 
> if (pwd1.length < 5)
> {
>       var message = "Password to short!"
> 	cocoon.sendPage("view/editUserAccount" + EXT, {message:
> message});
> }
> 
> Please help me, what is false.
> 


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


Mime
View raw message