<p:commandButton> action not working

Locked
chandramouli83
Posts: 6
Joined: 16 Feb 2016, 16:07

17 Feb 2016, 00:13

I am new to UI development, and hence I am in need of support to fix an issue.

I recently purchased adamantium themes, and I am trying to navigate from logix.xhtml to dashboard.xhtml using faces-config navigation.

to test this, I changed <p:button> to <p:commandButton> to get action attribute, and in action; i set it as "#{loginBean.validate}"

I have a debug statement in loginBean to check if the click event reaches loginBean.

When I click on the commandButton, I don't see the debug statement being printed, i.e. the flow is not coming to loginBean.

Any inputs on this issue please ?

thanks,
mouli
PrimeFaces 5.3 | JSF 2.2 | Tomcat 8


chandramouli83
Posts: 6
Joined: 16 Feb 2016, 16:07

01 Mar 2016, 14:35

thank you.!
PrimeFaces 5.3 | JSF 2.2 | Tomcat 8

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

02 Mar 2016, 11:16

You're welcome ;)

Locked

Return to “Adamantium”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 15 guests