-
1. Re: Can seam component property be set with a4j:actionparam before a4j:status is invoked?
ilya_shaikovsky May 6, 2010 4:40 AM (in response to jgreene)general comments on approach.
It's god to make dynamic updates of some label via ajax in general but status component is special case and this will not works there:
Status component switching to start state when request starts and finishes after it's ends. So if you trying to use a4j:param - param will be passed and applied during current request(when statuus already shows progress) and will not be actual (as it will be applied after the status for the request already hidden).
So you should have change the label in modal panel on client side using the same onstart even (change inner html in some label span and then show the modal)
-
2. Re: Can seam component property be set with a4j:actionparam before a4j:status is invoked?
jgreene May 6, 2010 8:57 AM (in response to ilya_shaikovsky)Thank you, Ilya - yes, I realized after it did not work that the approach I took has a problem for the reasons you said. I will try your suggestions. Thanks again.
-
3. Re: Can seam component property be set with a4j:actionparam before a4j:status is invoked?
jgreene May 6, 2010 8:59 AM (in response to ilya_shaikovsky)Thank you, Ilya - yes, I realized something was wrong with the approach for the reasons you said after it did not work and I thought about it - I will try your suggestion. Thanks again.