Jdeveloper 11.1.1.3.0 and richfaces 3.3.3

I tryed to install richfaces 3.3.3 but after added jar files i get error below. (any info how to solve this)
Feb 11, 2011 1:55:03 PM oracle.bali.xml.grammar.QualifiedName validateNamespaceName
SEVERE: Attempt to create illegal qualified name! File a bug against the caller of QualifiedName.getQualifiedName (or ImmutableXmlKey.create*). This exception will be thrown instead of loggered soon. namespace=${renderer.family} name=${renderer.name}
java.lang.IllegalArgumentException: Illegal name start character for ${renderer.name}
     at oracle.bali.xml.util.XmlNameUtils.validateName(XmlNameUtils.java:22)
     at oracle.bali.xml.grammar.QualifiedName.validateNamespaceName(QualifiedName.java:208)
     at oracle.bali.xml.grammar.QualifiedName.<init>(QualifiedName.java:165)
     at oracle.bali.xml.grammar.QualifiedName.getQualifiedName(QualifiedName.java:58)
     at oracle.jdevimpl.webapp.faces.config.modelimpl.renderer.ReadOnlyRenderKitImpl._getRendererMap(ReadOnlyRenderKitImpl.java:158)
     at oracle.jdevimpl.webapp.faces.config.modelimpl.renderer.ReadOnlyRenderKitImpl.getRendererByTypeAndFamily(ReadOnlyRenderKitImpl.java:97)
     at oracle.jdevimpl.webapp.faces.metadata.AbstractFacesMetadataProvider._getRendererInfo(AbstractFacesMetadataProvider.java:398)
     at oracle.jdevimpl.webapp.faces.metadata.AbstractFacesMetadataProvider._getComponentAndRendererMetadata(AbstractFacesMetadataProvider.java:230)
     at oracle.jdevimpl.webapp.faces.metadata.AbstractFacesMetadataProvider.getLayerMetadata(AbstractFacesMetadataProvider.java:143)
     at oracle.jdevimpl.webapp.faces.metadata.AbstractFacesMetadataProvider.getLayerMetadataItem(AbstractFacesMetadataProvider.java:170)
     at oracle.bali.xml.metadata.LayeredMetadataProvider.getMetadataItem(LayeredMetadataProvider.java:116)
     at oracle.bali.xml.metadata.LayeredMetadataProvider.getMetadataItem(LayeredMetadataProvider.java:127)
     at oracle.bali.xml.metadata.LayeredMetadataProvider.getMetadataItem(LayeredMetadataProvider.java:127)
     at oracle.jdevimpl.webapp.metadata.DelegatingMetadataProvider.getMetadataItem(DelegatingMetadataProvider.java:35)
     at oracle.jdevimpl.webapp.metadata.ComplexMetadataProvider.getLayerMetadataItem(ComplexMetadataProvider.java:63)
     at oracle.bali.xml.metadata.LayeredMetadataProvider.getMetadataItem(LayeredMetadataProvider.java:116)
     at oracle.bali.xml.metadata.LayeredMetadataProvider.getMetadataItem(LayeredMetadataProvider.java:127)
     at oracle.bali.xml.metadata.LayeredMetadataProvider.getMetadataItem(LayeredMetadataProvider.java:127)
     at oracle.bali.xml.metadata.LayeredMetadataProvider.getMetadataItem(LayeredMetadataProvider.java:127)
     at oracle.bali.xml.metadata.LayeredMetadataProvider.getMetadataItem(LayeredMetadataProvider.java:127)
     at oracle.bali.xml.metadata.LayeredMetadataProvider.getMetadataItem(LayeredMetadataProvider.java:127)
     at oracle.bali.xml.metadata.LayeredMetadataProvider.getMetadataItem(LayeredMetadataProvider.java:127)
     at oracle.bali.xml.metadata.LayeredMetadataProvider.getMetadataItem(LayeredMetadataProvider.java:127)
     at oracle.bali.xml.metadata.LayeredMetadataProvider.getMetadataItem(LayeredMetadataProvider.java:127)
     at oracle.bali.xml.metadata.LayeredMetadataProvider.getMetadataItem(LayeredMetadataProvider.java:127)
     at oracle.bali.xml.metadata.CoreMetadataEvaluator.getLayerMetadataInfo(CoreMetadataEvaluator.java:206)
     at oracle.bali.xml.model.XmlMetadataEvaluator.getLayerMetadataInfo(XmlMetadataEvaluator.java:81)
     at oracle.bali.xml.metadata.LayeredMetadataEvaluator._getLayerMetadataItem(LayeredMetadataEvaluator.java:265)
     at oracle.bali.xml.metadata.LayeredMetadataEvaluator.getMetadataItemImpl(LayeredMetadataEvaluator.java:147)
     at oracle.jdevimpl.webapp.jsp.JspXmlModel$JspMetadataEvaluator.getMetadataItemImpl(JspXmlModel.java:323)
     at oracle.bali.xml.metadata.AbstractMetadataEvaluator.getMetadataItem(AbstractMetadataEvaluator.java:89)
     at oracle.bali.xml.metadata.XmlMetadataMethods.getDeprecated(XmlMetadataMethods.java:74)
     at oracle.bali.xml.model.XmlMetadataResolver.getDeprecatedImpl(XmlMetadataResolver.java:1369)
     at oracle.jdevimpl.webapp.jsp.JspMetadataResolver.getDeprecatedImpl(JspMetadataResolver.java:1003)
     at oracle.bali.xml.model.XmlMetadataResolver.getDeprecated(XmlMetadataResolver.java:579)
     at oracle.bali.xml.model.XmlMetadataResolver.isDeprecated(XmlMetadataResolver.java:2229)
     at oracle.bali.xml.model.XmlMetadataResolver._checkDeprecation(XmlMetadataResolver.java:5922)
     at oracle.bali.xml.model.XmlMetadataResolver.performAdditionalValidation(XmlMetadataResolver.java:298)
     at oracle.bali.xml.model.ModelValidationContext.performAdditionalValidation(ModelValidationContext.java:91)
     at oracle.bali.xml.validator.Validator._validateElement(Validator.java:378)
     at oracle.bali.xml.validator.Validator._validateChildren(Validator.java:621)
     at oracle.bali.xml.validator.Validator._validateElement(Validator.java:538)
     at oracle.bali.xml.validator.Validator._validateChildren(Validator.java:621)
     at oracle.bali.xml.validator.Validator._validateElement(Validator.java:538)
     at oracle.bali.xml.validator.Validator._validateChildren(Validator.java:621)
     at oracle.bali.xml.validator.Validator._validateElement(Validator.java:538)
     at oracle.bali.xml.validator.Validator._validateChildren(Validator.java:621)
     at oracle.bali.xml.validator.Validator._validateElement(Validator.java:538)
     at oracle.bali.xml.validator.Validator._validateElement(Validator.java:349)
     at oracle.bali.xml.validator.Validator.validateDocument(Validator.java:141)
     at oracle.bali.xml.validator.Validator.validateSubtree(Validator.java:85)
     at oracle.bali.xml.model.XmlModel._validateSubtree(XmlModel.java:3164)
     at oracle.bali.xml.model.XmlModel._validateDocument(XmlModel.java:3095)
     at oracle.bali.xml.model.XmlModel.__initializationComplete(XmlModel.java:2479)
     at oracle.bali.xml.model.XmlContext._initializeModel(XmlContext.java:307)
     at oracle.bali.xml.model.XmlContext._setSourceModel(XmlContext.java:2127)
     at oracle.bali.xml.model.XmlContext.setModel(XmlContext.java:325)
     at oracle.bali.xml.addin.XMLSourceNode._createAndInitXmlContext(XMLSourceNode.java:1533)
     at oracle.bali.xml.addin.XMLSourceNode._getXmlContext(XMLSourceNode.java:1487)
     at oracle.bali.xml.addin.XMLSourceNode.getXmlContext(XMLSourceNode.java:172)
     at oracle.bali.xml.gui.jdev.JDevXmlContext.getXmlContext(JDevXmlContext.java:207)
     at oracle.bali.xml.addin.XMLEditorAddin._getXmlContext(XMLEditorAddin.java:1023)
     at oracle.bali.xml.addin.XMLEditorAddin.createPlugins(XMLEditorAddin.java:865)
     at oracle.ide.ceditor.CodeEditor.installPluginsRegistered(CodeEditor.java:2196)
     at oracle.ide.ceditor.CodeEditor.initializeEditor(CodeEditor.java:2099)
     at oracle.ide.ceditor.CodeEditor.setContext(CodeEditor.java:1420)
     at oracle.ideimpl.editor.EditorState.createEditor(EditorState.java:161)
     at oracle.ideimpl.editor.EditorState.getOrCreateEditor(EditorState.java:95)
     at oracle.ideimpl.editor.SplitPaneState.canSetEditorStatePos(SplitPaneState.java:232)
     at oracle.ideimpl.editor.SplitPaneState.setCurrentEditorStatePos(SplitPaneState.java:195)
     at oracle.ideimpl.editor.SplitPaneState.loadStateInfo(SplitPaneState.java:409)
     at oracle.ideimpl.editor.TabGroupState.loadStateInfo(TabGroupState.java:970)
     at oracle.ideimpl.editor.TabGroup.loadLayout(TabGroup.java:1959)
     at oracle.ideimpl.editor.TabGroupXMLLayoutPersistence.loadComponent(TabGroupXMLLayoutPersistence.java:31)
     at oracle.ideimpl.controls.dockLayout.DockLayoutInfoLeaf.loadLayout(DockLayoutInfoLeaf.java:123)
     at oracle.ideimpl.controls.dockLayout.AbstractDockLayoutInfoNode.loadLayout(AbstractDockLayoutInfoNode.java:631)
     at oracle.ideimpl.controls.dockLayout.AbstractDockLayoutInfoNode.loadLayout(AbstractDockLayoutInfoNode.java:628)
     at oracle.ideimpl.controls.dockLayout.AbstractDockLayoutInfoNode.loadLayout(AbstractDockLayoutInfoNode.java:614)
     at oracle.ideimpl.controls.dockLayout.DockLayout.loadLayout(DockLayout.java:302)
     at oracle.ideimpl.controls.dockLayout.DockLayoutPanel.loadLayout(DockLayoutPanel.java:128)
     at oracle.ideimpl.editor.Desktop.loadLayout(Desktop.java:406)
     at oracle.ideimpl.editor.Desktop.loadLayout(Desktop.java:430)
     at oracle.ideimpl.editor.EditorManagerImpl.init(EditorManagerImpl.java:2022)
     at oracle.ide.layout.Layouts.activate(Layouts.java:812)
     at oracle.ide.layout.Layouts.activateLayout(Layouts.java:195)
     at oracle.ideimpl.MainWindowImpl$6.runImpl(MainWindowImpl.java:728)
     at oracle.javatools.util.SwingClosure$1Closure.run(SwingClosure.java:50)
     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
     at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
     at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
     at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Feb 11, 2011 1:55:03 PM FacesJspTagMapper
