cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Larsen" <gary.lar...@envisn.com>
Subject RE: length to fi:styling maxlength
Date Wed, 29 Oct 2008 19:30:38 GMT
Try fd:length validator:

	<fd:length min="2" max="4"/>

http://cocoon.apache.org/2.1/userdocs/widgetconcepts/validation.html

gary

> -----Original Message-----
> From: Christian Decker [mailto:decker.christian@gmail.com]
> Sent: Wednesday, October 29, 2008 2:40 PM
> To: users@cocoon.apache.org
> Subject: fd:length to fi:styling maxlength
> 
> 
> Hi all,
> 
> I'm trying to reflect my fd:length field in the form model to be reflected
> in the actual form that is generated as the maxlength attribute in the
> input
> field. Problem is that I know only how to do that by setting the
> fi:styling
> in the template, but I would like to have it automatically in there. Is
> there an easy way to do this?
> 
> Regards,
> Chris
> --
> http://blog.snyke.net
> --
> View this message in context: http://www.nabble.com/fd%3Alength-to-
> fi%3Astyling-maxlength-tp20233326p20233326.html
> Sent from the Cocoon - Users mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org


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


Mime
View raw message