Best practice building custom navigation menu

Greetings to the community!
Now there are different ways to build a navigation with APEX. 1) the default functionalities, 2) using JS-pugins, maybe others, I dont know of.
3) I have now build one via html generated in a stored function, based on table-data, output with htp.p(functionHTMLMenu); in an pl/sql-region and formatted with css, according to the common html markup: <ul><li><a...>text</a></li>...</ul>. ...nothing special Is this a good practice? - Considering other functionalities that apex may offer?
I have recently read on Ask Tom, that he woudlnt use htp.p nowadays. I have looked around a lot for a description on the different htp-functions: .p, .prn, .anchor... and not really found anything usefull. What really are the differenced? (edit: finally found the right documentation ;) )
Why I dont use the build-in functionalities for navigation? first, I want to style them a bit nicer, and 2nd and more relevant: the generation and selection of the individual navigation items will strongly depend on user access authorisation and will be very flexible.
So, would you build a navigation as descriped above, sending a fat varchar2-string into the page? Or are there more elegant ways, like using page-zero proccesses, app-list-items or the like (which I am not so familiar with as of yet).
Thanks for any advice and tips,
so long,
tobi
Edited by: tpetri on 02.10.2012 10:05

tpetri wrote:
Greetings to the community!
Now there are different ways to build a navigation with APEX. 1) the default functionalities, 2) using JS-pugins, maybe others, I dont know of.
3) I have now build one via html generated in a stored function, based on table-data, output with htp.p(functionHTMLMenu); in an pl/sql-region and formatted with css, according to the common html markup: <ul><li><a...>text</a></li>...</ul>. ...nothing special Is this a good practice? - Considering other functionalities that apex may offer?
I have recently read on Ask Tom, that he woudlnt use htp.p nowadays. I have looked around a lot for a description on the different htp-functions: .p, .prn, .anchor... and not really found anything usefull. What really are the differenced? (edit: finally found the right documentation ;) )
Why I dont use the build-in functionalities for navigation? first, I want to style them a bit nicer, and 2nd and more relevant: the generation and selection of the individual navigation items will strongly depend on user access authorisation and will be very flexible.
So, would you build a navigation as descriped above, sending a fat varchar2-string into the page? Or are there more elegant ways, like using page-zero proccesses, app-list-items or the like (which I am not so familiar with as of yet).
Dynamic lists are the obvious "more elegant way" you're apparently not aware of. Custom list templates enable them to be styled however you want. However you've failed to provide the APEX version you are using, so we don't know if this 4.1 feature is available to you. If not, then a report with a custom template is a close approximation in earlier versions.
Given suitably complex requirements I have no problem with using a PL/SQL region to generate navigation options output using <tt>htp.p</tt>. I think you're safe in that this would be covered by TK's +"...every now and then in a snippet of code in APEX maybe..."+ ;-)
Whether list, report or PL/SQL, also consider if caching the region to improve performance is possible.

