LOV Binding issue in ADF JClient Component Demonstration

hi
There seems to be a problem with committing the changes made with the "LOV Binding" in the "ADF JClient Component Demonstration".
see "ADF JClient Component Demonstration" :
http://www.oracle.com/technology/sample_code/products/jdev/1012/jclient_guide/adf_jclientcomponentdemo.zip
scenario (using JDeveloper 10.1.2) :
(1) run componentdemo.StartFrame
(2) click the first button to get to the "LOV Binding Demo"
(3) click in the "State" field and press F3
(4) select a new value from the "List Of Values", click OK
(5) notice the value in the "State" field has changed, click "File" > "Exit"
(6) click on "Commit" when asked "How do you want to close the transaction?"
(7) run componentdemo.StartFrame again and navigate to the "LOV Binding Demo" again
(8) notice that the "State" field still has its old value
How can this be explained?
thanks
Jan Vervecken

thanks for your reply Frank
To verify what the behavior would be in the JDeveloper version it was built for, I tried to open the Workspace in JDeveloper 9.0.5.2 and got this "Unable to Open File" message:
"File D:\<path>\ADFJClientComponentDemo.jws was saved in version 10120 file format and cannot be opened with an older version of JDeveloper 10g."
To make sure, I downloaded this again
http://www.oracle.com/technology/sample_code/products/jdev/1012/jclient_guide/adf_jclientcomponentdemo.zip
and I got the same error message.
Could you please hint to a solution for this (in JDeveloper 10.1.2 if possible).
greetings
Jan Vervecken

