How do link form input and a datatable that are on the same page?

I am real new to JSF, so I'm having the following issue...
I created a demo app that will pull records from from a database and display them in a datatable. I hava a backingbean for this process that works great with hardcoded data.
Now, I want to add a form to this page and use the form input to drive the results in the datatable. I have created my form and used a separate backingbean that is essentially a JavaBean for all the form input.
My question is how do I integrate the submit button from this new form to feed the call that is used for the datatable?
Here's is a snippet of the pertinent code from the JSP:
<TABLE border="0">
               <TBODY>
                    <TR>
                         <TD>
                         <P>Correlation ID:</P>
                         </TD>
                         <TD><h:inputText styleClass="inputText" id="correlationId"
                              value="#{LogMessageBean.correlationId}"></h:inputText></TD>
                         <TD width="121"></TD>
                         <TD width="153">
                         <P>Workflow ID:</P>
                         </TD>
                         <TD width="158"><h:inputText styleClass="inputText" id="workItemId"
                              value="#{LogMessageBean.workItemId}"></h:inputText></TD>
                    </TR>
               </TBODY>
          </TABLE>
          <BR>
          <div align="center">
          <h:commandButton value="Search" actionListener="#{LogValueListHandler.search}" action="#{LogValueListHandler.result}"/>
          <h:commandButton value="Reset" onclick="reset()"/></div>
          <H5>Application Logging Results</H5>
          <t:dataTable value="#{LogValueListHandler.logList}" var="feed"
               rowClasses="oddrow, evenrow" headerClass="table">
               <t:column>
                    <f:facet name="header">
                         <h:outputText value="ClassName" />
                    </f:facet>
                    <h:outputText value="#{feed.className}" />
               </t:column>
               <t:column>
                    <f:facet name="header">
                         <h:outputText value="MethodName" />
                    </f:facet>
                    <h:outputText value="#{feed.methodName}" />
               </t:column>
...Thanks!

Locutus_1,
I'm working on the same sort of app - A data table where the record selected is displayed in a form below the datatable and may be edited and saved.
I've included a checkbox in the datatable so that the user can indicate which record is to be displayed and edited. The have everything working, except that I cannot get the checkbox click event passed to the backing bean correctly (critical to the entire operation). When I have this working, I'll post the code.
This solution does not have a direct link between the datatable model and the data handled by the form. The backing bean code does this. If there was a solution where the two could be linked directly via JSF, I'd be very interested in it.
Werner

