HiI've got a custom validator here which needs to dynamically change some other input field's value to a new value.
Here's the scenario with two radios and a pulldown: ( ) I don't need anything ( ) I need: [ pulldown with options ]
Now if "I need" is selected, everything works as expected, the pulldown value gets stored to the model. Now if 'I dont need anything' is selected, another value for the pulldown needs to be stored in the model. Let's say a marker entry like 'nothing'. I can't have 'nothing' directly in the pulldown as it would make no sense (and the customer explicitly doesn't want that). So in the validator I need to check the status of the radios and if the first option is selected, set the pulldown model's value to my custom value, ignoring any possible input value.
I tried it with .setModelObject() and .setConvertedInput() but it appears that the input fields are initialized again later from the parameters, overriding my value...
Is there anything I can do? Thanks Matt -- [EMAIL PROTECTED] +41 44 268 83 98 Ergon Informatik AG, Kleinstrasse 15, CH-8008 Zürich http://www.ergon.ch ______________________________________________________________ e r g o n smart people - smart software
smime.p7s
Description: S/MIME Cryptographic Signature
