è a segunda vez que posto sobre isso ainda naum consegui resolver o problema pesso ajuda para desse resolver isso
<h:body>
<c:view>
<div id="bannerPag">
<f:insert name="bannerPag">
<f:include src="../banner/banner.xhtml" />
</f:insert>
</div>
<div class="container" style="padding-top: 80px;">
<div class="row" id="menuApp">
<f:insert>
<f:include src="../menus/menuUserAdm.xhtml"/>
</f:insert>
</div>
<h:form styleClass="form-horizontal well" style="margin-left: -20px;">
<fieldset>
<legend>Lista de Combustiveis</legend>
<br /><br />
<p:dataTable var="comb" value="#{combustivelController.listaCombustiveis}"
paginator="true" rows="10"
paginatorTemplate="{CurrentPageReport} {FirstPageLink} {PreviousPageLink}
{PageLinks} {NextPageLink} {LastPageLink} {RowsPerPageDropdown}">
<p:column>
<c:facet name="header">
Combustivel
</c:facet>
<h:outputText value="#{comb.dsCombustivel}" />
</p:column>
<p:column>
<f:fragment rendered="true">
<p:commandLink value="Editar" oncomplete="panelEditar.show();" update=":formCadCombustivel:outputPnl">
<c:setPropertyActionListener value="#{comb}"
target="#{combustivelController.combustivel}" />
</p:commandLink>
</f:fragment>
</p:column>
<p:column>
<p:commandLink value="Excluir" oncomplete="panelExcluir.show();">
<c:setPropertyActionListener value="#{comb}"
target="#{combustivelController.combustivel}" />
</p:commandLink>
</p:column>
</p:dataTable>
<p:dialog modal="true" header="Excluir" showEffect="fade" hideEffect="explode"
widgetVar="panelExcluir">
<div class="form-inline">
<h:outputLabel value="Quer excluir o combustivel "/>
<h:outputLabel value="#{combustivel.dsCombustivel}"/>
<h:outputLabel value=" ?" />
</div>
<div class="form-actions">
<p:commandButton styleClass="btn btn-danger" value="Sim" type="button" />
<p:commandButton styleClass="btn btn-primary" value="Não"
type="button" onclick="panelExcluir.hide();"
style="margin-left: 20px;"/>
</div>
</p:dialog>
<p:dialog modal="true" header="Editar" showEffect="fade" hideEffect="explode"
widgetVar="panelEditar" id="panelEditar">
<f:include src="../cadastros/forms/formCadCombustivel.xhtml"/>
</p:dialog>
</fieldset>
</h:form>
<div>
<f:include src="../footer.xhtml"/>
</div>
</div>
</c:view>
</h:body>
codigo form
<h:body>
<f:composition>
<h:form styleClass="well form-horizontal" id="formCadCombustivel" style="margin-left: -20px;">
<p:outputPanel id="outputPnl" >
<fieldset>
<legend>Cadastro Combustivel</legend>
<p:growl id="growl" showDetail="true" sticky="true" life="10000"/>
<div class="control-group" style="padding-top: 40px;">
<h:outputLabel value="Combustível" styleClass="control-label" />
<div class="controls">
<p:inputText required="true" requiredMessage="Campo Combustível é requerido"
styleClass="input input-large"
value="#{combustivelController.combustivel.dsCombustivel}" />
</div>
</div>
<div class="form-actions" style="margin-top: 60px;">
<p:commandButton type="submit" value="Salvar" styleClass="btn btn-primary"
update="@form @this growl"
actionListener="#{combustivelController.salvarCombustivel()}"/>
<p:commandButton type="reset" value="Limpar" styleClass="btn"
style="margin-left: 20px;"/>
</div>
</fieldset>
</p:outputPanel>
</h:form>
</f:composition>
</h:body>
Quero que quando o usuario clique no link editar apareca o dialog com o form preenchido o usuario altera e salva mas naum consiguo fazer, ja tentei de tudo, qualquer dica sera salvadora obirigado

