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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T00:23:14+00:00 2026-06-04T00:23:14+00:00

I have one extended Data Table in payeeSearch.xhtml displayed as – 1) After clicking

  • 0

I have one extended Data Table in payeeSearch.xhtml displayed as –enter image description here

1) After clicking on show particulars, it should navigate to a different view and display a new table based on the result achieved by one of the column’s value of the selected row (In figure, it is IN303285…)
2) I have written code for navigating to the next view as –

<rich:contextMenu attached="false" id="menu" submitMode="ajax">
      <rich:menuItem ajaxSingle="true" value="Show Particulars" action="payeeParticulars.xhtml">
           <a4j:support event="onclick" actionListener="#{payeeSearchController.showParticulars}"/>
      </rich:menuItem>

3) This view (payeeParticulars.xhtml) is displaying another extendedDataTable.
And the showPartulatrs actionlistener is being used to pass the column’s value of the selected row to PayeeParticulars.java class, But it is always passing the null value even though I am able to get the value in payeeSearch.java class.
4) I am writing code to display the new extendedDataTable in constructor of the PayeeParticulars.java class

Can anybody tell me where I am going wrong, or how to pass the value of one column of the selected row to another view and display the result accordingly in a new extendedDataTable.

Please help me out….

  • 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-04T00:23:14+00:00Added an answer on June 4, 2026 at 12:23 am

    Use rich:menuItem like this….

    <rich:menuItem submitMode="ajax" value="Show Particulars" action="#{payeeParticularsController.showParticular}"/>
    

    and then in controller file put

    public String showParticular()
    {
       // operation
       return "details";
    }
    

    and then in navigation rules set one rule as –

    <navigation-rule>
        <from-view-id>/payeeSearch.xhtml</from-view-id>
        <navigation-case>
            <from-outcome>details</from-outcome>
            <if>#{payeeParticularsController.selectedFolioNo != null}</if>
            <to-view-id>/payeeParticulars.xhtml</to-view-id>
        </navigation-case>
    </navigation-rule>
    

    It will let you pass the value from one class to another and also new view will not be loaded until the if condition will be satisfied.

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

Sidebar

Related Questions

I have two MySQL tables describing data that can be extended into subclasses, one
I have one table having ID and other attributes. How can I get list
I have one table that has sales records and another table that has additional
I have one database table which contains 8 columns. One of the columns is
have one time consuming step that flattens a bunch of files. basically i'd like
I have one folder synced between two computers (using one of online sync tools).
I have one project with is developed in Php and javascript. How to open
I have one doubt regarding casting. public void Test(out T a, out T b)
I have one form with several text fields and one button. When i enter
I have one control named thumbviewer inside repeater. I want to set its imageurl

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.