Similar Messages

  • JUComboBox LOV Binding Issue

    Hi,
    I am getting a problem in JUComboBoxLovBinding.
    Problem Description --
    I have created a JComboBox with used LovBinding (using two view objects -- resortVO and testVO ). The _resortVO is the LOV VO instance.
    There is one button which rollbacks the transaction and create a new row for the non-lov view object instance.
    I followed the following steps -->
    1. Run the application
    2. Press the Button.
    3. Select an item (say 'ResortA') from the combo box
    This sets the ResortId for the _testVO's current row.
    4. Again press the Button
    5. Then select the same item again i.e. ResortA.
    This does not set the ResortId for teh _testVO's current row.
    Question -- Why the ResortId is not get selected in Step 5?
    The sample code is here --
    package testapp;
    import java.awt.BorderLayout;
    import java.awt.Component;
    import java.awt.Dimension;
    import java.awt.Rectangle;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.awt.event.WindowAdapter;
    import java.awt.event.WindowEvent;
    import java.util.Hashtable;
    import javax.swing.DefaultListCellRenderer;
    import javax.swing.JButton;
    import javax.swing.JComboBox;
    import javax.swing.JFrame;
    import javax.swing.JList;
    import javax.swing.JPanel;
    import oracle.jbo.ApplicationModule;
    import oracle.jbo.AttributeDef;
    import oracle.jbo.Row;
    import oracle.jbo.ViewObject;
    import oracle.jbo.client.Configuration;
    import oracle.jbo.uicli.binding.JUApplication;
    import oracle.jbo.uicli.jui.JUComboBoxBinding;
    import oracle.jbo.uicli.jui.JUPanelBinding;
    public class TestJUComboLovBinding extends JFrame
        private BorderLayout _mainLayout = new BorderLayout();
        private JPanel _panelCenter = new JPanel();
        private JUPanelBinding _panelBinding;
        /**  ADD CUSTOM MEMBER VARIABLES HERE  **/
        private JComboBox _resortComboBox = new JComboBox();
        private ViewObject _resortVO,_testVO;
        private JButton _createButton = new JButton("Create");
        private int count = 0;
        /** CUSTOM MEMBER VARIABLES ENDS HERE  **/
        public TestJUComboLovBinding()
            try
                jbInit();
            } catch (Exception e)
                e.printStackTrace();
        private void jbInit() throws Exception
            this.setSize(350, 210);
            this.setBounds( new Rectangle(100, 80, 400, 250));
            this.setTitle( "Frame Title" );
            ApplicationModule appModule =
                Configuration.createRootApplicationModule(
                "testapp.TestAppModuleImpl", "TestAppModuleLocal");
            JUApplication app = new JUApplication(appModule);
            _panelBinding = new JUPanelBinding(app.getName(), null);
            _panelBinding.setApplication(app);
            _panelCenter.setLayout(_mainLayout);
            customJbInit();
            this.getContentPane().add("Center",_panelCenter);
            _panelBinding.executeIfNeeded();
        private void customJbInit()
            _resortVO = _panelBinding.getApplicationModule().findViewObject("VResort");
            _testVO = _panelBinding.getApplicationModule().findViewObject("VTest");
            AttributeDef[] attrDefs = _resortVO.getAttributeDefs();
            String[] allAttrNames = new String[attrDefs.length];
            for (int i = 0; i < attrDefs.length; i++)
                allAttrNames[i] = attrDefs.getName();
    _resortComboBox.setModel(
    JUComboBoxBinding.createLovBinding
    _panelBinding,
    _resortComboBox,
    _testVO.getName(),
    null,
    testVO.getName().replace('.','') + "IterBinding",
    new String[] {"ResortId"},
    _resortVO.getName(),
    new String[] {"ResortId"},
    allAttrNames,
    null,
    null
    _resortComboBox.addActionListener(
    new ActionListener() {
    public void actionPerformed(ActionEvent e ){
    if(_testVO != null && _testVO.getCurrentRow() != null)
    System.out.println("Resort ID -- > " + count++ + ":" + _testVO.getCurrentRow().getAttribute("ResortId"));
    _createButton.addActionListener(
    new ActionListener() {
    public void actionPerformed(ActionEvent e) {
    _panelBinding.getApplicationModule().getTransaction().rollback();
    _testVO.executeQuery();
    Row row = _testVO.createRow();
    _testVO.insertRow(row);
    panelCenter.add(resortComboBox,BorderLayout.NORTH);
    panelCenter.add(createButton,BorderLayout.SOUTH);
    public static void main(String[] args)
    TestJUComboLovBinding frame = new TestJUComboLovBinding();
    frame.addWindowListener(
    new WindowAdapter()
    public void windowClosing(WindowEvent evnt)
    System.exit(0);
    frame.setSize(new Dimension(400, 280));
    frame.pack();
    frame.setVisible(true);
    Thanks.

    Okay. So it's not the rollback.
    Reading your posting one more time, I see that in point 5 you write:
    "Then select the same item again".
    The problem does not occur when a different item is selected? If that's the case, then it's probably some kind of optimization in the binding that only sets the value when it actually changes.
    You could try to do something like that:
            _createButton.addActionListener(
                new ActionListener() {
                    public void actionPerformed(ActionEvent e) {
                        _panelBinding.getApplicationModule().getTransaction().rollback();
                        _testVO.executeQuery();
                        Row row = _testVO.createRow();
                        _testVO.insertRow(row);
                       // New line to insert:
                        _resortVO.reset();
            );This should ensure that a navigation happens.
    You can get the binding from the JUPanelBinding if your main application has access to that. See the getControlBinding() and findControlBinding() methods in JUFormBinding (a super class of JUPanelBinding).
    Sascha

  • Intro ADF Faces Tutorial Issue:  ADF Table Component and ADF Binding

    Hello, friends! I've hit a snag with ADF Faces Tutorial: ADF Table Component and ADF Binding: Step 7
    http://www.oracle.com/technology/obe/obe11jdev/11/rich_client/adfrichclient.htm#t11
    It was suggested by Steve Muench that I most likely have a syntax error and that I should post my problem here. I want to you thank you in advance for you help!
    When I execute the Run command on the main.jspx page, the page completes its load with the "fetching" message hanging over the table component. I get two sets of messages in my OC4J log that I cannot easily decipher, being a JDev/OC4J newbie.
    First, the OC4J startup messages:
    <blockquote>
    [Starting Embedded OC4J Server using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    C:\Documents and Settings\david ctr wilson-bur\My Documents\My Projects\JDev Projects\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j\config>
    C:\jdev11g\jdk\bin\javaw.exe -client -classpath C:\jdev11g\j2ee\home\oc4j.jar;C:\jdev11g\jdev\lib\jdev-oc4j-embedded.jar -Xverify:none -XX:MaxPermSize=512m -Ddisable.checkForUpdate=true -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false "-Djava.security.policy=C:\Documents and Settings\david ctr wilson-bur\My Documents\My Projects\JDev Projects\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j\config\java2.policy" oracle.oc4j.loader.boot.BootStrap -config "C:\Documents and Settings\david ctr wilson-bur\My Documents\My Projects\JDev Projects\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j\config\server.xml"
    [waiting for the server to complete its initialization...]
    Feb 21, 2008 9:10:20 AM oracle.j2ee.xml.XMLMessages warningException
    WARNING: Exception Encountered
    Feb 21, 2008 9:10:21 AM oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
    WARNING: findSystemUser: System user is not available from Credential Store.
    08/02/21 09:10:28 WARNING: ApplicationServer.enableOC4JDocumentChangeNotifier Alternate DocumentChangeNotifier in use!
    08/02/21 09:10:28 JMS server will listen on port 9227.
    08/02/21 09:10:29 oracle.j2ee.jms.oc4j.JMSServer startup complete
    Feb 21, 2008 9:10:29 AM oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
    WARNING: findSystemUser: System user is not available from Credential Store.
    Feb 21, 2008 9:10:30 AM oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
    WARNING: findSystemUser: System user is not available from Credential Store.
    Feb 21, 2008 9:10:35 AM oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
    WARNING: findSystemUser: System user is not available from Credential Store.
    Feb 21, 2008 9:10:36 AM oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
    WARNING: findSystemUser: System user is not available from Credential Store.
    Feb 21, 2008 9:10:36 AM oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
    WARNING: findSystemUser: System user is not available from Credential Store.
    Feb 21, 2008 9:10:36 AM oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
    WARNING: findSystemUser: System user is not available from Credential Store.
    Feb 21, 2008 9:10:36 AM oracle.j2ee.util.AnnotatedLogger logWithThrowable
    WARNING: J2EE JNDI-00002
    Feb 21, 2008 9:10:36 AM oracle.j2ee.util.AnnotatedLogger log
    WARNING: No javax.jms.ConnectionFactory found at null
    Feb 21, 2008 9:10:36 AM oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
    WARNING: findSystemUser: System user is not available from Credential Store.
    Feb 21, 2008 9:10:37 AM oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
    WARNING: findSystemUser: System user is not available from Credential Store.
    Feb 21, 2008 9:10:39 AM oracle.j2ee.jmsrouter.util.JmsRouterMessages logException
    WARNING: oracle.j2ee.jmsrouter.RouterException: JMS Destination, {0}, does not exist
    Ready message received from Oc4jNotifier.
    Embedded OC4J Server startup time: 35016 ms.
    </blockquote>
    Next, message for the Run command:
    <blockquote>
    Target URL -- http://127.0.0.1:8988/Tutorial-adffacesrc-context-root/faces/main.jspx
    Feb 21, 2008 9:10:55 AM com.evermind.server.http.HttpMessages warningHeaderModificationIsRejected
    WARNING: Header modification request was rejected. Because the setter method was called from included servlet. It is restricted by SRV.8.3 of Servlet Specification 2.4. : current-workspace-app
    Feb 21, 2008 9:10:55 AM ComponentMetadataHandler _error
    WARNING: Error parsing component tag in file: /Tutorial-adffacesrc-context-root/simple.jspx/tag:xmlContent/id:null
    org.xml.sax.SAXParseException: <Line 3, Column 44>: XML-20100: (Fatal Error) Expected 'EOF'.
         at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:422)
         at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:287)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:316)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:212)
         at oracle.xml.jaxp.JXSAXParser.parse(JXSAXParser.java:292)
         at oracle.adfinternal.view.faces.taglib.region.ComponentMetadataHandler._parseContent(ComponentMetadataHandler.java:276)
         at oracle.adfinternal.view.faces.taglib.region.ComponentMetadataHandler.handleContent(ComponentMetadataHandler.java:164)
         at oracle.adfinternal.view.faces.taglib.region.XmlContentTag.doEndTag(XmlContentTag.java:83)
         at simplejspx._ctru6_helper_3(_simple_jspx.java:375)
         at simplejspx._ctru0_helper_1(_simple_jspx.java:105)
         at simplejspx._jspService(_simple_jspx.java:59)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:60)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:488)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:706)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:627)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.security.jazn.oc4j.JAZNFilter$3.run(JAZNFilter.java:434)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:308)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:452)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:585)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_include(ServletRequestDispatcher.java:131)
         at com.evermind.server.http.ServletRequestDispatcher.access$000(ServletRequestDispatcher.java:37)
         at com.evermind.server.http.ServletRequestDispatcher$1.oc4jRun(ServletRequestDispatcher.java:80)
         at oracle.oc4j.security.OC4JPrivilegedAction.run(OC4JPrivilegedAction.java:41)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.oc4j.security.OC4JSecurity.internalDoPrivileged(OC4JSecurity.java:374)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:389)
         at com.evermind.server.http.OC4JRequestDispatcher.executeAction(OC4JRequestDispatcher.java:161)
         at com.evermind.server.http.ServletRequestDispatcher.include(ServletRequestDispatcher.java:84)
         at com.evermind.server.http.EvermindPageContext.include(EvermindPageContext.java:486)
         at oracle.adfinternal.view.faces.taglib.region.ComponentRefTag.__include(ComponentRefTag.java:367)
         at oracle.adfinternal.view.faces.taglib.region.ComponentRefTag.doEndTag(ComponentRefTag.java:209)
         at oracle.adfinternal.view.faces.taglib.region.PageTemplateTag.doEndTag(PageTemplateTag.java:75)
         at mainjspx._ctru4_helper_5(_main_jspx.java:367)
         at mainjspx._ctru3_helper_4(_main_jspx.java:307)
         at mainjspx._ctru1_helper_2(_main_jspx.java:232)
         at mainjspx._ctru0_helper_1(_main_jspx.java:173)
         at mainjspx._jspService(_main_jspx.java:105)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:60)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:488)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:706)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:627)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.security.jazn.oc4j.JAZNFilter$3.run(JAZNFilter.java:434)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:308)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:452)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:585)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:334)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:251)
         at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:168)
         at oracle.oc4j.security.OC4JPrivilegedAction.run(OC4JPrivilegedAction.java:41)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.oc4j.security.OC4JSecurity.internalDoPrivileged(OC4JSecurity.java:374)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:389)
         at com.evermind.server.http.OC4JRequestDispatcher.executeAction(OC4JRequestDispatcher.java:161)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:172)
         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:408)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:267)
         at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:442)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:115)
         at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:178)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:176)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:633)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:244)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:204)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:178)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.adfinternal.view.faces.webapp.rich.SharedLibraryFilter.doFilter(SharedLibraryFilter.java:135)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:281)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:69)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:281)
         at oracle.adfinternal.view.faces.activedata.ADSFilter.doFilter(ADSFilter.java:74)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:281)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:241)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:198)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:141)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
         at oracle.security.jazn.oc4j.JAZNFilter$3.run(JAZNFilter.java:434)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:308)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:452)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:583)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:334)
         at com.evermind.server.http.HttpRequestHandler.doDispatchRequest(HttpRequestHandler.java:942)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:843)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:646)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:614)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:405)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:168)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:149)
         at oracle.oc4j.network.ServerSocketReadHandler$ClientRunnable.run(ServerSocketReadHandler.java:275)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
         at java.lang.Thread.run(Thread.java:595)
    </blockquote>
    Please let me know if I need to provide any other relevant information.
    Thanks!
    David

    Dear All,
    I am fairly new to ADF development too. While following the Tutorial, I selected the "simple" page template. and check the "Create as XML Document (*.jspx). then click "OK", I got a similar SAXParseException exception, however the main.jspx seemed showed up correctly in the "Design" window. Any idea? Thanks a lot.
    Dachywan
    Customizations are disabled for the node "/C:/OTN/JDev11pv3/adfp/lib/oracle.extapp.view.jar!/WEB-INF/adfc-config.xml" because it is not part of the project contentset.
    Mar 10, 2008 5:41:50 PM com.sun.faces.config.ConfigureListener contextInitialized
    INFO: Initializing JavaServer Faces implementation (1_2_04-p02) for context ''
    Mar 10, 2008 5:41:51 PM com.sun.faces.spi.InjectionProviderFactory createInstance
    WARNING: JSF1033: Resource injection is DISABLED.
    Customizations are disabled for the node "/C:/OTN/JDev11pv3/adfp/lib/oracle.extapp.view.jar!/WEB-INF/adfc-config.xml" because it is not part of the project contentset.
    Mar 10, 2008 5:41:54 PM ComponentMetadataHandler _error
    WARNING: Error parsing component tag in file: null/tag:xmlContent/id:dte_171098d
    org.xml.sax.SAXParseException: <Line 9, Column 7>: XML-20100: (Fatal Error) Expected 'EOF'.
         at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:422)
         at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:287)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:316)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:212)
         at oracle.xml.jaxp.JXSAXParser.parse(JXSAXParser.java:292)
         at oracle.adfinternal.view.faces.taglib.region.ComponentMetadataHandler._parseContent(ComponentMetadataHandler.java:276)
         at oracle.adfinternal.view.faces.taglib.region.ComponentMetadataHandler.handleContent(ComponentMetadataHandler.java:164)
         at oracle.adfinternal.view.faces.taglib.region.XmlContentTag.doEndTag(XmlContentTag.java:83)
         at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer._doEndTag(DesignTimeJspActionRenderer.java:1604)
         at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.doEndTag(DesignTimeJspActionRenderer.java:1718)
         at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.executeTag(DesignTimeJspActionRenderer.java:2432)
         at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.executeNodeTag(DesignTimeJspActionRenderer.java:2242)
         at oracle.jdevimpl.webapp.design.renderer.FacesActionRenderer.executeNodeTag(FacesActionRenderer.java:1971)
         at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.renderImpl(DesignTimeJspActionRenderer.java:325)
         at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.render(DesignTimeJspActionRenderer.java:203)
         at oracle.jdevimpl.webapp.design.renderer.FacesActionRenderer.render(FacesActionRenderer.java:175)
         at oracle.jdevimpl.webapp.design.DesignTimeRenderer.renderChild(DesignTimeRenderer.java:996)
         at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.renderChild(DesignTimeJspActionRenderer.java:1403)
         at oracle.jdevimpl.webapp.design.DesignTimeRenderer.renderChildren(DesignTimeRenderer.java:974)
         at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.renderChildrenImpl(DesignTimeJspActionRenderer.java:1363)
         at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.renderChildren(DesignTimeJspActionRenderer.java:1268)
         at oracle.jdevimpl.webapp.design.renderer.FacesActionRenderer.renderChildren(FacesActionRenderer.java:897)
         at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.executeInnerAction(DesignTimeJspActionRenderer.java:2578)
         at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.executeTag(DesignTimeJspActionRenderer.java:2397)
         at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.executeNodeTag(DesignTimeJspActionRenderer.java:2242)
         at oracle.jdevimpl.webapp.design.renderer.FacesActionRenderer.executeNodeTag(FacesActionRenderer.java:1971)
         at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.renderImpl(DesignTimeJspActionRenderer.java:325)
         at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.render(DesignTimeJspActionRenderer.java:203)
         at oracle.jdevimpl.webapp.design.renderer.FacesActionRenderer.render(FacesActionRenderer.java:175)
         at oracle.jdevimpl.webapp.design.DesignTimeRenderer.renderChild(DesignTimeRenderer.java:996)
         at oracle.jdevimpl.webapp.design.DesignTimeRenderer.renderChildren(DesignTimeRenderer.java:974)
         at oracle.jdevimpl.webapp.jsp.renderers.JSPCoreSyntaxRenderer.render(JSPCoreSyntaxRenderer.java:191)
         at oracle.jdevimpl.webapp.design.support.jsp.DesignTimeJspServlet._renderSource(DesignTimeJspServlet.java:238)
         at oracle.jdevimpl.webapp.design.support.jsp.DesignTimeJspServlet.serviceJsp(DesignTimeJspServlet.java:115)
         at oracle.jdevimpl.webapp.design.support.jsp.DesignTimeJspServlet.service(DesignTimeJspServlet.java:71)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at oracle.jdevimpl.webapp.design.support.http.DesignTimeServletInfo.service(DesignTimeServletInfo.java:251)
         at oracle.jdevimpl.webapp.design.support.http.DesignTimeRequestDispatcher.dispatch(DesignTimeRequestDispatcher.java:271)
         at oracle.jdevimpl.webapp.design.support.http.DesignTimeRequestDispatcher.include(DesignTimeRequestDispatcher.java:81)
         at oracle.jdevimpl.webapp.design.support.jsp.DesignTimePageContext.include(DesignTimePageContext.java:465)
         at oracle.adfinternal.view.faces.taglib.region.ComponentRefTag.__include(ComponentRefTag.java:367)
         at oracle.adfinternal.view.faces.taglib.region.ComponentRefTag.doEndTag(ComponentRefTag.java:209)
         at oracle.adfinternal.view.faces.taglib.region.PageTemplateTag.doEndTag(PageTemplateTag.java:75)
         at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer._doEndTag(DesignTimeJspActionRenderer.java:1604)
         at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.doEndTag(DesignTimeJspActionRenderer.java:1718)
         at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.executeTag(DesignTimeJspActionRenderer.java:2432)
         at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.executeNodeTag(DesignTimeJspActionRenderer.java:2242)
         at oracle.jdevimpl.webapp.design.renderer.FacesActionRenderer.executeNodeTag(FacesActionRenderer.java:1971)
         at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.renderImpl(DesignTimeJspActionRenderer.java:325)
         at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.executeInnerAction(DesignTimeJspActionRenderer.java:2572)
         at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.executeTag(DesignTimeJspActionRenderer.java:2397)
         at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.executeNodeTag(DesignTimeJspActionRenderer.java:2242)
         at oracle.jdevimpl.webapp.design.renderer.FacesActionRenderer.executeNodeTag(FacesActionRenderer.java:1971)
         at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.renderParentElements(DesignTimeJspActionRenderer.java:967)
         at oracle.jdevimpl.webapp.design.renderer.FacesActionRenderer.renderCustomParentNode(FacesActionRenderer.java:1911)
         at oracle.jdevimpl.webapp.design.renderer.FacesActionRenderer.renderAsInclude(FacesActionRenderer.java:1778)
         at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.renderInclude(DesignTimeJspActionRenderer.java:1933)
         at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.renderImpl(DesignTimeJspActionRenderer.java:233)
         at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.render(DesignTimeJspActionRenderer.java:203)
         at oracle.jdevimpl.webapp.design.renderer.FacesActionRenderer.render(FacesActionRenderer.java:175)
         at oracle.jdevimpl.webapp.design.DesignTimeRenderer.renderChild(DesignTimeRenderer.java:996)
         at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.renderChild(DesignTimeJspActionRenderer.java:1403)
         at oracle.jdevimpl.webapp.design.DesignTimeRenderer.renderChildren(DesignTimeRenderer.java:974)
         at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.renderChildrenImpl(DesignTimeJspActionRenderer.java:1363)
         at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.renderChildren(DesignTimeJspActionRenderer.java:1268)
         at oracle.jdevimpl.webapp.design.renderer.FacesActionRenderer.renderChildren(FacesActionRenderer.java:897)
         at oracle.adfdtinternal.view.rich.renderer.ADFFacesActionRenderer.renderChildren(ADFFacesActionRenderer.java:100)
         at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.executeInnerAction(DesignTimeJspActionRenderer.java:2578)
         at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.executeTag(DesignTimeJspActionRenderer.java:2397)
         at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.executeNodeTag(DesignTimeJspActionRenderer.java:2242)
         at oracle.jdevimpl.webapp.design.renderer.FacesActionRenderer.executeNodeTag(FacesActionRenderer.java:1971)
         at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.renderImpl(DesignTimeJspActionRenderer.java:325)
         at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.render(DesignTimeJspActionRenderer.java:203)
         at oracle.jdevimpl.webapp.design.renderer.FacesActionRenderer.render(FacesActionRenderer.java:175)
         at oracle.jdevimpl.webapp.design.DesignTimeRenderer.renderChild(DesignTimeRenderer.java:996)
         at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.renderChild(DesignTimeJspActionRenderer.java:1403)
         at oracle.jdevimpl.webapp.design.DesignTimeRenderer.renderChildren(DesignTimeRenderer.java:974)
         at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.renderChildrenImpl(DesignTimeJspActionRenderer.java:1363)
         at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.renderChildren(DesignTimeJspActionRenderer.java:1268)
         at oracle.jdevimpl.webapp.design.renderer.FacesActionRenderer.renderChildren(FacesActionRenderer.java:897)
         at oracle.adfdtinternal.view.rich.renderer.ADFFacesActionRenderer.renderChildren(ADFFacesActionRenderer.java:100)
         at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.executeInnerAction(DesignTimeJspActionRenderer.java:2578)
         at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.executeTag(DesignTimeJspActionRenderer.java:2397)
         at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.executeNodeTag(DesignTimeJspActionRenderer.java:2242)
         at oracle.jdevimpl.webapp.design.renderer.FacesActionRenderer.executeNodeTag(FacesActionRenderer.java:1971)
         at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.renderImpl(DesignTimeJspActionRenderer.java:325)
         at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.render(DesignTimeJspActionRenderer.java:203)
         at oracle.jdevimpl.webapp.design.renderer.FacesActionRenderer.render(FacesActionRenderer.java:175)
         at oracle.jdevimpl.webapp.design.DesignTimeRenderer.renderChild(DesignTimeRenderer.java:996)
         at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.renderChild(DesignTimeJspActionRenderer.java:1403)
         at oracle.jdevimpl.webapp.design.DesignTimeRenderer.renderChildren(DesignTimeRenderer.java:974)
         at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.renderChildrenImpl(DesignTimeJspActionRenderer.java:1363)
         at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.renderChildren(DesignTimeJspActionRenderer.java:1268)
         at oracle.jdevimpl.webapp.design.renderer.FacesActionRenderer.renderChildren(FacesActionRenderer.java:897)
         at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.executeInnerAction(DesignTimeJspActionRenderer.java:2578)
         at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.executeTag(DesignTimeJspActionRenderer.java:2397)
         at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.executeNodeTag(DesignTimeJspActionRenderer.java:2242)
         at oracle.jdevimpl.webapp.design.renderer.FacesActionRenderer.executeNodeTag(FacesActionRenderer.java:1971)
         at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.renderImpl(DesignTimeJspActionRenderer.java:325)
         at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.render(DesignTimeJspActionRenderer.java:203)
         at oracle.jdevimpl.webapp.design.renderer.FacesActionRenderer.render(FacesActionRenderer.java:175)
         at oracle.jdevimpl.webapp.design.DesignTimeRenderer.renderChild(DesignTimeRenderer.java:996)
         at oracle.jdevimpl.webapp.design.DesignTimeRenderer.renderChildren(DesignTimeRenderer.java:974)
         at oracle.jdevimpl.webapp.jsp.renderers.JSPCoreSyntaxRenderer.render(JSPCoreSyntaxRenderer.java:191)
         at oracle.jdevimpl.webapp.design.support.jsp.DesignTimeJspServlet._renderSource(DesignTimeJspServlet.java:238)
         at oracle.jdevimpl.webapp.design.support.jsp.DesignTimeJspServlet.serviceJsp(DesignTimeJspServlet.java:115)
         at oracle.jdevimpl.webapp.design.support.jsp.DesignTimeJspServlet.service(DesignTimeJspServlet.java:71)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at oracle.jdevimpl.webapp.design.support.http.DesignTimeServletInfo.service(DesignTimeServletInfo.java:251)
         at oracle.jdevimpl.webapp.design.support.http.DesignTimeRequestDispatcher.dispatch(DesignTimeRequestDispatcher.java:271)
         at oracle.jdevimpl.webapp.design.support.http.DesignTimeRequestDispatcher.forward(DesignTimeRequestDispatcher.java:75)
         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:408)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:267)
         at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:442)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:115)
         at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:178)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:176)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:633)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:244)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:204)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
         at oracle.jdevimpl.webapp.design.support.http.DesignTimeServletInfo.service(DesignTimeServletInfo.java:251)
         at oracle.jdevimpl.webapp.design.support.http.DesignTimeRequestDispatcher$DesignTimeFilterChain.doFilter(DesignTimeRequestDispatcher.java:519)
         at oracle.adfinternal.view.faces.webapp.rich.SharedLibraryFilter.doFilter(SharedLibraryFilter.java:135)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:281)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:69)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:281)
         at oracle.adfinternal.view.faces.activedata.ADSFilter.doFilter(ADSFilter.java:74)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:281)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:241)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:198)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:141)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at oracle.jdevimpl.webapp.design.support.http.DesignTimeFilterInfo.doFilter(DesignTimeFilterInfo.java:346)
         at oracle.jdevimpl.webapp.design.support.http.DesignTimeRequestDispatcher$DesignTimeFilterChain.doFilter(DesignTimeRequestDispatcher.java:481)
         at oracle.jdevimpl.webapp.design.support.http.DesignTimeRequestDispatcher.dispatch(DesignTimeRequestDispatcher.java:267)
         at oracle.jdevimpl.webapp.design.support.http.DesignTimeServletContainerContext._service(DesignTimeServletContainerContext.java:861)
         at oracle.jdevimpl.webapp.design.support.http.DesignTimeServletContainerContext._serviceRequest(DesignTimeServletContainerContext.java:832)
         at oracle.jdevimpl.webapp.design.support.http.DesignTimeServletContainerContext.service(DesignTimeServletContainerContext.java:792)
         at oracle.jdevimpl.webapp.design.DesignTimeRenderWebApp.service(DesignTimeRenderWebApp.java:42)
         at oracle.jdevimpl.webapp.design.DesignTimeEngine.service(DesignTimeEngine.java:200)
         at oracle.jdevimpl.webapp.design.view.DomDesignTimeViewDocument._serviceJsp(DomDesignTimeViewDocument.java:1081)
         at oracle.jdevimpl.webapp.design.view.DomDesignTimeViewDocument.rebuildTreeImpl(DomDesignTimeViewDocument.java:217)
         at oracle.jdevimpl.webapp.design.view.DomDesignTimeViewDocument.rebuildImpl(DomDesignTimeViewDocument.java:125)
         at oracle.jdevimpl.webapp.model.content.dom.view.proxy.DomProxyViewDocument.rebuild(DomProxyViewDocument.java:140)
         at oracle.jdevimpl.webapp.model.content.dom.view.proxy.DomProxyViewDocument.handleActivated(DomProxyViewDocument.java:402)
         at oracle.jdevimpl.webapp.design.view.DomDesignTimeViewDocument.handleActivated(DomDesignTimeViewDocument.java:93)
         at oracle.jdevimpl.webapp.model.content.dom.view.proxy.DomProxyViewDocument.activate(DomProxyViewDocument.java:391)
         at oracle.jdevimpl.webapp.editor.XmlGuiEditor._activateViewDocument(XmlGuiEditor.java:389)
         at oracle.jdevimpl.webapp.editor.XmlGuiEditor.handleEnabled(XmlGuiEditor.java:368)
         at oracle.jdevimpl.webapp.editor.XmlGuiEditor.setEnabled(XmlGuiEditor.java:351)
         at oracle.jdevimpl.webapp.editor.XmlGuiEditor.setEnabled(XmlGuiEditor.java:333)
         at oracle.jdevimpl.webapp.editor.AbstractWebAppEditor.enable(AbstractWebAppEditor.java:551)
         at oracle.jdevimpl.webapp.editor.AbstractWebAppEditor._enableIfNecessary(AbstractWebAppEditor.java:649)
         at oracle.jdevimpl.webapp.editor.AbstractWebAppEditor.mav$_enableIfNecessary(AbstractWebAppEditor.java:80)
         at oracle.jdevimpl.webapp.editor.AbstractWebAppEditor$2.run(AbstractWebAppEditor.java:636)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

  • How to filter data in custom ADF JClient lov panel

    hi
    I'm developing with JDev 10.1.2.
    i have a Panel that use custom ADF JClient lov panel and i want to filter the lov data.
    i used setWhereClause() method to do it in lov panel but didn't work.
    Any help will be greatly appreciated.

    This was a lot more involved than I would have estimated (than I actually did estimate with my boss on our project timeline).
    Anyway, here is the solution for those of you trying to do the same thing;
    http://blogs.oracle.com/michaellee/2009/09/pre_filtering_table_data.html
    My personal request, create a Criteria for a VO, then allow me to just drag that over to a jsp page and give me a table/tree option, not just a query/button/link, and then give me a pop up box allowing me to bind variables.
    Edited by: user10419690 on Sep 14, 2009 9:03 AM

  • Multiple queries happeing in adf query component using LOV

    Hi,
    I am using a programmatic view object in adf query component and have created List of values for one attribute by adding another programmatic ViewObject as ViewAccessor.
    To populate the lov ViewObject, i have overwritten the method executeQueryForCollection in which i call the webservice to fetch the data. So lov is working fine inside QueryComponent.
    I have overwritten queryListener attribute of query component in my backing bean. In the queryListener method, to populate the result grid, am populating the view object by using createRow and insertRow apis. While doing so, Whenever i do setAttibute for the lov field, the overwrittern method executeQueryForCollection getting invoked. Hence my webService getting invoked. So if i have 10 rows, the webservice is getting invoked 10 times.
    I put sops in the executeQueryForCollection method for the queryMode and getName.
    System.out.println("executeQueryForCollection::::"+this.getQueryMode()); i get as 7
    System.out.println("executeQueryForCollection:::=" +this.getName());    i get as  CurrencySummaryLOVVO_5708_findByVC_   The number 5708 varies for every row.
    Please tell me How to avoid invoking the executeQueryForCollection everytime when i do setAttribute.
    One workaround i have currently is to have one dummry attribute for the lov which can be used for display in grid and actual attribute will be used in Query Component for the lov to function.
    Is there any other better workaround?
    Thanks a lot in Advance.
    Vivek
    Edited by: Vivek Singh on Oct 22, 2009 9:16 PM

    When you set a value to LOV field it tries to validate it from the LOV data. thats why it execute query.
    Try setting Row Level Bind Values = false for the accessor.
    yet, i would suggest to find an other way to populate values of LOV since the executeQueryForCollection will be executed many times when you use that LOV:
    [http://adfbugs.blogspot.com/2009/08/lov-execute-query-many-times.html]

  • [2 Bugs] BC4J/JClient 9.0.3 JComboBox + LOV Binding

    I may have stumbled across some other bugs.. Here's how you may reproduce them:
    2 Tables (both are filled with proper values, PK's and FK's are set):
    EMP(ID: NUMBER, DESC: VARCHAR2, DEPT_ID: NUMBER)
    DEPT(ID: NUMBER, DESC: VARCHAR2)
    All appropriate ViewObjects and stuff have been generated and are in place.
    I have a JClient Panel and on it sits a JComboBox.
    The model of the JComboBox is set through the property editor to a
    JClient LOV Binding which looks as follows: DEPT.ID goes into EMP.DEPT_ID
    and the displayed LOV attribute is: DEPT.DESC
    Now, when I run the program, I attempt to select a new value from the JComboBox.
    This will succeed, but as soon as the JComboBox looses focus, I get this exception:
    oracle.jbo.domain.DataCreationException: JBO-25009: Cannot create an object of type:
    oracle.jbo.domain.Number with value: <insert displayed value in JComboBox here>When I add DEPT.ID to the displayed LOV attributes, no exception is thrown.
    That's because the String "(some number) (spaces) (some string)" will in
    fact be parsed to a valid number.
    However, because of this measure, only the DEPT.ID will be shown in the JComboBox
    when it's in its 'closed state'.
    This leads me to the second bug. When selecting multiple attributes to be
    displayed into the JComboBox, the order in which I put them doesn't seem to
    'stick'. Everytime the ID attribute is first and the rest follows in the same
    order in which the table's columns have been defined. Re-ordering them
    manually in the property editor, doesn't seem to help. The order will be
    forgotten after I close and re-open the property editor.
    The first bug doesn't seem to have any real negative effect. The new value
    is stored nonetheless; after committing and restarting the application,
    all new values are still available.
    (Stack Trace follows)
    Hope This Helps
    Arno

    As promised, here's the stack trace. The 'offending' value is "Rubriek".
    Exception occurred during event dispatching:
    oracle.jbo.domain.DataCreationException: JBO-25009: Cannot create an object of type:oracle.jbo.domain.Number with value:Rubriek
      java.lang.Object oracle.jbo.domain.TypeFactory.get(java.lang.Class, java.lang.Class, java.lang.Object)
        TypeFactory.java:713
      java.lang.Object oracle.jbo.domain.TypeFactory.getInstance(java.lang.Class, java.lang.Object)
        TypeFactory.java:80
      int oracle.jbo.uicli.binding.JUCtrlListBinding.findListIndex(java.lang.Object)
        JUCtrlListBinding.java:567
      java.lang.Object oracle.jbo.uicli.binding.JUCtrlListBinding.findMatchingListValue(java.lang.Object)
        JUCtrlListBinding.java:425
      java.lang.Object oracle.jbo.uicli.controls.JUMultiAttrListEditor.getItem()
        JUMultiAttrListEditor.java:65
      void javax.swing.plaf.basic.BasicComboBoxUI$EditorFocusListener.focusLost(java.awt.event.FocusEvent)
        BasicComboBoxUI.java:1394
      void java.awt.AWTEventMulticaster.focusLost(java.awt.event.FocusEvent)
        AWTEventMulticaster.java:171
      void java.awt.Component.processFocusEvent(java.awt.event.FocusEvent)
        Component.java:3642
      void javax.swing.JComponent.processFocusEvent(java.awt.event.FocusEvent)
        JComponent.java:1980
      void java.awt.Component.processEvent(java.awt.AWTEvent)
        Component.java:3535
      void java.awt.Container.processEvent(java.awt.AWTEvent)
        Container.java:1164
      void java.awt.Component.dispatchEventImpl(java.awt.AWTEvent)
        Component.java:2593
      void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
        Container.java:1213
      void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
        Component.java:2497
      boolean java.awt.LightweightDispatcher.setFocusRequest(java.awt.Component)
        Container.java:2076
      void java.awt.Container.proxyRequestFocus(java.awt.Component)
        Container.java:1335
      void java.awt.Container.proxyRequestFocus(java.awt.Component)
        Container.java:1330
      void java.awt.Container.proxyRequestFocus(java.awt.Component)
        Container.java:1330
      void java.awt.Container.proxyRequestFocus(java.awt.Component)
        Container.java:1330
      void java.awt.Container.proxyRequestFocus(java.awt.Component)
        Container.java:1330
      void java.awt.Container.proxyRequestFocus(java.awt.Component)
        Container.java:1330
      void java.awt.Container.proxyRequestFocus(java.awt.Component)
        Container.java:1330
      void java.awt.Container.proxyRequestFocus(java.awt.Component)
        Container.java:1330
      void java.awt.Container.proxyRequestFocus(java.awt.Component)
        Container.java:1330
      void java.awt.Container.proxyRequestFocus(java.awt.Component)
        Container.java:1330
      void java.awt.Component.requestFocus()
        Component.java:4174
      void javax.swing.JComponent.grabFocus()
        JComponent.java:915
      void javax.swing.JComponent.requestFocus()
        JComponent.java:897
      void javax.swing.text.DefaultCaret.mousePressed(java.awt.event.MouseEvent)
        DefaultCaret.java:315
      void java.awt.AWTEventMulticaster.mousePressed(java.awt.event.MouseEvent)
        AWTEventMulticaster.java:221
      void java.awt.AWTEventMulticaster.mousePressed(java.awt.event.MouseEvent)
        AWTEventMulticaster.java:220
      void java.awt.Component.processMouseEvent(java.awt.event.MouseEvent)
        Component.java:3712
      void java.awt.Component.processEvent(java.awt.AWTEvent)
        Component.java:3544
      void java.awt.Container.processEvent(java.awt.AWTEvent)
        Container.java:1164
      void java.awt.Component.dispatchEventImpl(java.awt.AWTEvent)
        Component.java:2593
      void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
        Container.java:1213
      void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
        Component.java:2497
      void java.awt.LightweightDispatcher.retargetMouseEvent(java.awt.Component, int, java.awt.event.MouseEvent)
        Container.java:2451
      boolean java.awt.LightweightDispatcher.processMouseEvent(java.awt.event.MouseEvent)
        Container.java:2210
      boolean java.awt.LightweightDispatcher.dispatchEvent(java.awt.AWTEvent)
        Container.java:2125
      void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
        Container.java:1200
      void java.awt.Window.dispatchEventImpl(java.awt.AWTEvent)
        Window.java:922
      void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
        Component.java:2497
      void java.awt.EventQueue.dispatchEvent(java.awt.AWTEvent)
        EventQueue.java:339
      boolean java.awt.EventDispatchThread.pumpOneEventForHierarchy(java.awt.Component)
        EventDispatchThread.java:131
      void java.awt.EventDispatchThread.pumpEventsForHierarchy(java.awt.Conditional, java.awt.Component)
        EventDispatchThread.java:98
      void java.awt.EventDispatchThread.pumpEvents(java.awt.Conditional)
        EventDispatchThread.java:93
      void java.awt.EventDispatchThread.run()
        EventDispatchThread.java:85
    ## Detail 0 ##
    java.lang.NumberFormatException: k
      int java.lang.Integer.parseInt(java.lang.String, int)
        Integer.java:414
      int java.lang.Integer.parseInt(java.lang.String)
        Integer.java:463
      void java.math.BigDecimal.<init>(java.lang.String)
        BigDecimal.java:149
      void oracle.jbo.domain.Number.<init>(java.lang.String)
        Number.java:258
      java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[])
        native code
      java.lang.Object oracle.jbo.domain.TypeConvMapEntry.convert(java.lang.Class, java.lang.Class, java.lang.Object)
        TypeConvMapEntry.java:66
      java.lang.Object oracle.jbo.domain.TypeFactory.get(java.lang.Class, java.lang.Class, java.lang.Object)
        TypeFactory.java:681
      java.lang.Object oracle.jbo.domain.TypeFactory.getInstance(java.lang.Class, java.lang.Object)
        TypeFactory.java:80
      int oracle.jbo.uicli.binding.JUCtrlListBinding.findListIndex(java.lang.Object)
        JUCtrlListBinding.java:567
      java.lang.Object oracle.jbo.uicli.binding.JUCtrlListBinding.findMatchingListValue(java.lang.Object)
        JUCtrlListBinding.java:425
      java.lang.Object oracle.jbo.uicli.controls.JUMultiAttrListEditor.getItem()
        JUMultiAttrListEditor.java:65
      void javax.swing.plaf.basic.BasicComboBoxUI$EditorFocusListener.focusLost(java.awt.event.FocusEvent)
        BasicComboBoxUI.java:1394
      void java.awt.AWTEventMulticaster.focusLost(java.awt.event.FocusEvent)
        AWTEventMulticaster.java:171
      void java.awt.Component.processFocusEvent(java.awt.event.FocusEvent)
        Component.java:3642
      void javax.swing.JComponent.processFocusEvent(java.awt.event.FocusEvent)
        JComponent.java:1980
      void java.awt.Component.processEvent(java.awt.AWTEvent)
        Component.java:3535
      void java.awt.Container.processEvent(java.awt.AWTEvent)
        Container.java:1164
      void java.awt.Component.dispatchEventImpl(java.awt.AWTEvent)
        Component.java:2593
      void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
        Container.java:1213
      void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
        Component.java:2497
      boolean java.awt.LightweightDispatcher.setFocusRequest(java.awt.Component)
        Container.java:2076
      void java.awt.Container.proxyRequestFocus(java.awt.Component)
        Container.java:1335
      void java.awt.Container.proxyRequestFocus(java.awt.Component)
        Container.java:1330
      void java.awt.Container.proxyRequestFocus(java.awt.Component)
        Container.java:1330
      void java.awt.Container.proxyRequestFocus(java.awt.Component)
        Container.java:1330
      void java.awt.Container.proxyRequestFocus(java.awt.Component)
        Container.java:1330
      void java.awt.Container.proxyRequestFocus(java.awt.Component)
        Container.java:1330
      void java.awt.Container.proxyRequestFocus(java.awt.Component)
        Container.java:1330
      void java.awt.Container.proxyRequestFocus(java.awt.Component)
        Container.java:1330
      void java.awt.Container.proxyRequestFocus(java.awt.Component)
        Container.java:1330
      void java.awt.Container.proxyRequestFocus(java.awt.Component)
        Container.java:1330
      void java.awt.Component.requestFocus()
        Component.java:4174
      void javax.swing.JComponent.grabFocus()
        JComponent.java:915
      void javax.swing.JComponent.requestFocus()
        JComponent.java:897
      void javax.swing.text.DefaultCaret.mousePressed(java.awt.event.MouseEvent)
        DefaultCaret.java:315
      void java.awt.AWTEventMulticaster.mousePressed(java.awt.event.MouseEvent)
        AWTEventMulticaster.java:221
      void java.awt.AWTEventMulticaster.mousePressed(java.awt.event.MouseEvent)
        AWTEventMulticaster.java:220
      void java.awt.Component.processMouseEvent(java.awt.event.MouseEvent)
        Component.java:3712
      void java.awt.Component.processEvent(java.awt.AWTEvent)
        Component.java:3544
      void java.awt.Container.processEvent(java.awt.AWTEvent)
        Container.java:1164
      void java.awt.Component.dispatchEventImpl(java.awt.AWTEvent)
        Component.java:2593
      void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
        Container.java:1213
      void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
        Component.java:2497
      void java.awt.LightweightDispatcher.retargetMouseEvent(java.awt.Component, int, java.awt.event.MouseEvent)
        Container.java:2451
      boolean java.awt.LightweightDispatcher.processMouseEvent(java.awt.event.MouseEvent)
        Container.java:2210
      boolean java.awt.LightweightDispatcher.dispatchEvent(java.awt.AWTEvent)
        Container.java:2125
      void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
        Container.java:1200
      void java.awt.Window.dispatchEventImpl(java.awt.AWTEvent)
        Window.java:922
      void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
        Component.java:2497
      void java.awt.EventQueue.dispatchEvent(java.awt.AWTEvent)
        EventQueue.java:339
      boolean java.awt.EventDispatchThread.pumpOneEventForHierarchy(java.awt.Component)
        EventDispatchThread.java:131
      void java.awt.EventDispatchThread.pumpEventsForHierarchy(java.awt.Conditional, java.awt.Component)
        EventDispatchThread.java:98
      void java.awt.EventDispatchThread.pumpEvents(java.awt.Conditional)
        EventDispatchThread.java:93
      void java.awt.EventDispatchThread.run()
        EventDispatchThread.java:85
    Exception occurred during event dispatching:
    oracle.jbo.domain.DataCreationException: JBO-25009: Cannot create an object of type:oracle.jbo.domain.Number with value:Rubriek
      java.lang.Object oracle.jbo.domain.TypeFactory.get(java.lang.Class, java.lang.Class, java.lang.Object)
        TypeFactory.java:713
      java.lang.Object oracle.jbo.domain.TypeFactory.getInstance(java.lang.Class, java.lang.Object)
        TypeFactory.java:80
      int oracle.jbo.uicli.binding.JUCtrlListBinding.findListIndex(java.lang.Object)
        JUCtrlListBinding.java:567
      java.lang.Object oracle.jbo.uicli.binding.JUCtrlListBinding.findMatchingListValue(java.lang.Object)
        JUCtrlListBinding.java:425
      java.lang.Object oracle.jbo.uicli.controls.JUMultiAttrListEditor.getItem()
        JUMultiAttrListEditor.java:65
      void javax.swing.plaf.basic.BasicComboBoxUI$EditorFocusListener.focusLost(java.awt.event.FocusEvent)
        BasicComboBoxUI.java:1394
      void java.awt.AWTEventMulticaster.focusLost(java.awt.event.FocusEvent)
        AWTEventMulticaster.java:171
      void java.awt.Component.processFocusEvent(java.awt.event.FocusEvent)
        Component.java:3642
      void javax.swing.JComponent.processFocusEvent(java.awt.event.FocusEvent)
        JComponent.java:1980
      void java.awt.Component.processEvent(java.awt.AWTEvent)
        Component.java:3535
      void java.awt.Container.processEvent(java.awt.AWTEvent)
        Container.java:1164
      void java.awt.Component.dispatchEventImpl(java.awt.AWTEvent)
        Component.java:2593
      void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
        Container.java:1213
      void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
        Component.java:2497
      boolean java.awt.LightweightDispatcher.processFocusEvent(java.awt.event.FocusEvent)
        Container.java:2167
      boolean java.awt.LightweightDispatcher.dispatchEvent(java.awt.AWTEvent)
        Container.java:2130
      void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
        Container.java:1200
      void java.awt.Window.dispatchEventImpl(java.awt.AWTEvent)
        Window.java:922
      void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
        Component.java:2497
      void java.awt.EventQueue.dispatchEvent(java.awt.AWTEvent)
        EventQueue.java:339
      boolean java.awt.EventDispatchThread.pumpOneEventForHierarchy(java.awt.Component)
        EventDispatchThread.java:131
      void java.awt.EventDispatchThread.pumpEventsForHierarchy(java.awt.Conditional, java.awt.Component)
        EventDispatchThread.java:98
      void java.awt.EventDispatchThread.pumpEvents(java.awt.Conditional)
        EventDispatchThread.java:93
      void java.awt.EventDispatchThread.run()
        EventDispatchThread.java:85
    ## Detail 0 ##
    java.lang.NumberFormatException: k
      int java.lang.Integer.parseInt(java.lang.String, int)
        Integer.java:414
      int java.lang.Integer.parseInt(java.lang.String)
        Integer.java:463
      void java.math.BigDecimal.<init>(java.lang.String)
        BigDecimal.java:149
      void oracle.jbo.domain.Number.<init>(java.lang.String)
        Number.java:258
      java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[])
        native code
      java.lang.Object oracle.jbo.domain.TypeConvMapEntry.convert(java.lang.Class, java.lang.Class, java.lang.Object)
        TypeConvMapEntry.java:66
      java.lang.Object oracle.jbo.domain.TypeFactory.get(java.lang.Class, java.lang.Class, java.lang.Object)
        TypeFactory.java:681
      java.lang.Object oracle.jbo.domain.TypeFactory.getInstance(java.lang.Class, java.lang.Object)
        TypeFactory.java:80
      int oracle.jbo.uicli.binding.JUCtrlListBinding.findListIndex(java.lang.Object)
        JUCtrlListBinding.java:567
      java.lang.Object oracle.jbo.uicli.binding.JUCtrlListBinding.findMatchingListValue(java.lang.Object)
        JUCtrlListBinding.java:425
      java.lang.Object oracle.jbo.uicli.controls.JUMultiAttrListEditor.getItem()
        JUMultiAttrListEditor.java:65
      void javax.swing.plaf.basic.BasicComboBoxUI$EditorFocusListener.focusLost(java.awt.event.FocusEvent)
        BasicComboBoxUI.java:1394
      void java.awt.AWTEventMulticaster.focusLost(java.awt.event.FocusEvent)
        AWTEventMulticaster.java:171
      void java.awt.Component.processFocusEvent(java.awt.event.FocusEvent)
        Component.java:3642
      void javax.swing.JComponent.processFocusEvent(java.awt.event.FocusEvent)
        JComponent.java:1980
      void java.awt.Component.processEvent(java.awt.AWTEvent)
        Component.java:3535
      void java.awt.Container.processEvent(java.awt.AWTEvent)
        Container.java:1164
      void java.awt.Component.dispatchEventImpl(java.awt.AWTEvent)
        Component.java:2593
      void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
        Container.java:1213
      void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
        Component.java:2497
      boolean java.awt.LightweightDispatcher.processFocusEvent(java.awt.event.FocusEvent)
        Container.java:2167
      boolean java.awt.LightweightDispatcher.dispatchEvent(java.awt.AWTEvent)
        Container.java:2130
      void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
        Container.java:1200
      void java.awt.Window.dispatchEventImpl(java.awt.AWTEvent)
        Window.java:922
      void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
        Component.java:2497
      void java.awt.EventQueue.dispatchEvent(java.awt.AWTEvent)
        EventQueue.java:339
      boolean java.awt.EventDispatchThread.pumpOneEventForHierarchy(java.awt.Component)
        EventDispatchThread.java:131
      void java.awt.EventDispatchThread.pumpEventsForHierarchy(java.awt.Conditional, java.awt.Component)
        EventDispatchThread.java:98
      void java.awt.EventDispatchThread.pumpEvents(java.awt.Conditional)
        EventDispatchThread.java:93
      void java.awt.EventDispatchThread.run()
        EventDispatchThread.java:85

  • JClient Component Binding Demo

    Hi,
    I've a question about the JClient Component Binding Demo.
    If I look at the JUNavbar/JUStatusBar binding demo, and the Panel Binding pane,
    I see NO way how to add a new Line Item if the Order doesn't have already one.
    I understand that the problem is because no one of the Line Item entry fields gets the focus.
    What was your intention on how to add a row in an emty table?
    Thanks

    One way folks on OTN reported they've worked around this issue is to add an combo implementing iterator picker on the NavBar. Then when they end up in this situation, the users can select the right iterator and add rows to it by binding the navbar to that iterator (which is not focus-able due to no rows in it in a table display).
    Another way I would suggest is to trap a mouse-click event on the table and if clicked upon, make the navbar focus on the iterator that the table was bound to.

  • Performance Issues due to Loading of ADF/JClient View Objects

    Hi,
    I developed a two-tier ADF/JClient application.
    When the ADF/JClient application opens for the first time, there's a big delay
    However opening it subsequently, takes less than half of the time to open the screen.
    I think it might the xml files of different view objects which the framework loads for the first time, and thus takes a lot of time. And after that, the time to open the application reduces.
    We have around 200 view objects in our application. Can this be the reason?
    If yes, then can we load the view objects before ahead, or can we just load them at the very time they are requested ?
    Thanks,
    Makrand Pare

    Hi Makrand,
    Check this out:
    "Limiting Fetching of Business Components Attributes in ADF Swing
    http://www.oracle.com/webapps/online-help/jdeveloper/10.1.3/state/content/navId.4/navSetId._/vtTopicFile.developing_jclient_applications%7Cjui_plimitingfetching%7Ehtml/
    Note: In local mode deployment (the client and Business Components reside in the same VM), the fetching of attribute properties is not supported.
    You can optimize startup time for a Business Components client application and the remotely deployed Business Components by specifying the list of view object attributes that your client uses. If you create a project without the metadata, by coding to the API, you will want to add fetchAttributeProperties() to the bootstrap code of the client forms with a list of only the attributes used by the form. Without this method call, your client form would fetch all control hint properties (including the attributes format and label for example) for all the attributes of the named view objects in the application module, in a single network roundtrip.
    For example, when you do not intend to use all the attributes of the ADF Swing form's bound view object, with the fetchAttributeProperties() method, your ADF Swing form fetches only the information required to layout your forms, while ignoring the attributes you do not require.
    Note: In local mode deployment (the client and Business Components reside in the same VM), the fetching of attribute pro
    Calling fetchAttributeProperties() will prevent property methods such as getFormat() or getLabel() from being called on the Business Components attribute definition whenever the form is created."
    Vlad

  • ADF JClient migration (JDev 9.0.5.2 -- JDev 10.1.3.2)

    Hi all,
    is there anybody out there who could share some experiences in migrating a huge ADF/JClient-based application. Does anybody know a migration guide, or at least a description of a supported migration path?
    Would it be more promising to try it stepwise (9.0.5.2 -> 10.1.2 -> 10.1.3.x)?
    About a year ago we spend a few days to try to migrate from 9.0.5.2 to 10.1.2 but we encountered so many issues that we had to stop in order to keep in time with our release schedule.
    Now we plan to change the Java version from 1.4 to 1.5 and upgrade to JDev 10.1.3.2. Keeping the old ADF libraries everythings seems to work. But I would feel better with a more current version and improved Oracle support. We had to apply a few fixes to the ADF libs on our own. I would love to get rid of them. It's hard to get backports for such an old version.
    We currently use the following JDev related libraries in our project:
    adfjclient.jar, adfm.jar, bc4jct.jar, bc4jdomorcl.jar
    Which of the bunch of ADF-libraries in 10.1.3.2 do we have to add to our project? I would like to include as few JARs as possible.What about:
    bc4jui.jar, adfm.jar, bc4jct.jar, bc4jdomorcl.jar?
    Someone told me that the definition/structure of UIModels has changed between 10.1.2 and 10.1.3. He told me that the ADF code is capable to handle both version via if/else-constructs, but it would be better to use the new XML-layout in order to participate in new features. Is this true?
    As far as I could see JDev 10.1.3 only migrates project files and does not touch any of the ADF definition files. Is there any migration tool or script available in order to convert pre-10.1.3 UIModels?
    Thanks for any hints on that topic!
    Regards,
    Eric

    Hi Steve,
    thanks for your answer and sorry for the late response. Meanwhile I made a few tests on my own. In our application we don't use BC4J, only ADF for data binding.
    We have a lot of issues with 9.0.5.2 which weren't addressed in 10.1.2. In order to save resources we would like to load the ADF binding context (cpx-File) for our whole application only once during application startup. JUMetaObjectManager.getJUMom().loadCpx() and from then on only pass the binding context reference to setup the panel bindings (binding containers). When we close our forms we release the datacontrols. If we open a form for the second time (and try to setup the panel binding) we receive an error. If I recall correctly, the data control is (mistakenly?) removed from the context map inside of the binding context while releasing the datacontrol. But to my understanding the datacontrol has to be released in order to setup a fresh binding container while opening a form. If one removes the code to release the datacontrols one will receive an jbo error, that the binding container is alread there, which seems logically to me.
    In order to test the behavior of different ADF versions I extracted some code and build a simple testcase in JDev 9.0.5.2. Ofcourse the test case didn't work. I then migrated to 10.1.2 and the testcase didn't work. I migrated the testcase to 10.1.3.2 and what? The testcase still didn't work. I observed that the UIModels haven't changed during migration. I then copied all my code to a newly created project in 10.1.3.2 and rebuild the testcase. Now most of the XML files look different. I observed some other JDev design time issues as I did use Java 1.4 style code. After I changed the code to use generics these issues were resolved. Finally the testcase worked, without any code changes (besides the usage of generics in the model class).
    So I came to the conlusion that ADF has some kind of compatibility mode if it finds old XML files from previous versions. Ohter (probably old) code paths are chosen and you potentially suffer the same bugs as in previous versions. So it seems to be best to somehow migrate all XML-files to the new layout. Maybe via some XSL-transformations. That's why I asked for some kind of converter. Unfortunately there seems to be no real migration support from Oracle. This looks like a nightmare for huge projects like ours.
    Steve, your test seems to confirm my observations. Did you try to build the same form in 10.1.3 from scratch? What do you observe if you then compare all XML-Files (binding context definitions, page definitions, bean definitions...)?
    Regards,
    Eric

  • Error while using ADF map component

    I am facing problem while using ADF map component to display geographical addresses on the map. Steps I have followed are as follows :
    1. I have created a simple table with structure.
    location_name varchar2(20),
    longitude number(10),
    latitude(10)
    This table is having records for actual values.
    2. I have created BC objects for accessing this table.
    3. Then I have added this data control to the JSP page as a ADF map and point theme. Here I have specified map viewer URL as http://elocation.oracle.com/mapviewer/. I have binded values for longitude and latitude to the values from EO. I have specified point data value as location_name. No value is specified for category.
    With this setup when I try to execute the page, it is throwing following error.
    DVT-26007: Theme mapPointTheme1 cannot be displayed because data at row 0(rowId=0001000000055445535431) does not have value.
    Can someone guide me on this please.....
    Message was edited by:
    user609092

    Hi,
    When we add point theme to the map, we specify the data control binding to this theme. This binding is done against the attribute names from the data control. I want to bind this theme input values to some variables. So that it can be changed at runtime. I think this can be done if we are able to use EL. So is it possible to achieve this? Could you please suggest me any other alternative way to achieve this.
    Thanks,
    Prashant

  • ADF panelGroup component's background image in CSS does not render

    Hi,
    I have an issue with the panelGroup component, where a background-image specified in the styleClass DOES NOT RENDER when deployed on the OAS. It works fine when I run the page on my local OC4J.
    I've verified that the image I use is deployed correctly on the server.
    We are using :
    JDeveloper Studio Edition: 10.1.3.3.0.4157 (Build JDEVADF_10.1.3.3.0_NT_070619.1129.4157)
    Oracle Application Server: 10.1.3.5.0 running on RHEL 5.
    I'm customizing pages of an ADF application to change the branding and skinning. The page header region used in the application uses a 'panelPageHeader' and the image I need to introduce is part of branding and must be rendered above the application menus (2 levels: 1->MenuTabs, 2-MenuBar).
    If it would help to see how my page renders locally, here's the link: http://tech-nik-alley.blogspot.com/2010/09/adf-panelgroups-background-image.html
    (The brightly colored bar above the menus is newly introduced, ABC_Lightbar.jpg).
    Using an objectImage with my light_bar image as source, directly in the facet menu2, causes the alignment of all pages to get disrupted. Hence the work-around of using the image as a background.
    A copy of my pageHeader region is below, with comments. The panelGroup component newly introduced is in the facet "menu2". I've added the CSS definitions in the page as comments as appropriate.
    Any pointers on how to debug further, work-arounds etc. are appreciated.
    TIA and regards
    Deepak.
    =====MY PAGE HEADER REGION====
    <af:regionDef var="attr">
    <af:panelPageHeader styleClass="ss0" > <!—ss0 is "padding:0px;margin-left:14%;margin-right:14%;margin-top:0px;margin-bottom:0px;display:block;background-color:transparent;" -->
    <f:facet name="branding">     
    <af:panelGroup styleClass="ss_brand"> <!--ss_brand is "display:block;margin-bottom:12px" -->
    <af:objectImage shortDesc="#{imageBean['SS_COMPANY_LOGO'].description}"
    source="#{imageBean['SS_COMPANY_LOGO'].physicalName}"/>
    </af:panelGroup>
    </f:facet>
    <f:facet name="menuGlobal" >
    <af:panelGroup layout="horizontal" styleClass="ss00" rendered="#{attr.globalMenuShown}">     <!—ss00 is "margin-right:10px;" -->
    <f:facet name="separator">
    <af:objectImage source="#{imageBean['SS_GLOBAL_SEPARATOR'].physicalName}" shortDesc=""/>
    </f:facet>
    <af:menuButtons>
    <af:goMenuItem text="#{sessionBean.authenticated?pageHeaderBean.loggedInUserInfo:messageBean.SS_GEN_GUEST}"/>
    </af:menuButtons>
    <af:menuButtons startDepth="0" var="menuGlobal" value="#{menuModel.model}">
    <f:facet name="nodeStamp">
    <af:goMenuItem text="#{menuGlobal.label}"
    destination="#{menuGlobal.fileName}"
    rendered="#{menuGlobal.type=='global' &amp;&amp; menuGlobal.rendered}"
    />
    </f:facet>
    </af:menuButtons>
    </af:panelGroup>
    </f:facet>
    <f:facet name="menu1" >
    </f:facet>
    <f:facet name="menu2" >     <!-- facet menu2 originally has a 'menuTabs' (level 1 menu) on top of a 'menuBar' (level 2 menu) -->
                        <!-- Change required: introduce a light_bar image above level 1 menu (menuTabs). The image spans the page -->
    <af:panelGroup rendered="#{skinFamily.menuLayout=='horizontal' and attr.otherMenuShown}">
         <!--Change: new panelGroup introduced, with a background image in the styleClass -->
    <af:panelGroup layout="vertical" styleClass="pageHeaderLightBar"> <!-- pageHeaderLightBar is "background-image:url(/ss/skin/ABC/images/ABC_lightbar.jpg); " -->
    <!--<af:objectImage source="/ss/skin/ABC/images/ABC_lightbar.jpg"/>-->     <!--Specifying the image directly, disrupts the all other OOTB pages-->
    <af:objectSpacer width="22px"/>
    </af:panelGroup>
    <af:panelGroup styleClass="pageHeaderMenuLevelOne"> <!-- Another place where a back-ground image is used for a panelGroup using the styleclass -->
    <af:menuTabs startDepth="0" var="menuTab" value="#{menuModel.model}">     <!-- The level 2 menu using menuTabs -->
    <f:facet name="nodeStamp">
    <af:goMenuItem text="#{menuTab.label}"
    destination="#{menuTab.fileName}"
    rendered="#{menuTab.rendered and menuTab.type!='global'}"/>
    </f:facet>
    </af:menuTabs>
    <af:menuBar startDepth="1" var="menuBar" value="#{menuModel.model}">     <!--The level 2 menu using a menuBar -->
    <f:facet name="nodeStamp">
    <af:goMenuItem text="#{menuBar.label}"
    destination="#{menuBar.fileName}"
    rendered="#{menuBar.rendered}" />
    </f:facet>
    </af:menuBar>
    </af:panelGroup>
    </af:panelGroup>
    </f:facet>
    </af:panelPageHeader>
    </af:regionDef>
    ===================================

    'background-image:url("../image/Sunset.jpg")' is a relative URL... relative to the final generated markup. It should be wrong like 99% of the times. You should rather use a styleClass and deal with the background-image with skinning as the skinning engines knows how to deal with such urls. Note that you'll most likely have to define a new resource loader and servlet mapping for the ResourceServlet. I know someone made a blog entry about that, was it Frank or Shay? Hmmm cannot remember... Maybe John as well. Anyway a Google search should yield good results for adf resource loader I think.
    Regards,
    ~ Simon

  • Oracle ADF Calendar Component Customization

    Hi,
    I am starting my journey to learn ADF. I am using Oracle ADF Calendar component as read only calendar. We need to further customize the calender to incorporate CUD operations. I am using ADF BC @ business layer and which in turns talk to DB for Calendar entries.
    I am able to implement UI facets (like Hover effect, Detail Calendar Entry, Delete Entry) but I am not clear about how to implement the corresponding events (like delete event, edit event etc).
    I am using Dialog and which refers to a managed Bean component for listeners (e.g Delete Dialog refers to dialogListener="#{CustomCalendarBean.deleteListener}").
    My Question is,
    In the bean, to implement the listener, i would need to make use of Delete operation available in my Data Control (Exposed by ADF BC VO). I am not sure how to do the same. My managed bean is POJO and not sure how it can call Delete operation available in data control.
    Appreciate your help.
    Thanks, Mihir Parekh

    I am able to achieve this functionality with Operation Binding.

  • Change default text in adf faces component in Webcenter Spaces

    Hi ,
    Here is the link that I found to change the default text in adf faces component. http://www.oracle.com/technetwork/developer-tools/adf/learnmore/49-skin-component-labels-169191.pdf
    Scenario is simple :
    Taskflow "ABC" is used in webcenter space through imported Library in spaces App. Taskflow "ABC"  have the pageFragment "view1" and fragment has a adf table on that page. I was trying to change the "Detach" text using below code in above provided instruction. 
    { "af_panelCollection.LABEL_DETACH_TABLE_DLG", "Any name for the Detachable Table" },
    { "af_panelCollection.LABEL_DETACH_TREE_TABLE_DLG", "Any name for the Detachable Tree Table" }
    Query/Problem : I did change in the trinidad-skins.xml of DesignWCSpaces app ... redeployed the war.. But the text didn't changed. The above steps worked fine for individual ADF application ... SO what's wrong with implementation on Webcenter Spaces ?

    Hi.
    Basically you have to do the following:
    Create an ADF JAR Library including your Skin (JS, Images, CSS Skin, Resources Bundles and trinidad-skins.xml)
    Deploy the ADF JAR Library as Shared-lib in WebLogic.
    Include in your weblogic.xml of the WebCenter Portal (Formerly Spaces) deployment via DesignWebCenterSpaces or the new extension the reference to the shared-lib.
    Restart WebCenter Portal (Spaces). When starting WebCenter Portal (Spaces) it looks inside of the Classpath for all trinidad-skins.xml files.
    Setup your custom skin for a Space and test.
    If the Skin is not selectable in the Administration Console then register your new skin downloading/updating/uploading from the MDS the generic-site-resources.xml file of the default scope GUID.
    If you still have issues then may I priorize a Blog entry explaining this .
    Regards.

  • ERROR WHEN USING JHEADSTART TO GENERATE ADF BUSINESS COMPONENT FROM DESIGNE

    Use JDeveloper to generate a ADF Businness component using Jheadstart from
    Designer the following error is thrown
    oracle.jmig.source.ExtractorException: Caught SQL exception:ORA-01795: maximum number of expressions in a list is
    1000
    at oracle.jmig.source.designer.DesignerExtractor.extract(DesignerExtractor.java:136
    at oracle.jmig.MigrationRunnable.extract(MigrationRunnable.java:349)
    at oracle.jmig.MigrationRunnable.migrate(MigrationRunnable.java:183)
    at oracle.jmig.MigrationRunnable.run(MigrationRunnable.java:122)
    at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:551)
    at java.lang.Thread.run(Thread.java:595)

    Yes, this is a known issue. We will fix this for the next release.
    Having said that, the next release will contain the JHeadstart Forms2ADF generator which directly reads Oracle Forms .fmb files to ADF, without the need to use Oracle Designer, avoiding problems like this alltogether.
    Steven Davelaar,
    JHeadstart Team.

  • Pojo/List/ManagedBean/ADF RF component yeilds error "Target Unreachable", J

    Hello JDevelopers;
    (Pojo/List/ManagedBean/ADF RF component yields error "Target Unreachable", JSF component does not.)
    I am attempting to convert a page with jsf/html components to a page with ADF RF components.
    I am using a pojo that returns a List.
    The pojo is registered as a ManagedBean in adfc-config file.
    I am not using a data control.
    It all works fine with jsf/html components.
    The following <h:inputText> works fine when using jsf/html component.
         <h:inputText value="#{taskRnDController.task.taskNum}" required="true" </h:inputText>
    Changing it to an <af:inputText component and running the app produces the error listed below;
         <af:inputText value="#{taskRnDController.task.taskNum}" id="it1" label="Label 1" required="true"/>
    <LifecycleImpl> <_handleException> ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RENDER_RESPONSE 6
    javax.el.PropertyNotFoundException: Target Unreachable, 'task' returned null
         at com.sun.el.parser.AstValue.getTarget(Unknown Source)
         at com.sun.el.parser.AstValue.isReadOnly(Unknown Source)
         at com.sun.el.ValueExpressionImpl.isReadOnly(Unknown Source)
    this is the adfc-config file
    <managed-bean id="__3">
    <managed-bean-name id="__2">taskRnDController</managed-bean-name>
    <managed-bean-class id="__1">com.myorg.facade.TaskRnDController<;/managed-bean-class>
    <managed-bean-scope id="__4">session</managed-bean-scope>
    </managed-bean>
    I need an <af:form> and an <af:table> components on the same page so that when a user
    inserts a new record on the form and presses save btn it is immediately displayed
    within the <af:table>.
    I am stuck and any help is much appreciated.
    Edited by: 848693 on Jun 15, 2011 4:28 PM

    you just want to bind your input text to backing bean .then why you are using list ?
    It is very simple just use any variable and bind with your UI component
    Thanks
    Prateek

