process attribute not working in non-ajax mode?

UI Components for JSF
Post Reply
esl
Posts: 8
Joined: 02 Aug 2011, 13:32

02 Aug 2011, 14:08

Hi,

I'm using primefaces 2.1.1, Mojara 2.2.1 & Glassfish 3.1 and i can´t do a partial validation in non-ajax mode.

I tried this with the following example from the showcase http://www.primefaces.org/showcase/ui/p ... alTree.jsf
I added a new commandbutton

Code: Select all

<p:commandButton ajax="false" value="fistname" process="@this,firstname" update="grid"  actionListener="#{personBean.savePerson}"/>
but it does not work, i mean it does not skip validation for "surname" component, but it skips it with ajax="true".

The goal is to skip validation for the component

Code: Select all

 <p:inputText id="surname" value="#{personBean.surname}" required="true"/>
with ajax="false"

thanks
Using: Primefaces 3.2, Netbeans 7.0.1, Mojarra 2.1, Glassfish 3.1

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

02 Aug 2011, 14:58

No it is ajax only.

esl
Posts: 8
Joined: 02 Aug 2011, 13:32

03 Aug 2011, 10:14

Thank you for your answer,

I have read in this post http://primefaces.prime.com.tr/forum/vi ... 90&start=0 it's more an issue of JSF than a Primefaces one.

Just pointing out that the version of Mojarra is 2.1.0 not 2.2.1 as mentioned earlier, but no matters
Using: Primefaces 3.2, Netbeans 7.0.1, Mojarra 2.1, Glassfish 3.1

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 29 guests