Galera estou tendo dificuldades para passar o id do chamado para a pagina chamada no outputLink
Pagina Meus Chamados
<h:form id="formListaCham">
<p:growl id="msg1"/>
<p:dataTable var="chamado" value="#{chamBean.listaChamadosPendentesPorFunc(bbFuncionarioLogado.procuraFuncionario().getId())}" paginator="true"
rows="10" emptyMessage="Nenhum registro encontrado!"
paginatorTemplate="{CurrentPageReport} {FirstPageLink} {PreviousPageLink} {PageLinks}
{NextPageLink} {LastPageLink} {RowsPerPageDropdown}" rowsPerPageTemplate="5, 10, 15">
<f:facet name="header">Meus Chamados</f:facet>
<p:column>
<f:facet name="header"> <h:outputText value="Descrição" /> </f:facet>
<h:outputText value="#{chamado.descricao}" />
</p:column>
<p:column>
<f:facet name="header"> <h:outputText value="Equipamento" /> </f:facet>
<h:outputText value="#{chamado.equipamento.nome}" />
</p:column>
<p:column>
<f:facet name="header"> <h:outputText value="Categoria" /> </f:facet>
<h:outputText value="#{chamado.categoriaChamado.nome}" />
</p:column>
<p:column>
<f:facet name="header"> <h:outputText value="Data" /> </f:facet>
<h:outputText value="#{chamado.data}" />
</p:column>
<p:column id="StatusColumn" filterBy="status" filterOptions="#{chamBean.statusOptions}" filterMatchMode="exact">
<f:facet name="header"> <h:outputText value="Status" /> </f:facet>
<h:outputText value="#{chamado.status}" />
</p:column>
<p:column>
<f:facet name="header"> <h:outputText value="Ações" /> </f:facet>
<p:commandButton value="Remover" action="#{chamBean.removerHistChamado()}" icon="btRemover" update="@form">
<f:setPropertyActionListener target="#{chamBean.chamado}" value="#{chamado}" />
</p:commandButton>
<p:lightBox iframe="true" width="500px" height="240px">
<h:outputLink value="${pageContext.request.contextPath}/HelpDesk/paginas/chamHist.jsf" title="Visualização do histórico do chamado">
<p:commandButton value="Visualizar" icon="btVisualizar">
<f:param name="#{chamado.id}" value="#{chamBean.chamado.id}" />
</p:commandButton>
</h:outputLink>
</p:lightBox>
</p:column>
</p:dataTable>
</h:form>
Pagina chamada pelo OutputLink
<h:form id="formListaHist">
<p:growl id="msg1"/>
<p:dataTable var="historico" value="#{histBean.listaHistoricoPorChamado(chamBean.chamado.id)}" paginator="true"
rows="5" emptyMessage="Nenhum registro encontrado!"
paginatorTemplate="{CurrentPageReport} {FirstPageLink} {PreviousPageLink} {PageLinks}
{NextPageLink} {LastPageLink} {RowsPerPageDropdown}" rowsPerPageTemplate="5">
<f:facet name="header">Histórico do chamado</f:facet>
<p:column>
<f:facet name="header"> <h:outputText value="Ação" /> </f:facet>
<h:outputText value="#{historico.acao}" />
</p:column>
</p:dataTable>
</h:form>
Se puderem me ajudar nessa agradeço.