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

  • Home
  • SEARCH
  • 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 8304375
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T17:49:58+00:00 2026-06-08T17:49:58+00:00

I have a h:panelGroup in JSF page with input field for data selection: <h:panelGroup>Date

  • 0

I have a h:panelGroup in JSF page with input field for data selection:

<h:panelGroup>Date to change password</h:panelGroup>
<h:panelGroup>
    <h:inputText value="#{AddAccountController.formMap['DATETOCHANGEPASSWD']}" autocomplete="off" >
        <f:validateLength minimum="0" maximum="35"/>
    </h:inputText>
</h:panelGroup>

The question is how I can integrate the calendar into the input menu. Something like this:

<h:panelGroup>Date to change password</h:panelGroup>
<h:panelGroup>
    <h:inputText value="#{AddAccountController.formMap['DATETOCHANGEPASSWD']}" autocomplete="off" >
        <p:calendar value="#{AddAccountController.date4}" pattern="MM/dd/yyyy HH:mm:ss" />  
        <f:validateLength minimum="0" maximum="35"/>
    </h:inputText>
</h:panelGroup>

I tested the code but it’s not working. What is the proper way to use it into input field?

  • 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-08T17:49:59+00:00Added an answer on June 8, 2026 at 5:49 pm

    think you have to add two different field in from because this way it will not work in this way.

    <h:panelGroup>Date to change password</h:panelGroup>
    <h:panelGroup>
        <h:inputText value="#{AddAccountController.formMap['DATETOCHANGEPASSWD']}" autocomplete="off" >
            <f:validateLength minimum="0" maximum="35"/>
        </h:inputText>
        <p:calendar value="#{AddAccountController.date4}" pattern="MM/dd/yyyy HH:mm:ss"/>
    </h:panelGroup>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i am new to JSF. i have a problem with tag my .jsp page
I have a JSF2 application and a page with the following code: <h:inputText id=someInput
I have a JSF page that contains a form with several elements, that correspond
I have the following bits of code: <h:panelGroup rendered=#{userTypeController.permissionItemsUserType.contains(item)}> <h:selectBooleanCheckbox valueChangeListener=#{userTypeController.permissionChanged(this)} value=#{true}/> <h:outputText value=#{item.getAction()}
I have a form in which there is a selectbox, and a inputtext field
I have got a problem with my JSF application. On a page there's a
In JSF, I have included the following line in my xhtml file: <h:panelGroup id=messageHeader>
I'm running in a little issue here regarding jsf related dropdown selection. I have
I have a problem with a JSF composite which validates internal input fields. Following
I have a basic JSF page called Index.xhtml and a backing bean called TestBean.java.

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.