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!                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • 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!

  • 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

  • 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)

  • Do you know any program for 3d modeling and rendering for Mac?

    Do you know any program for 3d modeling and rendering for Mac?

    I use MegaPov for 3D-rendering. MegaPov is a Mac version of the free PovRay, a photrealistic renderer. It is perfect, if you like to write animation scripts to program elaborate animations and shading.
    If you prefer a GUI to a scripting language you may consider Blender; it is also free.
    Rather expensive, but with an elaborate GUI are Maya and Cinema 4D; both are available for the mac.

  • What installation of windows for powerfull 3D modelling and rendering.

    Hi everybody.
    I need a config to use windows in a very compatible, easy to use and powerfull way. No simple bootcamp installation as I will be rebooting all the time, between mac apps , Adobe CS (OSX) and Rendering Software (Shot/Bunkspeed -windows).
    So what installation of windows should I have? Virtual Computing or Virtualization? and what Software for everything to go fast enough?
    Then What hardware should I have for everything to run well? Any special requirement?
    Thanks for the answers.

    I would have posted in Mac Pro forum. Why do you say "simple bootcamp" as actually a VM is much easier and less fuss but will never live up to what you need.
    A VM will NEVER be as fast or as well as running natively, especially with 3D or anything hardware resource intense.
    Maybe time to build a PC or switch CS5 to Windows (it does have some advantages though CS5 caught up some) but to use CUDA you would need the only nVidia Apple sells probably.
    Run OS X off a RAID.
    Put your VM on its own drive or array.
    Normally I would say CS5 etc then the Quadro 4000 would be ideal as 2nd video card.
    Most people install Windows natively first on its own partition, what Apple calls "Boot Camp" but overuses the term, so that they can dual boot; then, install Parallels or Fusion so that they can use Windows as a guest OS under Mac OS when they don't need full access to all the RAM, more cores, and direct access to graphics.
    Easy to use to me, Windows 7 or OS X, both are fine, though Windows on Mac has some limitations.
    People have run multiple VMs on Mac Pro and find performance to be good thanks to dual processor, plenty of RAM and multiple fast hard drives.
    I would install Windows on its own hard drive first, Windows 7 Pro 64-bit (System Builder is fine but you need Pro to use more RAM and dual processors).
    http://discussions.apple.com/forum.jspa?forumID=1320

  • Adf TreeTable,  collapsed and expand property.

    Hi,
    I want to set some instructional text on UI based on whether af:treetable row is expanded or collapsed. Is there any property that I can use on UI that give this information?
    I am using adf, Oracle JDeveloper 11g.
    Thanks
    -Rishabh

    Hi Frank,
    In Treetable I have two columns and one column in nodeStamp. For example, node column show name of "application", second column show names of scholarships and the third column has commandbutton to apply for that application. Each row in application can be expanded to see list of scholarships attached to that application. Here is the code for this....
    <af:treeTable value="#{bindings.SaAppListVO1.treeModel}"
    var="node"
    selectionListener="#{bindings.SaAppListVO1.treeModel.makeCurrent}"
    id="treeTable" expandAllEnabled="true" rowBandingInterval="0"
    width="94%" columnStretching="column:application"
    columnBandingInterval="0"
    disableColumnReordering="true"
    summary="List scholarships attached to application"
    rendered="#{ bindings.SaAppListVO1.estimatedRowCount > 0}">
    <f:facet name="nodeStamp">
    <af:column headerText="Application"
    id="application">
    <af:outputText value="#{node.AppName}"
    rendered="#{node.AppId1 ne null}"
    inlineStyle="font-size:12px; font-weight:bold;"/>
    </af:column>
    </f:facet>
    <f:facet name="pathStamp"/>
    <af:column headerText="Scholarships" width="300" noWrap="false">
    <af:panelGroupLayout layout="horizontal">
    <af:goLink styleClass="csaLink" text="#{node.ScholarshipsName}">
    <af:showPopupBehavior triggerType="click"
    popupId="::notewindow"/>
    </af:goLink>
    <af:image shortDesc="Need-Based"
    source="/images/gold.png"
    rendered="#{node.IsNeedBased == 'y'}"
    inlineStyle="text-align:left;"/>
    </af:panelGroupLayout>
    </af:column>
    <af:column align="center">
    <af:commandButton text="Apply!"
    rendered="#{node.AppId1 != null}"
    action="apply_new">
    <af:setPropertyListener from="#{node.AppId1}"
    to="#{pageFlowScope.appId}"
    type="action"/>
    </af:commandButton>
    </af:column>
    </af:treeTable>
    My question here is, where node row is in collapsed mode there is nothing in "scholarship" column. And when it is expanded it list all the scholarship. What I want is to add a text message in that column showing how many scholarships are there for that application in collapsed mode.
    Is there any way for doing this?
    Thanks,
    -Rishabh

  • 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

  • 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!                                                                                                                                                                                                                                                                                                                       

  • 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

  • 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 Faces: Changing "rendered" property in PPR: JDev 10.1.3

    Hello all,
    I have an ADF Faces page that has an af:CommandButton on it. The rendered property of the button is set to an EL expression that references the model (ADF BC). When the page is submitted (via an af:CommandButton with PartialPage=true), the rest of the page refreshes properly to reflect the changed model state, but the command button with the conditional rendered property is not disappearing as expected (the button is initially rendered=true). I remember reading recently about a similar issue if the button is initially not visible, and I'm not sure if this is related.
    Interestingly, if I click on the button (which should no longer be visible after the PPR event), it does nothing - so it appears to be merely a visual problem. I have also tried setting the disabled property to an EL expression that is the opposite of the rendered property, and the button does not change to be disabled, either.
    Any thoughts? At this point, it looks like a bug/feature.
    Kind regards,
    John
    Should I be able to do this?

    John,
    if you wrap the button in a panel (e.g. buttonpanel) and set the PPR to this panel, does it work ?
    Frank

  • How to use a menu model with a dynamic region and a task flow parameter

    I am using JDeveloper/ADF 11.1.2.1
    I have a menu model that changes which task flow is displayed in a given dynamic region using a backing bean. That works fine. I would like to be able to pass parameters to that task flow based on which menu item is clicked. For example: i have a task flow which shows a page where input fields are used to filter a table. Depending on the value of the task flow parameter I want to change which input fields are displayed. So i will have multiple menu items which refer to the same task flow but have a different set of parameters. I have tried using request scope variables and setting them in the backing bean for the dynamic region which works until the query is submitted at which point the request scope has changed and the value is no longer available. I have tried a number of other 'creative' approaches but have not gotten anything to work. Anyone done this before? Or have an idea on how to solve it?

    Frank,
    I did a fair bit of digging based on your suggestions and some things I found in your Oracle Fusion Developer's Guide book and I came up with something that works really well. It is fairly elegant but requires code. It would be nice if something like a setPropertyListener could be rolled into the menu model. That would make my solution completely declarative.
    Here is my solution:
    My task flow requires a the value #{pageFlowScope.type} to be set. My application has a dynamic region that is changed on the fly using a menu model. The region uses a backing bean (mainRegionManagerBean) which is in the viewScope to manage what taskflow is shown in the region. There are multiple menu items in the menu model that point to the same task flow but pass different values to the #{pageFlowScope.type} parameter. So i wired the menu items up to different methods in the mainRegionManagerBean which set the value for me. See the relevant code below.
    I would be very interested in the feedback from someone with more experience than I on my solution. Maybe there is a more elegant way...
    In the backing bean there is a primary method that was created by generating a dynamic region link which sets the task flow id and then other methods which call it and set the relevant parameters. (JSFUtils is a helper class i wrote to centralize some common tasks):
    public String shipmentTraceMasterTaskflow()
    taskFlowId = "/WEB-INF/taskflow/master/shipmentTraceMasterTaskflow.xml#shipmentTraceMasterTaskflow";
    JSFUtils.setValue("pageFlowScope.type", "");
    return null;
    public String shipmentTraceProNumber()
    shipmentTraceMasterTaskflow();
    JSFUtils.setValue("pageFlowScope.type", "pronumber");
    return null;
    public String shipmentTraceBOLNumber()
    shipmentTraceMasterTaskflow();
    JSFUtils.setValue("pageFlowScope.type", "bolnumber");
    return null;
    In the menu model (notice that these reference the different methods from above):
    <itemNode id="itemNode_ProNumberTrace" label="ProNumber Trace" action="#{viewScope.mainRegionManagerBean.shipmentTraceProNumber}" focusViewId=""/>
    <itemNode id="itemNode_BOLNumberTrace" label="BOL Number Trace" action="#{viewScope.mainRegionManagerBean.shipmentTraceBOLNumber}" focusViewId=""/>
    On the page:
    <af:region value="#{bindings.dynamicRegion1.regionModel}" id="r1"/>
    In the pagedef:
    <taskFlow id="dynamicRegion1" taskFlowId="${viewScope.mainRegionManagerBean.dynamicTaskFlowId}" activation="deferred" xmlns="http://xmlns.oracle.com/adf/controller/binding" Refresh="ifNeeded">
    <parameters>
    <parameter id="type" value="#{pageFlowScope.type}"/>
    </parameters>
    </taskFlow>
    Edited by: Adam Stortz on Nov 22, 2011 11:10 AM

  • Oracle ADF Model and BC4J api reference in JDev 10.1.3.03

    Hi
    Where I can find Oracle ADF Model and Business Components API Reference in JDev 10.1.3.03? Maybe it's not ready yet?

    I don't know how up-to-date they are, but the javadoc files are all archived into jar files in the JDeveloper installation at: <jdev-install-dir>\jdev\doc\ohj. Most of the business component interfaces and classes are covered in the bc4jjavadoc.jar. You can either open the index.html file of the jar in JDeveloper and move through the links in the preview pane, or use the jar utility (or other unzipping util) to extract the jar file into your directory structure and then access the html files directly.
    Johnny Lee

  • Using XML Menu Model Create Left Panel with Panel Accordian and ShowDetail

    Hi all,
    I want to create a custom page template. I have two level menu and I have created xml adf menu mode for that. I want to create a left panel in the template using Panel Accordian(level 1) and show detail item (level 2). Can anyone please tell me how to do that?

    Sample 48 on http://www.oracle.com/technetwork/developer-tools/adf/learnmore/index-101235.html#CodeCornerSamples (though its a security example) has a working configuration for you to have a look at
    Frank

