You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Dennis Byrne (JIRA)" <de...@myfaces.apache.org> on 2006/01/31 20:31:37 UTC

[jira] Resolved: (MYFACES-853) commandLink not working inside dataList

     [ http://issues.apache.org/jira/browse/MYFACES-853?page=all ]
     
Dennis Byrne resolved MYFACES-853:
----------------------------------

    Resolution: Fixed

Yeah, this one is fixed.  I have reproduced the 1009 behavior w/out the RI.  Didn't try to fix it.   It looked like 853 and 1009 were the same problem, same component, different lifecycle phase.  I'm pretty sure datalist does not currently call processUpdates or processValidations on it's children.

> commandLink not working inside dataList
> ---------------------------------------
>
>          Key: MYFACES-853
>          URL: http://issues.apache.org/jira/browse/MYFACES-853
>      Project: MyFaces
>         Type: Bug
>     Versions: 1.1.1
>  Environment: WinXP,tomcat 5.5.9,myfaces-1.1.1,JDK 1.5
>     Reporter: Alexander Traeder
>     Assignee: Dennis Byrne
>      Fix For: Nightly
>  Attachments: api.txt, tomahawk.txt, tomahawk2.txt
>
> in following code fragement  the action-method "testService.listenOnSelect" is never called:
> <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
> <%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
> <f:subview id="test">
> 		<h:form id="testform">
> 			<h:panelGrid columns="1">
> 				<t:dataList id="datalist" style="standardList"
>         					var="test"
>         					value="#{testService.entries}"
>         			                rowCountVar="rowCount"
> 					        rowIndexVar="rowIndex"
> 					        layout="unorderedList">
>     				        <h:commandLink id="test_ref" value="#{rowIndex + 1}" action="#{testService.listenOnSelect}" />       					
> 				</t:dataList>
> 			</h:panelGrid>
> 		</h:form>
> </f:subview>
> after some testing i also tried the nightly build but with the same result
> also tried the following (working in other scenarios):
>     				<h:commandLink id="testref" immediate="true" value="#{rowIndex + 1}" action=""> 
>     					<t:updateActionListener property="#{rowCount}" value="#{testService.searchRow}" />
>     				</h:commandLink>
> any ideas?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira