You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Olivier Billard <ob...@rennes.jouve.fr> on 2004/01/14 14:43:07 UTC

[Cocoon Forms] How to deal with empty repeaters in XSP ?

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