How do I synchronize a table of employees with and employee update form?

WHAT i AM TRYING TO DO:
Create a page with two areas. The top will contain a sortable, filterable list of employees. The bottom of the page will contain all of the details on a selected employee.
WHAT I HAVE DONE:
1. Created a DEPT_EMPLOYEES view with just some basic department and employee information.
2. Created Entities and View Objects based on the DEPT_EMPLOYEES view and the EMPLOYEES table.
3. Created a View Link between the DeptEmpROView (source) and EmployeesUView (destination)
3. Created a page with a panel splitter an dropped the DeptEmpROView in the top as and ADF Table.
4. Dropped the EmployeeUView on the bottom part of the pages as and ADF Form.
WHAT HAPPENS.
1. When I open the page the list of employees is displayed on top, and the first employee is displayed below.
2. When I click on another row in the table the form below does not change. I had expected it to.
3. If I right-click on a row in the table and select "reload" from the options the page is re-drawn and the bottom form is populated with the data that matches the row I clicked on.
WHAT I WANTED
When you click on an entry, to have the bottom part of the page refreshed to match the selected entry.
QUESTIONS:
1. I thought I had followed all of the steps to prepare a master-detail setup. Do this not work with a table as the master? Or did I miss a step? Or am I using components in a way they were not intended?
2. When I look at the ViewLink I see in the Destination that the where clause :Bind_EmployeeId = EMPLOYEE_ID will be appended to the query. I would then guess that :Bind_EmployeeId is not set when I click on a row. Is there a way to make that happen?
3. I notice in the af:table documentation there is an org.apache.myfaces.trinidad.event.SelectionEvent defined. Can I somehow intercept this and set the bind variable then? If so, how to I tell the form to refresh?
5. Another clue. When I run the page I get some warnings. One is "Reference selectedRow not found" . Double clicking on that gets me to a line selectedRowKeys="#{bindings.DeptEmployeesROView2.collectionModel.selectedRow}"
6. Another warning message "Reference makeCurrent not found" gets me to selectionListener="#{bindings.DeptEmployeesROView2.collectionModel.makeCurrent}"
It sure seems like these last two must have something to do with it.
Any clues would be appreciated.
Edited by: rrp on Jan 3, 2011 12:47 PM

Shay,
Thanks for pointing me to that tutorial. The synchronization is now working.
For anyone else that might find this discussion:
To make it work I selected the af:paneFormLayout that held the EmployeeUView.
In the properties there is a PartialTriggers property in the Behavior section.
I highlighted this property and selected the Edit option.
This allowed me to navigate the component tree and pick the table holding the DeptEmpROView.
That was it. Now clicking on the table changes the details displayed in the form.
There are questions, but they are more followon:
1. The tutorial surrounded the "list table" with a panelCollection. I did not do that. I don't know why or why not to use the panelCollection.
2. The tutorial made a point of setting the ColumnSelection attribute to single for the List table. I did not find this changed the behavior in any way and was wondering why.
3. The tutorial also made a point of changing the ContextMenuSelect for the list table to "clickToEdit".
3a. I did not see how this changed the behavior
3b. Why "clickToEdit" on a read-only table?

