You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Michael Jenik (JIRA)" <de...@myfaces.apache.org> on 2006/04/10 09:43:59 UTC

[jira] Created: (TOMAHAWK-240) aliasbean + datalist|datatable + commandlink + actionlistener = rendered but actionlistener is not performed

aliasbean + datalist|datatable + commandlink + actionlistener = rendered but actionlistener is not performed
------------------------------------------------------------------------------------------------------------

         Key: TOMAHAWK-240
         URL: http://issues.apache.org/jira/browse/TOMAHAWK-240
     Project: MyFaces Tomahawk
        Type: Bug

  Components: Alias Bean  
    Versions: 1.1.2-SNAPSHOT    
 Environment: I have the last snapshots downloaded from the myfaces.org. I use debian unstabel.
    Reporter: Michael Jenik


laBean is an alias for the bean ubicacion and this command links are rendered but they has no efect on click.

	<x:aliasBean id="alias2" alias="#{laBean}" value="#{ubicacion}">
		<f:subview id="sub">
			<x:dataList id="didyoumean" layout="simple" value="#{laBean.didyoumeanList}" var="unlink">
				<h:column id="jja">	
					<h:commandLink value="#{unlink}" actionListener="#{laBean.didyoumeano}"></h:commandLink> 
				</h:column>	
			</x:dataList>
		</f:subview>
	</x:aliasBean>

But this works: Note the change in datalist.value: i'm using the realbean.

	<x:aliasBean id="alias2" alias="#{laBean}" value="#{ubicacion}">
		<f:subview id="sub">
			<x:dataList id="didyoumean" layout="simple" value="#{ubicacion.didyoumeanList}" var="unlink">
				<h:column id="jja">	
					<h:commandLink value="#{unlink}" actionListener="#{laBean.didyoumeano}"></h:commandLink> 
				</h:column>	
			</x:dataList>
		</f:subview>
	</x:aliasBean>




This happends with dataTable too.

It's very frustrating because I have a list of links in the aliades bean ... I want to renderer them.. but I can not . I tried to bind a panelGrid but there is an "acepted limitation that will not be fixed"!!!! :  search in google : aliasbean +panelGrid + binding

Thanks.

-- 
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