-
1. Re: Support for Seam's s:link?
tomstrummer Feb 1, 2008 2:15 PM (in response to tomstrummer)This problem issue seems deeper than I thought...
So if you don't want to hit form validation, you have to put the "immediate=true" attribute in your all of your a4j:commandLinks or commandButtons, right? But all of my links have to be inside some sort of form too, right? (since A4J doesn't support async GETs)
Now think about the most common actions you would do when working w/ a data-driven site:
- Add (show a form for a new item)
- Edit
- Update
- Delete
- Cancel
Of those, Update is the only one that will actually post back form data. So I have to put that immediate attribute on every other button or link, or risk getting invalid data errors?
The only other option I can think of is to keep my "real" forms separate from my 'AJAX link' forms... Which isn't always possible.
Am I missing something, or is that really how it is? For that matter, is it really that way in plain JSF??
Back to my original question -- Is there some way to allow A4J to support Seam's s:link?
Thanks.