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

  • Home
  • SEARCH
  • 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 3721290
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T05:30:20+00:00 2026-05-19T05:30:20+00:00

Is it possible to just submit a dataTable instead of the entire form and

  • 0

Is it possible to just submit a dataTable instead of the entire form and then open a popupwindow after the submit?

My dataTable has textboxes in it and the popup window is actually dependent on the data/values found in these textboxes. Since the user can change the values of the textboxes, I am required to get the latest values from the dataTables before the popup is opened. the popup is opened through a button found in each row of the datatable.

i am using JSF2. thanks.

  • 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-19T05:30:21+00:00Added an answer on May 19, 2026 at 5:30 am

    When you invoke the click action, pass the id of the textarea in that row as a param then find that component in the tree and get its value. you can use that value in the popup window.

    popup.xhtml:

    <h:outputText value="#{backingBean.popupText}" />
    

    in the controller:

    public void myActionListener(ActionEvent e){
    
    ..........    
    String textAreaID = FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get(TEXTAREA_ID);
    
    HtmlInputTextarea textArea = (HtmlInputTextarea)FinderUtil.findComponentInRoot(textAreaID);
    String text = (String) textArea.getValue();
    
    //this is the backing bean used in the popup window     
    backingBean.setPopupText(text);
    
    ...............
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Instead of just filling out the form in HTML it should also be possible
Is it possible to set the location you want to submit a form to
I am pretty sure this is possible just not sure what is the term
Its possible I am just really really thick. However, looking over the SDK for
I just wonder if it is possible to send Meeting Requests to people without
Possible Duplicate: String vs StringBuilder I just revisited some of the books that I
Just curious here: is it possible to invoke a Windows Blue Screen of Death
Just wanted to know if it is possible to disallow the whole site for
I was just wondering if it is possible to capture the output of a
Is it possible to create an STL-like container, or even just an STL-style iterator,

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.