Maybe you are looking for

  • Why can't I input text (from MS Word, Adobe Acrobat Pro PDFs, etc.) into/onto a certain page?

    I have been having great difficulty inserting or inputting any sort of text or other information onto page 2 of an InDesign document.  (So far, I have 13 pages on seven spreads, and the other pages have been fine.)  Further information:  Page 1 is on

  • Camera Advice

    We are looking to buy a new profession camera instead of the Sony handycam we have. The only professional camera i have used is a Sony Ex1 and i love it. Nice size, easy to use and everything you could want.... But my boss has only given me a budget

  • Why can't i register my Ipad2?

    My wifi-connection is working fine but i can't register my 2 new Ipad2 neither from the ipad or from itunes (Itunes get back with an error message when i try to register).

  • The Ctrl+Up and Ctrl+Down keyboard short cuts don't seem to work anymore. Can we get this back?

    Until the latest update (I'm guessing v 34.x), the search bar's icon would show you the currently selected default search engine. I understand that Google is no longer paying to be the default... That I was expecting and isn't my issue.... I used to

  • Spiceworks new user form

    I'm building my portal, and I want to have an online form that allows users to fill out a new user request.  I just have a couple things I'm having trouble with. 1) when an end user clicks submit, it shows them a list of all tickets opened, closed, e