Salim
unread,May 20, 2009, 3:45:52 AM5/20/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Java Web Application
Hy everybody,
I have a problem validating an input of a form. I've not created any
validator, just using the one including by JSG. Here is the code
snippet:
<h:inputText id="paramid" value="#{paramInteger.value}" maxlength="11"
required="true">
<f:convertNumber minIntegerDigits="1" maxIntegerDigits="10" />
</h:inputText>
When I type something like "pp77p" An error is trigger because it's
not a number input.
But, when I type "77pppp" No error, the value is validated by JSF,
while I'd need an error...
Any idea on how to fix it ?
Thanks,
Salim,