This content has been marked as final.
Show 4 replies
-
1. Re: a4j:commandButton always executes form even when execute id's given
ealonso04 Jul 9, 2012 3:51 PM (in response to nandish)1 of 1 people found this helpfulHi Nandish!
What about getting out the panel id from the execute and just leaving it in the render? Or you can use the execute="@this".
And getting out the commandLink id from the render?
Like this:
<a4j:commandLink id="more_message_button"
value="Load More Comments"
action="#{feedbackAction.setFeedbackIdForExpansion(unitfeedback.feedbackId)}"
execute="@this" href="javascript:void(0)" limitRender="true"
render="expandedList">
</a4j:commandLink>`
<a4j:outputPanel layout="block" id="expandedList">Regards!
-
2. Re: a4j:commandButton always executes form even when execute id's given
nandish Jul 10, 2012 3:31 AM (in response to ealonso04)No luck. I tried with execute="@this" and execute ="@none", the behavior does not change at all
-
3. Re: a4j:commandButton always executes form even when execute id's given
nandish Jul 10, 2012 4:09 AM (in response to nandish)Found out the issue, The issue was
unitfeedback object which was basically coming from outer a4j:repeat. When we ask the jsf to reremder or only execute thie piece, it will not know waht is unitfeedback object. Instead calls the form to be executed and finds out what us unitfeedback.
-
4. Re: a4j:commandButton always executes form even when execute id's given
ealonso04 Jul 10, 2012 10:15 AM (in response to nandish)Im glad you found the solution!
Regards!