Similar Messages

  • How Can I obtain the tables of one schema and the record size???

    How Can I obtain the tables of one schema and the record size???
    Example:
    TableName Record Size
    Tabla1 12500
    Tabla2 7800
    Tabla3 2046

    This is not an OWB question, but you can obtain bda-type information on tables by using the system view dba_tables.
    Regards:
    Igor

  • How can I synchronize 'Notes' on both my iPad and iMac?

    How can I synchronize 'Notes' on both my iPad and iMac? I have checked the boxes for Notes on iCloud and Yahoo.

    Go to Settings > Messages > Receive At. Use the same Apple ID. Make sure the phone numbers/email addresses you want to receive messages at are checked.

  • How do we make the table content in Mobile and CRM synchonize?

    Hi,
    We had the user customized table in CRM and Mobile client also had this table at the first place.
    If we are adding or deleting the records in table in CRM,
    how do we make the table content in CRM and Mobile in sync.?
    Is anyone can help?
    Regards,
    Nat

    Hi Nattawat,
    There is a concept known as CDB(consolidated database).
    Whenever you create/change something in CRM a BDOC gets generated. This BDOC gets stored in CDB in mobile sales scenario and then from CDB the data goes to the mobile clients.
    Here you will have to enable the CDB. I guess we can do it from the SPRO configuration. Take inputs from functional guys here.
    You will have to create the mobile clients as sites and then define Publication, subscription from Admin Console. The transaction is SMOEAC.
    <b>Don't hesitate to ask further questions.</b>
    <b>Please reward points if it helps.</b>
    Regards,
    Amit Mishra
    Message was edited by: Amit Mishra

  • How can I synchronize the app between my iPad and iPhone?

    How can I synchronize the app between my iPad and iPhone?

    Hi,
    May i know which app in particular you are taking about.
    If that is Adobe Reader you need to sign-in in Adobe Id and password and that should be it.
    Regards,
    Ajlan Huda.

  • How to find in which table field "DDTEXT" with entry "xyz"

    How to find in which table field "DDTEXT" with entry "Item number in contract account document" exists.
    There are too many tables with field name "DDTEXT"

    Refer:
    Getting short text of data element

  • Need Employee Names and Employee Numbers that charge a WBS Element

    Hello,
    Does anyone know how I can get a list of employee names and employee numbers that are charging a series of WBS elements?
    Thanks

    Hi,
    You could use transaction CATS_DA with Receiver Account Assignment and enter the WBS element.
    Good luck!
    Tammy

  • How to insert the style in sap-script? and in smart form?

    how to insert the style in sap-script? and in smart form?

    Hi..,
    For SAP scripts u need to create them in SE72 ...
    and u can include them in the script editor as..
    /: STYLE <STYLE-NAME>
    P1 text...............  (*** P1 is the Paragraph format created in SE72 )
    /: STYLE *
    For smartforms u need to go for the transaction (tcode) SMARTSTYLES... here u can create paragraph and character formats globally...
    <b>Sunil, plz do remember to close all your threads, when ur problem is solved !!</b>
    reward all helpful answers,
    sai ramesh

  • Procedure to display the employee name and employee number

    Dear All
    can any one has the procedure to display the employee name and employee number from per_all_people_f.
    Regrads
    xyz

    can any one has the procedure to display the employee name and employee number from per_all_people_f. https://forums.oracle.com/forums/search.jspa?threadID=&q=per_all_people_f+AND+last_name+AND+employee_number&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • How do I delete photos on an Ipad2 with an ios7 update?

    How do I delete photos on an Ipad2 with an ios7 update?

    In photos app bottom screen,tap to open then u see ur pics,just tap any pics and u then see bin on bottom right side.

  • How do I create a table of contents with a nested style paragraph?

    I'm having difficulty figuring out how to generate my Table of Contents with a nested style. In this screen shot, "SPECIAL EVENTS" is considered level one and the pink circled "Fittest Firm Challenge" is level 2. Because it is a nested style, it is picking up the entire paragraph. I don't want to put in a paragraph break because that would add too much space in the magazine since there are a lot of other listings like this. I've tried reading through other people's discussions but I'm totally lost with the explanations. Is there a simple workaround or solution to this?

    apricotanna wrote:
    I'm having difficulty figuring out how to generate my Table of Contents with a nested style. In this screen shot, "SPECIAL EVENTS" is considered level one and the pink circled "Fittest Firm Challenge" is level 2. Because it is a nested style, it is picking up the entire paragraph. I don't want to put in a paragraph break because that would add too much space in the magazine since there are a lot of other listings like this. I've tried reading through other people's discussions but I'm totally lost with the explanations. Is there a simple workaround or solution to this?
    You're asking InDesign to do something it's not designed to do, namely, to treat a nested-style section of a paragraph as an independent paragraph. That's called a "run-in paragraph" in Adobe FrameMaker, and it's been a beloved feature there since FrameMaker was introduced in '89, about ten years before InDesign.
    You can make a formal feature enhancement request here: Wishform Many InDesign features have come into being from user requests, so lend your voice, and be patient. Explain why you think a run-in paragraph feature would be useful.
    Others have asked about this, and there are a number of workarounds that may or may not be suitable for you. Let's hope that some of the more-intense forum folks can help you with a useful search term for this forum, so that you can review what's been suggested and tried in the past, and what results you can expect.
    In the meantime, you might consider inserting the second-level heading in an inline anchored text frame in the paragraph. It will be an independent paragraph but you can adjust appear on the same line as following paragraph. Then you can extract it for the TOC.
    Here's an example:
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • How to dynamically create a table to join with

    I have a table of users and when they should submit time sheets: start date and end date.
    I have a table of timesheets with user ID and week-ending date.
    I need to construct a report of which timesheets are missing this year.
    I effectively need a table of week-ending dates for the year to join with the user and table and filter on start/end dates - and derive a list of week-ending dates for which I expect to see timesheets.
    But I donu2019t have write-access to the database: Can I effectively create a local table with the week-ending dates for the year?
    We currently solve it by using a local Excel file. Is that the most efficient way? It is also a nuisance as we have to edit the report and copy the excel file when we move directories.
    2nd question on the forum
    Mike

    Mikecro,
    Trying to actually write a SQL script of any complexity in the Command window itself is a horrible experience. I'd recommend writing your SQL in SSMS and testing it there. Once you have the script written in SSMS and it producing the desired result set you can then copy and paste it into the CR Command. (Just use hard coded dummy parameters in SSMS and replace them once they're pasted into the command.)
    If you are building "canned" reports that will ship with a software package, I'd recommend building it out as a stored procedure (and the same with any other reports). This will also make future support much easier by allowing you to make any modifications to the data set directly on the SQL Server without having to touch CR or CRS.
    If you're acting as a 3rd party consultant and you don't have the access or authority to add SP objects to the SQL Server then sticking with the Command is going to be your best bet. This is still better than using linked tables IMO.
    #1) CR simply lacks the ability to write SQL with any real level of complexity. It can't even create a simple sub-query.
    #2) It looks more professional. From an end users pov a report that uses a sql command, as opposed to linked table, demonstrates that the report developer is of a more advance skill level.
    #3) Most of your clients won't know how to write SQL themselves so they will need to re-engage your services to take care of any existing reports and to build new ones. It's easier to get repeat business than it is to get new business.
    As you've already seen, getting everything into a single, well written, SQL command can make a dramatic improvement in report performance. If you get in the habit of building all of your reports using SPs, Views or Commands, you'll quickly come to appreciate added flexibility it affords you. Once to modify your report building workflows to accommodate the change, you won't even think about going back.
    HTH,
    Jason

  • Read only af:table first row select and focus on form load

    I use a read only af:table in my page. When my page loads and I click on my table, then I can use up / down arrow keys to navigate in my table's rows. But if I don't click on the table, I can't navigate in my table's rpws.
    What can do in my page to give the first focus to my table's first row and navigate in my rows without using mouse clicks....
    findElementById function in javascript does not work in jdeveloper 11...
    Do you help me for this?
    Thanks..

    Hi,
    actually findElementById does work, but you should use the ADF client side framework for this. Add a clientListener to the component that intercepts the keyboard usage and make it callin the next record on the table.
    I'll take a note for a how-to to put on my blog as I don't have the code ready. However, its possible this way
    Frank

  • Employee group and Employee Subgroup....

    Hi Experts,
    I am just learning SAP now..... 
    I had created employee group(1 Employee) and employee subgroup(3Y executive), and i assigned employee group to subgroup, and i checked in the table T503Z,, even though it is showing an error while creating relationship.... the error is "entry 1 3Y doesnot exist in T503 check your entry" .
    please reply me with IMG Path(SPRO)
    regards
    gosammy

    spro>Personnel Management>Personnel Administration>Organizational Data>Organizational Assignment-->Define employee attributes(V_503_C)
    I think u missed this table , here u have Activity Status, Employment status, Training Status.Keep the cursor in the relevant feilds and go for f1(help) and  fill the data
    Best Regards,

  • How do I get the iTunes store to pull and use updated info from Gracenote?

    I'm helping a music group fix their CD information, which was incorrect in the Gracenote database. Gracenote made the corrections, but the iTunes store is not reflecting the changes. I verified the changes were made by inserting the CD on a PC, and, through the iTunes client, asking it to pull the track info from Gracenote. The info is correct.
    However, if you use the iTunes client to go to the store, the info in the store does not match what was pulled when sticking the CD in the drive and querying Gracenote. Also, if you go to the CD URL via a web browser to preview or purchase a digital download, the iTunes store web site is still showing the wrong information.
    How do I get the iTunes store (that is, Apple's server, not the iTunes client) to pull and use updated (correct) CD information from Gracenote?

    Geek Girl,
    The official Content Provider relationship with the Store depends how it was set up, and may be the group or their agent or a 3rd party such as TuneCore.  They can go back through the same official channel that put the tracks in the Store in the first place.
    Or, if it is simply an error, as opposed to an official change by the Artist, you can try the Feedback page:
    http://www.apple.com/feedback/itunesapp.html

Maybe you are looking for

  • How to add a running value from external field in a repeating table of SharePoint list

    I'me creating an infopath form that will display a SharePoint list. I want to add a link control in a repeating table using the value of the first column per row but I'm getting an issue. the link control displays only the first row. thanks in advanc

  • Create PDF from Web page using Acrobat X - Page Order

    I have a structured web site that is in fact Program Help The web pages are structured as follows: index.html - Main Topic Index page with links to all topic subject index pages topic/index.html - Topic Subject Index Page with links to all subject pa

  • 306 Error Printing with Time Capsule 2TB

    I just upgraded from a 1st Generation Time Capsule (500GB) to a 4th Generation Time Capsule (2TB).  I have a Canon MP600 printer connected via USB to the Time Capsule.  In my previous setup, this worked flawlessly and other computers on the network c

  • Maintaining State For Item Renderers

    Hey guys,                 I have a custom item renderer CustomRenderer.as and CustomRendererData.as. The item renderer component has a loading animation and each renderer reads the loading percent , wether its in Uploading state and the color of the

  • Creating a Session & Entity bean in Weblogic

    Hii javaities I am new 2 EJB , and i want 2 create a apllication using EJB. I want 2 create a session , and entity bean in WEblogic. Can anybody help me i this Or if u have some good links , plz pass it 2 me. Thanking in anticipation