This content has been marked as final.
Show 1 reply
-
1. Show error msg alert
ilya40umov Feb 14, 2011 7:55 AM (in response to richfaceman)It does not work because categoryProduct.errorMsg is gotten only when a4j:commandButton was being rendered. Just try oncomplete=alert('#{categoryProduct.errorMsg}'); and it will be alsways the same because it shows only pre-rendered value.
Look at the following link for the details:
http://seamframework.org/Community/A4jcommandButtonAndAttributeDataUsingJSON