WARNING: Cannot instantiate tag class for Qualified Name http://richfaces.ajax4jsf.org/rich:calendar
Feb 11, 2011 1:55:05 PM FacesJspTagMapper
WARNING: Cannot instantiate tag class for Qualified Name http://richfaces.ajax4jsf.org/rich:orderingList
Feb 11, 2011 1:55:05 PM FacesJspTagMapper
WARNING: Cannot instantiate tag class for Qualified Name http://richfaces.ajax4jsf.org/rich:columns
Feb 11, 2011 1:55:05 PM FacesJspTagMapper

I add-ed
richfaces-api-xxx.jar
richfaces-impl-xxx.jar
richfaces-ui-xxxx.jar
http://www.shrani.si/f/3U/ur/3xjNBrFb/ora1.jpg
http://www.shrani.si/f/33/p7/3yzxdphY/ora2.jpg
http://www.shrani.si/f/p/112/46T5xqE5/ora3.jpg
Edited by: Peterv6i on Feb 13, 2011 7:42 PM

Similar Messages

  • JDeveloper 11.1.1.5.0 and the Fusion Order Sample Application

    Hi all
    I am trying to explore SOA Suite 11g features, particularly the BPM part. I am unable to find any tutorials relating to this feature (can someone point me to some?) and therefore am trying to simply install the Fusion Order demo to have a look around myself.
    I have installed JDeveloper 11.1.1.5.0 (and the SOA Composite Editor and BPM Studio add-ins) and am trying to get the Fusion Order demo to work with it. I downloaded the zip file from http://www.oracle.com/technetwork/developer-tools/jdev/learnmore/fod1111-407812.html and followed the instructions there but when I try to run the StoreFrontUI project all I get is a blank screen.
    The server log has messages:
    <AzUtil> <getPermClassLoadingErrorMessage> Cannot instantiate permission class "oracle.fodemo.storefront.store.view.AccountPermission", target "AccountPermission", or actions "view" as defined in the system policy context.
    and
    <ADFContext> <getCurrent> Automatically initializing a DefaultContext for getCurrent.
    Then theses messages appear
    <ApplicationImpl> <createComponent> JSF1004: Cannot instantiate component of type oracle.dss.adf.graph.Graph
    <NavigationPaneRenderer> <_renderContent> Warning: There are no items to render for this level
    I have also tried running the login.jspx page directly, which loads and presents me with a login screen, but using the FOD/fusion combination I had in the Build.Properties.xml I get the message invalid username/password and again get the message
    <AzUtil> <getPermClassLoadingErrorMessage> Cannot instantiate permission class "oracle.fodemo.storefront.store.view.AccountPermission", target "AccountPermission", or actions "view" as defined in the system policy context.
    Can anyone suggest what I might be happening, what I've done wrong?
    Thanks
    Roy

    Just for verification - which version of FOD did you download? what's the zip name?
    For SOA tutorials doucmentation on getting started see the SOA section here:
    http://download.oracle.com/docs/cd/E21764_01/develop.htm
    You might want to try posting on the SOA Suite forums for more tips on getting started.

  • JDeveloper 10.1.3.5.0 and jdk1.7.0_06

    Hi,
    I'm trying to use JDeveloper 10.1.3.5.0 with jdk1.7.0_06 and i'm getting the error "Unable to launch the Java Virtual Machine" at path... when trying to launch JDeveloper.
    I checked the path and jvm.dll is on the right path : path\jdk1.7.0_06\jre\bin\client\jvm.dll.
    I changed the jdev.conf with SetJavaHome set to path\jdk1.7.0_06.
    What other configuration should I make ?
    How do I know which Java version is supported by this version of JDeveloper ?
    Thank you for your help...
    Cheuyi

    Read the install guide for your version and you'll see that 10.1.3 is not certified with JDK 1.7
    Try using JDeveloper 11.1.1.6 instead.

  • Rendering Problems of JSF Tomahawk and Richfaces elements

    Hello,
    we developed a J2EE-Application on the Netweaver 7.0 (SP16) Platfarm, that uses JFS, Myfaces Tomahawk and Richfaces.
    It is developed as a "normal" J2EE Webmodule Project and works very well (even in the Portal).
    But one requiremant is, that the Application has to be a Development Component in a Development Track.
    So we ported the application into the Track without much trouble. But then we realized that many UI-Components, especially the Richfaces-Components do not render correctly.
    It seems, that the underlying Java-scrips are not generate properly, so that for example the Richfaces Calendar Component completetly fails. Also the scripts that apply certail style aspects to the UI-Components vanished.
    I have absolutely no idea, what could be the reason for that. There are no errors or exceptions. Just the underlying scripts are not generated or do not work.
    Does anybody have a hint what could be the solution?
    Regards,
    Jens Stolpmann
    Edited by: Jens Stolpmann on Jul 3, 2009 4:24 PM

    Hello,
    How did you manage to integrate RichFaces into your NWDS ? Do you have by any chance a tutorial that explains the steps to do it ?

  • Tiles and RichFaces ?? Calendar

    Do tiles and RichFaces can work together ? I have project, jsf 1.2, tiles, mvc spring, tomcat 6 and i'm trying to add richfaces calendar when I write <rich:calendar/> the calendar button shows but when I click nothing happens. When I write <rich:calendar popup="false" /> nothing appears on the page. Please help how to begin with RichFaces.

    Plnjmw, welcome to the forum.
    If you have Windows System Restore setup, I suggest going back to a Restore point before you began having the problem.  This will tell you if the update is the problem.
    Please click the "Thumbs up + button" if I have helped you and click "Accept as Solution" if your problem is solved.
    Signature:
    HP TouchPad - 1.2 GHz; 1 GB memory; 32 GB storage; WebOS/CyanogenMod 11(Kit Kat)
    HP 10 Plus; Android-Kit Kat; 1.0 GHz Allwinner A31 ARM Cortex A7 Quad Core Processor ; 2GB RAM Memory Long: 2 GB DDR3L SDRAM (1600MHz); 16GB disable eMMC 16GB v4.51
    HP Omen; i7-4710QH; 8 GB memory; 256 GB San Disk SSD; Win 8.1
    HP Photosmart 7520 AIO
    ++++++++++++++++++
    **Click the Thumbs Up+ to say 'Thanks' and the 'Accept as Solution' if I have solved your problem.**
    Intelligence is God given; Wisdom is the sum of our mistakes!
    I am not an HP employee.

  • Why Jdeveloper Version 10.1.3.3  and  10.1.3.5  settings folder?

    Hello Everybody,
    I am new to JDeveloper IDE. I wanted to know why the JDeveloper versions 10.1.3.3 and 10.1.3.5 do not create a settings folder named 'JDeveloper' under "C:\Documents and Settings\<username>\Application Data" path? In JDeveloper 11g preview release this folder is created when the IDE is run for the first time. I am using the 10g version as it has embedded OC4J server. I need the above mentioned settings folder to configure Oracle MapViewer.ear.
    If there is way to make the IDE create this settings folder under "C:\Documents and Settings\<username>\Application Data" kindly let me know? Or if any workarounds?
    Regards,
    Shiva

    do u have this done in your home system
    In this case you should can change the directory per 11g installation by setting the ide.user.dir property (use forward slashes) in the <middleware install dir>\jdeveloper\jdev\bin\jdev.boot file or add it to the startup script with -J-Dide.user.dir=<some directory>.

  • Support for Seam, Facelets and RichFaces

    Does OC4J provides support for Seam, Facelets and RichFaces?
    Thanks,
    Arun

    OC4J is just a Java EE container so it should be able to run any Java EE libraries.
    But maybe you should be asking this on the OC4J forum http://forums.oracle.com/forums/categoryHome.jspa?categoryID=84

  • Jsf and richfaces version compatibility issue

    Hi,
    I am using JRE 1.5 , jsf 1.2 , richfaces 3.3.3 and deployed in Tomcat 6.0.18. I am getting following error.
    javax.servlet.ServletException: /allocator.xhtml @30,163 <rich:tree> Tag Library supports namespace: http://richfaces.org/rich, but no tag was defined for name: tree
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:321)
    root cause
    javax.faces.view.facelets.TagException: /allocator.xhtml @30,163 <rich:tree> Tag Library supports namespace: http://richfaces.org/rich, but no tag was defined for name: tree
         com.sun.faces.facelets.compiler.CompilationManager.pushTag(CompilationManager.java:289)
         com.sun.faces.facelets.compiler.SAXCompiler$CompilationHandler.startElement(SAXCompiler.java:228)
         com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source)
         com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.startElement(Unknown Source)
         com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
         com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
         com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
         com.sun.org.apache.xerces.internal.parsers.XML11Configuration
    Thanks,
    BPradhan

    In my development box , I can use any version of jre, tomcat.
    But, we have our department dev and prod server configured with jre 1.5 and tomcat 6.0.18
    Some other applications are running in those environment with jre 1.5 and tomcat 6.0.18. I cannot upgrade just for new application.
    when tomcat6 was downloaded in our department dev and prod server , they are installed with jre5. Subsequently servers are upgraded with jre6 but it seems like tomcat recognises jre5 not jre6. Let me know if i am wrong about jre version tomcat is trying to use.
    Also, can you help me with the environment I have and problems i am encountering with jsf and richfaces.
    Thanks,
    BPradhan
    Edited by: user618018 on Feb 1, 2013 5:03 PM

  • JDeveloper 10.1.3.2.0 and database 11g, problem in JDBC ?

    We developed our j2ee application (using hibernate) for some time. Now we came to newer Oracle database 11g and have problem - endless waiting for fetched data. I think, that problem is in JDBC version.
    Adding new JDBC into project as new library and placing it 'before' the old one doesn't help. Btw. hibernate gets connection from applicationContext_dataSource.xml file and is defined for example like this
    <bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
    <property name="driverClassName" value="oracle.jdbc.driver.OracleDriver"/>
    <property name="url" value="jdbc:oracle:thin:@host:port:SID"/>
    <property name="username" value="name"/>
    <property name="password" value="password"/>
    </bean>
    It has nothing to do with defined conections.
    My question is this:
    - Can I upgrade JDBC in our 10.1.3.2.0 JDeveloper to new version or latest version of JDeveloper is needed ?
    Thanks.
    Message was edited by:
    jnejedly

    The OC4J server embedded in JDeveloper 11g does not support JDBC 4.0.
    Java applications using the JDBC 4.0 driver may be developed in JDeveloper 11g.

  • JDeveloper 10.1.2 with MySQL and PostgreSQL

    I'm testing JDeveloper 10.1.2 business components with mysql or postgresql because my company needs to connect also to these non-oracle DBs. ADF suits our developement needs, in speed and functionalities; anyway to make it our main developement system we need it to be compatible.
    I made three tests and they were all disappointing.
    At first, I installed MySQL 4.0 on my windows machine. I used the stable Connector/J 3.1
    and then MySQL Connector/J 3.0, but in both cases JDeveloper had a strange behaviour: I can make the connection, I can navigate correctly through all tables in the connection-navigator, I see all the column names etc... Anyway, as I try to build a "new Entity Object" from a table, there are no available table properties, like if the table had no columns.
    In this forum I only found documentation about rowid problems with mysql, but nothing about Entity Object wizard issues.
    Then I switched to PostgreSQL. I installed it locally, so I had to choose the 8.01 since I'm on a windows machine. JDBC driver: postgresql-8.0-310 jdbc3
    The developement test phase went ok, it is possible to use this DB just as if it was a Oracle, all the business components wizards works perfectly.
    The problem is at runtime, unfortunately. I built a simple datapage on the struts-config diagram and I dragged on it a "read-only table" from the data control palette.
    As I run the application, the embedded OC4J immediately returns this error:
    oracle.jbo.JboException: JBO-29000: JBO-29000: JBO-29000: JBO-26061: Errore durante lapertura della connessione JDBC.
    at oracle.jbo.JboException.<init>(JboException.java:343)
    (in english: Error during JDBC connection)
    There are no other available JDBC drivers for JVM 1.4x so I see no solution...
    I also tried to connect to an older PostgresSQL with its (older) JDBC but I get same the result.
    Anyone can help? Is it a JDev 10.1.2 issue?

    Hi Paolo.
    I'm also doing such tests.
    I did not ran into these problems because I created the busisness componentes using an Oracle connection first.
    After that, I switched the datatype of the table columns in the entity object to meet the SQL92 criteria ( like changing NUMBER(n) to INTEGER ).
    And then, I switched the connection to the postgreSQL or MySQL. This worked fine for me.
    But, the other big problem you will face is related to updating records using postgreSQL connection.
    Please see my post "Problem updating records using BC4J with foreign data sources" Problem updating records using BC4J with foreign data sources
    It would by fine if we help each other to solve this problems.
    Thanks
    Denis

  • JDeveloper 11.1.2.1, IE8 and erratic popup behavior

    I am trying to do a simple proof of concept in JDeveloper 11.1.2.1 involving a databound table and a popup. I want to add a row to the table by filling in a form on the popup. The popup is opened via an action by clicking a button in the form. I used the Code Corner example #77 as a template for adding rows. Using IE8 (not in compatibility mode), I click on the "Add" button and the popup opens. However, error messages in the dialog also appear indicating that non-null fields require values. Here's where it gets interesting. If I create the exact same form, managed bean, entity/view objects in JDeveloper 11.1.1.6, then everything works fine while adding rows. I am guessing I am missing some sort of property setting, but I have yet to find it. I am new to JDeveloper/ADF. Form structure and managed bean code is below. Any ideas?
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <f:view xmlns:f="http://java.sun.com/jsf/core" xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <af:document title="popuptest.jsf" id="d1">
    <af:messages id="m1" inline="false"/>
    <af:form id="f1">
    <af:table value="#{bindings.allDepartments.collectionModel}" var="row"
    rows="#{bindings.allDepartments.rangeSize}"
    emptyText="#{bindings.allDepartments.viewable ? 'No data to display.' : 'Access Denied.'}"
    fetchSize="#{bindings.allDepartments.rangeSize}" rowBandingInterval="0"
    selectedRowKeys="#{bindings.allDepartments.collectionModel.selectedRow}"
    selectionListener="#{bindings.allDepartments.collectionModel.makeCurrent}" rowSelection="single"
    id="t1" partialTriggers="::cb1" binding="#{CreateDepartmentPageHelper.departmentsTable}">
    <af:column sortProperty="#{bindings.allDepartments.hints.DepartmentId.name}" sortable="false"
    headerText="#{bindings.allDepartments.hints.DepartmentId.label}" id="c1">
    <af:outputText value="#{row.DepartmentId}" id="ot1">
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.allDepartments.hints.DepartmentId.format}"/>
    </af:outputText>
    </af:column>
    <af:column sortProperty="#{bindings.allDepartments.hints.DepartmentName.name}" sortable="false"
    headerText="#{bindings.allDepartments.hints.DepartmentName.label}" id="c2">
    <af:outputText value="#{row.DepartmentName}" id="ot2"/>
    </af:column>
    <af:column sortProperty="#{bindings.allDepartments.hints.ManagerId.name}" sortable="false"
    headerText="#{bindings.allDepartments.hints.ManagerId.label}" id="c3">
    <af:outputText value="#{row.ManagerId}" id="ot3">
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.allDepartments.hints.ManagerId.format}"/>
    </af:outputText>
    </af:column>
    <af:column sortProperty="#{bindings.allDepartments.hints.LocationId.name}" sortable="false"
    headerText="#{bindings.allDepartments.hints.LocationId.label}" id="c4">
    <af:outputText value="#{row.LocationId}" id="ot4">
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.allDepartments.hints.LocationId.format}"/>
    </af:outputText>
    </af:column>
    </af:table>
    <af:commandButton text="Add" id="cb1" partialSubmit="true"
    action="#{CreateDepartmentPageHelper.cb1_action}"/>
    <af:popup autoCancel="enabled" id="p1"
    binding="#{CreateDepartmentPageHelper.popup}"
    contentDelivery="lazyUncached" eventContext="self">
    <af:dialog id="d2">
    <f:facet name="buttonBar"/>
    <af:panelFormLayout id="pfl1">
    <af:inputText value="#{bindings.DepartmentId.inputValue}"
    label="#{bindings.DepartmentId.hints.label}"
    required="#{bindings.DepartmentId.hints.mandatory}"
    columns="#{bindings.DepartmentId.hints.displayWidth}"
    maximumLength="#{bindings.DepartmentId.hints.precision}"
    shortDesc="#{bindings.DepartmentId.hints.tooltip}" id="it1">
    <f:validator binding="#{bindings.DepartmentId.validator}"/>
    <af:convertNumber groupingUsed="false" pattern="#{bindings.DepartmentId.format}"/>
    </af:inputText>
    <af:inputText value="#{bindings.DepartmentName.inputValue}"
    label="#{bindings.DepartmentName.hints.label}"
    required="#{bindings.DepartmentName.hints.mandatory}"
    columns="#{bindings.DepartmentName.hints.displayWidth}"
    maximumLength="#{bindings.DepartmentName.hints.precision}"
    shortDesc="#{bindings.DepartmentName.hints.tooltip}" id="it2">
    <f:validator binding="#{bindings.DepartmentName.validator}"/>
    </af:inputText>
    <af:inputText value="#{bindings.ManagerId.inputValue}" label="#{bindings.ManagerId.hints.label}"
    required="#{bindings.ManagerId.hints.mandatory}"
    columns="#{bindings.ManagerId.hints.displayWidth}"
    maximumLength="#{bindings.ManagerId.hints.precision}"
    shortDesc="#{bindings.ManagerId.hints.tooltip}" id="it3">
    <f:validator binding="#{bindings.ManagerId.validator}"/>
    <af:convertNumber groupingUsed="false" pattern="#{bindings.ManagerId.format}"/>
    </af:inputText>
    <af:inputText value="#{bindings.LocationId.inputValue}"
    label="#{bindings.LocationId.hints.label}"
    required="#{bindings.LocationId.hints.mandatory}"
    columns="#{bindings.LocationId.hints.displayWidth}"
    maximumLength="#{bindings.LocationId.hints.precision}"
    shortDesc="#{bindings.LocationId.hints.tooltip}" id="it4">
    <f:validator binding="#{bindings.LocationId.validator}"/>
    <af:convertNumber groupingUsed="false" pattern="#{bindings.LocationId.format}"/>
    </af:inputText>
    </af:panelFormLayout>
    </af:dialog>
    </af:popup>
    </af:form>
    </af:document>
    <!--oracle-jdev-comment:preferred-managed-bean-name:CreateDepartmentPageHelper-->
    </f:view>
    BACKING BEAN CODE:
    package view;
    import javax.faces.context.FacesContext;
    import oracle.adf.model.BindingContext;
    import oracle.adf.model.binding.DCIteratorBinding;
    import oracle.adf.share.ADFContext;
    import oracle.adf.view.rich.component.rich.RichPopup;
    import oracle.adf.view.rich.component.rich.data.RichTable;
    import oracle.adf.view.rich.context.AdfFacesContext;
    import oracle.adf.view.rich.event.DialogEvent;
    import oracle.adf.view.rich.event.DialogEvent.Outcome;
    import oracle.adf.view.rich.render.ClientEvent;
    import oracle.binding.BindingContainer;
    import oracle.binding.OperationBinding;
    import oracle.adf.view.rich.util.ResetUtils;
    import oracle.jbo.Row;
    import oracle.jbo.server.ViewRowImpl;
    public class CreateDepartmentPageHelper {
    //old "current row" value is saved in view scope in case the rw creation is
    //cancelled, in which case this row needs to become current again
    final String OLD_CURR_KEY_VIEWSCOPE_ATTR = "__oldCurrentRowKey__";
    private RichPopup popup;
    private RichTable departmentsTable;
    public CreateDepartmentPageHelper() {
    public void setPopup(RichPopup popup) {
    this.popup = popup;
    public RichPopup getPopup() {
    return popup;
    //system generated method when you create a managed bean method for
    //a component that has an ADF binding referenced in its action listener
    public BindingContainer getBindings() {
    return BindingContext.getCurrent().getCurrentBindingsEntry();
    //command action that create a new row in teh departments table and then
    //opens an edit dialog for commit/cancel
    public String cb1_action() {
    BindingContainer bindings = getBindings();
    //get current row and save its rowKey in view scope for later use
    DCIteratorBinding dciter = (DCIteratorBinding) bindings.get("allDepartmentsIterator");
    Row oldCcurrentRow = dciter.getCurrentRow();
    //ADFContext is a convenient way to access all kinds of memory scopes.
    //If you like to be persistent in yur ADF coding then this is what you
    //want to use
    ADFContext adfCtx = ADFContext.getCurrent();
    adfCtx.getViewScope().put(OLD_CURR_KEY_VIEWSCOPE_ATTR,
    oldCcurrentRow.getKey().toStringFormat(true));
    //perform row create
    OperationBinding operationBinding = bindings.getOperationBinding("CreateInsert");
    Object result = operationBinding.execute();
    if (!operationBinding.getErrors().isEmpty()) {
    return null;
    //access the popup dialog and bring it up. The reference is through a
    //JSF component binding reference using the popup "binding" property
    RichPopup popup = this.getPopup();
    RichPopup.PopupHints hints = new RichPopup.PopupHints();
    //empty hints renders dialog in center of screen
    popup.show(hints);
    return null;
    public void onDialogAction(DialogEvent dialogEvent) {
    Outcome outcome = dialogEvent.getOutcome();
    //the dialog event only propagates yes, no, ok actions to the
    //server. The cancel outcome is only available on the browser
    //client. If there is a need to handle the cancel even then you
    //need to use a clientListener and JavaScript as we do on this
    //example
    if(outcome == Outcome.ok){
    //commit
    BindingContainer bindings = getBindings();
    OperationBinding operationBinding = bindings.getOperationBinding("Commit");
    Object result = operationBinding.execute();
    if (!operationBinding.getErrors().isEmpty()) {
    //handle errors if any
    return;
    AdfFacesContext.getCurrentInstance().addPartialTarget(this.getDepartmentsTable());
    public void setDepartmentsTable(RichTable departmentsTable) {
    this.departmentsTable = departmentsTable;
    public RichTable getDepartmentsTable() {
    return departmentsTable;
    //method that is called from the serverListener on the client. The server
    //listener is used to queue a custom event and pass information from the
    //client to the server using JavaScript. Its actually doing this Ajax thing
    //that everyone wants to do using the XmlHTTPRequest object
    public void onDialogCancel(ClientEvent clientEvent) {
    BindingContainer bindings = getBindings();
    RichPopup popup = this.getPopup();
    popup.hide();
    ResetUtils.reset(clientEvent.getComponent());
    //the cancel operation is executed with immediate=true to bypass the
    //model update. Therefore we manually deletethe new row from the iterator
    DCIteratorBinding dciter = (DCIteratorBinding) bindings.get("allDepartmentsIterator");
    dciter.removeCurrentRow();
    //set current row back to original row
    ADFContext adfCtx = ADFContext.getCurrent();
    String oldCurrentRowKey = (String) adfCtx.getViewScope().get(OLD_CURR_KEY_VIEWSCOPE_ATTR);
    dciter.setCurrentRowWithKey(oldCurrentRowKey);
    AdfFacesContext.getCurrentInstance().addPartialTarget(this.getDepartmentsTable());
    FacesContext fctx = FacesContext.getCurrentInstance();
    //we don't want to continue with the remainder of the lifecycle and
    //thus skip the rest
    fctx.renderResponse();
    }

    Hi Frank,
    Thanks for the reply. I retested with a .jspx file just to confirm my results. I've tried Facelets as well without success. Results for .jspx are as follows:
    1. If the add button PartialSubmit property is set to true, and the popup's ContentDelivery=lazyUncached, ChildCreation=deferred, and AutoCancel=disabled, then:
    the popup appears with error messages outlining the required fields
    2. If the add button PartialSubmit Property is set to false and popup properties are the same as above then the popup opens as expected. However, if an attempt is made to insert a duplicate record - using departments table as an example, trying to create a row with an existing department - then a red box appears around the DepartmentId cell in the popup without any error message. If I press OK again, then the duplicate key error message appears as expected.

  • JDeveloper 10.1.3.4.0 and getter/setter

    Is there a generate getter/setter functionality in this version of JDeveloper? I can't seem to find it.

    Hi :-)
    You can find this function at "Refactor -> Encapsulate Fields".
    If you wish to generate the methodes of a single variable, you must put your cursor at the declaration of this variable and call the function. Else you would generate methodes for all variables, if they dont even exists.
    Regards
    Majo
    Edited by: DerMajo on 16.10.2009 07:53

  • JSF 2.0 and Richfaces

    Hello,
    I want to integrate RichFaces to JSF 2.0 project. Please, what are the jar files that I include in my project and give me the procedure to follow to integrate in a RichFaces JSF 2.0.
    I need your help Thank you

    I think it is a little too early to demand such a thing. Richfaces 4 is only in the alpha stage right now - there is no documentation yet because the product isn't even finished yet!
    The best you can do is download the latest nightly build and see the readme that comes with it. If you cannot figure it out from there, you'll be best off the try and get Richfaces 3 working in a JSF 1.2 environment first - at least that is fully documented already. From there the changes for Richfaces 4 should be very minor.
    [http://www.jboss.org/richfaces/download/milestones.html|http://www.jboss.org/richfaces/download/milestones.html]

  • Jdeveloper PJC wizard demo not working and how to debug?

    Hi,
    Has anyone try the follow the steps in PJC wizard demo in http://www.oracle.com/technology/sample_code/products/forms/index.html?
    And is it working?
    I tried created the demo.securefield jar file in Jdeveloper in add the package in implementation class in the form text item but the function is not working.
    How I can debug whether the jave code is fired or not?
    And does anyone has the source code that is working can be shared.
    Regards,
    Anna

    Hello,
    You can put some System.out.println("the text i want to output"); functions anywhere in the java code, then see the output in the java console.
    Francois

  • Jdeveloper 11.1.2.1.0 and SQLJ

    I just downloaded 11.1.2.1.0 and installed. I tried to create a new SQLJ class file and under the database tier where I am supposed to expand it to select SQLJ file, there is only a database connection dialog. Under the 11.1.1.5.0 I could expand it and see SQLJ. Am I missing something, according to the manual it should be there. Can any one help?

    Tried that there is nothing under Database Tier, the SQLJ is missing, I removed JDeveloper and have redownloaded and installed again. Same thing.

Maybe you are looking for

  • Internal error when making a pdf  of a book in FM8

    Hello, I'm currently learning to work with Framemaker 8. When i wanted to pdf the book that i created, i get the following error message: Internal error8004, 6343116, 8483344, 0. Framemaker has detected a serious problem and must quit. A file named .

  • Scanning causes error when opening PDF

    Every time I scan or print with my HP Officejet 5610v, I can then no longer open a pdf by finding a file in the finder. When I try I get the following error: The document "iPhone intro.pdf" could not be opened. Acrobat cannot open files in the "Adobe

  • PM archive maintenance plan data

    Hi all, I try to archive maintenance plan by use t-code sara - select archive object PM_MPLAN - select maintenance plan for archive and run will shown message "no maintenance plan was selected" please help me to solve this problem, Thanks

  • Fraction program problem.

    Hi, ive done a program to compute two fractions, but im getting wierd results, and I know its because I stuffed up the logic in equals(), add(), and isZero(). Its saying some fractions are equal to 0 when they are not, and when it does add two fracti

  • Seeing Double (Again)

    Hi everyone, Eight months ago, my pc crashed (broken hard drive). I had most of my files backed up and when I attempted to import them from my external drive into my library, the majority of them (music, movies, etc) duplicated themselves. It took fo