cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johannes Becker <jonnybec...@gmx.net>
Subject Passing Values into Forms-Definiton
Date Thu, 23 Jun 2005 16:48:33 GMT
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


Mime
View raw message