Similar Messages

  • Best practices for customizing the standard OBIA metedata repository (RPD)

    Hello
    Is there a Best practices document published by oracle or a partner that talks about best practices for customizing OBIA out-of-box RPD. I am specifically looking for guidance around:
    1. adding new objects to physical layer or modifying an exisitng table definition to add more columns
    2. Building new Logical columns in BMM layer
    3. Modifying the exisitng Subject areas.
    Thanks

    There is a very good presentation by Rittman mead on extending and customizing BI Applications. Refer to this link (http://www.rittmanmead.com/files/OOW2008%20-%20Extending%20and%20Customizing%20the%20BI%20Apps%20Data%20Warehouse.pdf ).
    Thanks,
    -Amith.

  • Best Practices Building Blocks for CRM 5.0 & CRM 2007

    Hi Experts,
    Where can I find Best Practices Building Blocks for CRM 5.0 & CRM 2007?
    Thanks in advance,
    Vishwa.

    Hi
    Go to: http://help.sap.com/
    Click on the Best Practices Tab,
    Then Cross-Industry Packages,
    Then Customer Relationship Management
    They should all be under there.
    Regards
    Arden

  • Best practice for customizing EJB property after deployment

    Hi Gurus,
      What is the best practice for customizing EJB property after deployment in NW7.1? I have a stateless session bean and it needs to get some environment information before acting. While the information can only be known at runtime. What should I do to achieve it? I thought I can bind the property with a JNDI context but I did not find out where to declare and change the context value. Please advise. Thanks.
    B.R.

    Hi.
    I have a similar problem. But I still can not edit the properties of the ejb-jar.xml.
    I tried to stop the web service, but the properties still remain unmodifiable.
    Could you advise me how to change them?
    We have installed SAP Server 7.0.2

  • Best Practice Building Block Library not accessible in Firefox

    Hello SAP Documentation Team,
    I've just get aware of the <a href="http://help.sap.com/bp_bblibrary/500/BBlibrary_start.htm">Best Practice Building Block Library</a>. Unfortunately it can't be used with Firefox 1.5.0.4 because of a script error. I see the dropdown lists but when I select for example Country "Germany" nothing happens. In IE it works perfect.
    Regards
    Gregor

    Hope that this will change with later Best Practice releases.

  • Where to find best practice building blocks

    Hello,
    Does anyone know where to find best practice building blocks. I found it sometime ago, but could not find it now.
    It is a link to all the documentation list for a specific industry. (not the SAP Lib)
    Thank you!

    http://help.sap.com/bp_bblibrary/600/BBlibrary_start_newlook.htm
    Exclusively for retail preconfigured scenarios best practice  - http://help.sap.com/bp_retail603/Retail_US/HTML/index.htm
    for upcoming SAP Best Practices versions for SAP ERP 6.0 unde - http://service.sap.com/bestpractices
    Enjoy!

  • Best Practice : Creating Custom Renderer for Standard Component

    I've been reading the docs and a few threads about Custom Renderers. The best practice seems to be to create a Custom Component where you need a Custom Renderer. Is this the case?
    See [this post|http://forums.sun.com/thread.jspa?forumID=427&threadID=520422]
    I've created several Custom Renderers to override the HTML provided by the Standard Components, however I can't see the benefit in also creating a Custom Component when the behaviour of the standard component is just fine.
    Thanks,
    Damian.

    It all depends on what you are trying to accomplish. Generally speaking if all you need is for the user interface output to be changed then a renderer will work just fine. A new component is usually made in order to provide some fundamental change in server side functionality not related to the user interface. - Ponderator

  • Best practice for end user menu pages

    Hi
    here is my goal :
    i want to add a link on the end user menu offering the user the ability to reset some LDAP fields (for example reset default values for mail settings after the user made a wrong customization).
    I saw all links on the end user menu are pointing to jsp pages. must i do the same or can i achieve my goal with only workflows and forms in the BPE ?
    is there somewhere a good example or a best practice desciption of such a customization ?
    thanks a lot

    Hi
    here is my goal :
    i want to add a link on the end user menu offering
    the user the ability to reset some LDAP fields (for
    example reset default values for mail settings after
    the user made a wrong customization).
    I saw all links on the end user menu are pointing to
    jsp pages. must i do the same or can i achieve my
    goal with only workflows and forms in the BPE ?
    is there somewhere a good example or a best practice
    desciption of such a customization ?
    thanks a lotDo you mean adding additional tabs to the accounts information (default being identity, assignments, security, and attributes). So, you want an additional tab such as 'LDAP attributes' after attributes, once you have assigned LDAP resournce to that user, right?
    Cheers,
    Kaushal Shah

  • Best Practice with Browser navigation buttons

    My Web Ap does a secured login and then the user is
    guided to various pages via Command buttons and links.
    The question I have is if the user presses the browser buttons to
    go back the various prior screens appear with waht the user
    entered. I do ot want this.
    What is the best practice to stop this functionality and or capture a event
    that f the user does this the screens are cleared?

    (I believe all Faces page navigation is done via POST (command{Button,Link}).)
    In our app (pre-Faces, but now we're moving to Faces, and I just can't tell you how much fun it is grafting Faces onto an old JSP/servlet app), we chose to open a new window when the user logs in, without browser decorations (i.e., navigation buttons). (This is done via javascript window.open(), with the appropriate options.)
    The old window can't be closed due to Javascript security constraints, so we redirect it to another page so the user won't be confused if he or she stumbles across what looks like a login page (by exposing that old window).
    After that, it's mostly an effort in user education: we just don't tell them about things like alt-left-arrow to go back or F5 to refresh or right-click anything (except View Source when we're debugging a problem). If they're "smart", we tell them "Don't do that", where "that" is either "stick your finger in your eye" or "use alt-left-arrow", depending on your sense of humor and ability to parse my idiomatic English.
    [There's an old joke in which a man goes to a doctor and says "Doctor, my eye hurts".  The doctor says "Hmm, can you tell me more?"  The patient says "Yes, it hurts when I do [i]this," and proceeds to jab his finger into his eye. The doctor says, "Ah, I see. Well, don't that any more," and the patient walks away satisfied with his "cure."]
    John.

  • Best practices for customer segmentation

    Hi all
    I am looking for the best practices documentation for customer segmentation, but I cannot find it anywhere in the Service Marketplace.
    Could anybody please direct me to where the documentation is? Points will be awarded
    Thanks
    Joaquin

    Found it! It is here:
    http://help.sap.com/bp_crmv340/CRM_DE/index.htm

  • Best Practice for programatically navigating to a page in ADF

    What is the best approach to navigate programmatically to another page in ADF. I can use this in JSF but want to know is there anyother approach for navigation in ADF:
    FacesContext.getApplication().getNavigationHandler().handleNavigation

    BIG BIG ?
    If you use faces you normally use the faces navigation, either direct or via the navigation cases defined in your page flow definition files.
    I guess you can use Flex or Struts but then you are one your own...
    Timo

  • Best Practice for custom controller

    Hi Experts,
    In my current project we have one DC with single component and 12 views (4 business functionality each has 3 view flow ). Now complete logic is in component controller itself and planning to divide business logic into 4 custom controller based on business functionality.
    Please guide me how i need to manger context variable and approach from below?
    1. Maintain context in each custom controller and map to views. (Cust Cont ->Views) not maintained in comp Controller
    2. Maintain all context in component controller and from there custom controller and from there views. (Comp Cont -> Cust cont  -> Views)
    3. Maintain context in custom controller and map to component controller and from there mapping to View. (Cust Cont -> Comp cont  -> Views)
    Regards,
    Satya.

    HI,
    If you are going to use Custom controller, always try to bind all related functionality and context in respective custom contollers.
    Else there is no meaning in using that.When your application will expand in future this will help you.
    Also i will not advice to separate if it is not important.Because if you are creating a new custom controller that much additional work will raise.
    Thanks ,
    Ram

  • Oracle Custom Workflow Redesign best practices

    Hi All,
    Morning , need some help with this scenario.
    We are in the process of redesigning existing developed custom Oracle Workflows in our system ( Oracle Apps Release 12.0.6 )
    hence wanted to know if there are steps or guidelines/best practices which could be followed in this situation on points like handling performance issues with the workflow , how to handle the purging of the obsolete workflow data , design steps regards notifications, how to handle error conditions with workflow activities and how to retry activities ( means if any activity within the workflow process shows error how it could be retried or re executed in real time without any delay).
    means any pointers which could be considered for this redesign actvity , any best practices document/steps and guidelines would be really very very helpful here...
    Regards

    This is a very broad question - narrowing it to specifics might help folks respond better.
    There are a lot of documents on MOS that refer to best practices from a technology stack perspective.
    Oracle Workflow Best Practices Release 12 and Release 11i          (Doc ID 453137.1)
    As far as functional practices are concerned, these may vary from module to module, as functionality and workflow implementation vary from module to module.
    FAQ: Best Practices For Custom Order Entry Workflow Design          (Doc ID 402144.1)
    HTH
    Srini

  • Query Syntax for Dynamic Navigation Menu

    I'm trying to build a Navigation menu from a query using the following syntax:
    select LEVEL,
           LABEL,
           LINK,
           'NO' as IS_CURRENT,
           null as IMAGE
      from V$RC_MENUS
    where CLUB = :APP_CLUB
    start with PID is null
    connect by prior ID = PID
    order by SEQUENCE, LABEL
    The query itself works fine for all values of APP_CLUB but it only generates the menu entries for some values of APP_CLUB, but not others. The SEQUENCE value determines the order of the entries within each level. Is this the correct syntax for a query-based navigation menu? How does it determine which sub-levels belong to a parent?  Does the ordering of the resultset have any impact on how the menu is generated?

    Jritschel-Oracle wrote:
    I'm trying to build a Navigation menu from a query using the following syntax:
    select LEVEL, 
          LABEL, 
          LINK, 
          'NO' as IS_CURRENT, 
          null as IMAGE 
      from V$RC_MENUS 
    where CLUB = :APP_CLUB 
    start with PID is null 
    connect by prior ID = PID 
    order by SEQUENCE, LABEL 
    The query itself works fine for all values of APP_CLUB but it only generates the menu entries for some values of APP_CLUB, but not others. The SEQUENCE value determines the order of the entries within each level. Is this the correct syntax for a query-based navigation menu? How does it determine which sub-levels belong to a parent?  Does the ordering of the resultset have any impact on how the menu is generated?
    As stated in the documentation:
    ...do not specify either ORDER BY or GROUP BY, because they will destroy the hierarchical order of the CONNECT BY results. If you want to order rows of siblings of the same parent, then use the ORDER SIBLINGS BY clause.
    Try:
    select LEVEL,
          LABEL,
          LINK,
          'NO' as IS_CURRENT,
          null as IMAGE
      from V$RC_MENUS
    where CLUB = :APP_CLUB
    start with PID is null
    connect by prior ID = PID
    order siblings by SEQUENCE, LABEL

  • Best practice document for SRM

    Hi all
    Is there a best practice document for SRM setup and Qucksizing tool for SRM-MDM
    thanks

    Hello,
    SRM related best practice building block is S60 - Self-Service Procurement (Procure 2 Pay)
    Please find the link:
    http://help.sap.com/bp_bblibrary/600/html/S60_EN_DE.htm
    Hope this will be useful.
    Thanks
    Ashutosh

Maybe you are looking for

  • Coverting CST server time to UTC time

    hi friends is there any FM to convert CST server time to UTC time Thanks in advance with regards s.janagar

  • Equipment no does not exist

    Hi, When I am assigning serial numbers to the production order in CO02 at header level. System is throwing an error message sayiing that the Equipment number does not exist. Please give me a solution to this issue. Thanks and Regards, Varun Siddharth

  • Partition Exchange during DMLs

    Hello, This question regarding Partition Exchange during DML operations on 10.2.0.3 I have a table that's RANGE-LIST partitioned as follow. Syntaxt may not be perfact.. CREATE TABLE P_TBL O_DATE DATE, DOW    NUMBER, -- This actually is TO_NUMBER(TO_C

  • Setting Default compiler

    I have a rather weird problem - I have installed 1.5 but if I compile from the command line, 1.4.1 is still invoked - I knew this by using the javac -verbose option. This leads me to 2 interesting questions : 1) Is there a command line option to simp

  • Really bad performance from my mac

    I have a problem with my 20" intel mac, its about three years old and the only modification I have made to it is adding two 1gb sticks to increase the RAM. My DVD writer started to refuse to write DVDs and then for no reason my mac started to freeze