Maybe you are looking for

  • Make external hard drive read/write

    Not quite sure if there is in the right section but oh well. Here's the story: SeaGate FreeAgent GoFlex Drive (1.5TB) (THE FOLLOWING INFO WAS TAKEN FROM ITS APPLICATION: ("SEAGATE DRIVE SETTINGS") Drive Info Model: FA GoFlex Desk Firmware: 0D19 Volum

  • Draft View Not Displaying Correctly

    We have recently redesigned a website that is using Contribute which appears correctly on the live domain. However, whenever you try to edit a page within Contribute, the draft view doesn't show the new images or CSS. Does anyone know why this could

  • Query in MIGO

    Dear Experts, I had a small issue while doing MIGO Purchase order created for 100PCS and this is splitted 2 deliveries for 50pcs each While doing MIGO eventhough we are referencing one delivery document for 50 pcs, the system is clubbing up the two d

  • Screen Issues since upgrading

    Since upgrading to `lion,  my 2007 Macpro often runs very hot and also I have been experiencing some screen issues (hangs, on reboot get a pink and grey check effect, wont boot) Support center advised on some resets and a re-install of Lion.  However

  • Support at Adobe

    How can we get a proper answer to our questions regarding payments on subscriptions? Does anybody now whom to contact in Benelux? Some of the supporting staff seem quite uninterested in their customers and are rather rude instead of helpful. Anybody