This content has been marked as final.
Show 7 replies
-
1. Re: a4j:commandLink stops working once clicked on a4j:htmlCo
ilya_shaikovsky May 8, 2007 4:07 AM (in response to liudan2005)Please paste your page code here. I'm unable to reproduce your problem under small test.
-
2. Re: a4j:commandLink stops working once clicked on a4j:htmlCo
liudan2005 May 8, 2007 11:07 AM (in response to liudan2005)Here is my code. If I clicked "Open New Window" and once I close the new window, the a:commandLink stops working. it would bring me to the new window page instead of ajaxMethod returned page.
<h:form > <a:htmlCommandLink action="#{myBean.doMethod}" value="Open New Window" target="_blank"> <f:param name="id" value="15"/> </a:htmlCommandLink> || <a:commandLink reRender="panel1" value="ajaxLink" action="#{myBean.ajaxMethod}" > <f:param name="id" value="1059"/> </a:commandLink> </h:form>
-
3. Re: a4j:commandLink stops working once clicked on a4j:htmlCo
sergeysmirnov May 8, 2007 3:01 PM (in response to liudan2005)if you use a:htmlCommandLink, you need to use a:form instead of h:form
-
4. Re: a4j:commandLink stops working once clicked on a4j:htmlCo
liudan2005 May 8, 2007 8:32 PM (in response to liudan2005)Still not working. Here is my latest code.
<a:form > <h:commandLink action="#{myBean.doMethod}" value="Open New Window" target="_blank"> <f:param name="id" value="15"/> </h:commandLink> || <a:htmlCommandLink action="#{myBean.doMethod}" value="Go to another page" > <f:param name="id" value="15"/> </a:htmlCommandLink> || <a:commandLink reRender="panel1" value="ajaxLink" action="#{myBean.ajaxMethod}" > <f:param name="id" value="1059"/> </a:commandLink> </a:form>
If I clicked on "Open new windows",the a:commandLink would stop working.
Or if I clicked on "go to another page", and click back in my browser, the a:commandLink stops working as well. -
5. Re: a4j:commandLink stops working once clicked on a4j:htmlCo
liudan2005 May 9, 2007 11:44 PM (in response to liudan2005)Can someone give an idea when this bug is gonna be fixed?
-
6. Re: a4j:commandLink stops working once clicked on a4j:htmlCo
ilya_shaikovsky May 10, 2007 4:04 AM (in response to liudan2005)Give us info about you? environment please. Didn't reproduced under JSF 1.2.04 Facelets 1.1.12 and latest libraries snapshots.
-
7. Re: a4j:commandLink stops working once clicked on a4j:htmlCo
liudan2005 May 10, 2007 4:12 AM (in response to liudan2005)I'm using Seam 1.2.1 GA + A4j 1.1.1. Maybe I should try the latest version once new version of Seam is out. Thanks