Primefaces mobile actions

UI Components for JSF
Post Reply
CesarCoz
Posts: 3
Joined: 22 Feb 2011, 19:14

25 Mar 2011, 23:46

Good day everyone, i have a problem with the navigation and primefaces mobile.

i set up an action in the view like this:

Code: Select all

<pm:commandButton value="Ingresar" swatch="b" action="#{logueo.validarLogueo}" ajax="false" />
this is the code in the managed bean:

Code: Select all

public String validarLogueo(){
		return "pages/seguridad/welcome.xhtml";
	}
welcome.xhtml is a completely different page. When i click on the commandbutton it redirects me to the new page but its calling the method in the managed bean twice. it's doing two times the logic and redirecting two times to the same page.

so anyone knows what am i doing wrong?

christofer10169
Posts: 13
Joined: 30 Mar 2011, 16:45

05 Apr 2011, 17:16

bump

I have exactly the same issue, searched everywhere and couldn't find any solution.


The url appears double "http://localhost:8084/WebApplication1/l ... ogin.xhtml"

thanks.

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

05 Apr 2011, 18:30

Can you try redirect?

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: Phillipdum and 23 guests