Table Editor not working with reference

Java work on references right..
I have a static Vector in my main class.
Then i have a JTable in one of the subsequent classes which will come up on one of the action performed events.
now this JTable has a DefaultCellEditor which here is a JComboBox, for this editor i'm passing a Vector of my main class.
after initiating and attaching this cell editor to the JTable.
some times later i'm updating my static Vector.
but i don't see the changes in the JTable's editor, i get the old values.
If it is a reference i was expecting it should show the real time value of he vector.
please help me what i'm missing
Thanx in adv,
Nas.

This is (probably) a problem of notifications.
Because of speed issues, the combobox doesn't remake the dropdown contents unless it's notified to do so.
Instead of:
JComboBox comboBox = new JComboBox(vector);
vector.add/set/...(object, i);
do
final DefaultComboBoxModel model = new DefaultComboBoxModel(vector);
final JComboBox comboBox = new JComboBox(model);
and when you need to change the vector:
model.removeElement(object);
model.removeElementAt(i);
model.insertElementAt(object, i);
This methods in the default model fire events notifying the combobox of the changes.

Similar Messages

  • Table Attribute not working with MVC5 and EF6

    Hello,
           Having an issue with a project I am working on.  I have a web project and portable classes.  I am using Entity Framework 6, and MVC 5.  Everything was working when I had all the classes in the Web side,
    but once I moved them to the Portable side, I began to have an issue with the data annotation.  Here is the code from one of the classes:
    namespace Inventory.Entities
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Linq;
    [Table("Common.Location")]
    public class Location
    public Location()
    Assets = new HashSet<Asset>();
    [Key]
    public int LocationID { get; set; }
    [Required]
    [Display(Name = "Location Name")]
    public string LocationName { get; set; }
    public virtual ICollection<Asset> Assets { get; set;}
    Now the issue is that Table has a red squiggle and I am getting the following error: Error  43  The type or namespace name 'TableAttribute' could not be found (are you missing a using directive or an assembly reference?)
    As far as I can tell everything is set up correctly, but this just does not want to work.  It is not only this class, but all of my classes.  The only reference I have in the portable classes is .Net with a target of 4.5.  Everything I read
    says this should work, but clearly it is not working.  I have also uninstalled and installed the entity framework, did a clean and build but with no luck.  Any thoughts?
    Michael R. Mastro II

    Hello Michael,
    >>but once I moved them to the Portable side, I began to have an issue with the data annotation.
    This is by designed, please check the namespace “System.ComponentModel.DataAnnotations.Schema”:
    https://msdn.microsoft.com/en-us/library/system.componentmodel.dataannotations.schema(v=vs.110).aspx, as you can see, only the DatabaseGeneratedAttribute is supported in Portable Class Library.(If a class is supported in PCL, there should be a
     symbol).
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • DNG Profile Editor not working with new Profiles from LR 3.6?

    I'm noticing that DNG Profile Editor is not really able to work with profiles from newly supported cameras, like the X10. Apparently the profile spec has been updated. Has DNG Profile Editor been abandoned or will it be updated to work with the new spec? I really hope it is!

    Thanks.  I am looking forward to editing the v4 profiles for the D700 - I just want to change a few colors in the existing profiles.  I think the existing v4 profiles do an excellent job of matching the Nikon colors, but I don't like a few of the Nikon colors.  Some colors have too much Red, but Red is too Orange. 
    I have selected a number of images that have colors I want to change.  I selected the Camera Neutral (v0) and Camera Portrait (v0) and using the latest DNG Profile Editor I select the 18 colors from the Color Checker Chart.  I then use the images that have the colors I want to change and determine which of the 18 points I selected from the Color Checker are close.  I then edit those points - only 6 points.  I only need to change the Hue by 5 units or less.  I don't change any of the other selected points of the Color Checker, but feel that by selecting them I locked in the exisiting colors.  Hope this is a good aproach. 
    I wish Nikon would do something equivalent to the DNG Profile Editor for their Picture Control profiles so they could be edited and loaded into the camera.  

  • Mapping editor not working with Java 5 classes

    I have a small protoype web service which I wrote using Tomcat/Axis/Spring/Hibernate and using EJB3 annotations for the mappings. I want to port the persistence layer to Toplink.
    I installed Toplink 9.0.4.1 and added the toplink libraries to my project and implemented the DAO and the spring bean defs.
    I opened the mapping editor and created a project. When I try to add classes to it for mapping I get an error that it can't find the classes (even though I selected them from the chooser). I figured it might be that they were compiled with Java 5, so I switched the JRE_HOME in setenv.cmd to my Java 5 JRE. Now I can import the classes and see the attributes but when I click on any of them in the Navigator panel, the editor panel remains blank. If I now try to save, I get:
    java.lang.NullPointerException
         at oracle.toplink.workbench.ui.tools.CheckListModel.getRowCount(CheckListModel.java:119)
         at javax.swing.JTable.checkLeadAnchor(JTable.java:2949)
         at javax.swing.JTable.tableChanged(JTable.java:2993)
         at javax.swing.JTable.setModel(JTable.java:2827)
         at oracle.toplink.workbench.ui.tools.CheckList.initialize(CheckList.java:47)
         at oracle.toplink.workbench.ui.tools.CheckList.<init>(CheckList.java:26)
    It seems that the mapping workbench doesnt work with Java 5. What should I do?

    Ah, I see. I saw another post here stating that must use 10.1.3.

  • .click on row works with php table - does not work with javascript table.

    Howdy,
    I've run into a very interesting problem today, and I hope you'll be able to help me.
    I have a page in which the top is php to read a table from the server, and post the table as the html page is being built.
    The data come up as a table, and each row is clickable, that click moving the user to a different page, based on the row clicked.
    Here are the relevant parts of the php code:
    <?php
    echo "<table id='patienttable' cellpadding=5px border=0 font-size=16px>";
    echo "<tr><th width='30'>"."ID#"."</th><th width='100'>"."Last Name"."</th><th width='100'>"."First Name"."</th><th width='100'>".
    "Middle Name"."</th><th width='80'>"."DOB"."</th><th width='50'>"."Zip"."</th><th width='50'>"."Gender"."</th><th width='100'>".
    "Phone"."</th></tr>";
    while ($row = mysqli_fetch_array($result))
    blah blah blah
    echo "<tr><td id='localid'>".$localid. "</td><td>".$lastname. "</td><td>".$firstname. "</td><td>".$middlename."</td><td>".$dob."</td><td>".$physzip. "</td><td>".$gender."</td><td>".$phone1.       "</td></tr>";
      echo "</table>";
    ?>
    And here is the code to click on a row:
    $("#patienttable tr").click(function() {
           var passthis = $(this).find("#localid").html();
           $.post("php/setsessionvariable.php",
                  {sessionval: passthis},
         function(e) {window.location.href = "root.php"}
    EVERYTHING works great - no problems - working now for about 2 months.
    Today I started to build something similar, BUT! I cannot read from the database at the top of the page, I must do an ajax query, call the db, and post the data in a table;
    Here is the boring, fairly straight-forward javascript code:
    $.ajax({
        type: "POST",
        url: "findpatientbackend.php",
        data: {letterslastname: lastname},
        dataType : 'json',
        success: function(result) {
      $("#div1").html("");
            if(result.length >= 1)
       {var output = "";
             $("div1").html("<table id='findtable'>");
              $.each(result, function(index, value) {
                                                     output += "<tr><td width='100px'></td><td id='localid' width='100px'>"
                 + value.localid + "</td><td width='100px'>"
                 + value.lastname + "</td><td width='100px'>"
                 + value.firstname + "</td><td width='100px'>"
                 + value.middlename + "</td><td width='100px'>"
                 + value.dob + "</td></tr>";
                $("#div1").html(output);
             $("div1").html("</table>");  
        error : function() { alert("error on return"); }
    And here is the click row code, almost EXACTLY like the one above:
    $("#findtable tr").click(function() {
           var passthis = $(this).find("#localid").html();
           $.post("php/setsessionvariable.php",
                  {sessionval: passthis},
         function(e) {window.location.href = '../root.php'}
    All the "stuff" loaded onto the page just fine, BUT, absolutely nothing happens when I click a row.
    Playing around this afternoon, I did a "View Source" on both pages, and saw something VERY interesting;
    1 - The table written by PHP is present, can be seen, and therefore is "clickable" to the jquery .click function.
    2 - The table written by javascript is INVISIBLE! I cannot see it in the source view (but I can see it on the screen) and therefore the .click function can't see it either.
    Questions:
    1. How can I make the table written in javascript "clickable" - how can I make the javascript table "visible"?
    2. Could it be the use of ".html" to post the table to the div? Is there another way?
    And again, I thank you in advance for any help.

    I found the solution to my problem, and perhaps my comments here will help others.
    Thinking a bit more, I wrote a separate javascript routine that created a table, allowed it to be styled, and allowed it to be clickable.
    Here is the code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html>
    <head>
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script>
    <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.1/jquery-ui.min.js" type="text/javascript"></script>
    <style>
    #findtable {
    width:200px;
    background-color:#CFD3FE;
    margin:10px auto;
    text-align:center;}
    </style>
    <body>
    <div id="puttablehere"></div>
    <script>
    $(document).ready(function () {
    var output = "<table id='findtable'>";
    for (var i = 0; i<15; i++) {output += "<tr><td width='100px'>X</td><td id='localid' width='100px'>X</td></tr>";}
    output += "</table>";
    $("#puttablehere").html(output);
    $("#findtable tr").click(function(e) { alert("it works!"); });
    </script>
    </body>
    </html>
    The initial code I posted was creating the table the wrong way.
    You have to create the WHOLE table at the same time, and post it all at once.
    The code above does that.
    My learning points are:
    1. To create a table in javascript, and post it with a $("#puttablehere").html(output); call, you must put the ENTIRE table into that single string variable called "output" (or whatever you want to call it).
    2. Everytime you call a jqeury .html function like this: ---("#puttablehere").html(output); -- It COMPLETELY over-writes the whole div/tr/td block that it is pointed at.
    3. If you create a table in javascript (client side) you cannot see it with "View Source" - because what is posted in the table is AFTER the DOM is loaded.
    Creating a table with php server side - you CAN see, because it is posted with the DOM.
    So I thank you for your ideas, and I hope this may help another noob, such as myself, in the future.
    Adios!

  • Layout adjustment not working with tables

    Hi all
    Why will layout adjustment not work with tables?
    I am trying to re-format from A4 landscape to A4 portrait.
    The text box containing the table will resize but not the table.
    Any clues why this might be, I don't want to manually resize every table in the document.
    Many thanks,
    Rob

    Thanks Jongware,
    Having resized the table and got the little red ovals, I tried various things like changing the font size etc but the best workaround I found was to select the table and change the cell inset value to 0, this got rid of all red ovals and I didn't need to change the font size.
    Cheers,
    Rob

  • "Next" and "Previous" functionality on UIX tables not working with 10g

    With new release of JDeveloper(10G), the "Next" and "Previous" navigation buttons/links on UIX tables are not working. I tried different approaches:
    1. It does not work with Data Controls built from Java Beans or from TopLink.
    2. I tried without using Data Controls and it still does not work.
    I shows "Next" and "Previous" buttons on the page. But it shows all records on the page rather then showing limited records. Say for example if the block size is 5 and total number of records are 15, it shows all 15 records in the table but the "next" and "Previouds" button would say "1-5 of 15".
    Did any of you observe the same behaviour?

    Hi Shital -
    Thanks for the additional info...
    When I said that the total number of records is 15, I
    meant that my tableData's DataObjectList contains 15
    entries. (In case of DataControls you don't even use
    DataObjectList, but for my non data control
    applications I used DataObjectList). You are saying
    that If I want to display only 5 records per page
    then I will need to provide a DataObjectList with
    five items. Then for next five records from 6-10 I
    will have to program in such a way that my method
    call returns 6-10 records.That's correct. In the case where you are explicitly providing data to the table via a DataObjectList, you need to feed the data to the table in page size blocks - and you also need to handle the table's goto event to scroll the table to the next/previous block of data.
    In previous version of
    UIX(2.1.7) I never had to program for next and
    previous buttons. UIX tables used to take care of
    that. That's why I am so surprised.It sounds like you must have been using the <bc4j:table> component. Is that the case?
    Getting back to your original issue...
    1. It does not work with Data Controls built
    from Java Beans or from TopLink.I believe that this is a bug in the preview release - and I'm fairly sure this will be addressed by production. In production, ADF should automatically handle wiring up table scrolling for you when binding your table to a data control - whether the data control is implemented via JavaBeans, Toplink, or BC4J. I believe that in the preview release, scrolling only working when binding to a BC4J data control.
    Andy

  • DB Adaptor import table option does not work with the AS400 DB

    1. The DB Adaptor import table option does not work with the IBM i-series(AS/400) tables(Both in ESB and BPEL).
    2. Also I was not able to import tables from multiple databases into
    the same BPEL project.

    Both of these issues work in preview version. My earlier posting was based on beta version testing.

  • My Time Capsule does not work with existing WiFi

    Following a question solved on March 24 by LaPastenague, but gone bad again.
    Apple AirPort Time Capsule
    I felt the need for a physical backup of my data, as I would not completely trust the different clouds. I use, and have used Dropbox for 4-5 years and are very satisfied with that, but I am still not sure if or when a political lunatic will shut off the internet.
    I purchased the Apple AP Time Capsule 2T, because all my other stuff are Apple, and that it's wireless. My old backup is Maxtor 300 GB.
    Since we stay 2-3 weeks on two locations, one in Norway and one in Sweden (two different countries) we must use Mobile Broadband 4G, cables or fibre connections are useless for us, and we don't have it up to the houses. I have one mini router for each country, we bring with us iPhones, iPads, iMac, Apple TV, APExpress. When we pass the boarder I change the mini router, and the system continues working perfect on the WiFi, except the APExpress that needs to be reconfigured,  but then it works.
    The APTC was difficult to make working as it would not accept to be in an existing network, but with good help from the Apple Community, LaPastenague, with forcing the TC connect to the APE with Ethernet cable in bridge mode, ref "My Time Capsule does not work with existing WiFi" from March 24, the problem was solved and all gadgets worked together in a perfect harmony, until we changed location.
    Now, as I have my second WiFi network, and the APExspress is reconfigured, it's like the TC thinks, I am the base boss here, I am not taking orders from APE one more time, and it simply does not work, not only that, it fluctuates all the time.
    I have a slight feeling that the two WiFi bands are making the trouble as during the configuration of the TC sometime the last figure 6 and 7 pops up, and that has something two do with the two different 2,4 and 5 GHZ bands
    So, I am curious if you have any idea ?
    I am thinking of returning the TC if I don't make it work now, but how do I delete all the data that's on it?

    I can deal with the last question first and easily.
    I am thinking of returning the TC if I don't make it work now, but how do I delete all the data that's on it?
    Open the airport utility .. go to the disk tab and select erase.
    When you select erase you will get mulitiple options.
    Quick removes the file table but does not delete the files,, it takes 2min or less.
    A Zero out data is the secure way,, by writing 0 ie low level drive format.
    It can take several hours..
    7 pass will take a week.. not recommended..
    35 pass erase is ridiculous.. it would take a month.. put an ax through the TC. It is quick and better.
    Now, as I have my second WiFi network, and the APExspress is reconfigured, it's like the TC thinks, I am the base boss here, I am not taking orders from APE one more time, and it simply does not work, not only that, it fluctuates all the time.
    The fact that it did work and has now failed might point to faulty unit.
    The only way to tell is reset it properly to factory and start over.
    Universal Factory Reset.. any model TC or AE.
    Unplug your TC/AE from power or turn off at the power point.
    Hold in reset. and power the TC/AE back on..  all without releasing reset and keep holding in for about 10sec. (this is often difficult without a 2nd person or a 3rd arm).
    Release it when the status light flashes rapidly. If it doesn’t flash rapidly you have missed it and try again.
    Note..
    Be Gentle! Feel the switch click on. It has a positive feel..  add no more pressure after that.
    TC/AE will reboot after a couple of minutes with default factory settings and will wipe out previous configurations of the router.
    No files are deleted on the hard disk in a TC.. No reset of the TC deletes files.. to do that you use erase from the airport utility.
    Generally having multiple wireless AP should not cause problems.. but it is better to set channels manually.. so it doesn't go beserk rotating channels.
    Remember to keep all names short, no spaces and pure alphanumeric.
    Sadly though the Apple routers have no logging now and no SNMP and almost nothing to help diagnose a problem, so if it continues .. take it back to apple.. they have given you no other method of fixing it.

  • Modifer keys do not work with mouse in Illustrator

    Below is a copy of a bug report I just submitted to Adobe. I don't suppose any users have run across this and found a solution or workaround?
    I found someone else with this problem in an archived topic thread, but the only response that poor fellow got was an accusation of not following instructions (His problem wasn't user error, BTW).
    Thanks
    ******BUG******
    Concise problem statement:
    Modifer keys do not work with mouse: For example, free transform or rotate behaviors that require "Click-Ctrl" .
    Steps to reproduce bug:
    1. select object
    2. select free transform tool
    3. left click (without releasing) a corner of the bounding box.
    4. start dragging
    5. press ctrl
    Results:
    object behaves as though the ctrl key was not pressed. i.e. the cursor does not change shape and the object scales rather than distorts.
    Expected results: The cursor should change shape as the ctrl key is pressed and the object should distort rather than scale.
    Additional information: This behavior is intermittent. Occasionally Illustrator recognizes the "Click-Ctrl" combination and behaves exactly as the help file predicts it will. The cursor changes shape and the object distorts rather than scales. I can offer no rhyme or reason for when Illustrator will behave as advertised and when it will ignore the modifier keys.
    The example above involves the free transform tool, but the problem occurs just as often with other tool behaviors that require a modifier key + mouse combination.
    Primarily using Wacom Intuos3 tablet. (with latest drivers), but have also tried combinations with microsoft mouse or both mice installed.
    Also, immediately after an occurrence Illustrator bug, left AI open, went to a different app that uses mouse+modifier (Ctrl+Click). That different app recognizes Ctrl+Click with no problems whatsoever.

    Thanks Guys,
    Good to know it's working for you. I guess that's the nature of intermittent bugs. Of course, Adobe's bug report form has a field for version, which I, of course, filled in. Sorry I didn't add it to this post. I'm using the latest version CS3 v13.0.2.
    Stephen,
    Sorry I was not more clear when I said, "For example, ...". I was talking about the modifier keys not working with several different tools. The Free Transform tool advertises functionality that is supposed to work with a "Click (down, but don't release)then hold down Ctrl" combination. The Rotate tool advertises a behavior that is supposed to work with an "Alt-Click" combination. These are just 2 examples of the modifier keys not working. I focused primarily on one example in the bug report(ctrl after and in addition to click in the free transform tool, not alt-click in the rotate tool).
    Here is what I expect(quoted from Adobe's CS3 help file)
    (From the "Distort Objects with the Free transform tool" help topic)
    "Select one or more objects.
    Select the Free Transform tool .
    Start dragging a corner handle on the bounding box (not a side handle), and then do one of the following:
    Hold down Ctrl (Windows) or Command (Mac OS) until the selection is at the desired level of distortion.
    Hold down Shift+Alt+Ctrl (Windows) or Shift+Option+Command (Mac OS) to distort in perspective."
    (from the "Rotate an object by a specific angle" help topic:)
    You can control the exact angle of rotation with the Rotate command.
    Select one or more objects.
    "Do one of the following:
    To rotate around the center point, choose Object > Transform > Rotate, or double-click the Rotate tool.
    To rotate around a different reference point, select the Rotate tool. Then Alt‑click (Windows) or Option‑click (Mac OS) where you want the reference point to be in the document window.
    Enter the rotation angle in the Angle text box...."
    These Tool based mouse-key combinations do occasionally work as they are supposed to, so I know what the expected results are supposed to look like, but whether they work or not appears to depend on the phase of the moon, the day of the week, and the color of the president's underwear.
    Other non-tool based mouse-key combinations in Illustrator work consistently all the time - Ctrl-A for Select All as just one example that always works.
    Thanks Again

  • After upgrading to Lion internal mic does not work with Facetime

    After upgrading to Lion internal mic does not work with Facetime.  The mic is picking up sound as noted in System Prefs.  This was working just fine before the updgrade.  Facetime works OK on my iPod. 

    you have in french a tutorial to recreate your partition here
    Rebuild partition with Recovery HD lion after upgrade to 10.7.2
    i tested, it's work !
    For your wifi problem:
    Try to change your setup of wifi, look this table given by apple:
    I changed my wifi setup wep to wpa and it's work !

  • SAP BW Bex 7.3 Queries not working with Enterprise Portal (EP) 7.3 ABAP stack only

    SAP BW Bex 7.3 Queries not working with Enterprise Portal (EP) 7.3 ABAP Stack
    Dear Portal Gurus,
    we want to integrate SAP BW Bex Queries 7.3 into an Enterprise Portal 7.3 EP ABAP Stack only installation.
    1) We have Done SSO between EP And BI System
    2) System Object is Created
    3) When we trying to create Iview of BEX 7.3 report, its executing that report on BI server, we don't have java stack on BI System
    4) We have updated the required table in Bi system for executing the report on EP
    5) RFC is OK, System Object Test is OK, Report is working independently from Business Explorer, but not working from EP
    There no irj services available on BI system, as it is only ABAP stack.
    Can anybody help us in achieving our requirement
    Thanks in advance
    Michael Wecker

    Hi Michael,
    To integrate portal with BI you need to perform BI Portal integration steps.
    Refer to a document link below for guidance purpose.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0a5216a-349c-2a10-9baf-9d4797349f6a?overridelayout=t…
    Ensure that you have performed all these relevant steps.
    Hope this helps.
    Regards,
    Deepak Kori

  • Why CUA (Release 7.00) is Not Working with Old Clients(Release 4.6C, 4.5B)?

    Hi all,
    We have CUA (release 7.00) that is not working with older release clients. I implemented 2 release 7.00 clients to CUA; they both work fine. However, when I implement some older release clients (like, 4.5B, 4.6C, 6.20 and 6.40) to CUA,  I can only create ID and pull out to client, but roles do not go through.
    It is kind of argent.
    Do anyone know how to fix it????
    Thank you for reading this.

    > It is kind of argent.
    I think you meant "ardent"...
    THe word u r g e n t is blocked by our content filters, because a while back everything was like that and these forums are actually discussion forums...
    Anyway, sounds like faulty config or perhaps a problem with logical system assignment.
    Have you checked that? Also check in SCUL?
    That you can create users but not assign roles might also be that in the lower release systems they are checking activity 22 (assighn) AND 02 (change) to assign the role. Doesn't make sense, really....
    Check the drop down menu in table PRGN_CUST for the option to change this, and compare whether the settings are different.
    Cheers,
    Julius
    Edited by: Julius Bussche on Jul 30, 2009 11:34 PM

  • PDF Portfolio does not work with iOS Reader 11.3.2 on iOS 7.1.2

    Well this is upsetting. I created a PDF form with several pages of the same form (it's a travel log).
    My hoping to use Adobe Reader to complete the form and save back as a week at a time won't work.
    I created the form using Acrobat Pro 9 from CS5.
    Does anyone know if a PDF form in a Portfolio should work with Adobe Reader on the iPad2/
    Also, what can I use that works with forms as a portfolio?
    Ken

    Ken,
    please could you describe your workflow. It might help to find some solution. Also it would be great if you can share a sample of your document. Please email it to [email protected] with the reference to this discussion "PDF Portfolio does not work with iOS Reader 11.3.2 on iOS 7.1.2"
    thank you.

  • ADF bindings are not working with inheritance heirarchy.

    ADF bindings are not working with inheritance heirarchy. I am using embedded OC4J in JDeveloper 10.1.3.2.
    For the data model I have the following objects\attributes.
    1) User (abstract EJB 3.0 POJO)
    - Id
    - userId
    - userName
    2) Employee -> extends User (EJB 3.0 POJO)
    - enabled
    - password
    3) Manager -> extends Employee (EJB 3.0 POJO)
    - numOfEmployees
    4) UserSessionBean (Stateless Session Bean)
    - public User findUserByUserId(String userId)
    - public List<User> queryUserFindAll()
    - Object mergeEntity(Object entity)
    I created 2 JSF pages using ADF.
    1) ListUsers.jspx - Lists all the users of type Employee and Manager in a table. You can select an user and chose to modify the user details using a modify button.
    2) ModifyUser.jspx - Modify the selected user and persist the modified user details.
    I implemented ListUsers.jspx by dragging and dropping queryUserFindAll() method from the ADF datacontrol on to the JSF page and selected ADF Table format with selection enabled.
    Similarly for the ModifyUser.jspx page I dragged and dropped the User object returned by findUserByUserId(String userId) and selected ADF Form format. I selected OutputText field types for userId and userName.
    I then created a navigation case from ListUsers.jspx to ModifyUser.jspx and pass the selected user.
    Now when I try to run the web application, ListUsers.jspx correctly displays all the users. Then I select a user of type Employee and click on the modify button. This brings up the ModifyUser.jspx page. However, the UserId text field displays the value for "Id" field rather than "userId".
    Question that I have is:
    - Why is ADF framework not able to retrieve the appropriate user attribute value for a Employee based on the binding information in case of inheritance ?
    Thanks,
    Piyush

    Hi,
    tried with JDeveloper 10.1.3.3 and this works for me. Try JDeveloper 10.1.3.3 - if it doesn't work, have a closer look at your sessionFacade
    Frank

Maybe you are looking for