aspose file tools
The moose likes JSF and the fly likes Facelets question on input validation Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » JSF
Reply Bookmark "Facelets question on input validation" Watch "Facelets question on input validation" New topic
Author

Facelets question on input validation

Sai Maddi
Greenhorn

Joined: Jan 11, 2006
Posts: 2
Hi,

I am working on a scenario where I should not allow the user to enter any character other than alpha numeric on an input text box. I verfied the java script and it is working fine. I would appreciate if you can tell what I am wrong here.

input type="text" jsfc="h:inputText" id="xCode" value="#{xBean.xCode}" disabled="${displayOnly}" readonly="${displayOnly}" tabindex="#{tabindexcc+6}"

PS: I removed the key press event that runs java script in order to post this message. I couldn't post the message with that event code. Not sure why though.

Thanks in advance.
John Blanco
Greenhorn

Joined: Jan 13, 2005
Posts: 20
What's wrong?
Sai Maddi
Greenhorn

Joined: Jan 11, 2006
Posts: 2
The input text is still taking special characters.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Facelets question on input validation
 
Similar Threads
help me.. problem with using android app, jquerymobile and html
Firefox: appendChild is getting hanged
Posting javascript object using postMethod
handling onclick event by creating buttons dynamically
automatic form submit