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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T22:07:32+00:00 2026-06-05T22:07:32+00:00

I have pop-up with h:selectOneMenu . This pop-up will be displayed on a4j:commandLink click.

  • 0

I have pop-up with h:selectOneMenu. This pop-up will be displayed on a4j:commandLink click.

h:selectOneMenu has “value” attribute is not getting called on pop-up render (I debugged it using System.out.println()).

Because of this value is not being updated on pop-up display, I am seeing last operation value, even though I want to see empty list on new operation.

Any suggestions?

Note: Another observation is, if “add” some button in pop-up which refreshes the h:selectOneMenu, then it is working fine.

My code looks something like this:

<rich:popupPanel id="CModalPanel"
                 autosized="true"
                 resizeable="false"
                 moveable="true" domElementAttachment="parent">
    <f:facet name="header">
        <h:outputText value="Select list"/>
    </f:facet>

    <h:form id="cListID">
       <a4j:outputPanel id="panelID">
    <h:panelGroup>
           <h:selectOneMenu id="cListMenu"
                       value="#{myBean.currvalue}" >                        
                <f:selectItems value="#{myBean.plistItems}" />
            </h:selectOneMenu>
    </h:panelGroup>
    <h:panelGroup>
             <a4j:commandLink id="refreshButton" 
                         actionListener="#{anotherBean.addMethod}"
                         render=":cListID" >

             </a4j:commandLink>
     </h:panelGroup>
</a4j:outputPanel>
</h:form>
</rich:popupPanel> 
  • 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-05T22:07:33+00:00Added an answer on June 5, 2026 at 10:07 pm

    You need to update the content of <rich:popupPanel> before opening it.

    <a4j:commandLink ... render=":cListID" oncomplete="#{rich:component('CModalPanel')}.show()" />
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a problem with getting this pop-up jquery: http://www.htmldrive.net/items/show/431/jQueryNotice-animated-notification-tooltip script to work in
I have a pop-up window in jQuery that fades in, and will fade out
I have a flash panorama that has hotspot links to pop-up windows that contain
This questions is not really about code but application design. I have an app
I have a pop-up modal that is displayed as soon as anyone visits a
I have a pop-up called PopUp1 (page0.aspx). When the user clicks a row in
I have a table 'node' wich has a column 'nid'. This id corresponds to
in a div, have elements (not necessarily 2nd generation) with attribute move_id . First,
I have a pop up which contains an ASP.NET form, click the link Request
My situation is this: I want to have a pop-up box open from your

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.