jsf - How to put a p:commandButton inside a p:panel footer -


i want put primefaces commandbutton inside panel footer seems primefaces panel footers take text, want :

            <p:panel id="junglepanel" header="jungle" footer="<p:commandbutton action="#{junglebean.navigate}"                             ajax="false" value="navigate"">            </p:panel> 

but didn't work, know how achieve ?

if want footer have same css header, can apply header's css footer, have tested , work:

         <h:form>             <p:panel id="junglepanel" header="jungle">                 <f:facet name="footer" >                     <div class="ui-panel-titlebar ui-widget-header ui-helper-clearfix ui-corner-all">                         <p:commandbutton value="xxx" />                     </div>                 </f:facet>                 content here             </p:panel>         </h:form> 

Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -