Binding JComboBox problems

So I'm getting an error when I try to save the changes made from a bound combobox:
Exception Description: Missing mapping for field [GALAXYY.USER_TYPE.id].
Descriptor: RelationalDescriptor(toast.crud.UserType --> [DatabaseTable(GALAXYY.USER_TYPE)])
So I have my combobox bound to a JTable's column and it looks fine when I'm using it. Changes in the combo box are reflected in the jtable, but when I save I get the above error!
Here is a snip from the USER table class....
@JoinColumn(name = "TYPE", referencedColumnName = "ID")
@ManyToOne
private UserType type;The combo box is populated with values from the USER_TYPE table.
Does anyone have any idea what is going on? Let me know if you need information! :) Thanks

Here is the full error:
javax.persistence.RollbackException: Exception [TOPLINK-45] (Oracle TopLink Essentials - 2.0.1 (Build b09d-fcs (12/06/2007))): oracle.toplink.essentials.exceptions.DescriptorException
Exception Description: Missing mapping for field [GALAXYY.USER_TYPE.id].
Descriptor: RelationalDescriptor(toast.crud.UserType --> [DatabaseTable(GALAXYY.USER_TYPE)])
at oracle.toplink.essentials.internal.ejb.cmp3.transaction.base.EntityTransactionImpl.commit(EntityTransactionImpl.java:120)
at oracle.toplink.essentials.internal.ejb.cmp3.transaction.EntityTransactionImpl.commit(EntityTransactionImpl.java:60)
at toast.crud.UserCRUD.saveButtonActionPerformed(UserCRUD.java:436)
Save Code: (generated by Netbeans)
        try {
            entityManager.getTransaction().commit();
            entityManager.getTransaction().begin();
        } catch (RollbackException rex) {
            int row = this.masterTable.getSelectedRow();
            entityManager.getTransaction().begin();
            List<toast.crud.Users> merged = new ArrayList<toast.crud.Users>(list.size());
            for (toast.crud.Users u : list) {
                merged.add(entityManager.merge(u));
            list.clear();
            list.addAll(merged);
            rex.printStackTrace()
        }Binding Code for ComboBox:
JComboBoxBinding jComboBoxBinding = SwingBindings.createJComboBoxBinding(AutoBinding.UpdateStrategy.READ, userTypeList, positionCombo);
bindingGroup.addBinding(jComboBoxBinding);
binding = Bindings.createAutoBinding(AutoBinding.UpdateStrategy.READ_WRITE, masterTable,
      ELProperty.create("${selectedElement.type}"), positionCombo, BeanProperty.create("selectedItem"));
bindingGroup.addBinding(binding);
binding = Bindings.createAutoBinding(AutoBinding.UpdateStrategy.READ_WRITE, masterTable,
      ELProperty.create("${selectedElement != null}"), positionCombo, BeanProperty.create("enabled"));
bindingGroup.addBinding(binding);Binding Code for the JTable:
binding = org.jdesktop.beansbinding.Bindings.createAutoBinding(org.jdesktop.beansbinding.AutoBinding.UpdateStrategy.READ_WRITE, masterTable,
        org.jdesktop.beansbinding.ELProperty.create("${selectedElement.color}"), colorLabel, org.jdesktop.beansbinding.BeanProperty.create("background"));
binding.setSourceNullValue(new Color(Integer.parseInt(DB.INSTR_COLOR_DEFAULT)));
binding.setSourceUnreadableValue(new Color(Integer.parseInt(DB.INSTR_COLOR_DEFAULT)));
binding.setConverter(intColorConverter1);
bindingGroup.addBinding(binding);Thanks!
Edited by: galaxyy on Jul 22, 2008 8:22 AM
Edited by: galaxyy on Jul 22, 2008 8:24 AM

Similar Messages

  • How to send my ipad for technical assistance? He fell to the floor but still binds despite problems in the system

    How to send my ipad for technical assistance? He fell to the floor but still binds despite problems in the system

    Here you go: http://support.apple.com/kb/index?page=servicefaq&geo=United_States&product=ipod
    Good luck!

  • Bad Bind Variable Problem

    Hi
    I am trying to create a trigger and facing Bad Bind Variable problem.
    Plz let me know, what's the problem in this trigger.
    CREATE OR REPLACE TRIGGER Tender_tax_update AFTER
    INSERT
    OR UPDATE
    OR DELETE OF ITEM_QTY,ITEM_RATE,TENDER_ACC_QTY ON TENDER_ENQUIRY_ITEM_D REFERENCING OLD AS OLD NEW AS NEW FOR EACH ROW
    Declare
         v_amt TENDER_VENDOR_TAX_D.TAX_AMOUNT%TYPE;
         v_tax_ty TENDER_VENDOR_TAX_D.TAX_TYPE%TYPE;
         v_tax_cd TENDER_VENDOR_TAX_D.TAX_CODE%TYPE;
         v_ven_cd TENDER_VENDOR_TAX_D.VENDOR_CODE%TYPE;     
         v_item_cd TENDER_VENDOR_TAX_D.item_cd%TYPE;     
         v_tenno TENDER_VENDOR_TAX_D.tender_enquiry_no%TYPE;
    Begin
         if inserting then
              v_tax_ty:=:new.TAX_TYPE;
              v_tax_cd:=:new.TAX_CODE;
              v_ven_cd:=:new.vendor_code;
              v_item_cd:=:new.item_cd;
              v_tenno:=:new.tender_enquiry_no;
    select TAX_AMOUNT into v_amt from TENDER_TAX_DETAILS where tender_enquiry_no=v_tenno and TAX_CODE=v_tax_cd and TAX_TYPE=v_tax_ty and item_cd=v_item_cd and vendor_code=v_ven_cd;
    update TENDER_VENDOR_TAX_D set TAX_AMOUNT=v_amt where tender_enquiry_no=v_tenno and TAX_CODE=v_tax_cd and TAX_TYPE=v_tax_ty and item_cd=v_item_cd and vendor_code=v_ven_cd;
         end if;
    End Tender_tax_update;
    Database deails are as follows:
    TENDER_VENDOR_TAX_D
    Name Null? Type
    TENDER_ENQUIRY_NO NOT NULL VARCHAR2(8)
    VENDOR_CODE NOT NULL VARCHAR2(4)
    TAX_CODE NOT NULL VARCHAR2(4)
    PERCENTAGE NUMBER(5,2)
    TAX_AMOUNT NUMBER(15,2)
    ITEM_CD NOT NULL VARCHAR2(10)
    TAX_FLAG VARCHAR2(1)
    TAX_TYPE CHAR(3)
    TENDER_TAX_DETAILS
    Name Null? Type
    TENDER_ENQUIRY_NO NOT NULL VARCHAR2(8)
    VENDOR_CODE VARCHAR2(4)
    ITEM_CD VARCHAR2(10)
    TAX_CODE NOT NULL VARCHAR2(4)
    TAX_TYPE CHAR(3)
    TAX_AMOUNT NUMBER
    Message was edited by:
    user648065

    facing Band Bind Variable problem.Doesn't the error message tell you which bind variable is the problem?

  • Strange JComboBox problem

    I have a weird JComboBox problem that has me stumped. I am dynamically changing the contents of a JComboBox after creation. When the change function is called it removes all existing contents from the JComboBox and then repopulates it. It is really straight forward. The strange thing is that it is working perfectly under Windows 2000 with JRE build 1.3.0, but with Windows XP I end up an empty JComboBox. I don't even know where to start debugging this. Any ideas?
    Thanks

    I notice the same problem... with no solution for the moment...

  • CC 5.9 and ../lnk/bind.cc Problem

    Hi,
    we have migrated from SunStudio11 to SunStudio12 in which CC compiler has upgraded to 5.9. After recompiling source codes with new compiler, we got the following error:
    Assertion: (../lnk/bind.cc, line 268) while processing .......
    We have encountered this problem reported in the past. But there exists a patch for this problem for CC 5.8 compiler.PATCH_ID: 121017-08 which is last updated on Feb 26, 2007.
    We assume that this patch is already included in SunStudio12 release.How can we overcome this problem? Is this a bug that still exits in CC 5.9? If so, shall we download patch for CC 5.8 on our CC 5.9? We are blocked with this problem.
    Thanx in advance
    PS:
    CC: Sun C++ 5.9 SunOS_sparcSun 2007/05/03
    OS: Solaris 10
    Message was edited by:
    sunriseloverr
    Message was edited by:
    sunriseloverr
    Message was edited by:
    sunriseloverr

    Most compiler assertions (including this one) can have different causes. The assertion is a failed consistency check, and the compiler cannot proceed. A particular assertion can be "fixed", and yet show up again when the compiler sees different source code. (I hate it when that happens.)
    You might be running into bug 6549618, present in the initial release of Studio 12. It has been fixed, and the fix will appear in the first released patch. The patch is undergoing testing now, and should be available in a few weeks.
    Here is a test case for that bug:
    class Comparator {
    template< typename Value , int Count = sizeof ( Value) > class Tree {} ;
    template< typename KeyPair > class Map {
    typedef Tree < KeyPair * > a;
    The problem was caused by sizeof in the non-type template default parameter value.
    You cannot patch Studio 12 with a patch for Studio 11.

  • Query Bind Variables problem

    I have a ViewObject with bindvariable GroupnameItemname.
    In JHeadstart AppDef this item is not bound to model, but included in Quick Search and Advanced Serach, as in "7.2.5. Using Query Bind Variables in Quick or Advanced Search"
    First I get an error saying GroupnameItemname*Var* is not found on ViewObject, so I changed the bindvariables to GroupnameItemnameVar
    Is something changed here? We are using JHeadstart 10.1.3.3.75 / JDeveloper 10.1.3.4.0
    After changing the bindvariablename I have another problem:
    I get an error in JhsApplicationModuleImpl.advancedSearch on these lines:
    boolean isBindParam = !viewCriterium.isAttributeBased();
    AttributeDef ad = isBindParam ? null : vo.findAttributeDef(attribute);
    The first line returns false for my bindvariable, so the second line raises an error like "JBO-25058: Definition <attr> of type Attribute not found in <VO>".
    In QueryCondition:
    public boolean isAttributeBased()
    return def!=null; //but def is not null here, it is an instance of DCVariableImpl
    This used to work in previous versions of JHeadstart...
    Please help,
    Greetings HJH

    In my MyApplicationModuleImpl (which extends JhsApplicationModuleImpl) I did override advancedSearch.
    Copied the code from JhsApplicationModuleImpl and changed a few lines:
    After
    sLog.debug("executing advancedSearch for " + viewObjectUsage);
    ViewObject vo = getViewObject(viewObjectUsage);
    I added:
    //clear bindParams:
    String[] attrNames =
    vo.getNamedWhereClauseParams().getAttributeNames();
    for (int i = 0; i < attrNames.length; i++) {
    vo.setNamedWhereClauseParam(attrNames\[i\], null);
    sLog.debug("bindParam leeggemaakt: " + attrNames\[i\]);
    And a bit later in the method I made a changed as follows:
    // boolean isBindParam = !viewCriterium.isAttributeBased();
    boolean isBindParam = viewCriterium.getName().endsWith("Var");
    A bit crude, but worked for me...
    Cheerio,
    HJH
    Edited by: HJHorst on Mar 19, 2009 1:56 PM (had to escape square brackets...)

  • JComboBox problem again..

    I have a problem not entirely dissimilar to Jofin's.
    My combo box is populated on 10 seconds pulses by a remote server.
    Once a value has been selected from the combobox, it auto populates two jTextFields below based on the selection made from the box.
    My problem is as soon as the 10 second pulse comes around, the JComboBox contents is refreshed/repopulated, the selected index jumps back to 0 and the text boxes below are updated based on the element at 0.
    I can't seem to get the combination of event handling right, I've tried mousePressed, but that seems to be on the jComboBox its self rather than the selected item, I've tried mouseReleased with some success but the user MUST click and hold then release on the correct item or it doesn't work.
    Any help on the matter would be very much appreciated.
    Thanks.
    Andy

    I need to select live items from an auction which are displayed in a drop down list to bid on in an auction program.
    users select an item: http://www.andywebb.me.uk/jcombobox.jpg
    item populates bid section: http://www.andywebb.me.uk/jcombobox2.jpg
    the items last a specific amount of time (this is an assignment, not a real program) and CAN disappear from the list of available items to bid on. I need a way of holding the values of the item being bidded on and a way of controlling how to display the items that are available to bid on.
    The items index in the list is irrelevant, i'm simply using the combo box item which is being clicked to populate the fields below.

  • JpopupMenu with a JComboBox problem

    Hi,
    Well I need to make a popupMenu which contains a JComboBox, when I invoke the method show(, ,) of the popupMenu, everything looks fine.
    But when I press on the comboBox to view its data, I can only see the drop list and the popupMenu disappears.
    The problem occurs after that, when I try to choose a selection from the comboBox list, it also disappears without invoking the listener.
    I believe it might be a focusing problem.
    If anyone has a solution, I'd appreciate it??
    Thanks & Regards,
    ES_Coders

    An other solution is to work use a BasicComboPopup
    - import javax.swing.plaf.basic.BasicComboPopup -
    It works quiet well
    You can use a normal JComboBox for storing the entrys.
    See the documentation of the class.
    You should only watch for the add or remove methods. Those methods must be invoked on the JComboBox not on the BasicComboPopup.
    Olek

  • JAX-WS binding files problem

    Hi,
    I'm trying to generate client code from WSDL with wsimport maven goal. I can generate the code, but I have this specific problem which I'm trying to solve by jaxb and jaxws external binding files.
    In my src/main/resources/wsdl directory I have
    - three WSDL files (let's say A.wsdl, B.wsdl, C.wsdl)
    - two XSD files(X.xsd, Y.xsd)
    All these files share the same targetNamespace.
    A.wsdl includes X.xsd through
    <xsd:include schemaLocation="X.xsd" />
    B.wsdl and C.wsdl include Y.xsd in the same manner.
    Since X.xsd and Y.xsd types are generated into one package, the ObjectFactory is overwritten.
    I'd like to generate X.xsd types into one package and Y.xsd types into another. I've not been able to exploit jaxb and jaxws binding to do that.
    Is this possible when X.xsd and Y.xsd have the same targetNamespace?
    The idea is shown in this binding file (it's not correct, but I've tried many combinations of these declarations without success)
    <jaxws:bindings xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
         xmlns:jaxws="http://java.sun.com/xml/ns/jaxws"
         xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
         xmlns:xsd="http://www.w3.org/2001/XMLSchema">
         <jaxb:bindings shcemaLocation="../main/resources/wsdl/X.xsd">
              <jaxb:schemaBindings>
                   <jaxb:package name="package_x" />
              </jaxb:schemaBindings>
         </jaxb:bindings>
         <jaxb:bindings shcemaLocation="../main/resources/wsdl/Y.xsd">
              <jaxb:schemaBindings>
                   <jaxb:package name="package_y" />
              </jaxb:schemaBindings>
         </jaxb:bindings>
    </jaxws:bindings>
    {code}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Hi Ram Swami,
    When I try to add services reference by using this:
    https://www.sunat.gob.pe/ol-ti-itcpgem-beta/billService?wsdl, it generates a baiscHttpBinding in my client config file, so could you please try to use the baiscHttpBinding in your client config file for instead to see if it works? The following article
    is about accessing Java service(Jax-WS) from C#.net, please try to check it:
    http://gayandenzil.blogspot.jp/2012/07/write-web-service-using-jax-ws-and.html .
    Besides, this forum is used to discuss the questions about the WCF Web Service, for the questions about the others web services, please try to post in this forum:
    http://forums.asp.net/28.aspx/1?WCF+ASMX+and+other+Web+Services .
    Thanks for your understanding.
    Best Regards,
    Amy Peng
    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.

  • Accessibility of JComboBox problem

    Hi everyone!
    I've got two applications. One of them make changes in the components of the other one through the Accessibility API. (Both are running on the same VM)
    I make changes without problem in JButton, JTextComponent...
    But I've got a JComboBox with 4 options, and the "reader/writer" application has to select the third option, and I can't get a way to do this with Accessibility.
    I can see the JComboBox and its internal structure (a Viewport, a BasicPopUp, a JPanel, ScrollButtons, a ComboList, and the four options).
    The only available action is in the JComboBox and is the togglePopUp that toggles it without problem.
    But I can't get a way to select one of the options of the toggled up pop up.
    Does anybody has an example code for doing this?
    Thank you a lot!
    AC

    Works fine for me.
    If you need further help then you will need to provide [url http://www.physci.org/codes/sscce.jsp]Simple Demo Code that demonstrates the problem.

  • Component binding property problem

    following problem:
    I have a form where I built a dataTable with a dynamic number of columns. To achieve this, I used a component binding (backing bean) to dynamically add columns.
    The form is used for different kind of queries and every query has it's own number of columns. The query-identification is submitted via a request parameter.
    All the data in the query-form are o.k. (bean values) but the backing bean will not be called in case of a new request (same jsf-form, but other request-parameter).
    example:
    http://host/url.faces?id=1
    http://host/url.faces?id=2
    <h:dataTable id="test"
                 value="#{test.values}"
                 var="i"
                 rendered="true"
                 binding="#{test.table}">
    </h:dataTable>whereas test is a bean which is created in a servlet listener and also updated with the corresponding id from the request.
    The table-property depends on the id given in the request.
    why ?

    ok, I found out, that using the <h:commandLink> with a param-tag solves this issue.
    Now the backing-bean's method to build the table is all-time called.
    And it works even after an expired session.
    But unfortunately I do not really know, why it works this way and the other it doesn't...

  • Bind variable problem in cascading LOVs

    Hi,
    after upgrade from APEX 3.0 to 3.1 all my cascading LOVs stopped working correctly. First level LOV is OK, but the second level LOV, which contains a bind variable in its SQL code, fails. Debugging shows that the bind variable referrencing to the value of the first level LOV is empty. It has worked without problems in 3.0. The bind variable format is traditional :ITEM
    This is an example of the LOV SQL:
    SELECT PSKUP_CZ display_value, ID return_value
    FROM PSKUP
    WHERE sk_id = :P1_SKUP
    ORDER BY 1
    Where :P1_SKUP refers to the vaule of the top level LOV.
    In Oracle® Database Application Express Release Notes Release 3.1 in chapter "3 Open Bugs and Known Issues", I've only found a short remark called "Problems with Queries Containing a Bind Variable and a String with Two Dashes". The recommended solution here was to use v('P18_X') instead of :P18_X
    I tried that but with no effect on my problem.
    Anybody has similar experience? Any workarounds?
    Thanks in advance,
    Zdenek

    Hi Zdenek,
    DV, NV, V are an optional component of the ApexLib framework. Actually they don't have anything to do with the framework itself.
    Because of the nature of this functions they have to have a hard coded reference to the FLOWS_XXX schema, but which causes problems if APEX is upgraded to a new version and the functions are not altered.
    I will probably removed them from the installation instructions or add a big remark that they have to be altered after an upgrade, because this kind of threads are re-occurring after each new released APEX version.
    Thanks
    Patrick
    My APEX Blog: http://inside-apex.blogspot.com/
    The APEX Builder Plugin: http://builderplugin.oracleapex.info/ New
    The ApexLib Framework: http://apexlib.sourceforge.net/

  • Bind variable problem when renaming page items?

    APEX 2.1 on IE6.
    I'm having trouble with bind variables. I cannot reproduce this regularly, but I notice it from time to time. Basically, certain page items will simply refuse to hold their contents, even though the debug output says :
    0.03: Saving g_arg_names=P9_XYLOPHONE_XYLOPHONE and g_arg_values=hello
    0.03: ...Session State: Save "P9_XYLOPHONE_XYLOPHONE" - saving same value: "hello"
    Whenever I reference the variable (using :, V(), NV(), or &.) I get NULL. None of the output indicates that it was changed elsewhere. I've noticed that changing the name of page item influences this. Shorted names tend to cause fewer problems.
    I can't be more specific, as I can't figure out the pattern. Has anyone else noticed this?
    Cheers.

    hi dccase
    couldnt get what the documentation says with APP_SESSION to work.
    http://aae18331:8089/apex/f?p=102:3:$APP_SESSION.::3:MY_ITEM:315
    However the following which i guess assumes the default session worked
    =====================================================
    http://aae18331:8089/apex/f?p=102:3::::3:MY_ITEM:315
    cheers
    shaunak

  • JComboBox problem (another one)

    I'm using a JComboBox with a LOV.
    1) The combo-box is sized for the largest LOV. Can I have different widths for the drop-down and the combo-box itself? Is the model setting the preferredSize of my JComboBox?
    2) If the first dropdown value is rather short, then when a long selection is chosen, the value is shown truncated with ... after it. If the first dropdown value is as long as the selected one, then the value is displayed correctly.
    Regards,
    Tony Clulow

    Fliz:
    Welcome to the Apple Discussions. Yes I believe it an issue with the Helvetica Neue font. Open Font Book and deactivate the font. Then reactivate it and launch iPhoto. That should fix it.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've written an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 08 libraries. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • JClient Binding newbie problem

    Hi someone ;-)
    I have two views:
    - ListePosteStdView: binded to the table LISTE_POSTE_STANDARD (see SQL below)
    - TypePosteView1: binded to the table TYPE_POSTE (see SQL below)
    I have a panel displaying
    - a JComboBox, with a LOV binding ListePosteStd, updating a view named TypePosteView1
    - a JList, with a Navigation binding to the view TypePosteView1
    What I need is the JList to display the values of TypePosteView1 corresponding to the selected entry in the JComboBox.
    The table LISTE_POSTE_STANDARD has two entries
    The table TYPE_POSTE has two entries, both binded to the first entry of LISTE_POSTE_STANDARD.
    It doesn't work ! What I have instead is that
    - When I select the first entry in the combo box, it displays correct values for JList (the two entries binded to LISTE_POSTE_STD)
    - Then I select the second entry in the combo box, it displays an entry displayed previously, not belonging to that LISTE_POSTE_STD
    - Then I select the first entry again in the combo box and all entries in the combo box and the JLIst are removed (I can't select anything).
    Shouldn't a LOV binding enable me to select a value from a view and accordingly update the value to be displayed in another view ?
    What went wrong ?
    Thanks
    Rodolphe
    ========================= TABLES ==================================
    CREATE TABLE LISTE_POSTE_STANDARD (
    ID NUMBER (10) NOT NULL,
    NAME_FR VARCHAR2 (50),
    NAME_NL VARCHAR2 (50),
    CONSTRAINT LPOSTE_STD_PK
    PRIMARY KEY ( ID ) ) ;
    CREATE TABLE TYPE_POSTE (
    ID NUMBER (10) NOT NULL,
    ID_LISTE_POSTE_STANDARD NUMBER (10) NOT NULL, !!!! FOREIGN KEY TO LISTE_POSTE_STANDARD
    ID_NATURE NUMBER (10),
    ID_UNITE NUMBER (10),
    NUM_CODE VARCHAR2 (30) NOT NULL,
    NAME_FR VARCHAR2 (50) NOT NULL,
    NAME_NL VARCHAR2 (50),
    DESCR_FR VARCHAR2 (2000),
    DESCR_NL VARCHAR2 (2000),
    CONSTRAINT TYPPOSTE_PK
    PRIMARY KEY ( ID ) ) ;
    ALTER TABLE TYPE_POSTE ADD CONSTRAINT TYPPOSTE_LPOSTE_STD_FK
    FOREIGN KEY (ID_LISTE_POSTE_STANDARD)
    REFERENCES AGATTE.LISTE_POSTE_STANDARD (ID) ;
    ========================= CODE ====================================
    package agatte.listepostesstd.gui;
    import java.awt.*;
    import javax.swing.*;
    import oracle.jbo.uicli.jui.*;
    import oracle.jbo.uicli.controls.*;
    import oracle.jbo.uicli.binding.*;
    import oracle.jdeveloper.layout.*;
    import java.awt.Dimension;
    import javax.swing.JComboBox;
    import java.awt.Rectangle;
    import javax.swing.JList;
    import javax.swing.JTextField;
    import oracle.jbo.uicli.jui.JUComboBoxBinding;
    import oracle.jbo.uicli.jui.JUListSingleSelBinding;
    import oracle.jbo.uicli.jui.JUTextFieldBinding;
    public class ListePostesStdPnl extends JPanel implements JClientPanel
    // Panel binding definition used by design time
    private JUPanelBinding panelBinding = new JUPanelBinding("Test.BcModule", null);
    private JComboBox jComboBox1 = new JComboBox();
    private JList jList1 = new JList();
    * The default constructor for panel
    public ListePostesStdPnl()
    * Constructor that takes a shared panel binding
    public ListePostesStdPnl(JUPanelBinding binding)
    setPanelBinding(binding);
    * the JbInit method
    public void jbInit()
    this.setLayout(null);
    this.setSize(new Dimension(700, 524));
    panelBinding.setFindMode(true);
    jComboBox1.setBounds(new Rectangle(95, 30, 124, 20));
    jComboBox1.setModel(JUComboBoxBinding.createLovBinding(panelBinding, jComboBox1, "TypePosteView1", null, "TypePosteView1Iter", new String[] {"IdListePosteStandard"}, "ListePosteStandardView", new String[] {"Id"}, new String[] {"NameFr"}, null, null));
    jList1.setBounds(new Rectangle(45, 140, 170, 345));
    jList1.setModel(JUListSingleSelBinding.createNavigationBinding(panelBinding, jList1, "TypePosteView1", null, "TypePosteView1Iter", new String[] {"NameFr"}, null));
    this.add(jList1, null);
    this.add(jComboBox1, null);
    public static void main(String [] args)
    try
    UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
    catch(Exception exemp)
    exemp.printStackTrace();
    ListePostesStdPnl panel = new ListePostesStdPnl();
    JUTestFrame.testJClientPanel(panel, panel.getPanelBinding(), new Dimension(400, 300));
    * JUPanel implementation
    public JUPanelBinding getPanelBinding()
    return panelBinding;
    public void setPanelBinding(JUPanelBinding binding)
    if (binding.getPanel() == null)
    binding.setPanel(this);
    if (panelBinding == null || panelBinding.getPanel() == null)
    try
    panelBinding = binding;
    jbInit();
    catch(Exception ex)
    }

    Hi someone ;-)
    I have two views:
    - ListePosteStdView: binded to the table LISTE_POSTE_STANDARD (see SQL below)
    - TypePosteView1: binded to the table TYPE_POSTE (see SQL below)
    I have a panel displaying
    - a JComboBox, with a LOV binding ListePosteStd, updating a view named TypePosteView1
    - a JList, with a Navigation binding to the view TypePosteView1
    What I need is the JList to display the values of TypePosteView1 corresponding to the selected entry in the JComboBox.
    The table LISTE_POSTE_STANDARD has two entries
    The table TYPE_POSTE has two entries, both binded to the first entry of LISTE_POSTE_STANDARD.From the above description, it seems you need NavigationBinding in the combobox so that when you navigate the combo, appropriate detail set is shown in the list box. The listbox itself may be bound to yet another NavigationBinding or LovBinding as your case may be.

Maybe you are looking for

  • Services for Object - Store Business Documents (issue with XLSX files)

    Hi, We are using the Services for Object > Store Business Document to be able to drag and drop files into (for example) Sales Inquiry, Sales Order, Sales Quotations etc. Within OAC2 we have set up the global document types and these have been linked

  • Installation of CRM 2007 in Windows with oracle and cluster environment

    Dear Experts, We are about to start the installation of CRM 2007 (ABAP+JAVA) with Oracle 10g on Windows x64 in cluster environment. In the SAPINST dialog box under High availability option, I could see installation options like ASCS Instance, SCS Ins

  • Flashes on the monitor

    I am writing to see whether there is an explanation or solution even, to some odd behaviour with my mother's Mini - on all displays which has been hooked up to it, the screen flashes when sending and receiving messages on iChat (I think it is only wi

  • Toaster wont work

    Hi everybody, i´m new on a Mac so i need to learn about it. I would like to ask you more expert guys if you know why, after i installed Toaster, when i try to open it i receive this message: "The application has closed unexpected" or something simila

  • Export selected photos with comments

    How does one export selected photos (or an album) in such a way that when someone else imports them (on a different computer), the comments are preserved? That is, the recipient gets to see in their iPhoto the comments that the originator added in th