Just an innocent question, have you wrapped your dataTable with a <h:form>?

On 4/20/05, AUGE Fr�d�ric GC EUR <[EMAIL PROTECTED]> wrote:
> 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