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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T03:45:58+00:00 2026-05-20T03:45:58+00:00

I have a rich:toolBar inwhich when I click on a menuItem, it is supposed

  • 0

I have a rich:toolBar inwhich when I click on a menuItem, it is supposed to initialize few parameters in my backing bean and then navigate to the respective view page.

Could you let me know how this could be done?

i.e as per code after addNew method is called, the view should be as per navigation rule.

rich:toolBar code is :

    <rich:toolBar id="menuBar">

        <rich:dropDownMenu>

            <f:facet name="label">Menu</f:facet>

            <rich:menuItem value="#{msg.menuAddMember}" submitMode="ajax"

                action="#{memberBean.addNew}">

            </rich:menuItem>

        </rich:dropDownMenu>

    </rich:toolBar>

and

navigation rule is :

<navigation-rule>

    <from-view-id>/common/template.xhtml</from-view-id>

    <navigation-case>

        <from-action>#{memberBean.addNew}</from-action>

        <to-view-id>/pages/addMember.xhtml</to-view-id>

    </navigation-case>

</navigation-rule>

Regards,

Satya

  • 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-20T03:45:59+00:00Added an answer on May 20, 2026 at 3:45 am

    That seems to be pretty simple after I figured out how to do that.

    I added action aswell as actionListener for the rich:menuItem and it worked as I wanted it to. <

    rich:menuItem value="#{msgs.menuAddMember}" action="addMemberAction" actionListener="#{memberBean.addNew}"/>

    With above code, 1st listener is invoked which will populate dropdown values and then move to view which makes use of those dropdowns.

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

Sidebar

Related Questions

I have a rich:dataTable and a rich:dataScroller. When I click on the datascroller, my
I have rich-text file with a few images and text. In my Cocoa app
I have a rich:extendedDataTable . I have a a4j:commandLink for each row, on click
I'm looking for applications that have rich maven pom(s) and can show lot of
I have a rich html textbox on my asp.net mvc application. The rich html
If I have a rich AJAX-driven GUI in ASP.NET MVC, how would I unit
We have a client/server application with a rich client front end (in .Net) and
I have a problem with the FreeTextBox rich Text Editor in my ASP.NET site.
I have heard positive things about Eclipse RCP (Rich Client Platform) - does Microsoft
I have a an HTML form which contains the YAHOO rich text editor on

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.