myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guy Bashan <>
Subject [MyFaces][Core] Command Link in a datatable
Date Sun, 03 Aug 2008 13:44:27 GMT

I am having a weird behavior with commandLink in a datatable:

I want that the command link will be rendered only if a select box of that
row is checked (it is a select box used for editing the row).

This is the code of the command link:


        <f:facet name="header">

          <h:outputText value="Action"/>


       <h:commandLink value="Save" action="#{}"

         <f:param name="videoId" value="#{}" />




When I am pressing the "save" link, the page is posted but no action on the
server is being activated.

When I remove: rendered="#{editableVideo.edit}", "save" method is being
called properly.


Any ideas?

Am I doing something wrong?




View raw message