Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
JSF default validation
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Salim  
View profile  
 More options May 20 2009, 3:45 am
From: Salim <salimbou...@gmail.com>
Date: Wed, 20 May 2009 00:45:52 -0700 (PDT)
Local: Wed, May 20 2009 3:45 am
Subject: JSF default validation
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,


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2010 Google