CommandButton

UI Components for JSF
Post Reply
Coelho
Posts: 15
Joined: 27 Sep 2011, 17:17

21 Nov 2011, 14:16

Hi all....

I have a problem with primeface 3.0.4 in toolbar:
This is my page:

Code: Select all

<p:toolbar>
	<p:toolbarGroup align="left">
		<p:commandButton title="Save" image="ui-icon-disk" actionListener="#{casousobeanteste.salvar}" process="@form" update="@form">
			<f:param name="#{aba}" value="#{casousobeanteste.abaAtual}"/> 
		</p:commandButton>		
	</p:toolbarGroup>
</p:toolbar>
My Bean

Code: Select all

@Name("casousobeanteste")
@Scope(ScopeType.CONVERSATION)
public class CasoUsoBean extends AppAction 

public void salvar(ActionEvent evt) {

	getServiceFacade().gravaObjeto(getContext(), objAtual, null);
	LoadList(abaAtual);
	System.out.println("Teste OK");
}

This ok in primefaces 3.0.M3...

Updating the project to 3.0.M4, the stack tracer return this error:
http://pastie.org/2897448
Somebody can help me?

Tanks...

Lyrionus
Posts: 60
Joined: 31 Aug 2011, 09:09

21 Nov 2011, 15:08

You must just update the taglib from : xmlns:p="http://primefaces.prime.com.tr/ui to xmlns:p="http://primefaces.org/ui
JSF 2.0
Primefaces 3.2
Tomcat 7.0

Coelho
Posts: 15
Joined: 27 Sep 2011, 17:17

22 Nov 2011, 12:56

Tanks Lyrionus .

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 57 guests