cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Billard <obill...@rennes.jouve.fr>
Subject [Cocoon Forms] How to deal with empty repeaters in XSP ?
Date Wed, 14 Jan 2004 13:43:07 GMT
Hi cocooners !

I would like not to display an array of repeater content if it is empty... instead, a 
string like "no entry".
For the moment, I must set the form widget to request or session parameter from flow to 
get it in the XSP that generates the template file, and manually use Repeater.getSize(), 
but it's a little bit hacky, no ?

Thanks,


-- 
Olivier BILLARD



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


Mime
View raw message