cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephan Coboos" <cromo...@gmx.net>
Subject AW: AW: [Cforms] How to reproduce the selection state?
Date Tue, 28 Jun 2005 15:14:29 GMT
Ahh, that's it! 

> 	<fb:value="selected-car" path="selectedCar"/>

This was the line I've missed. Thx! :)

But what can I do, if more than one car can be selected?

Thank you, Mark!

Regards
Stephan

> -----Ursprüngliche Nachricht-----
> Von: news [mailto:news@sea.gmane.org] Im Auftrag von Mark Lundquist
> Gesendet: Dienstag, 28. Juni 2005 16:52
> An: users@cocoon.apache.org
> Betreff: Re: AW: [Cforms] How to reproduce the selection state?
> 
> On 2005-06-28 04:00:46 -0700, "Stephan Coboos" 
> <cromosom@gmx.net> said:
> 
> > 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.
> 
> So... how is that not just
> 
> 	form.load (bean);
> 
> ???  I must just not be understanding your question :-/
> 
> You have
> 
> 	<fb:value="selected-car" path="selectedCar"/>
> 
> or something along those lines, right?
> 
> —ml—
> 
> 
> 
> ---------------------------------------------------------------------
> 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