Similar Messages

  • How can I get a Title and a subtitle that are on the same page to come into the TOC in order?

    The subtitle is appearing before the Title even though it doesn't flow that way on the page. I use Paragragh styles to create my TOC and otherwise have had no problems. Any suggestions?

    Thank you so much! It is fine after extending the title text box.

  • How can I change fullscreen background color, so that it is the same when viewing on mac and iPad? I want this to be able to use MathType in widget text.

    How can I change fullscreen background color, so that it is the same when viewing on mac and iPad? I want this to be able to use MathType in widget text.
    As an example, html widget has white background on iPad, and black on mac. The same goes for interactive widget.
    The MathType text inserted is inserted as a image, and will have the same color when in fullscreen as when not. So I need the textcolor to be the same in both views. Anyone know how to fix this?

    We're still not communicating. This is why I wanted an example .iba.
    Here's a re-creation of my own, going off what you described. You said "all html widgets and all gallery widgets" have this problem. So I inserted a blank HTML widget and a blank Gallery widget, and typed into both. Inserted a MathType equation into both. I don't see any difference when I preview it on my Mac compared to the preview on the iPad. I want to help, but I can't help if I can't duplicate the issue.
    I've attached the screen shots and the .iba file [link to .iba file].
    Feel free to email me directly at bobm at dessci dot com. If you're uncomfortable giving some information here, tell me anything you want in email. I work for the "MathType company", Design Science.

  • HT4061 How do I consolidate purchases from two different ids that are on the same bank account, and eliminate the extra id without losing any purchases?

    How do I consolidate purchases from two different ids that are on the same bank account, and eliminate the extra id without losing any purchases? I want my music to match on both ipad and computer.

    Purchases are forever tied to the AppleID they were bought with. There is currently no way to consolidate AppleIDs. Sorry.

  • How can I share applications and softwares with different users of the same computer?

    First question: How can I share applications and softwares with different users of the same computer?
    Second : Can I use 2 different I cloud accounts to synt 2 iphones with one computer?

    Applications installed on the admin account are available to all user accounts unless Parental Controls are enabled.
    Yes.   Separate user accounts, help here >   How to use multiple iPods, iPads, or iPhones with one computer

  • I seem to have lost the red, yellow and green dots that are in the upper left hand corner that close  or minimize the page.

    I seem to have lost the red, green, and yellow dots that are in the upper left hand corner that close or minimize the page.  How can I get them back?

    You may have to try a general OS X troubleshooting process to see if the issue goes away by doing this...
    Have you tried: starting the computer in SafeBoot mode, with shift key held down; a login screen should appear after a time, and then the regular desktop. At this point, locate Disk Utility in utilities folder, and run 'repair disk permissions' on the startup volume, usually the name given the hard disk drive as it appears on desktop. After Disk Utility is finished the permissions repair, restart the computer normally.
    ...The iTunes player has free support only through the duration of the hardware product's complementary or AppleCare extended plan coverages, so though you can download a newer version, that is not the same as free support for an issue. However, the iTunes Store or App Store has a different factor for their product.
    http://www.apple.com/support/itunes/
    There is an iTunes area in Apple Support Community discussions for more topics like this; except for when they involve a hardware product where an OS X is involved. If your computer is NOT a powerPC (an 'intel'-mac) the topic would more naturally need to be posted where that hardware and later supported OS X version topics get seen. So that is why one asks 'on what Mac running what version...' instead of writing four paragraphs in a wide angle reply. The details about your iMac and the OS X say more; without them, more questions arise.
    Good luck & happy computing!

  • HT4865 iCloud email and Apple ID email are not the same...help?!

    My iCloud account is my old email address I used to have from school, and my apple ID is my current gmail address.  How can I change my iCloud email so that it's the same as my gmail?!

    What exactly do you mean, iCloud uses your Apple ID. Are you saying you have one ID for iCloud and another for iTunes.

  • I loaded in Lion - but my time capsule will not back up. I get an message: couldn't complete backup due to a network prolem. Also it says "make sure your computer and back up disk are on the same network, and that the backup disk is turned on.

    I installed Lion on my Mac Pro laptop. Regarding Time Capsul - I get a messaage as follows: couldn't complete backup due to a network problem. Make sure your computer and back up disk are on the same network and that the  backup disk is turned on. Then try again to back up. I have time capsul turned on. bill

    I have exactly same problem with my MBP and MBA, after upgrading to Lion. I've tried to fix this issue while cheking key chain issues and network setup, even formating hdd and time capsule firmware upgrade (ver. 7.6.1.). Nothing can help. It is very annoying.

  • I am getting a security code invalid error? everytime I try to download a app or update my current apps? I looked online and a few people are having the same issues anyone been able to get this resolved? Thanks

    I am getting a security code invalid error everytime I try to download a app or update my current apps? I looked online and a few people are having the same issues anyone been able to get this resolved? It's not just on Iphones either it's on all apple devices. I've called Apple customer service. I've wrote a complaint online as well so far no good.
    Any help would be much appreciated Love to all and thanks!

    I have done that thousands of times for my security code. Doesn't work and I have called the bank and they say no problem with my card. I have also tried useing different cards all together with no luck idk what else to do? Help!

  • How to link a text box to an anchor frame in the master pages?

    Ok, as the title states, we are trying to figure out if it is possible to link a text box to an anchor frame in the master page. When you look at our Master Page layout, we have a text box in the upper left hand corner of the left hand page, this is used for our machine serial numbers. Then we have an anchor frame that automatically fills out the figure number. Let's say I have pages 2 & 3 (left & right), they have a S/N at the top of the page for the machine, then pages 4 & 5 have a different S/N. If I have to add more pages in between pages 2 & 3 (bumping the current 4 & 5 to 6 & 7), the anchor frame bumps to the next page, but the S/N text box doesn't. Is there a way to fix it so that they both move to the next page? Thanks for the help.
    P.S. I can include images and other info if needed.

    I have included a two pictures that should help me explain.
    Master Page:
    This is the master page set up, the "Page Text Box" has the flow set to "B" while the S/N text box has the flow set to "A". This setup is for our parts manuals, the left page is usually an illustration while the right page is usually a parts list. The text box, anchored frame & paragraph tag are empty in the master page set up. The "page text box" has a flow of "B" and the "S/N text box" has a master flow of "A".
    Body Page 1:
    When we create new pages, the paragraph tag automatically fills in the figure title on the left page, then we add an anchor frame within the text box to hold the illustration. You will notice that I added in a "test" serial number at the top of the page. Now if I need to go back and add two pages before this, the anchor frame, illustration and parts list will move to a new page, but the S/N text box will not. The "Before S/N TBD" would stay on the original page.
    This is what happens, the text box containing the illustration and the parts list "bump" to the next page, but the S/N text box does not. So the question we have is there a way to link that text box to the page so when we create new pages the S/N text box moves with the illustration.
    Does this help?
    Thanks for the assistance Error7103.

  • How to Create Primary DB and Physical/Logical Standby DB on the same host?

    Now I encounter a issue. I want to create one Primary DB and one Physical standby DB and one Logical standby DB on the same host.
    Create this env on the same host aims to test whether we can using EM Patching DP to apply patches on Primary/Physical/Logical DB successfully.
    I try to setup this env but fails. I want to know more related issues about create Primary DB /Physical DB/Logical DB on the same host and how to configure between them.
    Below steps is my try:
    1. Create Primary DB on the /scratch/primary_db
    2. Create Physical Db software only on the /scratch/physical_db
    3. Create Logical Db software only on the /scratch/logical_db
    4. Using EM Wizard to create physical standby database and logical standby database, and these two targets can show up on the "All Targets" Page.
    5. But when using EM Patching DP, it fails and the reason is the listener of physical and logical db cannot configured well.
    Issues:
    So I want to know about how to configure physical db and logical db's listener using EM or manually?
    If the listener name of Primary Db is LISTENER and the port is 1521,and the listener.ora is under the /scratch/primary_db/network/admin directory, then how to config physical db and logical db's listener's name and port?

    Hi,
    As this a test case then you need to create two more listener for each Oracle Home (/scratch/physical_db & /scratch/logical_db) make sure that they have different names and ports.
    Then add the new listeners manually using GC?
    Try it and let me know
    Regards
    Amin

  • How is when a button pressed a report will come to the same page !!!

    Hi all,
    I wonder that is it possible to bring a report to the page as a region but only when a button pressed in apex .When ı clicked the go button for example ı want to list a report in the same page.
    but I dont know how .If is this possible can you explain me please.I need help!
    Thanks!

    Create your report in a region as normal.
    Create a second region and in this region create an item eg p171_item.
    In the same region create 2 buttons
    Get Report and Reset (branching back to same page).
    Create 2 page processes (PLSQL) on submit after computations
    1. GET REPORT
    DECLARE
    v_item number;
    Begin
    select 1 into v_item from dual;
    :P171_ITEM := v_item;
    end;
    2.RESET
    DECLARE
    v_item number;
    Begin
    select 2 into v_item from dual;
    :P171_ITEM := v_item;
    end;
    Tie the processes to the buttons.
    On your report region put a condition
    PL_SQL RETURNING BOOLEAN
    IF :P171_ITEM = 1 THEN
    RETURN TRUE;
    ELSE
    RETURN FALSE;
    END IF;
    Now by pressing the buttons the report region is opened and closed.
    Now hide P171_ITEM.
    Gus

  • How to cause a button to compute a text field on the same page?

    I have a button called "Generate Hash" and I want to have it compute a text field and display it on the same page with the results of a simple sql query:
    select 'P'||substr(Sys_guid(),1,10) from dual;
    Is this a difficult thing to do?

    Hello Patrick,
    Nope - not hard at all. Create a Process on your page that says:
    :Pxxx_HASH_VALUE := 'P'||substr(Sys_guid(),1,10);
    Then in the Condition portion of the Process, Set the section labeled "When Button Pressed (Process After Submit When this Button is Pressed)" equal to the button you wish to use for the compute.
    Don

  • Why can't Primary and Sub accounts be accessed on the same page?

    I have a Primary email account and also a sub account.  I normally use Windows Mail to access my email.  In Windows Mail, I can read emails sent to either account, and can also send from either account.
    The only time I go to the Webmail page is when I am traveling and can't access my home computer.  In Verizon Webmail, I can only check the account I log in with.  It's very annoying and time consuming to log in, check one account, sign out, and then log in to check the other account.  By the way I use the same password for both accounts.  Is there anyway that this can be changed?  It should at least give us the option to add a sub account on the same page as the primary account. 

    If you are wanting the messages to come to the same account, an alias would serve you better than a sub account.
    If you really want all of the mail to be in one inbox, set your sub account up in the primary account to be accessed via pop3, or set forwarding on the sub to the primary. That would cause all of your mail to be accessible via the priamry login, but you would still have to log in with the sub to send from that address.
    If you need help finding these settings, please let me know.
    If a forum member gives an answer you like, give them the Kudos they deserve. If a member gives you the answer to your question, mark the answer as Accepted Solution so others can see the solution to the problem.
    "All knowledge is worth having."

  • How to recover erased documents from pdf notes that are in the icloud backup?

    Hello,
    Does anybody know how to recover documents erased from pdf notes that are in an Icloud backup? Thanks
    mpintok02

    You could restore from a previous backup. How to: http://totalipad.com/how-to-restore-your-ipad-from-a-previous-icloud-backup/

