jsf - Button inside p:contentFlow not working -


following code:

<p:contentflow value="#{fileondeskviewdlgbacking.filescontentflowlist}" var="row"> <p:panel styleclass="filepanel" > <p:outputlabel value="#{row.srno}" />         <p:panelgrid styleclass="borderless" columns="2">            <p:graphicimage name="/dashboard/images/file_64px.png"/>              <p:panelgrid styleclass="borderless" columns="1">                 <p:outputlabel value="(#{row.subject})" />             </p:panelgrid>         </p:panelgrid>         <p:outputlabel style="color:#3d83b5;" value="files#{row.date}">             <f:convertdatetime pattern="dd/mm/yyy hh:mm" />         </p:outputlabel>         <h:panelgrid styleclass="borderless" columns="2">             <p:outputlabel value="fileid:" />             <p:outputlabel styleclass="wraptext" value="#{row.id}" />              <p:outputlabel value="description:" />             <p:outputlabel styleclass="wraptext" value="#{row.description}" />              <p:outputlabel value="heading:" />             <p:outputlabel value="#{row.name}" />              <p:outputlabel value="priority:" />             <p:outputlabel value="#{row.priorityname}" />              <p:outputlabel value="type:" />             <p:outputlabel value="#{row.typename}" />              <!-- <p:outputlabel value="created by:" />             <p:outputlabel value="#{row.createdby}" /> -->          </h:panelgrid>         <p:spacer height="5px" />         <p:separator />         <p:commandbutton value="#{row.fileid}" action="#{fileondeskviewdlgbacking.filenoting(row.fileid)}" />     </p:panel> </p:contentflow> 

the problem here on button <p:commandbutton value="#{row.fileid}" action="#{fileondeskviewdlgbacking.filenoting(row.fileid)}" /> method not pass fileid , resolved null, #{row.fileid} alwasys give value.

more work in p:datatable, there problem component think.


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -