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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T22:56:17+00:00 2026-06-02T22:56:17+00:00

I have developed an JSF and richfaces based application, Here I want to know

  • 0

I have developed an JSF and richfaces based application, Here I want to know about a nice way to throw the warning to the user if described field (Rich:inplaceInput) is empty

I have created rich:extendedDataTable in which one of the column is this…

<rich:column width="120" id="col15" label="yardNo">
    <f:facet name="header">
        <h:outputText value="Yard Number"></h:outputText>
        </f:facet>
        <rich:inplaceInput value="#{r.runSlNo}" defaultLabel="Assign Manual Number" 
                           inputWidth="90" showControls="true"/>
</rich:column>

and i have created a rich:contextMenu for displaying menu like this…enter image description here

One commandbutton is also there for submitting the page.
I have two problems over here regarding rich:inplaceInput.
first,
I just dont want to allow the user to submit the page if the rich:InplaceInput value field is empty, rather throw an warning to fill it.
I know how to throw the error or warning before submitting the page.
Second, how can i avoid displaying contextMenu over rich:InplaceInput value but let it display at other 4 columns….

  • 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-02T22:56:19+00:00Added an answer on June 2, 2026 at 10:56 pm

    you can add required=”true” to inplaceInput that way you wont submit the form… and you add h:messages bellow the table to display the error of required field or try adding h:message with for=”id_of_the_rich:inplaceInput” and locate the h:message bellow the <rich:inplaceInput

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

Sidebar

Related Questions

In a JSF 2 application, which is developed on tomcat, I have the following
I have developed a GUI application in NetBeans and I want to share it
I have developed an Android application targeting Android 2.2 now I want to make
I have developed a JSF 2.0 application and tested it on Apache Tomcat 6.0.
i have developed an application using jsf 1.2. it worked fine with apache tomcat
I have developed a java web application using JSF 2.0(Facelets) on GlassFish 3.1.1 with
I have developed a JSF application and I am running into some funny behavior
I have a small web application developed using Icefaces 1.8.2 and jsf 1.1 which
I have an application developed using Primefaces 2.2.1 and JSF 2.0, deployed on Glassfish
I have confluence, jira and my own developed jsf application connected to crowd. This

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.