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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T06:34:43+00:00 2026-05-29T06:34:43+00:00

I have a form with following fields.While click on submit button I am getting

  • 0

I have a form with following fields.While click on submit button I am getting error messages if fields are null.But when I filled the fields and click on submit again, neither the error messages goes nor the form get submitted.Please go through the code.It is a primefaces wizard component.in case of ‘Next’ button no issue reported.

<p:wizard flowListener="#{employeeRepositoryImpl.handleFlow}"
    showNavBar="true" widgetVar="scheduler" showStepStatus="false"
    style="ui-wizard-nav-next">

    <p:tab id="personal">
        <p:panel header="Login Credentials">


            <h:panelGrid columns="3" autoUpdate="false">

                <h:outputText value="First Name*" />
                <p:inputText value="#{myBean.firstName}" required="true"
                    label="First Name" id="firstName"
                    validatorMessage="Invalid First Name">
                </p:inputText>
                <p:message id="msg4" for="firstName" display="text" />

                <h:outputText value="Middle Name" />
                <p:inputText value="#{myBean.middleName}" label="Middle Name"
                    id="middleName" />
                <p:message id="msg5" for="middleName" display="text" />

                <h:outputText value="Last Name*" />
                <p:inputText value="#{myBean.lastName}" required="true"
                    label="Last Name" id="lastName"
                    validatorMessage="Invalid Last Name">
                </p:inputText>
                <p:message id="msg6" for="lastName" display="text" />

            </h:panelGrid>
        </p:panel>
    </p:tab>
    <p:tab id="user">
        <p:panel header="Other">
        </p:panel>
    </p:tab>
</p:wizard>
<p:commandButton value="Submit" actionListener="#{myBean.save}"
    update="msg4 msg5 msg6">
</p:commandButton>

I am using JSF2+Primefaces.3.0.M3+Prettyfaces-jsf2.3.3.2 with GAE.

  • 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-29T06:34:44+00:00Added an answer on May 29, 2026 at 6:34 am

    Do an ajax update of the message component like this

    <p:inputText value="#{myBean.lastName}" required="true"
                    label="Last Name" id="lastName"
                    validatorMessage="Invalid Last Name">
          <p:ajax update="msg6" />
    </p:inputText>
    <p:message id="msg6" for="lastName" display="text" />
    

    After that see if you have any more errors. I think there are some left and you were not able to distinguish them with the previous messages that is why the form is not getting submitted.

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

Sidebar

Related Questions

I have a form with (at least) the following two fields: country club The
I have the following form, which I have reduced as much as I can,
I have the following form for photo_album which uses the nested forms feature of
I have the following form <form name=myForm id=myForm method=post enctype=multipart/form-data action=script.php> and this jQuery
I have the following form code: # forms.py class SomeForm(forms.Form): hello = forms.CharField(max_length=40) world
i have the following form item { fieldLabel:'Username' ,id:username ,name:'username' ,allowBlank:false ,plugins:[Ext.ux.plugins.RemoteValidator] ,rvOptions: {
I'm looking at some Java classes that have the following form: public abstract class
I have the following problem: I have a form in site/banen (currently local running
I have done the following form <% form_for @anexo, :url => {:action => create},
I have code with the following form: <?php function doSomething{ //Do stuff with MySQL

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.