cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephan Coboos" <cromo...@gmx.net>
Subject AW: [Cforms] How to reproduce the selection state?
Date Tue, 28 Jun 2005 11:00:46 GMT
Hi Mark,

Thanks for your answer.

> > name = Foo
> > description = Bar
> > cars = {BMW, Audi, Peugeot}
> > getSelectedCar = Audi
> > 
> I don't see the problem.  If cars and selectedCar are both 
> bean properties, why should it make a difference what the 
> values are or that they came from a database?
> 
> 
> > How can I reproduce the form in order to select "Audi" in 
> the dropdown 
> > box for cars automatically?
> > 
> It should "just work" (;-)... have you tried it?

No, because I don't know how to say to Cforms that it have to select Audi at
form load. How can I do this? In flowscript or is there an attribute like
selectedItemGetter="getSelectedCar". And what about multiselections?

Thank you thery much for your help.

Regards
Stephan


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


Mime
View raw message