Maybe you are looking for

  • BAPI_PO_CHANGE

    I want to change payment terms for a purchase order. Is it possible to achieve the same by using BAPI_PO_CHANGE. I have tried the same by giving the po number and payment terms in POHEADER and POHEADERX. But failed to achieve the result. CAn anyone h

  • ORA-00001: unique constraint: How to discard the insert and print error

    Hi: I have a table with a constraint on a single field. The application that is inserting into this table is a multithreaded application. Sometimes two inserts could come with the same value for this field. Is it possible in oracle to configure it to

  • Apex: output message from pl/sql process

    Apex 4.2 THis is kind of an Apex and Pl/Sql question, but more so Apex because I'm using that environment. I have a pl/sql process with an IF - Else statement. It's a real simple process where you check: IF P101_Count > 1 Then    Do stuff; Else    Ou

  • Working with RAW images

    Hi all I'm very new to Aperture, but not so new to editing digital photographs. Previously I used Photoshop entirely and had my own kind of manual workflow. But that was very slow going taking months to edit a small amount of photo's and distributing

  • Webservice with axis given a wsdl

    Hi all, I am a newbie to webservices, I have been given a wsdl from another company and I have been asked to develop a webservice with it. I would like to know the steps which I would be requiring to take inorder to build a webservice with axis. any