cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Leicester <mark.leices...@efurbishment.com>
Subject Re: Passing Values into Forms-Definiton
Date Thu, 23 Jun 2005 17:04:51 GMT
Hi Jonny,

You can generate your form definition files using jxtemplate (in a 
cocoon pipeline). Then when you want to reference your definition file, 
use cocoon:// to access it.

HTH,
Mark

On 23 Jun 2005, at 17:48, Johannes Becker wrote:

> Hi,
>
> I've got a form-definition:
> ...
> <fd:validation>
>     <fd:range min="5" max="25"/>
> </fd:validation>
> ...
>
> My aim is to pass parameters into this definition-file. Why? Because 
> the max-attribute (of  fd:range)  varies (depending whats on some 
> database).
>
> Is there, for example, a way of mixing Forms-definiton and JXTemplate? 
> Could I then write something like this?
> ...
> <fd:validation>
>     <fd:range min="5" max="#{number/max}"/>
> </fd:validation>
> ...
>
> Thanks
> Jonny
>
>
> ---------------------------------------------------------------------
> 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