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
PFM5 and Client Side Validation
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...
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...
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
No, CSV is not supported in PFM.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 43 guests