Basicallys lets a component listen for events on another component, all via ajax.
Sample usage on inputAjax.jsp.
<s:outputText value="#{inputAjaxBean.waitingText2}">
<s:listener on="formText2"/>
</s:outputText>
Only works with the sandbox OutputText right now, but after I get some feedback and discussion on it, I figure it would be nice to have across the board. It's a bit more functional than the ADF partial triggers because it *will* be able to support different event types (onChange currently) and different actions (update currently, but will could support other actions including calling an arbitrary _javascript_).
Any feedback appreciated. And thoughts about applying this to all MyFaces components?
Travis
- Just committed an Ajax Listener component Travis Reeder
- Re: Just committed an Ajax Listener component Martin Marinschek
- Re: Just committed an Ajax Listener component Adam Winer
- Re: Just committed an Ajax Listener compone... Travis Reeder
