This content has been marked as final.
Show 4 replies
-
1. Re: Suggestion box updates the model
ilya_shaikovsky Feb 4, 2008 6:30 AM (in response to rhasselbaum)if you use old version - you should set ajaxSingle="true".. In newest version this attribute = true by default. So only the input model value updated.
-
2. Re: Suggestion box updates the model
rhasselbaum Feb 4, 2008 10:56 AM (in response to rhasselbaum)"ilya_shaikovsky" wrote:
In newest version this attribute = true by default. So only the input model value updated.
That's the problem. I don't want any values to be updated in the model--including the one bound to the suggestion box. Reason being, I'm using the suggestion box in a dialog box-style interaction. So the user can make changes to different fields, and then click "OK" or "Cancel" to continue. If the user clicks cancel, it should cancel all of the edits. But that's not happening for the suggestion box. -
3. Re: Suggestion box updates the model
mmichalek Feb 4, 2008 11:05 AM (in response to rhasselbaum)So would ajaxSingle="false" be appropriate for this situation then?
Also, do you use immediate=true on your cancel button? -
4. Re: Suggestion box updates the model
ilya_shaikovsky Feb 4, 2008 11:07 AM (in response to rhasselbaum)just point this input to some temporary property and save it on Ok pressed.