dont know if you need that, just add javascript to the ajax target to set the values on the fields..
-igor On 10/23/07, Matej Knopp <[EMAIL PROTECTED]> wrote: > I think what you could try (though it would be a nasty hack :) ) is to > set rawInput property on FormComponent. However, you'll need some > introspection to do that, as it is private and we don't plan to > provide an accessor for it :) > > -Matej > > On 10/23/07, karthik Guru <[EMAIL PROTECTED]> wrote: > > I have a form like this - > > > > Name: [.....] > > Zip: [.....] > > City: [.....] > > State: [.....] > > > > [Save] > > > > On filling the zip i want to auto populate the city and state. I can attach > > a AjaxFormComponentUpdatingBehavior to the zip field and do this. But I > > don't want to update the zip model, so i plan to have my version of > > AjaxFormComponentUpdatingBehavior and 'not' update the model. I can possibly > > get the user entered value from the convertedInput. > > > > But I don't want to want to update the city and the state model either to > > auto-populate the fields. > > > > Basically I want to hold off on the model updates until somebody clicks the > > save button. > > > > Can i set the converted input on a component and get it to refresh through > > Ajax? > > I know that I can do this through javascript ($(fieldId).value = ''blah > > blah')and add it to AjaxTarget. But i was wondering if i can just work with > > components (do setConvertedInput / something) and then add it to Ajaxtarget > > and make it work? > > > > -- karthik -- > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]