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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T20:17:14+00:00 2026-06-07T20:17:14+00:00

When i enter the data in the browser, it should suppose to set the

  • 0

When i enter the data in the browser, it should suppose to set the variable parameter in the bean. But it is not setting for some reason. At one point it did work and again not anymore.

XHMTL

<p:panel header="Previous Summary" toggleable="true"
                toggleSpeed="500"
                style="border: 1px solid white; background-color: #F0F8FF; text-align: left;">
                <ice:form>
                    <ice:inputRichText id="editor_prevsummary"
                        value="#{statusReport.prevSummaryStr}" width="1200" height="200"
                        rendered="#{statusReport.renderPrevSummTextIn}"
                        onchange="this.form.submit()"  />


                    <ice:outputText value="#{statusReport.prevSummaryStr}"
                        rendered="#{!statusReport.renderPrevSummTextIn}" escape="false"></ice:outputText>
                    <br />
                    <ice:commandButton action="#{statusReport.editPrevSummary()}"
                        value="Edit" partialSubmit="true" />
                    <ice:commandButton action="#{statusReport.updatePrevSumm()}"
                        partialSubmit="true" value="Update"  />
                </ice:form>
            </p:panel>

Bean Values

  public String getExecSummaryStr() {

        return execSummaryStr;
    }

    public void setExecSummaryStr(String execSummary) {

        this.execSummaryStr = execSummary;
    }

I getting the same thing, even i change to inputText or anything. Not sure why it is happening and where i should start diagnosing the issue.

  • 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-07T20:17:17+00:00Added an answer on June 7, 2026 at 8:17 pm

    Your problem is because you’re using the same variable for the <ice:inputRichText> and the <ice:outputText> inside the same form. When the form is submitted, the framework will set the value from both components into #{statusReport.prevSummaryStr}, leading to odd behavior in your site.

    EDIT:

    A possible solution could be moving the <ice:outputText> out of the form and rendering from your commandButton. Another solution could be using javascript to update its value. You can do something like:

    <ice:inputRichText id="editor_prevsummary"
        value="#{statusReport.prevSummaryStr}" width="1200" height="200"
        rendered="#{statusReport.renderPrevSummTextIn}"
        onchange="document.getElementById('divText').innerHTML = this.value"  />
    <div id="divText">
    
    </div>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

On my domain I have a form workflow where users enter data on one
I'm trying to require the user to enter data in at least one of
As I enter data into a TEXT column in my fusion tables, I find
I have been using SESSION Variables to enter data with loginName as way to
I have an input edit field where the user can enter data. I want
i have a html page in which i enter data which then submits and
I'm trying to create a procedure that will enter data and then return a
I'm trying to create a child form that helps the user to enter data
I'm interested in using a JavaScript Prompt to have the user enter data. Any
I created this layout of successive text input fields, 1- Enter data into empty

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.