This content has been marked as final.
Show 2 replies
-
1. Re: stop onload event from firing after a4j:commandButton pr
sergeysmirnov Sep 27, 2007 2:56 PM (in response to rebeccapeltz)what does action="#{buildTemplate.updateServiceAction}" and what it returns?
-
2. Re: stop onload event from firing after a4j:commandButton pr
rebeccapeltz Sep 27, 2007 3:09 PM (in response to rebeccapeltz)the updateServiceAction changes a rate type - this is a backing bean structure change - so that when the panel is rerendered a different rate input form is displayed
I have a list of these panels and command buttons. When I click on update I see the input form changing but I am always sent to the top of the page even if I have click on an input down near the bottom of the page. I think the init() is doing this, but I'm not sure why the init() is being called. I didn't know an AJAX response would trigger a body on load.
By the way even though I have multiple update buttons I'm only using one form.