Access navigation rules programmatically?

Hello.
Is there any way to access the attributes of a navigation rule programmatically?
In Struts, I was accustomed to getting the URL of a forward that I had set up by doing something like:
<html:rewrite forward="myForwardName"...>on my JSP page, but I can't seem to find any equivalent of this functionality in JSF.
Also, I would like to be able to access the navigation rule attributes from Java code, too, particularly the "to-view-id" attribute, which is something I did in Struts with code like:
String path = mapping.findForward("myForwardName").getPath();I know that this isn't apples-to-apples, and that a global forward in Struts is not set up the same way as a navigation rule in JSF, but I'm hoping that there's some kindly JSF super-genius who can point me in the right direction. :-)
Thanks!
--Mike                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Thanks, rei_nanto--that did shed a little light on the subject!
Now, unfortunately, I am not using the Sun reference implementation (we're using the IBM implementation), and so I don't have the ApplicationAssociate class you mentioned.
I went out and looked at the ApplicationAssociate and NavigationHandlerImpl classes in the RI jars, though, as you suggested, and I can see how it could be done.
The reason I'm looking for a way to get this information, especially the <to-view-id> information, is because I need to do a popup window from my JSF application page, and I would like not to hard-code the URL of the JSF page I want to appear in the popup.
Hence, if I could get the path out of <to-view-id> programatically, I wouldn't have to hard-code the path in my popup.
Any additional thoughts on the matter, given this additional information?
Thanks!
--Mike                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • 11g How to programmatically access Calendar Rules

    Hi guys,
    I use BPM 11g and I'm trying to programmatically access calendar rules configuration for the organization in order to display labor dates in ADF task flow using Simple Expression like: now + 2 business days.
    Has anyone done this on 11g?
    Thanks in advance!

    Hi,
    Do NOT use ExternalContext.getRequest(), but ExternalContext.getRequestMap().put() in the backing bean. As for the programmatic access, as mentionned it might be a scope issue. When is your managed bean code executed exactly?
    ~ Simon

  • ACS 5.3 Authorization problem with using Identity Groups in Access Policy Rule

    Hello guys, I am found a problem which I can't solve regarding authorization with using Identity Groups in Access Policy rule.
    ACS version: 5.3.0.40.6 (internal build B.839)
    I have very simple RADIUS Authorization rule which authorize user on behalf of right Identity Group.
    Requested Identity Group exist
    Testing user is created in Internal Users and has assigned requested Identity Group
    Radius Access Policy: 
    Authentication against Identity Store Sequence, where authorization server is external RSA SecurID device and additional attributes retrieval is configured from Internal Users.
    Authorization is very simple – One Rule with only one Condition which is: Identity Group - in - Requested_Testing_Rule. Then Default rule is set to Deny.
    When I will try login with my testing user then authentication against RSA SecurID is OK, but authorization will be denied by Default rule – It looks like my Rule with Identity Group is totally omitted.
    I am managing several other ACS servers (version 5.3 but with older patches) where similar rules are working without problem.
    What I am tested:
    Remove testing user and create his account again.
    Rename Identity Group
    Use another Identity Group
    Remove Access Policy rule and create it again
    Use Compound Condition: System:Identity Group
    Use Compound Condition: System:UserID instead of Identity Group in Rule (it is working without problem)
    Do you have any idea where problem can be?

    OK guys, it started working yesterday without any configuration change. Maybe it was some database inconsistence wich was solved by ACS itself.

  • Navigation and Creating  a navigation rule at runtime

    Hi all,
    How can I create a navigation rule at runtime?
    I got all my pages (names and locations) stored in a database table.All my pages are jspx format.
    I don't want to create navigation rules for each page, Instead I want to use the location stored in the database and create a navigation rule to navigate to.
    I tried navigating using ServletRequest :
            ExternalContext ectx = FacesContext.getCurrentInstance().getExternalContext();
            HttpServletResponse response = (HttpServletResponse)ectx.getResponse();
            HttpServletRequest  request = (HttpServletRequest)ectx.getRequest();
            request.getRequestDispatcher("/faces/Titles.jspx").forward(request,response);But it blows after the first call.
    is it possible to create a navigation rule in a Bean or is there another way to call jspx pages from a Bean without loosing the session.
    Can someone help me please.
    thanks in advance,
    Ahmad Esbita

    Ahmad,
    I don't know of any way to programatically create navigation cases at runtime. However, perhaps you could try creating a NavigationHandler decorator. Let's assume you have a function called "getViewIDforAction" that does the database lookup and returns the view ID for a given action code. You could do something like this:
    package my.code;
    import javax.faces.application.NavigationHandler;
    import javax.faces.context.FacesContext;
    public class MyNavigationManager extends NavigationHandler
       NavigationHandler _base;
       public NavigationManager (NavigationHandler base)
          super();
          _base = base;
       public void handleNavigation(FacesContext fc, String actionMethod, String actionName)
          String viewID = getViewIDforAction(actionName);
          if (viewID != null && ! "".equals(viewID))
             fc.getViewRoot().setViewId(viewID);
          else
             _base.handleNavigation(fc, actionMethod, actionName);
    }You'll also need this in faces-config.xml:
    <application>
      <navigation-handler>my.code.MyNavigationManager</navigation-handler>
    ...any other stuff...
    </application>Note: I haven't tested this or anything - just to give you an idea...
    Regards,
    john

  • How can i add a navigation rule at the runtime of JSF?

    Hello,
    how can i add a navigation rule at the runtime of JSF. Maybe i should use the method "addNavigationRule()" in class "FacesConfig", but i do not know, how can i obtain the instance of class "FacesConfig". Can anybody help me?
    Thank you very much!!!

    Just curious: Why whould you want to add navigation Rules at run time. I believe the navigation rules should be set to begin with - "by s/w Architect Design".
    Else you can always use Redirect / Forward.

  • How to access Navigation result from a bean

    Hi
    I am working on a website being developed in JSF. Right now we have a header, footer and body (kind of like tiles). The header and footer is same and only body changes. We do <jsp:include to include the header and footer.
    Test1.jsp {
         <jsp:include page=Header.jsp />
        <jsp:include page=body.jsp />
        <jsp:include page=footer.jsp />
    }Since the header and footer are to be shown in each and every page, I have to include them in each page. So what we decided to do was to use a bean which would find out what is the next page to be displayed and show it like this...
      <jsp:include page=Header.jsp />
    <jsp:include page=<%=mybean.nextPage%> />
      <jsp:include page=footer.jsp />But because of this our users will not be able to configure the navigation rules in faces-config.xml.
    Is there any way we can centralize the header and footer and other common elements and just change the body of the page using navigation rules defined in faces-config.xml.
    Any other suggestions or ideas are also greatly appreciated.
    Thanks

    Hi Starter,
    a quick rundown of the way we solved this:
    faces-config.xml does specify our navigation
    the url's that are mentioned in these navigation rules point to JSP with content like this
    <jsp:forward page="/parts/page_layout.jsp">
    <jsp:param name="page_id" value="v_zoeken"/>
    <jsp:param name="main_pane" value="/page/v_zoeken_pane.jsp"/>
    </jsp:forward>
    page_layout.jsp includes a header, footer etc. and functions as a template.
    v_zoeken_pane.jsp is the 'embedded' JSF page that changes. It is included in the page_layout.jsp like this
    <jsp:include page='<%=request.getParameter("main_pane")%>'/>
    Unfortunately the 'template' can only contain one JSF page because of a bug in <f:subview/> in JSF RI 1.0
    Hope this helps,
    Joost de Vries
    the Netherlands

  • JSF navigation rules sent me to different page, with same URL

    Hello everybody,
    Have a newbie question on JSF, if anyone can help me. I am using JSF for a web application, and i have a small problem.
    If i define a navigation rule, from one page to another, and i am having a button that should send me to another page,
    the browser URL remains the same, although the page content IS correctly changed.
    Thanks,
    Andrei

    You're welcome.
    Though I should have added that the advantage of the redirect after a POST request is that refreshing the request or navigating back and forward by browser history doesn't cause a re-submit of the POST request anymore. This way you avoid duplication of submitted data. This is called POST-redirect-GET pattern. Refreshing the request after a redirect (which is always a GET request) would only cause the redirect being refreshed, not the initiating POST request.
    The disadvantage of a forward is less or more obvious: the URL remains the same and it is not really good for the user experience. If one copypasted the URL in a new window (a new GET request), one wouldn't see the forwarded page, but the originating page. That's why I would recommend to avoid navigation cases and just use the same page to postback the POST request to. For normal page-to-page navigation within a website, I would recommend just using outputlinks and not commandlinks with navigation cases. It's all better for the user experience.

  • Accessing Navigation target through anonymous content.

    Hello,
    1. I created sitemap. From code I am accessing
    /irj/portal?navigationTarget=ROLES://portal_content//AboutUS/Welcome
    I am trying to access navigation target as anonymous user. For any type of iView  portal presenting me Logon screen.
    2. I already set up above mentioned iView as anonymous. I given permissions on Portal Content , Role, Workset and iView for anonymous user/guest user
    3. Can I access navigationTarget=Roles://   as anonymous/guest  user  OR  I must be   log in to access
    navigationTarget=Roles://
    I will appreciate any help in this issue.
    Thanks
    Mark

    Hi Mark!
    First of all, there is no real anonymous access to portal. If you call up a portal page with no authorization required, you are logged in as the default anonymous user automaticly.
    To access your pages via NavigationTarget and "anonymous" user the call is
    /irj/portal/anonymous?navigationTarget=ROLES://portal_content//AboutUS/Welcome
    You may also use hashed URLs or Quicklinks.
    It is even possible to use different anonymous users on the same portal by giving the URL parameter "guest_user" like this example:
    http://myserver.mycompany.com/irj/portal/anonymous/home?guest_user=anonymous_de. All guest users have to be configured in the J2EE engine too (via Visual admin). See SAP HELP for more on this topic.
    "home" is the quicklink to the start page in our case.
    Regards,
      Jürgen

  • SOS Problem with navigation rules

    Hello,
    I have been stuck for some time with a navigation problem: It seems my faces DD is read but the navigations rules are not. Unfortunately it does not give me any exception. The only thing that occurs is that the home page reloads itself instead of redirecting to the second page.
    Here is my DD:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN"  "http://java.sun.com/dtd/web-facesconfig_1_0.dtd">
    <faces-config>
         <!-- ==============================  Application  ============================== -->
         <application>
              <locale-config>
                   <default-locale>en</default-locale>
              </locale-config>
         </application>
         <!-- ==============================  Managed Beans ============================== -->
         <managed-bean>
              <managed-bean-name>GuideSearchManagedBean</managed-bean-name>
              <managed-bean-class>com.softwareag.test_guide.web.temp.PGSearchManagedBean</managed-bean-class>
              <managed-bean-scope>session</managed-bean-scope>
         </managed-bean>
         <!-- ==============================   Navigation rules ============================== -->
         <navigation-rule>
              <from-view-id>/home.jsp</from-view-id>
              <navigation-case>
              <from-action>#{GuideSearchManagedBean.newSearchAction}</from-action>
              <from-outcome>displayResults</from-outcome>
              <to-view-id>/errorOccured.jsp</to-view-id>
              </navigation-case>
         </navigation-rule>
    </faces-config>Here is my jsf:
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <f:view>
    <html>
    <head>
    <title>home</title>
    </head>
    <body>
    <h:form id="guide_form">
    category
    <h:selectOneMenu id="category" value="#{GuideSearchManagedBean.category}" required="true">
    <f:selectItem itemValue="2" itemLabel="resto"/>
    <f:selectItem itemValue="1" itemLabel="bar"/>
    <f:selectItem itemValue="3" itemLabel="disco"/>
    </h:selectOneMenu>
    <br /><br />
    postcode<br /><br />
    <h:selectManyListbox id="postcodes" value="#{GuideSearchManagedBean.postcodes}" required="true">
    <f:selectItem itemValue="75001" itemLabel="75001"/>
    <f:selectItem itemValue="75002" itemLabel="75002"/>
    <f:selectItem itemValue="75003" itemLabel="75003"/>
    <f:selectItem itemValue="75004" itemLabel="75004"/>
    <f:selectItem itemValue="75005" itemLabel="75005"/>
    <f:selectItem itemValue="75006" itemLabel="75006"/>
    </h:selectManyListbox>
    <br /><br />
    name
    <h:inputText id="name" value="#{GuideSearchManagedBean.name}"/>
    <br /><br />
    with comments
    <h:selectBooleanCheckbox id="commentsExist" value="#{GuideSearchManagedBean.commentsExist}"/>
    <br /><br />
    order by
    <h:selectOneRadio id="sortOrderCriterion" value="#{GuideSearchManagedBean.sortOrderCriterion}" layout="pageDirection">
      <f:selectItem itemValue="GRADES" itemLabel="note"/>
      <f:selectItem itemValue="DB_ESTABLISHMENT_NAME" itemLabel="name"/>
      <f:selectItem itemValue="DB_POSTCODE" itemLabel="postcode"/>
    </h:selectOneRadio>
    <br /><br />
    minimum note
    <h:selectOneMenu id="minimumNote" value="#{GuideSearchManagedBean.minimumNote}">
    <f:selectItem itemValue="1" itemLabel="1"/>
    <f:selectItem itemValue="2" itemLabel="2"/>
    <f:selectItem itemValue="3" itemLabel="3"/>
    <f:selectItem itemValue="4" itemLabel="4"/>
    <f:selectItem itemValue="5" itemLabel="5"/>
    </h:selectOneMenu>
    <br /><br />
    <h:commandButton id="submit" action="#{GuideSearchManagedBean.newSearchAction}" value="Submit" />
    </h:form>
    </body>
    </html>
    </f:view>Here is my Managed bean:
    package com.softwareag.test_guide.web.temp;
    import java.rmi.RemoteException;
    import java.util.List;
    import com.softwareag.test_guide.web.util.PGFactory;
    * @author Julien Martin
    public class PGSearchManagedBean {
         private String category;
         private List postcodes;
         private String name;
         private boolean commentsExist;
         private String sortOrderCriterion;
         private int minimumNote;
         public String newSearchAction(){
              System.out.println("----------within new search action--------------");//this line never gets printed
              return "displayResults";
         public String nextAction() throws RemoteException { //TODO: Remove that
              PGSearch search = PGFactory.getSearchInstance();
              String issue = search.next();
              return issue;
         public String previousAction() throws RemoteException { //TODO: Remove that
              PGSearch search = PGFactory.getSearchInstance();
              String issue = search.previous();
              return issue;
         public String getCategory() {
              return category;
         public boolean getCommentsExist() {
              return commentsExist;
         public int getMinimumNote() {
              return minimumNote;
         public String getName() {
              return name;
         public List getPostcodes() {
              return postcodes;
         public String getSortOrderCriterion() {
              return sortOrderCriterion;
         public void setCategory(String string) {
              category = string;
         public void setCommentsExist(boolean bool) {
              commentsExist = bool;
         public void setMinimumNote(int i) {
              minimumNote = i;
         public void setName(String string) {
              name = string;
         public void setPostcodes(List list) {
              postcodes = list;
         public void setSortOrderCriterion(String string) {
              sortOrderCriterion = string;
    }Can anyone help? I am really stuck. :-)
    Julien Martin.

    Hi,
    I added a messages component to your home.jsp page and saw that the page produced validation errors (often the cause for failed navigation).
    The problem is that the beans property minimumNote expects an int but gets a String. When you change the the type in the bean to String it works.
    You will probably want to add a converter to the uicomponent to get the correct type. I'd be happy to tell you how, but I'm just starting with jsf ;-).

  • Adding custom navigation rules results in strange behavior

    Hello,
    We'd like to add navigation rules to our application. To avoid post-JHeadstart-generation-steps we created an extra faces-config-custom.xml file which contains the navigation rules. When adding this file to the web.xml and run the aplication we encounter strange behavior
    - Errors are shown in duplicate
    - 'Transaction completed' messages are not shown
    Try adding the underneath faces-config-custom.xml to a standard HR demo project and you will get the same behavior.
    (1) What is the reason of this strange behavior?
    (2) How can we add custom navigation rules, without having to do post creation steps?
    Regards Leon
    [faces-config-custom.xml]
    <?xml version="1.0" encoding="windows-1252" ?>
    <!DOCTYPE faces-config PUBLIC
    "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
    "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
    <faces-config xmlns="http://java.sun.com/JSF/Configuration">
    <navigation-rule>
    <from-view-id>*</from-view-id>
    <navigation-case>
    <from-outcome>BezwaarVerzoeken</from-outcome>
    <to-view-id>/pages/inboeken/BezwaarVerzoeken.jspx</to-view-id>
    </navigation-case>
    <navigation-case>
    <from-outcome>LosseOpdrachten</from-outcome>
    <to-view-id>/pages/inboeken/LosseOpdrachten.jspx</to-view-id>
    </navigation-case>
    </navigation-rule>
    </faces-config>
    [Add faces-config-custom.xml to web.xml]
    <context-param>
    <param-name>javax.faces.CONFIG_FILES</param-name>
    <param-value>/WEB-INF/faces-config-custom.xml,...

    Leon,
    When you perform a drag and drop operation, JDeveloper adds the following lines to the faces-config.xml:
    <lifecycle>
    <phase-listener>
    Oracle.adf.controller.faces.lifecycle.ADFPhaselistener
    </phase-listener>
    </lifecycle>
    However, JHeadstart uses its own subclass of ADFPhaselistener, and defines the lifecycle element in JhsCommon-beans.xml. Due to a bug in ADF, ADF does not look for the lifecycle element in other files than faces-config, and adds its own element in faces-config.xml If you remove these lines, everything works fine again.
    To prevent this from happening again, you can move the following entry from JhsCommon-beans.xml to faces-config.xml:
    <lifecycle> <phase-listener>oracle.jheadstart.controller.jsf.lifecycle.JhsADFPhaseListener</phase-listener>
    </lifecycle>
    And then make a custom template for JhsCommon-beans.vm where you remove this entry.
    Steven Davelaar,
    JHeadstart team.

  • Change JSF navigation-rule not begin with "root"

    Dear all,
    I have a web application, call myApp, run in PC1. There is a navigation rule to control page1 jump to page2.
    normally, after deploy and run my application, url for it is: [ http://{color:#0000ff}pc1:8080{color}/{color:#008000}myApp{color}/*{color:#ff6600}page1.jsf{color}* ], and click something in my page1, it will go to [ http://{color:#0000ff}pc1:8080{color}/{color:#008000}myApp{color}/*{color:#ff6600}page2.jsf{color}* ].
    I have another machine, named PC2, and create a mapping and forward request to PC1. Therefore, if anyone type the url: [ http://*{color:#0000ff}pc2{color}*/subSection/{color:#008000}myApp{color}/{color:#ff6600}*page1.jsf*{color} ] , actuality, they are looking for [ http://{color:#0000ff}*pc1:8080*{color}/{color:#008000}myApp{color}/*{color:#ff6600}page1.jsf{color}* ].
    Now, I have a problem is that, when people browse a page [ http://{color:#0000ff}*pc2*{color}/*{color:#ff00ff}subSection{color}*/{color:#008000}myApp{color}/*{color:#ff6600}page1.jsf{color}* ] and click something, it will go to another page [ http://{color:#0000ff}*pc2*{color}/{color:#008000}myApp{color}/*{color:#ff6600}page2.jsf{color}* ], not go to [ http://{color:#0000ff}*pc2*{color}/*{color:#ff00ff}subSection{color}*/{color:#008000}myApp{color}/*{color:#ff6600}page2.jsf{color}* ]. Therefore, it makes "404 Not Found" exception.
    Does anyone help me?
    Thank you
    Kevin Tang.

    SuperCEO wrote:
    My application server is Apache Tomcat.
    May be my problem is related to Tomcat context path problem.
    I wanna to know can I modify my program, such as faces-config.xml, to fix my problem, or I need to modify my Tomcat setting ?I am suggesting you do not need to modify your program, but the configuration of whatever is doing the forwarding.

  • Query: Best practice SAN switch (network) access control rules?

    Dear SAN experts,
    Are there generic SAN (MDS) switch access control rules that should always be applied within the SAN environment?
    I have a specific interest in network-based access control rules/CLI-commands with respect to traffic flowing through the switch rather than switch management traffic (controls for traffic flowing to the switch).
    Presumably one would want to provide SAN switch demarcation between initiators and targets using VSAN, Zoning (and LUN Zoning for fine grained access control and defense in depth with storage device LUN masking), IP ACL, Read-Only Zone (or LUN).
    In a LAN environment controlled by a (gateway) firewall, there are (best practice) generic firewall access control rules that should be instantiated regardless of enterprise network IP range, TCP services, topology etc.
    For example, the blocking of malformed TCP flags or the blocking of inbound and outbound IP ranges outlined in RFC 3330 (and RFC 1918).
    These firewall access control rules can be deployed regardless of the IP range or TCP service traffic used within the enterprise. Of course there are firewall access control rules that should also be implemented as best practice that require specific IP addresses and ports that suit the network in which they are deployed. For example, rate limiting as a DoS preventative, may require knowledge of server IP and port number of the hosted service that is being DoS protected.
    So my question is, are there generic best practice SAN switch (network) access control rules that should also be instantiated?
    regards,
    Will.

    Hi William,
    That's a pretty wide net you're casting there, but i'll do my best to give you some insight in the matter.
    Speaking pure fibre channel, your only real way of controlling which nodes can access which other nodes is Zones.
    for zones there are a few best practices:
    * Default Zone: Don't use it. unless you're running Ficon.
    * Single Initiator zones: One host, many storage targets. Don't put 2 initiators in one zone or they'll try logging into each other which at best will give you a performance hit, at worst will bring down your systems.
    * Don't mix zoning types:  You can zone on wwn, on port, and Cisco NX-OS will give you a plethora of other options, like on device alias or LUN Zoning. Don't use different types of these in one zone.
    * Device alias zoning is definately recommended with Enhanced Zoning and Enhanced DA enabled, since it will make replacing hba's a heck of a lot less painful in your fabric.
    * LUN zoning is being deprecated, so avoid. You can achieve the same effect on any modern array by doing lun masking.
    * Read-Only exists, but again any modern array should be able to make a lun read-only.
    * QoS on Zoning: Isn't really an ACL method, more of a congestion control.
    VSANs are a way to separate your physical fabric into several logical fabrics.  There's one huge distinction here with VLANs, that is that as a rule of thumb, you should put things that you want to talk to each other in the same VSANs. There's no such concept as a broadcast domain the way it exists in Ethernet in FC, so VSANs don't serve as isolation for that. Routing on Fibre Channel (IVR or Inter-VSAN Routing) is possible, but quickly becomes a pain if you use it a lot/structurally. Keep IVR for exceptions, use VSANs for logical units of hosts and storage that belong to each other.  A good example would be to put each of 2 remote datacenters in their own VSAN, create a third VSAN for the ports on the array that provide replication between DC and use IVR to make management hosts have inband access to all arrays.
    When using IVR, maintain a manual and minimal topology. IVR tends to become very complex very fast and auto topology isn't helping this.
    Traditional IP acls (permit this proto to that dest on such a port and deny other combinations) are very rare on management interfaces, since they're usually connected to already separated segments. Same goes for Fibre Channel over IP links (that connect to ethernet interfaces in your storage switch).
    They are quite logical to use  and work just the same on an MDS as on a traditional Ethernetswitch when you want to use IP over FC (not to be confused with FC over IP). But then you'll logically use your switch as an L2/L3 device.
    I'm personally not an IP guy, but here's a quite good guide to setting up IP services in a FC fabric:
    http://www.cisco.com/en/US/partner/docs/switches/datacenter/mds9000/sw/4_1/configuration/guides/cli_4_1/ipsvc.html
    To protect your san from devices that are 'slow-draining' and can cause congestion, I highly recommend enabling slow-drain policy monitors, as described in this document:
    http://www.cisco.com/en/US/partner/docs/switches/datacenter/mds9000/sw/5_0/configuration/guides/int/nxos/intf.html#wp1743661
    That's a very brief summary of the most important access-control-related Best Practices that come to mind.  If any of this isn't clear to you or you require more detail, let me know. HTH!

  • Error accessing Business Rules from EAS

    Hi,
    I am using EPM System 11 and trying to access Business Rules via Essbase Adminstration Services Console (EAS). When I open up the Business Rules node from Enterprise View, and select Repository View > Rules, a list of all the Business Rules is displayed. However, when I try to click on one to open it in the editor, I received an error message from EAS the reads:
    Business Rules Error. Error creating DBUserGrpObjLinkTable. Cannot continue.
    When I click Get Detail, it just displays Detail: null. This occurs when trying to open any of the Business Rules. In the past I have had no problem creating, editing, and launching business rules from EAS.
    I am still able to successfully launch the Business Rules I have already created and assigned to my Planning application FROM the Planning Web Application, but I am not able to edit them or create any new ones in EAS. Does anyone know what has happened to cause this error? It appears as if something happen to the one of the tables in the relational database that was configured during the installation of the EPM system? I can provide more detail if necessary. Thank you.

    I have restarted the services and that did not solve the problem. This may be a stupid question, but I'm not exactly sure who I would contact at Oracle about this problem. Can someone tell me where I should look for this?
    Also, I have a bit more information from the logs that may be helpful in solving this. Here is an excerpt from the hbrserver.log:
    2009-12-09 03:28:10,656 WARN main com.hyperion.hbr.core.AccessControlManagerServer - HBR repository is not configured. HBR will not be available.
    2009-12-15 10:25:02,656 FATAL http-10080-Processor4 com.hyperion.hbr.core.AccessControlManagerServer - Error creating DBUserGrpObjLinkTable. Cannot continue.
    It appears that the HBR repository is not configured? I am confused because Business Rules were working fine just last week, and I'm not sure what has changed. Also, I can still successfully run Business Rules from Planning. Any ideas on how to fix the repository? Thanks.

  • 9.3.3 Upgrade, null pointer exception when accessing business rules and mac

    Hello,
    We upgraded from 9.3.1 to 9.3.3. In the Essbase Administration Services Console, when I attempt to access business rules or macros from a client PC, we get a null pointer exception. The message does not tell us much, but I cannot find more.
    I can access business rules and macros using EAS Console from the server. Do I have a bad installation, or have I missed a step?
    Thank you,

    Hi,
    You might have to re-organize your application module hierarchy to place your common code.
    If your intension is to auto populate the primary key for your Entity Objects., I would suggest below common practice.
    1). Create a Base Entity Impl class for your project that extends oracle.jbo.server.EntityImpl
    2). Code your getDbSequence() method inside this base entity impl class
    3). Make sure that all your Entity Objects extend your base entity impl class
    4). Use EL expression to call this method for auto-generating primary key attribute of your Entity Object.
    e.g., adf.object.getDbSequence("sequenceName")
    Regards,
    Eshwar

  • Dynamic Navigation mapping to Navigation Rules

    I have a situation where I need to create a javascript "hover-over" nav. I'd also like to have them define the navigation rules in their faces config. My question is, how do I code the javascript "action" for each nav item so that it somehow maps to the navigation rules I defined in my faces config? Right now I'm just rendering all of my javascript in my JSP. In order to get this to work, do I have to create a JSF component? Will it fit into the architecture more cleanly if I do? Any hints? I'd like this to fit into the JSF programming model as much as possible.
    Thanks,
    Dave

    I'm just kind of winging it at this point, basing my examples on some of the ones in Core JSF. I'm thinking my component will contain a string for the selected menu item and a collection of navigation items (display string/navigation key). Then there is the renderer for the component, followed by the Tag class and DTD. Does that sound like the right path? Since the nav is a glabal nav, I was thinking of reading in the structure from XML once, and not have all of the menu items in the JSP as child tags. I am still a bit confused as to how I will hook the action of the menu click to my backing bean action. Any help would be appreciated.
    Dave

Maybe you are looking for

  • Want to change Del Date and Goods Issue date in Delivery scdl tab of PO

    Hi Gurus, I am in a situation wherein i need to change the Goods Issue date in Delivery schedule tab of Purchase Order and make it equivalent to Delivery date in the same tab. Currently the Goods issue date that is taken by default will always be one

  • Some fields are missing while recording through shdb

    Dear Abapers,                I am doing bdc for F-27 t.code.Some fields,cobl-gsber(business area),cobl-kostl(Cost center) are missing while recording through SHDB.But when do it manualy the fields are displaying.Also i have ddded those fields manualy

  • Formula column help needed(urgent)

    Hi , I am using the data template for generating XML data. BIP provided functions like SUM(), AVG(), COUNT(), MAX(), etc to use as below <group name="G_DEPT" source="Q1"> <element name="DEPT_NUMBER" value="DEPTNO" /> <element name="DEPTSAL" value="G_

  • In-document links work in desktop Acrobat, not in browser

    Scenario: two .pdfs generated from FrameMaker with full Acrobat 7.0. Document A contains a cross-reference to a heading on page 7 of document B. Behaviour in desktop Reader: clicking on the link in Document A opens Document B, at page 7 Behaviour in

  • Javascript works for text field, but not date ??

    Hi, I'm trying to calculate work-day hours based on a start and end date range, as the dates are changed (using onChange event). I tend to do this kind of thing in chunks, so I started with a very basic script that should simply update 1 item with th