I've noticed that this doesn't work for me and I'm wondering if it's just not possible:
<h:form id="one" prependid="false" >
<h:commandButton>
<f:ajax execute=":two">
</h:commandButton>
</h:form>
<h:form id="two" prependid="false">
... content ...
</h:form>
Whenever I click the button above ,I can see that the values on form two
are not executed as expected.
Is this the normal JSF behavior?
To 'trick' it, I usually insert a hidden button in form two
and trigger it using JavaScript code when the button in form one
is clicked. But that's a 'trick' and makes me work extra when I'm not sure I have to.
I should mention the render
ing another form is possible.
Could the prependid
attribute be causing problems?
Thanks in Advance!
UPDATE Adding more information that might be relevant - adding the prependid="false"
to the forms as it is used in the actual code.