-
1. Re: a4j:poll onsubmit
ilya_shaikovsky May 15, 2007 5:03 AM (in response to skipylz)http://jira.jboss.com/jira/browse/AJSF-62. Thanks.
Btw at present you may use onsubmit attribute on the form around poll. -
2. Re: a4j:poll onsubmit
tchichirico Jul 19, 2007 11:16 PM (in response to skipylz)Is this working yet? The jira says it was fixed in 1.1.1 but I'm running 1.1.2 and I still can't get the onsubmit to fire on a4j:poll. Here's my code:
<a4j:poll
onsubmit="alert('testOnSubmit');"
interval="30000"
reRender="column-two"
oncomplete="initializeTimers(), alert('testOnComplete')"
action="#{trackingBean.pollTracking}" >
</a4j:poll>
The poll works and the oncomplete fires but the onsubmit never fires. Am I missing something or is this attribute still not working?
Thanks in advance for any help. -
3. Re: a4j:poll onsubmit
dkane Sep 5, 2007 8:20 AM (in response to skipylz)Still does not work for me, too.
Downloaded the latest available version 1.1.1 from http://labs.jboss.com/jbossajax4jsf/downloads , released 4 june 2007 (any later versions available ?)
Added just simple logging (console.log(...)) to both "onsubmit" and "oncomplete" handlers. The result : "oncomplete" function is being called, "onsubmit" is not . -
4. Re: a4j:poll onsubmit
ilya_shaikovsky Sep 5, 2007 2:08 PM (in response to skipylz)Works for me with Rich Faces 3.1.0 RC4. Could you pelase update your version?
-
5. Re: a4j:poll onsubmit
zakhan Nov 8, 2007 6:27 AM (in response to skipylz)Hi, another problem using poll. I found out, that I cant use more than one attributes from: onsubmit, oncomplete and onbeforedomupdate. The simplest example:\
<h:form> <a:poll interval="3000" onsubmit="alert('submit');" onbeforedomupdate="alert('beforedomupdate')" oncomplete="alert('complete')" /> </h:form>
In this case just the submit alert appears. Is this how should it work or am I doing something wrong? Thanks in advance.
Yeah, using: RichFaces 3.1.2GA -