ADF Menu Model and page flows

Hi! I created two Unbounded task flows. One task flow for ADF sub_menu (adfc-paraugs-config.xml) and second task flow for ADF root_menu (adfc-config.xml) (see http://my.jetscreenshot.com/2677/20100708-nite-111kb).
How can I map records between two unboundes task flows? For example in adfc-config.xml page flow I have Search page (meklesana.jspx) and I want to find records in this search page and then select one record and navigate to other page flow (adfc-paraugs-config.xml) jspx page (pasesDati.jspx) You can see page flow in link above. I want to find records in meklesana.jspx and show them in pasesDati.jspx. What to do and what are Your solutions?
I can say that in meklesana.jspx page I had used Page Fragment element to create Search page.
Best Regards

Hi ADFboy! And how can I create sub menu in one task flow?
I used this tutorial: http://www.oracle.com/technology/products/jdev/11/cuecards111/adf_set_43/ccset43_ALL.html
PLZ can You check this out and say what I'm doing wrong?
Best regards!

Similar Messages

  • ADF MENU MODEL and Rendered property!?

    Hi! I have ADF Menu Model. I tried to set rendered property, as You can see in code:
    <itemNode id="itemNode_datuIevade" label="#{sampleBundle.datuIevade}"
                action="adfMenu_datuIevade" focusViewId="/datuIevade"
                rendered="#{securityContext.userInRole['admin']}"/>I can see this Menu if I am not autorized as ADMIN. Where can be problem? This: rendered="#{securityContext.userInRole['admin']}" works fine when I set rendered property to some command Buttons.
    Best regards, Debuger!
    Edited by: Debuger on Jun 4, 2012 2:32 AM

    SOLVED! I forget to put {cede}#{menuInfo.rendered} for rendered property in my Pgage Template, where I use my ADF MENU MODEL
    Best regards, Debuger!                                                                                                                                                                                                                                                                                                                       

  • ADF Menu model does not have shortDesc

    Hello  experts,  in my application I need to support 508 compliance.  I have implemented ADF menu model and noticed that the menu items does not have  shortDesc attribute.   In the structure window when I view  the menu xml file,  I can see accessKey, lable etc.  But no  shortDesc attribute.  Please guide me what should I do.   I will have to provide shortDesc for all text items, menu items etc.
    thanks

    I created ADF menu model from unbounded task flows which will be added to the template using  af:navigationPane.    The only place where we can add valid label and other attributes for each of the menu option is at  menu model meta data file.   This is xml file and in structure window, we can change the attributes to each of the menu option.   I do not see shortDesc attribute.
    Not sure it is a  bug in  jdev 11.1.1.6
    thanks

  • Data Models and Data Flow diagrams.

    Hi  Gurus,
        Can anybody brief me the concept of Data Models and Data Flow Diagrams and their development with illustrations. And is it a responsibility of a Technical or a Functional consultant..i.e to translate Business requirements and functional specifications into technical specifications, data flow diagrams and data models.
    Your valuable answers will be rewarded.
    Thanks in advance.

    Hi,
    Concept of Data Models
    Data model or Data modelling is basically how you define or design your BW Architecture based on Business requirements. It deals with designing and creating a effcient BW architecture sticking to standard practices.
    Multi-Dimensional Modeling with SAP NetWeaver BI
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/6ce7b0a4-0b01-0010-52ac-a6e813c35a84
    /people/githen.ronney3/blog/2008/02/13/modeling-strategies
    Modeling the Data Warehouse Layer with BI
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3668618d-0c01-0010-1ab5-aa75c3a4dfc2
    /people/gilad.weinbach2/blog/2007/02/23/a-beginners-guide-to-your-first-bi-model-in-nw2004s
    Data Flow Diagrams
    This show the path of data flow for each individual object in BW. How data dets loaded into that object and how it is going out of the object etc.
    Right click on the data target > show data flow .
    It shows all the intermdeiate layer through which data comes into that particular object.
    Responsibility of a Technical or a Functional consultant
    This is done genrally in the designing phase itself by a Senior Technical Consultant with the help of a Functional consultant or a Techno=Functional consultant interacting with Business.
    Hope this helps.
    Thanks,
    JituK

  • ADF MENU MODEL disabled property!

    Hi! I have ADF menu model, see: http://my.jetscreenshot.com/2677/20121018-5go0-10kb Is it possible to set Disabled property tu true on FIRST groupNode element? When I set Disabled to true then my app gets error. By the way I can set disabled property to other group node elements without error.
    What to do?
    Best regards, Debuger!

    Error:
    Caused By: java.lang.NullPointerException
         at org.apache.myfaces.trinidadinternal.menu.GroupNode.getDestination(GroupNode.java:67)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at javax.el.BeanELResolver.getValue(BeanELResolver.java:261)
         at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
         at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)
         at com.sun.el.parser.AstValue.getValue(AstValue.java:118)
         at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
         at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:68)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.getProperty(UIXComponentBase.java:1183)
         at oracle.adf.view.rich.component.rich.nav.RichCommandNavigationItem.getDestination(RichCommandNavigationItem.java:594)
         at oracle.adfinternal.view.faces.renderkit.rich.NavigationPaneRenderer$NavigationItem.<init>(NavigationPaneRenderer.java:1518)
         at oracle.adfinternal.view.faces.renderkit.rich.NavigationPaneRenderer$NavigationPane.addStampedNavigationItem(NavigationPaneRenderer.java:1217)
         at oracle.adfinternal.view.faces.renderkit.rich.NavigationPaneRenderer._createStampChildren(NavigationPaneRenderer.java:788)
         at oracle.adfinternal.view.faces.renderkit.rich.NavigationPaneRenderer._renderContent(NavigationPaneRenderer.java:366)
         at oracle.adfinternal.view.faces.renderkit.rich.NavigationPaneRenderer.encodeAll(NavigationPaneRenderer.java:285)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
         at org.apache.myfaces.trinidad.component.UIXCollection.encodeEnd(UIXCollection.java:527)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2572)
         at oracle.adfinternal.view.faces.renderkit.rich.DecorativeBoxRenderer.encodeFacet(DecorativeBoxRenderer.java:289)
         at oracle.adfinternal.view.faces.renderkit.rich.DecorativeBoxRenderer._encodeTopOrBottom(DecorativeBoxRenderer.java:739)
         at oracle.adfinternal.view.faces.renderkit.rich.DecorativeBoxRenderer.encodeAll(DecorativeBoxRenderer.java:249)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2572)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeCenterFacet(PanelStretchLayoutRenderer.java:297)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer._encodeCenterPane(PanelStretchLayoutRenderer.java:575)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeAll(PanelStretchLayoutRenderer.java:241)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2572)
         at oracle.adf.view.rich.render.RichRenderer.encodeStretchedChild(RichRenderer.java:1963)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelSplitterRenderer._renderPane(PanelSplitterRenderer.java:1044)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelSplitterRenderer._renderSecondPane(PanelSplitterRenderer.java:943)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelSplitterRenderer.encodeAll(PanelSplitterRenderer.java:197)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2572)
         at oracle.adfinternal.view.faces.renderkit.rich.DecorativeBoxRenderer.encodeFacet(DecorativeBoxRenderer.java:289)
         at oracle.adfinternal.view.faces.renderkit.rich.DecorativeBoxRenderer._encodeCenterPane(DecorativeBoxRenderer.java:442)
         at oracle.adfinternal.view.faces.renderkit.rich.DecorativeBoxRenderer.encodeAll(DecorativeBoxRenderer.java:258)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2572)
         at oracle.adf.view.rich.render.RichRenderer.encodeStretchedChild(RichRenderer.java:1963)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelSplitterRenderer._renderPane(PanelSplitterRenderer.java:1044)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelSplitterRenderer._renderFirstPane(PanelSplitterRenderer.java:901)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelSplitterRenderer.encodeAll(PanelSplitterRenderer.java:185)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2572)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeCenterFacet(PanelStretchLayoutRenderer.java:297)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer._encodeCenterPane(PanelStretchLayoutRenderer.java:575)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeAll(PanelStretchLayoutRenderer.java:241)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2572)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:432)
         at oracle.adfinternal.view.faces.renderkit.rich.PageTemplateRenderer.encodeAll(PageTemplateRenderer.java:69)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.encodeEnd(ContextSwitchingComponent.java:153)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2572)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:432)
         at oracle.adfinternal.view.faces.renderkit.rich.FormRenderer.encodeAll(FormRenderer.java:221)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2572)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:432)
         at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:1066)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.__encodeRecursive(UIXComponentBase.java:1501)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeAll(UIXComponentBase.java:771)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:942)
         at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:271)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:202)
         at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:710)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:273)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:205)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

  • Warn About Changes and page flow

    Hi, in dev guide, it is said:
    For any single page, or first page in a navigation flow where the retainAM URL parameter value is set to Y (and the pages share the same root UI application module) as you navigate between each page, set the Warn About Changes property to True on the pageLayout region.
    in other word, if pages in page flow are in the same AM, after changing am in the first page, anytime leave the following page to click the home link(oracle branding), the WarnAboutChanges msg should be alerted?
    But,
    Now I have two pages, using the same AM, set the two pages' property "Warn About Changes" to true.
    And I want to implement this: after inputing some words, and click a sunmitButton forward to pageB(add retainAM = Y in setForwardURL in code), then in pageB don't do anything, but click home link, WarnAboutChanges message does not alert.
    Could anyone help to explain this?
    And how to implement the page flow warnAboutChanges?
    And how root application module to set if different pages in different AMs?
    PreThanks to you very much!

    But,
    Now I have two pages, using the same AM, set the two pages' property "Warn About Changes" to true.
    And I want to implement this: after inputing some words, and click a sunmitButton forward to pageB(add retainAM = Y in setForwardURL in code), then in pageB don't do anything, but click home link, WarnAboutChanges message does not alert.
    Could anyone help to explain this?
    I asked u previously also read dev guide properly, here it what dev guide say:
    "By default, the Warn About Changes property is set to True for each of the items in this list except for the
    OASubmitButtonBean whose default value is False (a ccording to the UI guidelines, the "Warn About
    Changes" check should be performed for all submit button instances except for Cancel, Apply and Submit
    buttons). If you want to explicitly enable the check for a submit button, set this property to True. Note that can
    also set it programmatically by calling OASubmitButtonBean.setWarnAboutChanges(pageContext,
    Boolean.TRUE) in processRequest()."
    I hope this answers ur question.
    And how to implement the page flow warnAboutChanges?
    Read "Save Model ('Warn About Changes')" in dev guide :).And how root application module to set if different pages in different AMs?
    You can nest differnt AMs in on AM in AM wizard.--Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Javascript and page flows

    Hi
    I have my javascript code snippet as below in my jsp page (using page flows):-
    <SCRIPT>
    var contextName;
    contextName="<%= request.GetContextPath() >";
    </SCRIPT>
    The problem is I can never get the above value dynamically computed in my app
    . The value of contextName is always the static string - <%= request.GetContextPath()
    and not its value .Is there any way I can get the above expression to be evaluated and the evaulated
    value be assigned to contextName.
    Thanks
    Kar

    Kar,
    I think the problem here is that scriptlets (<%= ... %>) aren't
    evaluated in a .js file, only in .jsp files. This is because they are a
    JSP feature. I recommend you declare the variable you need in your .js
    file in a small script section in your JSP that refers to the .js file,
    or some variation of this.
    Thomas
    kar piyush wrote:
    Eddie
    Thanks for pointing out the typo :) . Actually the problem I am facing is that
    I am trying to use an external javascript file in a template file as
    <netui-template:includeSection name="jscriptSection" defaultPage="/resources/scripts/generic.js"></netui-template:includeSection>
    where generic.js has my javascript code . This is basically spoofing the page
    flow framework to read an external javascript file (Which it does properly ---
    well almost). The problem is it is never able to evaluate the <%= request.getContextPath()%>
    tag and spits it out as is . However if I change the name of generic.js to generic.jsp
    and have the javascript code in it as is, at runtime it is able to proplely evaulate
    the javascript contents in generic.jsp . So right now I have all my javascript
    code in a .jsp file (which Idonot like ). I want to be able to create .js file
    and hook it into the template framework in some way so that it is able to successfully
    evaulate expressions.
    Can u share the syntax or a tip as to how to include a .js file in a template

  • Applet and Page flow communication

    Hi
    we have a design requirement where we need to have access to various peripherals
    like cash drawer,point of sales printer etc form the client workstation. We are
    usign workshop for development and we are looking into integrating an applet into
    the pageflow(actually the pages created using page flows) and need to be able
    to pass data into the applet at run time from the page (created usign page flow)
    like commands to open the cash drawer, to start and end the printing .
    Is it possible to pass data from the pages created using page flows into the applet
    at run time? if so could someone share a small code snippet.
    Thanks
    Keith

    Keith--
    You can do this if you use the JSP to render data into the applet's
    <param/> tags. For example, you can evaluate expressions that bind to
    the JPF / action form / request / etc and render the output using the
    <netui:content> tag.
    In your JSP, this might look like:
    <param
    name="<netui:content value="{pageFlow.someName}"/>
    value="<netui:content value="{pageFlow.someValue}"/>"
    />
    If the value of {pageFlow.someName} is foo and the value of
    {pageFlow.someValue} is bar, then this would write:
    <param name="foo" value="bar"/>
    If you have a data set to render in <param/> tags, you can certainly
    nest something like the example above inside the <netui-data:repeater>
    and use the "container.item" binding context.
    Hope that helps...
    Eddie
    keith shacks wrote:
    Hi
    we have a design requirement where we need to have access to various peripherals
    like cash drawer,point of sales printer etc form the client workstation. We are
    usign workshop for development and we are looking into integrating an applet into
    the pageflow(actually the pages created using page flows) and need to be able
    to pass data into the applet at run time from the page (created usign page flow)
    like commands to open the cash drawer, to start and end the printing .
    Is it possible to pass data from the pages created using page flows into the applet
    at run time? if so could someone share a small code snippet.
    Thanks
    Keith

  • J2ee security and page flow problem

    To give more details about the problem I have, user likes to put a URL in the browser, then press enter. User likes to see the running results. However, user is not able to see the results because j2ee security requires user log in. After sucessful login, user is going to see the index page. My question is how user be able to view his result page after login.
    cheers.

    In the future, please post JSP/Servlet questions in the appropriate forum: http://forum.java.sun.com/category.jspa?categoryID=20
    This is pretty simple to do:
    1) set up a Filter that applies to a specific url pattern, such as " /protected/* " so that the Filter is invoked when resources within the "protected/" path get accessed
    2) in the Filter code, store the user's desired path in the session scope (let's call it "loginRedirectFrom") and redirect the user to the login screen.
    3) in your login servlet/jsp, after the user has been verified, redirect to the url you stored in "loginRedirectForm".

  • ADF: Menu, Accordion and tree

    Hi,
    I want to make a three level menu, Cliente/Project/Tasks.
    I want the Client level to be an accordion, and the project and tasks a depending tree, but I can't link the tree with the accordion.
    This is my code:
    <code>
    <af:panelAccordion id="pa1" dimensionsFrom="auto">
    <af:forEach var="row" items="#{bindings.ClientsView2.children}">
    <af:showDetailItem id="sdi1" disclosed="true" text="#{row.Name}"
    immediate="true">
    <af:tree value="#{bindings.ProjectsView2.treeModel}" var="node"
    selectionListener="#{bindings.ProjectsView2.treeModel.makeCurrent}"
    rowSelection="single" id="t1">
    <f:facet name="nodeStamp">
    <af:outputText value="#{node}" id="ot7"/>
    </f:facet>
    </af:tree>
    </af:showDetailItem>
    </af:forEach>
    </af:panelAccordion>
    </code>
    Thanks,
    Diego

    Any idea? I'm kind of stuck...
    Thanks,
    Diego

  • Bind menu bar to a menu model

    Hello,
    I'm trying to bind my menu bar (af:menubar) to a menu model.
    I created the menu model from my main unbounded task flow (adfc-config.xml) : right click -> "Create ADF Menu Model..." giving me root_menu.xml.
    My menu bar is currently defined in a page fragment mainMenu.jsff used in my pages.
    According to the 11g r2 documentation it is possible using the value attribute of the menubar component : Working with Navigation Components
    But I can't find how to do this in 11g r1 as there is no value attribute...
    Any idea ?
    I'm using JDeveloper 11.1.1.7.0.
    Thanks.
    Yann.

    So obviously it seems it is not possible ?
    I have tried using an iterator to generate menu items in my menu bar (mainMenu.jsff):
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <af:menuBar id="mb1" styleClass="mainMenu" stretchId="stretch1">
        <af:iterator var="myMenu" id="i1" value="#{root_menu}" rows="2">
          <af:commandMenuItem text="#{myMenu.label}" id="cmi1" icon="#{myMenu.icon}"
                              action="#{myMenu.doAction}"/>
        </af:iterator>
        <af:spacer id="stretch1" clientComponent="true"/>
      </af:menuBar>
    </jsp:root>
    Here is my menu definition (root_menu.xml):
    <?bxml version="1.0" encoding="windows-1252" ?>
    <menu xmlns="http://myfaces.apache.org/trinidad/menu">
      <itemNode id="itemNode_home"
                label="#{adfBundle['testapp.view.TranslatedText'].MAIN_MENU_HOME}"
                action="menu_home" focusViewId="/home"
                icon="/images/icon_home.png"/>
      <itemNode id="itemNode_employees"
                label="#{adfBundle['testapp.view.TranslatedText'].MAIN_MENU_EMPLOYEE_MANAGEMENT}"
                action="menu_employees" focusViewId="/employees"
                icon="/images/icon_user.png"/>
    </menu>
    My adfc-config.xml :
    <?xml version="1.0" encoding="windows-1252" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
      <view id="home">
        <page>/home.jspx</page>
      </view>
      <task-flow-call id="tf-employees">
        <task-flow-reference>
          <document>/WEB-INF/tf-employees.xml</document>
          <id>tf-employees</id>
        </task-flow-reference>
      </task-flow-call>
      <control-flow-rule id="__1">
        <from-activity-id id="__2">*</from-activity-id>
        <control-flow-case id="__4">
          <from-outcome id="__5">menu_home</from-outcome>
          <to-activity-id id="__3">home</to-activity-id>
        </control-flow-case>
        <control-flow-case id="__6">
          <from-outcome id="__8">menu_employees</from-outcome>
          <to-activity-id id="__7">tf-employees</to-activity-id>
        </control-flow-case>
      </control-flow-rule>
    </adfc-config>
    Then I include the menu fragment (mainMenu.jsff) in my pages home.jspx, employees.jspx and editEmployee.jspx.
    Menu items are generated correctly (labels, icons) even if I have warnings (reference myMenu.xxx not found) but only the employees menu item from the home page is working... others don't do anything in all pages.
    Did I missed something ?
    Can anyone test this ?
    Thanks.
    Yann.

  • ADF menu rendered property

    Hi! I trying to set ADF menu itemNode rendered property. In my page template I have attribute CropNameMenu. In template CommandNavigationItem I can use #{attrs.CropNameMenu} to say if it is rendered or not. But in my CommandNavigationItem I have multiple menus. And as I think I need to use ADF menu itemNode rendered property, But how to do that? Hope some one can help me.
    Waiting for response, Debuger.

    SOLVED! I forget to put {cede}#{menuInfo.rendered} for rendered property in my Pgage Template, where I use my ADF MENU MODEL
    Best regards, Debuger!                                                                                                                                                                                                                                                                                                                       

  • SSO filter problem in Self-Service page flows

    Hi,
    I need to integrate Self-Service with a Jasig CAS SSO-solution. It works fine except for pages like the product configurator, check out process etc. The Self-Service page flows for these have ceased to work since i implemented the Self-Service authentication filters.
    This is a filter in the web.xml which you map to all pages that needs authentication.
    An example:
    In the product configurator,step 1, when you click "next" you dont get to the next step 2, but rather back to step 1. My suspicion is that, since all the steps are handled by the same jspx - the CAS authentication filter mess up since it intercepts the request to check if the user is logged in and then redirects the user back to the url given. But something is lost on the way here.
    Does anyone have an idea for how to tackle this?
    Thanks
    Jonte

    Here's a clarification of my problem:
    I'm facing an issue when integrating the Jasig CAS SSO with Siebel Self-Service (which is an Oracle ADF application). When applying the CAS Authentication Filters, the navigation rules and page flows in the Self-Service application cease to work.
    The Siebel Self-Service application is using adfFaces filter, adfBindings filter and the SelfService filter as controllers for the pages.
    For the integration with the Jasig CAS, a client lib is installed in the Self-Service OC4J. This CAS Client provides an "Authentication Filter" that is defined in the web.xml. The pages in Self-Service that are to be protected by this authentication filter (the pages that needs user authentication in order to be accessed) are also mapped in the web.xml. This authentication filter checks the user against the CAS Server and sends back a ticket parameter with the URL if the user is logged in. This parameter is used to validate the login attempt, and on successful validation, the CAS server provides the username of the user to a bean called by the SelfServiceFilter in the Self-Service app.
    My problem is that any JSF navigation on a page (navigation rules and page flows) cease to work as soon as a page is protected by the Authentication filter. One example would be during the check out process (which consists of several steps - several jspx pages). When you click “Next” on the first check out step, you are not redirected to step no 2, but to the same check out page as you started on.
    Since the Authentication Filter protects all the pages involved, it will intercept any request to these pages, fetch the request URL, redirect to the CAS server for user authentication, and on successful authentication it will redirect the user back to the URL that was fetched by the Authentication Filter in the first place.
    I have been looking into this, and I think that the JSF navigation rules etc, cease to work because the JSF page flows are being interrupted. When clicking “next” the page would normally post information to the life cycle of the requested page (which in some cases in this app, is also a postback to the same page). This information is then used when going through the life cycle of the new page. But when the CAS Authentication Filter intercepts the request, send the user to the CAS server and then redirect back to the page, this page life cycle is interrupted, or the necessary data is not attached in this “new” request.
    Does anyone have an idea for how I can solve this issue?
    Thanks!
    Jonte

  • ADF Menu

    Hi.
    JDeveloper 11.1.1.2.  ADF Binding. JSF, BC, ViewObjects.
    Using ADF Menu system sometimes (only sometimes) gives an error if the default menu (idref) is not to be rendered ( rendered=false).
    The error is identical to the one described in ADF MENU MODEL disabled property!
    This is critical to us as our menu is "active" before login and rendered or not is set to "true" based on login credentials.
    Does any one know how to work-around this error?
    Best regards
    Erik

    Erik,
    have you considered creating a test case and contacting customer support? I don't see what we can do on the forum if the problem occurs randomly as we don't know under which condition this random occurs
    Frank

  • How to link 2 page flow controllers in Workshop

    Hello there,
    I have been playing with rowSet controls and page flows in WorkShop for a few days now and I can see that the creation of both of these is straight forward.
    The question that I have is ... having created the page flow for a given rowSet control, say, "customersController.jpf" -- how can I click on a given row and pass a parameter to, say, "ordersControler.jpf" and have ordersController.jpf query the database based on the parameter passed to it?
    At this point I have these 2 page flows which work okay in isolation. So, we have:
    /customers/customersController.jpf    [custid, name, address, etc]
    /orders/ordersController.jpf    [orderid, date, total, etc]
    I have already managed to pass the custid parameter when clicking on the custid field for a given customer on the customersController.jpf page.
    URL looks something like this:
    http://localhost:7001/myApp/customers/showOrders.do?_autoscope__rowId=customersControllerGridName%7ECUSTID%7E1004
    "showOrders.do" is, of course, an action that calls ordersController.jpf.
    We can see that the customer id (CUSTID) parameter is being passed (1004). Now, how can I modify ordersController.jpf and orders.jcx so that only the orders for customer 1004 are returned by ordersController.jpf? By default, all the order in the database are returned.
    Thanks a million,
    Manuel
    Message was edited by:
    manu_moreno

    Hi manu_moreno,
    You should create an Event handler.
    On the Property Editor, click on the "Event Handler" option.
    On "Add Handler..." you should select "Handle Page Flow Event". This way you can trigger a Page Flow action everytime an action in another portlet is called.
    The parameters I suggest you put on the Session.
    Hope this Helps,
    Pedro Oguri

Maybe you are looking for