PFM5 and Client Side Validation

UI Components for JSF
Post Reply
ryoung1
Posts: 9
Joined: 01 Mar 2013, 23:03

13 Jun 2014, 23:27

Should client side validation be working with PFM 5.0, they do not appear to be working for me.

<pm:field>
<p:outputLabel for="X1APS1HZ" value="X1 to PS1 Offset Horizontal" />
<p:inputText id="X1APS1HZ" value="#{quoteBean.x1APS1HZ}" size="5">
<f:validateLength minimum="2" maximum="5" />
<p:clientValidator />
</p:inputText>
</pm:field>

Included in web.xml
<context-param>
<param-name>primefaces.CLIENT_SIDE_VALIDATION</param-name>
<param-value>true</param-value>
</context-param>

I can enter over 20 characters in the input field and when I tab out, there is no indication that there is a validation error. Do I need a growl ? I would have thought the input box would be flagged red or some other visible indicator even without a growl.

Also should PrimeFacesExtensions work with PFM5 ? I could really use the "inputNumber" capability.

Thanks in advance

ryoung1
Posts: 9
Joined: 01 Mar 2013, 23:03

20 Jun 2014, 21:40

It has been a week since the original posting. Can someone from the Prime Faces Mobile development team comment as to whether this function is intended to work with the mobile product?

kukeltje
Expert Member
Posts: 9605
Joined: 17 Jun 2010, 13:34
Location: Netherlands

21 Jun 2014, 00:08

Hi,

There are many, many posts that are more than a week old and have not gotten any attention from the developers. Since this is a 'peer support forum', this is kind of to be expected in lots of cases, see http://forum.primefaces.org/viewtopic.php?f=3&t=1194.

So the best you can do is to try the mobile page in a normal browser and debug with the developer console. If there is nothing about clientside validation, e.g. no javascript, it is most likely not working...

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

29 Jun 2014, 14:00

No, CSV is not supported in PFM.

srbala
Posts: 139
Joined: 02 May 2010, 01:06

02 Jul 2014, 15:44

optimus.prime wrote:No, CSV is not supported in PFM.
Is there any plans to support CSV in PFM?

Thanks,
Bala

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 43 guests