no you can't but if your use case is just to retain old value,you can
retain it in
a field ,you can even set the old value back or just write your own
behavior that does that
On Tue, Oct 2, 2012 at 2:08 PM, cosmindumy cosmind...@yahoo.com wrote:
Another question, hope the last at this topic.
overwrite AjaxFormComponentUpdatingBehavior#getUpdateModel() to return
false, then update the model for yourself in #onUpdate().
Sven
On 10/02/2012 02:47 PM, vineet semwal wrote:
no you can't but if your use case is just to retain old value,you can
retain it in
a field ,you can even set the
Thanks. It worked.
But I have another question.
I want the drop down inside vieworedit in some cases to be disabled. If I
disable it is automatically replaced with label. I want to be replaced with
label only when my condition is true. Is there any possibility?
Thanks.
--
View this message
you can also do a css disable
dropdown.add(new AttributeModifier(disabled, true))
On Mon, Oct 1, 2012 at 12:53 PM, cosmindumy cosmind...@yahoo.com wrote:
Thanks. It worked.
But I have another question.
I want the drop down inside vieworedit in some cases to be disabled. If I
disable it is
you can add in constructor/onintialize()/onconfigure()/onbeforerender
but not in onafterender(),the exception is self explanatory Cannot
modify component hierarchy after render phase has started (page version cant
change then anymore)
On Mon, Oct 1, 2012 at 3:11 PM, cosmindumy
try ajaxformcomponentupdatingbehvior with change event
On Fri, Sep 28, 2012 at 1:15 PM, cosmindumy cosmind...@yahoo.com wrote:
Hi,
I want to get the new selected of a dropdown wich is inside a vieworedit
component.
Attached an ajax behaviour on onchange event, but cannot get the new vale.