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 6384535
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T02:47:16+00:00 2026-05-25T02:47:16+00:00

I am using Richfaces and I am trying to make an <textArea> with maxlength

  • 0

I am using Richfaces and I am trying to make an <textArea> with maxlength atrribute set but JSF seems not to pass the maxlength attribute from h:inputTextArea. Any ideas why this is happening?

<h:inputTextarea maxlength="100" cols="20" rows="10" value="#{bean.description}" id="description" />
  • 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-05-25T02:47:17+00:00Added an answer on May 25, 2026 at 2:47 am

    maxlength doesn’t exists on h:inputTextarea (see doc).

    To add a validator message, try

    <h:inputTextarea >
      <f:validateLength maximum="100"></f:validateLength>
    </h:inputTextarea>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm making a website Using JSF and richfaces, but I need to do some
I'm using RichFaces 3.3.3 and been trying to figure out how to set the
I am using JSF along with RichFaces and Spring Webflow. I am trying to
Using Richfaces 3.3.0GA, jsf 1.2_14 and facelets. I have a richfaces ModalPanel with an
I'm using RichFaces per a client requirement, but the markup it (and the stock
I'm using Richfaces JSF and I want to iterate over an Map<Object,Object> . I
I'm using JSF 1.2 with Richfaces and Facelets. I have an application with many
I'm using JSF (Mojarra 1.2) with Richfaces (3.3.2) within some facelets which are used
I'm trying to build an Java EE 6-application on GlassFish V3, using JSF 2.0,
I am trying to creating a small wizard using jsf1.2 sun RI +richfaces. The

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.