Button on toolbarGroup align right

Post Reply
fabiomarigo
Posts: 4
Joined: 20 Apr 2015, 15:57

08 Dec 2016, 14:45

When I use a Button on toolbarGroup with align right, is not working when clicking. Buttons aligned on left work normally.

Code: Select all


<p:toolbarGroup align="right">
	<p:commandButton value="Cadastrar" id="cadastrar" 
		actionListener="#{usuarioController.prepareInsert}"
		update=":formCadastrar:cadastrar"
		oncomplete="PF('dialogCadastrar').show()" />
</p:toolbarGroup>


mert.sincan
Posts: 4638
Joined: 29 Jun 2013, 12:38

09 Dec 2016, 09:16

Can you please try <f:facet name="right"> instead of <p:toolbarGroup align="right"> ?

Code: Select all

<f:facet name="right">
   <p:commandButton value="Cadastrar" id="cadastrar" 
      actionListener="#{usuarioController.prepareInsert}"
      update=":formCadastrar:cadastrar"
      oncomplete="PF('dialogCadastrar').show()" />
</f:facet>

Post Reply

Return to “Atlantis - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest