Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8052969
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T07:42:25+00:00 2026-06-05T07:42:25+00:00

JSF can validate the input values. Can anybody say where JSF validates..?

  • 0

JSF can validate the input values. Can anybody say where JSF validates..?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T07:42:26+00:00Added an answer on June 5, 2026 at 7:42 am

    I think both answers are a bit unclear, therefore I would like to summarize:

    1.) JSF as it is, always performs the validation on server side! Validation in JSF is a part of JSF component lifecycle. The life-cycle is triggered when you submit some data. I do not want to go in details but the life-cycle goes through the phsaes (Restore the component, trigger conversions, validate the converted values, execute actionlisteners and actions, render the reponse)

    2.) The validation that feels like client-site validation is when you use ajax support in JSF. What this method does is that it requests the execution of only some html fields. JSF performs the same life-cycle as for the ordinary requests. The difference is that it converts and validates only the components you specify, and renders the output only for components you specified. Therefore, ajax supported validation in JSF is also preformed on the server-side!

    3.) I have to disagree that third-party libraries provide client-side validation.

    Primefaces integrates jQuery UI, but it still uses the ajax aproach to validate data. You can write your own jQuery JS to validate certain field, but I would not do it. It is painful to write and hard to manage duplicated validation logic.

    Richfaces provides partial client-side validation. It provides JS implementation for some of the JSR 303 and JSF validators. Therefore, real client-side JS validation is provided, but only for the validators for which JS implementation exists. See: http://planet.jboss.org/post/richfaces_4_client_side_validation

    Ice faces as being a Primefaces clone do not provide client-side validation.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there any way I can validate a jsf input text that is readonly
In my jsf application I know how to validate user input against one pattern
I have a problem with a JSF composite which validates internal input fields. Following
Core JavaServer Faces Third Edition mentions a case where JSF can go from the
I want to develop JSF page which can display the swap size if the
Can we mix JSF RI 1.1 with Tomahawk, Primefaces, MyFaces, etc in one application?
Can I rerender a jsf ui component when a valuechangelistener method is run? The
How can I implement my own ActionListener in JSF. I require it to attach
how can I pass a List to a JSF-Component in EL without a backingbean?
how can I pass a Array to a Bean in JSF. Example: Bean: @ManagedBean(name=bean)

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.