There's a thread about commandLink action's in dataTable on sun's jsf
forums:

 http://forum.java.sun.com/thread.jspa?threadID=549675

Apparently if you make the bean a session bean in face-config it will work.
I don't know whether or not it is the same bug in myfaces and the RI (which
the thread discusses).


----- Original Message ----- 
From: "AUGE Fr�d�ric GC EUR" <[EMAIL PROTECTED]>
To: "Myfaces (E-mail)" <[email protected]>
Sent: Wednesday, April 20, 2005 12:24 PM
Subject: Action problem with Tiles


> Hi,
>
> I'm starting a new webapp with MyFaces 1.0.9 (this isn't my first one with
> MyFaces) and decided to use Tiles.
> My problem is with commandLink that won't fire any action when inside a
> dataTable. The action method isn't called.
> Is it a known problem ? anyone to say that it works ?
>
> This simplified JSP code demonstrate the problem:
>
> <x:dataTable id="ticketsList"
> width="100%"
>     var="currentBean"
>     value="#{tckListBean.tickets}"
> preserveDataModel="false">
> <h:column>
> <f:facet name="header">
> <h:outputText value="#{appBundle.tckListTicket}" />
> </f:facet>
> <h:commandLink action="#{tckTicketBean.showTicketAction}">
> <h:outputText value="ssss"/>
> </h:commandLink>
> </h:column>
> </x:dataTable>
>
> If I put the same commandLink just before the dataTable, it works
perfectly
> !
>
> Thanks for any input,
> Frederic
>

Reply via email to