JSF UI component view restore.

Good day,
Please help me with my problem.
The problem is:
I use this http://myfaces.apache.org/tomahawk/panelNavigation2 to make a menu on my site. Component renered perfect: I can open submenu items, click on them, todo some actions and so on. But if I will be redirected to another page the view of my menu cleared. I mean, that all items collapsed and there is no active menu item what had been clicked.
How can I realise a component view saving for example in session? I mean, If I click on some item I want to see this item opened after refresh.
This problem not in http://myfaces.apache.org/tomahawk/panelNavigation2 realisation, because if I use another components of the same type (rich components from JBOSS for example) I have the same....
Please help me!

I don't use tomahawk but in other similar components you have a flag or something that controls state, like expanded/collapsed, selectedItem, etc.
The problem is that the component will remember the state because it saves it internally as a local value. Thus as long as you are using the same view (viewId) the component state is stored in the component tree. The minute you go to another view, that view state is lost.
The answer is typically to create a managed bean, put it is session scope, and have it hold the view state. That way when you return to the view all of the expanded/collapsed, selectedItem, etc information is restore correctly.

Similar Messages

  • No Data in Field Scrap quantity (AMGLG) after Append DataSource 2LIS_04_P_COMP (Component View from PP/PP-PI)

    Hi experts,
    we enhanced the BI Content standard DataSource 2LIS_04_P_COMP "Component View from PP/PP-PI" with the field AMGLG (Scrap quantity) per maintenance of the relevant extract structure MC04P_0COM via LBWE:
    The enhancement of the extract structure worked fine.
    Unfortunately the enhanced field is not filled after the Statistical Setup of the LIS Application 04 "Production" (t/code OLI4BW).
    RSA3 -> 2LIS_04_P_COMP:
    Any ideas or experiences?
    Many thanks in advance and regards,
    Michael

    Attached one example:
    BW DataSource 2LIS_04_P_COMP:
    ERP Summarized BOM Multilevel (t/code CS13) Component 456:
    ERP Summarized BOM Multilevel (t/code CS13) Component 301:
    Any ideas why there are no values for the field AMGLG extracted?
    Thanks and regards,
    Michael

  • How to display the Component view in the Pop up

    HI.
    I created one Z Component.
    In that i put one Button name as a POPUP.
    when i press that Button i want open an another component View or Same Component another View.
    How it is possible.
    I am writing the code in Event Handler.
    CALL METHOD COMP_CONTROLLER->IF_BSP_WD_WINDOW_MANAGER~CREATE_POPUP
      EXPORTING
        IV_INTERFACE_VIEW_NAME = 'ZKRI_NAVIGATION/DetailsOV' 
        IV_USAGE_NAME          =  'ConfigStdAlone'
        IV_TITLE               = 'Hello'
      RECEIVING
        RV_RESULT              =  confirm_popup.
    confirm_popup->set_on_close_event( iv_event_name = 'POPUP_CLOSED' iv_view = me ).
      confirm_popup->open( ).
    But i did not get the Popup with the view.
    How it is possible. Please expalin how to call another view in pop up with in the Same Component.
    How to call another component view

    Hi,
    Did you create a component usage of the Z component in the Run time Repository ?
    You can look into any of the standard fields with an F4 help for sample code..like Business Partner etc.,
    Regards,
    Masood Imrani S.
    Edited by: Masood Imrani on May 12, 2009 4:23 PM

  • Reading the data from one component view into another component view

    Hi All,
    I have requirement to read the data from one component into another component while creating the service order. Here are the details.
    Main View for Service order: BT116H_SRVO in that we have two assignment blocks like Organizational data(BTORGSET) and amount allocation(BTAMNTALL).This two blocks are two different component which are associated with main component(BT116H_SRVO).
    I need to read the sales org data from component/View(BTORGSET/Orgsetdata) into Component/View(BTAMNTALL(HdrBillPlanDet) method DO_VALIDATE_INPUT.
    I searched in SDN but all the posts are related to the data exchange between two views in same component. But My scenario is different as explained above.
    Refer the attachments for the component link..
    Please let me know how we can achieve this one..
    Thanks,
    Sapsar.

    Finally I was able to fix my code...My Mistakes were need to read the parent node above three levels and need to use the relation entity name while reading the data..
    Below is the correction code
    IF iv_index IS NOT INITIAL.
         lr_iterator ?= collection_wrapper->get_iterator( ).
         lr_current ?= lr_iterator->get_by_index( iv_index ).
         lr_entity ?= lr_iterator->get_by_index( iv_index ).
       ELSE.
         lr_current = collection_wrapper->get_current( ).
       ENDIF.
    *loop back to root entity
             WHILE lr_entity->get_name( ) NE 'BTAdminH'.
               lr_entity = lr_entity->get_parent( ).
             ENDWHILE.
    *Get the related entity
             IF lr_entity IS BOUND.
               lr_collection ?= lr_entity->get_related_entities( iv_relation_name = 'BTHeaderOrgmanSet' ) .
               IF lr_collection IS BOUND.
                 lr_orgset_m = lr_collection->get_current( ).
    *            lr_orgset = lr_orgset_m->get_related_entity( iv_relation_name = 'BTOrgSet' ).
                 lr_orgset = lr_orgset_m->get_property_as_string( 'SALES_ORG' ).
               ENDIF.
             ENDIF.
    Thanks,
    Sapsar.

  • Error opening a business component view object - ExtendedTextArea missing

    Hi,
    I'm running the HRSystem demo from the oracle developer day, and get an error opening any business component view object, for example, JobsView.xml. The error is:
    oracle.classloader.util.AnnotatedNoClassDefFoundError:
         Missing class: oracle.javatools.ui.ExtendedTextArea
         Dependent class: java.awt.Component
         Loader: jre.bootstrap:1.6.0_05
         Code-Source: unknown
         Configuration: jre bootstrap
    The missing class is not available from any code-source or loader in the system.
         at oracle.classloader.PolicyClassLoader.handleClassNotFound (PolicyClassLoader.java:2180) [C:/Oracle/Middleware/jdeveloper/modules/oracle.classloader_11.1.1.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@14642381]
         at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLoader.java:1733) [C:/Oracle/Middleware/jdeveloper/modules/oracle.classloader_11.1.1.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@14642381]
         at oracle.classloader.PolicyClassLoader.access$000 (PolicyClassLoader.java:143) [C:/Oracle/Middleware/jdeveloper/modules/oracle.classloader_11.1.1.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@14642381]
         at oracle.classloader.PolicyClassLoader$LoadClassAction.run (PolicyClassLoader.java:331) [C:/Oracle/Middleware/jdeveloper/modules/oracle.classloader_11.1.1.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@14642381]
         at java.security.AccessController.doPrivileged (Native method) [unknown, by unknown]
         at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1692) [C:/Oracle/Middleware/jdeveloper/modules/oracle.classloader_11.1.1.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@14642381]
         at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1674) [C:/Oracle/Middleware/jdeveloper/modules/oracle.classloader_11.1.1.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@14642381]
         at java.lang.ClassLoader.loadClassInternal (ClassLoader.java:319) [jre bootstrap, by jre.bootstrap:1.6.0_05]
         at java.lang.Class.getDeclaredMethods0 (Native method) [unknown, by unknown]
         at java.lang.Class.privateGetDeclaredMethods (Class.java:2427) [jre bootstrap, by jre.bootstrap:1.6.0_05]
         at java.lang.Class.getDeclaredMethod (Class.java:1935) [jre bootstrap, by jre.bootstrap:1.6.0_05]
         at java.awt.Component.isCoalesceEventsOverriden (Component.java:5726) [jre bootstrap, by jre.bootstrap:1.6.0_05]
         at java.awt.Component.access$100 (Component.java:162) [jre bootstrap, by jre.bootstrap:1.6.0_05]
         at java.awt.Component$2.run (Component.java:5680) [jre bootstrap, by jre.bootstrap:1.6.0_05]
         at java.awt.Component$2.run (Component.java:5678) [jre bootstrap, by jre.bootstrap:1.6.0_05]
         at java.security.AccessController.doPrivileged (Native method) [unknown, by unknown]
         at java.awt.Component.checkCoalescing (Component.java:5677) [jre bootstrap, by jre.bootstrap:1.6.0_05]
         at java.awt.Component.<init> (Component.java:5646) [jre bootstrap, by jre.bootstrap:1.6.0_05]
         at java.awt.Container.<init> (Container.java:245) [jre bootstrap, by jre.bootstrap:1.6.0_05]
         at javax.swing.JComponent.<init> (JComponent.java:581) [jre bootstrap, by jre.bootstrap:1.6.0_05]
         at javax.swing.JPanel.<init> (JPanel.java:65) [jre bootstrap, by jre.bootstrap:1.6.0_05]
         at javax.swing.JPanel.<init> (JPanel.java:92) [jre bootstrap, by jre.bootstrap:1.6.0_05]
         at javax.swing.JPanel.<init> (JPanel.java:100) [jre bootstrap, by jre.bootstrap:1.6.0_05]
         at oracle.jbo.ui.wizard.JboWizardPanel.<init> (JboWizardPanel.java:94) [C:/Oracle/Middleware/jdeveloper/modules/oracle.adf.model_11.1.1/bc4jwizard.jar (from system property C:\Oracle\Middleware\jdeveloper\modules\oracle.adf.model_11.1.1\bc4jwizard.jar), by main:11.0]
         at oracle.jbo.dt.ui.main.dlg.DtuWizardPanel.<init> (DtuWizardPanel.java:67) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.BC4J.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.BC4J.jar), by main:11.0]
         at oracle.ecsf.dt.ui.SearchPanel.<init> (SearchPanel.java:84) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.ecsf.dt.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.ecsf.dt.jar), by main:11.0]
         at oracle.ecsf.dt.ui.SearchPage.jbInit (SearchPage.java:79) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.ecsf.dt.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.ecsf.dt.jar), by main:11.0]
         at oracle.ecsf.dt.ui.SearchPage.<init> (SearchPage.java:63) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.ecsf.dt.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.ecsf.dt.jar), by main:11.0]
         at oracle.ecsf.dt.ui.SearchFlatEditorListener.initEditor (SearchFlatEditorListener.java:41) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.ecsf.dt.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.ecsf.dt.jar), by main:11.0]
         at oracle.jbo.dt.jdevx.ui.editors.common.JeoEditorMulticaster.dispatchInitEditor (JeoEditorMulticaster.java:56) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.BC4J.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.BC4J.jar), by main:11.0]
         at oracle.jbo.dt.jdevx.ui.editors.JeoEditor.getGUI (JeoEditor.java:282) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.BC4J.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.BC4J.jar), by main:11.0]
         at oracle.jbo.dt.jdevx.ui.editors.JeoEditor.getPanel (JeoEditor.java:310) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.BC4J.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.BC4J.jar), by main:11.0]
         at oracle.jbo.dt.jdevx.ui.editors.JeoEditor.setContext (JeoEditor.java:341) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.BC4J.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.BC4J.jar), by main:11.0]
         at oracle.ideimpl.editor.EditorState.createEditor (EditorState.java:158) [C:/Oracle/Middleware/jdeveloper/ide/lib/ideimpl.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
         at oracle.ideimpl.editor.EditorState.getOrCreateEditor (EditorState.java:94) [C:/Oracle/Middleware/jdeveloper/ide/lib/ideimpl.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
         at oracle.ideimpl.editor.SplitPaneState.canSetEditorStatePos (SplitPaneState.java:231) [C:/Oracle/Middleware/jdeveloper/ide/lib/ideimpl.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
         at oracle.ideimpl.editor.SplitPaneState.setCurrentEditorStatePos (SplitPaneState.java:194) [C:/Oracle/Middleware/jdeveloper/ide/lib/ideimpl.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
         at oracle.ideimpl.editor.TabGroupState.createSplitPaneState (TabGroupState.java:103) [C:/Oracle/Middleware/jdeveloper/ide/lib/ideimpl.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
         at oracle.ideimpl.editor.TabGroup.addTabGroupState (TabGroup.java:379) [C:/Oracle/Middleware/jdeveloper/ide/lib/ideimpl.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
         at oracle.ideimpl.editor.EditorManagerImpl.createEditor (EditorManagerImpl.java:1400) [C:/Oracle/Middleware/jdeveloper/ide/lib/ideimpl.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
         at oracle.ideimpl.editor.EditorManagerImpl.createEditor (EditorManagerImpl.java:1334) [C:/Oracle/Middleware/jdeveloper/ide/lib/ideimpl.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
         at oracle.ideimpl.editor.EditorManagerImpl.openEditor (EditorManagerImpl.java:1260) [C:/Oracle/Middleware/jdeveloper/ide/lib/ideimpl.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
         at oracle.ide.editor.EditorUtil.openDefaultEditorInFrame (EditorUtil.java:164) [C:/Oracle/Middleware/jdeveloper/ide/extensions/oracle.ide.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
         at oracle.ide.editor.EditorUtil.openDefaultEditorInFrame (EditorUtil.java:127) [C:/Oracle/Middleware/jdeveloper/ide/extensions/oracle.ide.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
         at oracle.ide.editor.EditorUtil.openExplicitDefaultEditorInFrame (EditorUtil.java:67) [C:/Oracle/Middleware/jdeveloper/ide/extensions/oracle.ide.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
         at oracle.jbo.dt.jdevx.JdvIde.editSourceFile (JdvIde.java:1826) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.BC4J.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.BC4J.jar), by main:11.0]
         at oracle.jbo.dt.ui.main.DtuMenuManager.doFlatEditMenuAction (DtuMenuManager.java:1706) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.BC4J.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.BC4J.jar), by main:11.0]
         at oracle.jbo.dt.ui.main.DtuMenuManager.performMenuAction (DtuMenuManager.java:1595) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.BC4J.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.BC4J.jar), by main:11.0]
         at oracle.jbo.dt.ui.main.DtuMenuManager.doMenuAction (DtuMenuManager.java:1377) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.BC4J.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.BC4J.jar), by main:11.0]
         at oracle.jbo.dt.jdevx.ui.JdxMenuManager.doMenuAction (JdxMenuManager.java:892) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.BC4J.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.BC4J.jar), by main:11.0]
         at oracle.jbo.dt.jdevx.deployment.ui.JxdMenuManager.doMenuAction (JxdMenuManager.java:66) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.bc4jdt.deploy.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.bc4jdt.deploy.jar), by main:11.0]
         at oracle.jbo.dt.ui.main.DtuMenuManager.doAction (DtuMenuManager.java:1363) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.BC4J.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.BC4J.jar), by main:11.0]
         at oracle.jbo.dt.ui.main.DtuMenuManager.doAction (DtuMenuManager.java:1348) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.BC4J.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.BC4J.jar), by main:11.0]
         at oracle.jbo.dt.jdevx.ui.JdxMenuManager.doActionPerformed (JdxMenuManager.java:694) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.BC4J.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.BC4J.jar), by main:11.0]
         at oracle.jbo.dt.jdevx.ui.JdxMenuInvoker.run (JdxMenuManager.java:2111) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.BC4J.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.BC4J.jar), by main:11.0]
         at java.awt.event.InvocationEvent.dispatch (InvocationEvent.java:209) [jre bootstrap, by jre.bootstrap:1.6.0_05]
         at java.awt.EventQueue.dispatchEvent (EventQueue.java:597) [jre bootstrap, by jre.bootstrap:1.6.0_05]
         at java.awt.EventDispatchThread.pumpOneEventForFilters (EventDispatchThread.java:273) [jre bootstrap, by jre.bootstrap:1.6.0_05]
         at java.awt.EventDispatchThread.pumpEventsForFilter (EventDispatchThread.java:183) [jre bootstrap, by jre.bootstrap:1.6.0_05]
         at java.awt.EventDispatchThread.pumpEventsForHierarchy (EventDispatchThread.java:173) [jre bootstrap, by jre.bootstrap:1.6.0_05]
         at java.awt.EventDispatchThread.pumpEvents (EventDispatchThread.java:168) [jre bootstrap, by jre.bootstrap:1.6.0_05]
         at java.awt.EventDispatchThread.pumpEvents (EventDispatchThread.java:160) [jre bootstrap, by jre.bootstrap:1.6.0_05]
         at java.awt.EventDispatchThread.run (EventDispatchThread.java:121) [jre bootstrap, by jre.bootstrap:1.6.0_05]
    I searched for this class, and it is supposed to be in uic.jar. However, when I opened that jar file it was not there. Did I set something up wrong, or is this a bug in jdeveloper?

    When I am trying to open a VO inside JDeveloper for editing. The issue appears only to be with the VO's, even the ones that were automatically created at the start of the tutorial. Other types of objects can be opened for editing without incident.
    Here is my versioning info:
    ADF Business Components     11.1.1.52.5
    CVS Version     Internal to Oracle JDeveloper 11g (client-only)
    Java(TM) Platform     1.6.0_05
    Oracle IDE     11.1.1.0.31.52.05
    Versioning Support     11.1.1.0.31.52.05

  • Standard Costing : CK11N (Inconsistent Cost Component Views)

    Hi,
    I have created the cost sheet with below information:
    A) Material
    B) + Labour
    C) +Indirect Labour (% of Labour)
    D) + Utilities
    E) + Production overhead (% of Material)
    F) Cost of Goods Manufactured (Total of A to E)
    G) Admin overhead (% of COGM)
    H) Sales overhead (% of COGM)
    I)  Cost of Goods Sold (F to H)
    Also Cost component structure is maintained accordingly with the cost elements applicable to above mentioned components.
    When I run the cost estimate for the FG/SFG, cost is calculated in the expected way consindering all the components mentione above and displayed in "Itemisation" View.
    But the problem has been in the Cost component view of costing run.
    I have activated only three views i.e. Cost of Goods Manufactured , Cost of Goods Sold and Sales and Admininstration Cost.
    1. Costs are not appearing under the respective components correctly.
    2. Sales and administration cost component is displaying Material cost instead of the overhead
    3. Utilities is having very high cost (not the sum of costs appearing in itemisation)
    4. Component Material is totally disappeared and not visible.
    I request experts to comment on this disparity and suggest the steps that need to be taken for getting the right cost compnent views.
    Thanks in advance.
    Regards,
    Viswanath

    Hi
    Check cost elements assigned to structure.  For this go to transaction code OKTZ and select your CCS and double click on Assignment Cost Component-Cost element interval.
    Srinivas

  • Cost component view German instead of English

    When I display product cost estimate with quantity structure. Under the tab costs all the cost component view description show up in German. In our development and test client they show up fine in English. I don't know if this problem has any thing to do with costing at all but I was just wondering if any of you faced this problem and how did you solve the issue. If this is not the forum can you please point me to where should I pose this question.
    Regards

    Hi NIK83,
    When a cost estimate and its itemization is saved in txn CK11N, the text of the items is only written in one language to database table CKIT. So if somebody who was logged on in German created and saved the cost estimate, everybody who displays this cost estimate in CK13N will  see German texts. This is the design of the database tables. If there would be texts           
    for the items in every language installed in your system, the data volume would increase significantly.                                                                               
    However, you can change the layout of the itemization and the cost structure by adding certain columns, e.g. material description, with the English texts. You can save this layout and make it available to all users.                                                                       
    Regards,
    Antje

  • JSF custom component

    Hi
    I have created a JSF cutom component , which has some javascript files. If i use the component within the same project my path for accessing the JS files is :- js/task.js (Its in public/html folder) .
    My problem is that when I use this custom component in some other project i am not able to access the js file ( Js file are deployed with other source file in ADF Library Jar) . As I have to hard code the path of JS files in the render can any one please tell me what will be the path for accessing the JS files.
    i heard ADFLibraryFilter is used for the purpose. Anyone please shed more light on it.

    Thanx Frank for your help .
    I am generating html from the rendererm, in the encodeBegin method i have now written <script type="text/javascript" src="adflibResources/js/task.js"></script>
    But still the script isn't loading on the page
    I added the following code in web.xml but Jdeveloper (Studio Edition Version 11.1.1.1.0) is complaining that "refernce oracle.adf.library.webapp.LibraryFilter and oracle.adf.library.webapp.ResourceServlet not found. I am using Fusion Web Application (ADF) as the application template.
    <filter>
    <filter-name>ADFLibraryFilter</filter-name>
    <filter-class>oracle.adf.library.webapp.LibraryFilter</filter-class>
    <init-param>
    <param-name>provider-lazy-inited</param-name>
    <param-value>true</param-value>
    </init-param>
    </filter>
    <filter-mapping>
    <filter-name>ADFLibraryFilter</filter-name>
    <url-pattern>/*</url-pattern>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>REQUEST</dispatcher>
    </filter-mapping>
    <servlet>
    <servlet-name>adflibResources</servlet-name>
    <servlet-class>oracle.adf.library.webapp.ResourceServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>adflibResources</servlet-name>
    <url-pattern>/adflib/*</url-pattern>
    </servlet-mapping>

  • Multiple component view in integration scenario

    Hi
      I have <b>multiple component views</b> defined in my integration scenario.
      When i try to configure these component view in Integration directory in integration scenarion configurator, if I select the component view i want to apply then the systems give a message " All configuration settings made in the current component view will be lost".
      This means that if i have configured the first component view and then try to configure the second component view then setting of first view get lost.
      i want to have all the configure all the component views in the integration scenario.
    Please provide some pointers for the issue.
    Thanks in advance
    Regards,
    Amit Deshpande

    Amit,
    When you have multiple component views in the Integration scenario, you would ideally want to create separate configuration scenarios for each component view.
    So for eg. if you have four component views, 4 different configuration scenarios can be created using the integration scenario configurator. The only thing is that you would have to repeat the integration scenario configurator steps[Tools->Transfer Integration Scenario from Integration Repository] 4 times, once for each component view. If you notice, you can change the name of the configuration scenario each time you start afresh.
    The message is a warning that if you go back during the integration scenario configuration process[the first step is the selection of the component view for which you want the configuration scenario] and change the component view then all the changes made thus far would be lost.
    For e.g if you are in step 3[Assign Services, I think] and then go back and change the component view, all the changes made for the original component view selected would be lost.
    Hope this helps.
    -Anand

  • JSF 2.0 view handler

    JDeveloper documentation has an error in configuring the view handler.
    http://download.oracle.com/docs/cd/E16162_01/user.1112/e17455/dev_wpt.htm#OJDUG3574
    Example 11-4 Facelet Code Added to Your faces-config.xml
    <application>
    <view-handler>com.sun.Facelets.FaceletViewHandler</view-handler>
    </application>
    com.sun.Facelets.FaceletViewHandler is the JSF 1.2 view handler. For JSF 2.0 a view handler is not to be configured.
    Edited by: dvohra16 on Jul 7, 2012 2:07 PM

    Thank-you for pointing out this in our documentation. I have removed this section since the faces-config.xml does not get modified to add the view handler detail in JSF 2.0. when one adds a facelet page.
    Edited by: user742463 on Jul 10, 2012 1:30 PM

  • JSF 2.0: View Scope Problem

    Hey,
    I 'm having trouble using the JSF 2.0 view scope. My application is a search page displaying some search parameters and a list of results. The search parameters are backed by a session scope bean, the results a backed by a request scoped bean and there is some kind of controller bean in request scope, too. Searching and displaying the results works fine.
    The second step was some kind of details page to display when clicking on one result element. I have another controller bean for this goal, but when pressing the link the requested action is not performed. I remembered similar problems I had in the past where I put the bean containing the result list into view scope.
    But after putting the results bean into view scope searching is not working anymore. You click the search button, the search action is performed. But after successfully storing the results a new results bean is instantiated. An empty one of course.
    Now I 'm not sure anymore if I understand the view scope: I have a single page, I search something and the results are displayed on the same page. I cannot believe that request scoped results work fine and view scoped results do not.
    Can anyone help me?
    Thanks,
    Stephan

    I found the problem and a solution :-) The missing piece of the puzzle was the id attribute for the form tag. After some debugging of the JSF JavaScript I found the solution.
    The JavaScript function response(request, context) is invoked to handle the server response. Inside this function the doUpdate(element, context) is invoked.
    The doUpdate() function is doing the modification of the DOM. The function doUpdate() is two times invoked for a response. The first time the html elements are updated.
    The second time the view state hidden field is updated or created but only under the following condition:
    Comment in the JavaScript source code of the jsf.js
    //Now set the view state from the server into the DOM
    //but only for the form that submitted the request.If the forms of the both side haven't the same id the form can't be found on the second page.
    In the following way it is working:
    page1.xhtml
    <h:form id="myform">
            <h:commandLink value="Go to page 2" action="page2">
                <f:ajax render="@all" execute="@all"/>
            </h:commandLink>
    </h:form>
    .....page2.xhtml
    <h:form id="myform">
                <h:commandLink value="Go to page 1" action="page1">
                    <f:ajax render="@all" execute="@all"/>
                </h:commandLink>
    </h:form>So always set an explicit id for each JSF tag.

  • More than one business component (views) in the same JSP page

    Hi, I am trying to have more than one business component (views) in the same JSP page as Input Form.
    For example:
    There are two BC4J:
    Person:
    Code.
    Name.
    Address:
         Person_code
         Street.
         City.
    There is a master detail relationship between them and there is a link between both views in the application module.
    I want to create a JSP page with an Input form for both views. When the user decides to create a Person, I need to insert in both tables.
    Insert code and name into Person table.
    Insert Person_code, Street and City into Address table.
    It is possible to do in Forms but I am not sure if I can be able to do this in JDeveloper 10G.
    Thanks

    Sorry I lost the tabs
    Person has two attributes Code and Name.
    Address has three attributes Person_coden Street, City.

  • JSF Declarative Component

    hi every body
    i am using Oracle Jdeveloper 11g release 2
    i wanted to create a Calendar Component
    for this i used JSF Declarative Component
    i added a RichInputText to page and a Button for opening calendar Dialog
    when for first time i open Calendar Dialog and select a day ,
    value of this day return to RichInputText truly but
    when i wanna to open it for second time that has an error
    error is:
    Error:dateValue is Read only
    i have to tell you dateValue is name of Attribute on JSF Declarative Component
    can anybody help me?

    i found a solution for this problem
    thanks

  • JSF Menu Component

    Hello Suners,
    I'm developing a JEE application and using mojarra jsf implementation. I need to find a JSF Menu component that i can use in my app.
    Regards,

    abulseed wrote:
    I need to find a JSF Menu component that i can use in my app.You would be better off creating your menus using Cascading Style Sheets (CSS). JSF menuing often involves JavaScript of some sort which won't work if the user has JavaScript turned off. CSS menuing guarantees that your menu always work (even with Javascript turned off) and it's better by design, not to mention less annoying to users.
    Googled for 'CSS menu' - there are heaps of examples out there that you can use.
    Edited by: user2412 on Apr 5, 2011 12:30 AM

  • JSF table component with paging

    Are you aware of any existing JSF table component with both navigation and paging ?
    I want to display the content of a database table with a large number of rows. The table component should be able to navigate through the entire table content, but building only a small ResultSet and dinamically populate it with data as we perform navigation.
    Thanks,
    Cosmin

    Thanks for the answer.
    But data scroller just takes a ResultSet and display it with navigation. It doesn't know about the total number of rows in the table. It only display the number of records in the ResultSet.
    What I am looking for is a data scroller which based on some input parameters knows how to split the table in several ResultSets, dinamically change the ResultSet and display the total number of rows in the table and not in the current ResultSet.

Maybe you are looking for

  • Vendor Email update via LSMW

    Hi Folks, Have a query regarding mass update for Vendor master email address. LSMW does not seem to work for a.) Batch Input recording b.) Standard batch/Direct input. Since Vendor email is not stored in LFA1 (rather in ADR6) Also, the email id is ma

  • Validation on datepicker

    Hello expert i want to create validation on datepicker when we select the date.is it possible ? please help me for that Thanks & Regards Vilas maskey

  • Sqlplus to database taking ages

    Windows 2003 SP2 R2 Oracle DB 11.1.0.7 Oracle iAS 10.2.0.1 Two node RAC system servers(vtrt1-ora10, vtrt1-ora11), database-vttest(vttest1,vttest2) All Ip addresses and hostnames are correct (as it does eventually connect) Problem:* I have a two node

  • Why can't I save a text written from PC to "Sent" ...

    I thought I'd type in a text at the keyboard. I thought it would be a faster experience than using the phone keys even with predictive text. After going to the trouble of entering a contact into phone memory, because PC Suite can't access contacts in

  • Question with erasing pics off the itouch...

    hi all,   i just recently uploaded pictures to my computer from my itouch and after they were uploaded, the option came up to erase the pictures after uploading... now i am considering doing that so i can start fresh on my camera roll on the itouch..