On 2005-06-28 04:00:46 -0700, "Stephan Coboos" <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to