Hi,
I am stuck with ajax and fragment rendering.
I am new to both, spring and webflow, and try to do some ajax stuff. Ic ould not get the fragment to rerender so I stripped my code to a minimum.
have a bean with a "testNumber", an increaseTestNumber Method and a ui:fragment on my xhtml which only shows this number.
flow:
xhtml fragment:Code:<transition on="changeAddress"> <evaluate expression="card.owner.address.incNumber()" /> <render fragments="testFragmentXYZ" /> </transition>
xhtml-action buttonCode:<ui:fragment id="testFragmentXYZ"> #{card.owner.address.currentNumber} </ui:fragment>
Code:<sf:commandLink action="addressLookup" processIds="*" >
when i click the button, the "testNumber" gets increased correctly, means that the ajax call is succesful. the fragment does not seem to be rendered/updated. when i hit f5 and reload the entire page, the updated number is shown.
what am I doing wrong?


Reply With Quote