Best Menu Implementation in ADF

Hi Friends,
I have an application developed in Oracle Forms. The Menu's are using the same fundermental as Oracle's EBS where you have a tree and when you click a node, it opens the corresponding form. I have been trying to think how i can accomplish the same in ADF or is there a better way to manage dynamic menu's in ADF?
I am using JDev 11g Release 2
Thanks.
Eric.
Edited by: Eric S. on Dec 22, 2011 6:23 PM

Hi,
For that purpose you need to use WildCard component,
try
http://docs.oracle.com/cd/E18941_01/tutorials/jdtut_11r2_43/jdtut_11r2_43.html
http://www.fireboxtraining.com/blog/2011/07/14/dynamic-oracle-adf-navigation-using-a-menu-model/
Edited by: -Suresh.CHS on Dec 22, 2011 9:21 PM

Similar Messages

  • Factory list menu implementation

    I'm building an application where I want to have a drop-down menu to select an object type (in this case an image filter, essentially) to create an object to append to a list. I thought to do it like this:
    <mx:XML format="e4x" id="dElevationProcessors">
            <root>
                <menuitem label="Clear to value" classRef="{ClearToValue}" />
            </root>
    </mx:XML>
    <pg:DropDownButton menuData="{dElevationProcessors}" itemClick="new event.item.@classRef ();"></pg:DropDownButton>
    Where DropDownButton is a derivative class that creates the menu and relays its MenuEvent.ITEM_CLICK event to the object. The compiler rejects this, however, saying that "Attributes are not callable". If I replace the itemClick code with "var c: * = event.item.@classRef; new c ();", then the runtime instead fails on it, saying that "Instantiation attempted on a non-constructor." The interesting thing is that if I replace the itemClick with "trace (event.item.@classRef == ClearToValue);", this returns false. Yet "trace (event.item.@classRef, ClearToValue)" prints "[class ClearToValue] [class ClearToValue]". I also tried "var c: Class = event.item.@classRef as Class; trace (c != null, ClearToValue != null);"; that prints "false true".
    I assume this is some kind of weird interaction with binding, that I'm actually dealing with a binding rather than the class object itself, and while that normally doesn't make any difference, it does for new.
    If this can't work, then how best to implement something like this? Preferably not purely programmatically - the purpose of the project is to teach myself MXML. Obviously I could just replace the menu with a list of objects and be done with it in seconds.
    I'd also be interested if anyone has a cleaner, more maintainable method for doing this kind of task. Ideally all non-abstract ElevationProcessor derivates in the project would just be in a list, so I'm not replicating information in two places.
    If it makes a difference, I'm using FlashDevelop 3.0.6, with the latest Flex compiler, targeting Air with Flash Player 10. Thanks for any help!

    > <form id="quote" name="quote" method="post"
    action="">
    In the action you'll need to call a script that in turn sends
    the email
    to the emails specified.
    In the script you have to assign the emails desired as the
    recipients.
    in PHP it looks something like this (of course very
    simplified)
    in your form:
    <form id="quote" name="quote" method="post"
    action="processform.php">
    <select name="ddlSalesRep"
    id="ddlSalesRep" style="width:248px;">
    <option value="Select a Sales Rep."
    selected="selected">Select a
    Sales
    Rep.</option>
    <option value="[email protected] ">Dan
    T</option>
    <option
    value="[email protected]">Michel</option>
    </select>
    in processform.php
    <?php
    if ($_POST['ddlSalesRep'] != 'Select a Sales Rep.')
    { $recipient = $_POST['ddlSalesRep']; }
    else
    { // default value
    $recipient = [email protected];
    // get other vars from POST
    // define other
    $subject = 'Mysubject';
    $body = ... collection of all vars
    //send
    mail($recipient,$subject,$body);

  • Best Practice Implementation for Enterprise Portal

    hi,
    I am doing Best Practice Implementation on Enterprise Portal.
    In that i cant find one file. Can you please help me in finding these file "BP_RAPID_ALL.epa"
    Thanks in Advance
    Regards,
    Raju

    Hi All,
    Till now no one has answered for my query.
    can i know is there any replacment for this file(BP_RAPID_ALL.epa) in new version of Best Practices.
    Regards,
    Raju
    Edited by: V R K Raju P on Feb 17, 2009 1:04 PM

  • Portal Best Practice Implementation

    hi,
    I am doing Best Practice Implementation on Enterprise Portal.
    In that i cant find one file. Can you please help me in finding these file "BP_RAPID_ALL.epa"
    Thanks in Advance
    Regards,
    Raju

    No one answered for this problem.

  • Best Practices Implementation on Enterprise Portal

    Hi All,
    Can you please explain me what is Best Practice Implementation and Also please help me in Best Practices Implementation on Enterprise Portal.
    Regards,
    P V R K Raju
    Edited by: V R K Raju P on Feb 11, 2009 12:25 PM
    Edited by: V R K Raju P on Feb 11, 2009 12:25 PM

    Raju,
    The best practices are all scenario based.
    You may however check them out.
    help.sap.com -> Best Practices.
    Best Practice for Portal =>
    http://help.sap.com/content/bestpractices/crossindustry/bestp_crossindustry_ep.htm
    http://help.sap.com/bp_epv170/EP_US/HTML/Portals_intro.htm
    Regards,
    Ritu

  • Need help on Multi level menu implementation

    Hi All,
    Need help on Multi level menu implementation
    Thanks,
    Anu

    Hi Anu,
    Please go through this link Implement Multilevelmenu navigation
    Thanks,

  • Best approach -Tabs based ADF Tree left side navigation with Dynamic Regions with out UI Shell

    Hi,
    Somebody can help for the best approach to implement the following requirement.
    Req: When the user select the ADF Tree left side navigation menu, each menu will open as multiple tabs(Dynamic Tabs) in right side content area with out UI Shell Template.
    I completed the
    Step-1: From the Model project, I can able to render ADF Tree in the using view and view links. I can get the adf tree which is having 3 menu items. Each menu item having 2 sub menu's.
    I took each menu item as one(1) taskflow, each taskflow will have two(2) fragments.
    Total I have 3 task flows as Menu Items and 6 fragments for sub menu's.
    Step-2:  My question is How do I implement Tab based the ADF tree navigation (left side area to dynamic regions in content area) through dynamic regions? Please provide the steps in view layers.

    Than ks for your response.
    This is working fine for ADF Tree navigation with dynamic regions if the taskflow having only one fragment. if the taskflow having more than one fragments, this will not work. The following conditions are always satisfies one page fragment of either "employees" or "departments" task flow.  If the "employees" task flow have 2 page fragments, it's not work even you pass parameters through routers.
    public TaskFlowId getDynamicTaskFlowId() {
    if (currentTaskFlowID == null ||
    currentTaskFlowID.equalsIgnoreCase(“employees”)) {
    return TaskFlowId.parse(employeetaskFlowId);
    if (currentTaskFlowID != null &&
    currentTaskFlowID.equalsIgnoreCase(“departments”)) {
    return TaskFlowId.parse(departmetaskFlowId);
    return TaskFlowId.parse(employeetaskFlowId);
    My question is "Same use case with Dynamic Tabs" when the user click on any adf tree node.

  • Best practice for mouseless ADF applications

    I am developing an ADF application where the users do not want to use the mouse.
    So I would like to know if there are a best practice for this?
    I am already using the accessKey functionality and subforms defaultCommand
    But I have had problems setting focus to objects on a page like tables. I would like a button to return the focus to the table after it has made the command like delete.
    I have implemented a solution where I have found inspiration several threads and other webpages (see below).
    Is this solution okay?
    Are there any problems with it?
    I would also like to know if there are better pathways to go like
    out of the box solutions,
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/79-global-template-button-strategy-360139.pdf (are there an example implementation?), or
    http://one-size-doesnt-fit-all.blogspot.dk/2010/11/adf-ui-shell-supporting-global-hotkeys.html
    in advance thanks
    Inspiration webpages
    https://blogs.oracle.com/jdevotnharvest/entry/how_to_programmatically_set_focus
    http://technology.amis.nl/2008/01/04/adf-11g-rich-faces-focus-on-field-after-button-press-or-ppr-including-javascript-in-ppr-response-and-clientlisteners-client-side-programming-in-adf-faces-rich-client-components-part-2/
    how to Commit table by writting Java code in Managed Bean?
    Table does not refresh and getting error as UIComponent is Null
    A short description of the solution:
    (jdeveloper version 11.1.1.2.0)
    --- Example where I use onSetFocus in jsff page
    <af:commandButton text="#{hrsusuiBundle.FOCUS}" id="cb10"
    partialSubmit="true" accessKey="f"
    shortDesc="Alt+Shift+F"
    actionListener="#{managedBean_clientUtils.onSetFocus}">
    <af:clientAttribute name="focusField" value="t1"/>
    </af:commandButton>
    --- Examples where I use doTableActionAndSetFocus in jsff page
    --- There have to be a binding in the jsff page to delete, commit and rollback
    <af:commandButton text="#{hrsusuiBundle.DELETE}" id="cb4"
    accessKey="x"
    shortDesc="Alt+Shift+X"
    partialSubmit="true"
    actionListener="#{managedBean_clientUtils.doTableActionAndSetFocus}">
    <af:clientAttribute name="focusField" value="t1"/>
    <af:clientAttribute name="actionField" value="Delete"/>
    </af:commandButton>
    <af:commandButton text="#{hrsusuiBundle.COMMIT}" id="cb5"
    accessKey="s" shortDesc="Alt+Shift+S"
    partialSubmit="true"
    actionListener="#{managedBean_clientUtils.doTableActionAndSetFocus}">
    <af:clientAttribute name="focusField" value="t1"/>
    <af:clientAttribute name="actionField" value="Commit"/>
    </af:commandButton>
    <af:commandButton text="#{hrsusuiBundle.ROLLBACK}" id="cb6"
    accessKey="z" shortDesc="Alt+Shift+Z"
    partialSubmit="true"
    actionListener="#{managedBean_clientUtils.doTableActionAndSetFocus}"
    immediate="true">
    <af:resetActionListener/>
    <af:clientAttribute name="focusField" value="t1"/>
    <af:clientAttribute name="actionField" value="Rollback"/>
    </af:commandButton>
    --- This is the java class I use
    --- It is published in adfc-config.xml as a request scope managedbean
    public class ClientUtils {
    public ClientUtils() {
    public void doTableActionAndSetFocus(ActionEvent event) {
    RichCommandButton rcb = (RichCommandButton)event.getSource();
    String focusOn = (String)rcb.getAttributes().get("focusField");
    String actionToDo = (String)rcb.getAttributes().get("actionField");
    UIComponent component = null;
    String clientId = null;
    component = JSFUtils.findComponentInRoot(focusOn);
    clientId = component.getClientId(JSFUtils.getFacesContext());
    if ( "Delete".equals(actionToDo) || "Commit".equals(actionToDo) || "Rollback".equals(actionToDo) ){
    BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry();
    OperationBinding operationBinding = bindings.getOperationBinding(actionToDo);
    Object result = operationBinding.execute();
    AdfFacesContext.getCurrentInstance().addPartialTarget(component);
    if (clientId != null) {           
    makeSetFocusJavaScript(clientId);
    public static String onSetFocus(ActionEvent event) {
    RichCommandButton rcb = (RichCommandButton)event.getSource();
    String focusOn = (String)rcb.getAttributes().get("focusField");
    String clientId = null;
    if (focusOn.contains(":")) {
    clientId = focusOn;
    } else {
    clientId = findComponentsClientIdInRoot(focusOn);
    if (clientId != null) {           
    makeSetFocusJavaScript(clientId);
    return null;
    private static void writeJavaScriptToClient(String script) {
    FacesContext fctx = FacesContext.getCurrentInstance();
    ExtendedRenderKitService erks = null;
    erks = Service.getRenderKitService(fctx, ExtendedRenderKitService.class);
    erks.addScript(fctx, script);
    public static void makeSetFocusJavaScript(String clientId) {
    if (clientId != null) {
    StringBuilder script = new StringBuilder();
    //use client id to ensure component is found if located in
    //naming container
    script.append("var textInput = ");
    script.append("AdfPage.PAGE.findComponentByAbsoluteId");
    script.append ("('"+clientId+"');");
    script.append("if(textInput != null){");
    script.append("textInput.focus();");
    script.append("}");
    writeJavaScriptToClient(script.toString());
    public static String findComponentsClientIdInRoot(String id) {
    UIComponent component = null;
    String clientId = null;
    component = JSFUtils.findComponentInRoot(id);
    clientId = component.getClientId(JSFUtils.getFacesContext());
    return clientId;
    }

    Hi,
    I am developing an ADF application where the users do not want to use the mouse. So I would like to know if there are a best practice for this?
    Well HTML (and this is the user interface you see) follows a tab index navigation that you follow with "tab" and "shift+tab". Anything else is a short cut for which you use mnemonics (as you already do) or shortcuts (explained in http://one-size-doesnt-fit-all.blogspot.dk/2010/11/adf-ui-shell-supporting-global-hotkeys.html). There is a distinction to make between non-web environments (which I think you and your users have abackground in) and client desktop environments. Browsers block some keyboard functionality for their own purpose. So you may have to find a list of keys first that work across browsers. Unlike desktop clients, which allow you to "press a button" without the button to take focus, this cannot be done on the web. So you need to be clever here, avoiding buttons at all.
    The following paper is about JavaScript in ADF and explains the basics for what Chris Muir explains in : http://one-size-doesnt-fit-all.blogspot.dk/2010/11/adf-ui-shell-supporting-global-hotkeys.html
    http://www.oracle.com/technetwork/developer-tools/jdev/1-2011-javascript-302460.pdf
    It has the outline for how to register short cut keys that perform a specific action (e.g. register ctrl+d to delete the current row you are on, or press F11 to execute a query (similar to Oracle Forms frmres files)). However, be aware that this includes some code you have to write (actually quite some code to be honest).
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/79-global-template-button-strategy-360139.pdf (are there an example implementation?), or
    http://one-size-doesnt-fit-all.blogspot.dk/2010/11/adf-ui-shell-supporting-global-hotkeys.html
    Actually these are implementations as they come with example code for you to use and customize, do they? So what is this question asking for more ? Also note that global buttons don't quite have anything in common with the question you asked. I assume you want to see it as an implementation of the Forms toolbar that operates on the form or table the focus is in. This however does not work for the web as there is nothing that keeps track of which component has a focus and to what iterator (data block) it belongs. This would involve even more coding (though possibly doable)
    Frank

  • Generic vertical menu-list in ADF application

    Hi All,
    I am trying to create a generic vertical menu for my application. I follow the best practices given in Oracle docs and don't seem to get it right. I have a panelAccordion and several child showDetailItem components in it. Within each showDetailItem I have several commandlinks (I could not find a suitable component to replace the commandlink). I have attached the jspx template code for review. I have several issues
    1) I want to display all the showDetailItems and child commandlinks taking geometry and screen resolution into account. I tried playing around with the flex and InflexibleHeight attribute without much success. Is there way I can force the framework to do the geometry space allocation for each showDetailItem for me. The problem seems to be the showDetailItem on monitors with different resolution flows out of the page even if sufficient space is available to display everything. How to handle this?
    2) Is there a substitute component for the commandlink component. I want the user to click on that component to take them to specific screens. I don't want the underline of the commandlink. It should looks like neat tiles one under the other.
    To achieve this I even tried playing around with the skinning.css. I am using simple skin and want to extend on it.
    Is there a sample example out somewhere which will help?
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <af:pageTemplateDef var="attrs">
    <af:xmlContent>
    <component xmlns="http://xmlns.oracle.com/adf/faces/rich/component">
    <display-name>VacarTemplate</display-name>
    <facet>
    <facet-name>center</facet-name>
    </facet>
    </component>
    </af:xmlContent>
    <af:panelStretchLayout topHeight="107px" bottomHeight="50px" id="pt_psl1">
    <f:facet name="top">
    <af:image source="/images/vacarhead.JPG" id="pt_i2"/>
    </f:facet>
    <f:facet name="center">
    <af:decorativeBox theme="dark" id="pt_db1">
    <f:facet name="center">
    <af:panelSplitter splitterPosition="190" id="pt_ps1">
    <f:facet name="first">
    <af:panelAccordion id="pt_pa1" discloseMany="true"
    dimensionsFrom="parent">
    <af:showDetailItem text="Main Menu" id="pt_sdi1"
    inlineStyle="font-family:Arial, Helvetica, sans-serif; background-color:White;"
    disclosed="true" inflexibleHeight="10"
    flex="1">
    <af:group id="pt_g2">
    <af:commandLink text="Home" id="pt_cl13"
    inlineStyle="font-weight:bold; font-size:small;"/>
    <af:separator id="pt_s13"/>
    <af:commandLink text="Case Search" id="pt_cl14"
    inlineStyle="font-size:small; font-weight:bold;"/>
    <af:separator id="pt_s14"/>
    <af:commandLink text="Import Cases" id="pt_cl16"
    inlineStyle="font-size:small; font-weight:bold;"/>
    <af:separator id="pt_s16"/>
    </af:group>
    </af:showDetailItem>
    <af:showDetailItem text="Data Maintenance" id="pt_sdi5"
    inlineStyle="background-color:White;"
    disclosed="true" inflexibleHeight="10"
    flex="3">
    <af:group id="pt_g3">
    <af:commandLink text="Questionnaires" id="commandLink1"
    inlineStyle="font-weight:bold; font-size:small;"/>
    <af:separator id="separator1"/>
    <af:commandLink text="Reference Codes" id="commandLink2"
    inlineStyle="font-size:small; font-weight:bold;"/>
    <af:separator id="separator2"/>
    <af:commandLink text="Employees" id="commandLink3"
    inlineStyle="font-size:small; font-weight:bold;"/>
    <af:separator id="separator3"/>
    <af:commandLink text="Error Messages" id="commandLink4"
    inlineStyle="font-size:small; font-weight:bold;"/>
    <af:separator id="separator4"/>
    </af:group>
    </af:showDetailItem>
    <af:showDetailItem text="Cases" id="pt_sdi6"
    inlineStyle="background-color:White;"
    disclosed="true" inflexibleHeight="10"
    flex="1">
    <af:group id="pt_g4">
    <af:commandLink text="Cases" id="commandLink5"
    inlineStyle="font-weight:bold; font-size:small;"/>
    <af:separator id="separator5"/>
    <af:commandLink text="Teams" id="commandLink6"
    inlineStyle="font-size:small; font-weight:bold;"/>
    <af:separator id="separator6"/>
    <af:commandLink text="Case Audit" id="commandLink7"
    inlineStyle="font-size:small; font-weight:bold;"/>
    <af:separator id="separator7"/>
    </af:group>
    </af:showDetailItem>
    <af:showDetailItem text="Patient" id="pt_sdi2"
    inlineStyle="font-family:Arial, Helvetica, sans-serif; background-color:White;"
    disclosed="true" inflexibleHeight="10"
    flex="5">
    <af:group id="pt_g5">
    <af:commandLink text="Patient" id="pt_cl1"
    inlineStyle="font-weight:bold; text-align:right; font-size:small;"/>
    <af:separator id="pt_s3"/>
    <af:commandLink text="Contacts" id="pt_cl2"
    inlineStyle="font-weight:bold; font-size:small;"/>
    <af:separator id="pt_s1"/>
    <af:commandLink text="Arrest" id="pt_cl3"
    inlineStyle="font-weight:bold; font-size:small;"/>
    <af:separator id="pt_s2"/>
    <af:commandLink text="Trauma" id="pt_cl4"
    inlineStyle="font-weight:bold; font-size:small;"/>
    <af:separator id="pt_s4"/>
    <af:commandLink text="Mx" id="pt_cl5"
    inlineStyle="font-weight:bold; font-size:small;"/>
    <af:separator id="pt_s5"/>
    <af:commandLink text="VSS" id="pt_cl6"
    inlineStyle="font-weight:bold; font-size:small;"/>
    <af:separator id="pt_s6"/>
    <af:commandLink text="Destination" id="pt_cl7"
    inlineStyle="font-weight:bold; font-size:small;"/>
    <af:separator id="pt_s7"/>
    <af:commandLink text="Hospital" id="pt_cl8"
    inlineStyle="font-weight:bold; font-size:small;"/>
    <af:separator id="pt_s8"/>
    <af:commandLink text="Clinical Trial" id="pt_cl9"
    inlineStyle="font-weight:bold; font-size:small;"/>
    <af:separator id="pt_s9"/>
    <af:commandLink text="QOL Survey" id="pt_cl10"
    inlineStyle="font-weight:bold; font-size:small;"/>
    <af:separator id="pt_s10"/>
    </af:group>
    </af:showDetailItem>
    <af:showDetailItem text="Reporting" id="pt_sdi3"
    inlineStyle="font-family:Arial, Helvetica, sans-serif; background-color:White;"
    disclosed="true" inflexibleHeight="10"
    flex="1">
    <af:group id="pt_g6">
    <af:commandLink text="Standard Reports" id="pt_cl11"
    inlineStyle="font-size:small; font-weight:bold;"/>
    <af:separator id="pt_s11"/>
    <af:commandLink text="Ad-Hoc Reporting" id="pt_cl12"
    inlineStyle="font-size:small; font-weight:bold;"/>
    <af:separator id="pt_s12"/>
    </af:group>
    </af:showDetailItem>
    <af:showDetailItem text="Documentation" id="pt_sdi7"
    inlineStyle="background-color:White;"
    disclosed="true" inflexibleHeight="10"
    flex="1">
    <af:group id="pt_g7">
    <af:commandLink text="User Guide" id="commandLink8"
    inlineStyle="font-weight:bold; font-size:small;"/>
    <af:separator id="separator8"/>
    </af:group>
    </af:showDetailItem>
    <af:showDetailItem text="Search" disclosed="true" id="pt_sdi4"
    inflexibleHeight="10" flex="1">
    <af:panelGroupLayout
    id="pt_pgl1">
    <af:panelFormLayout maxColumns="1" id="pt_pfl1">
    <af:inputText id="pt_it1"/>
    <af:commandButton partialSubmit="true" text="Find Case"
    id="pt_cb3"/>
    </af:panelFormLayout>
    </af:panelGroupLayout>
    </af:showDetailItem>
    </af:panelAccordion>
    </f:facet>
    <f:facet name="second">
    <af:decorativeBox theme="medium" id="pt_db2" topHeight="30px">
    <f:facet name="center">
    <af:facetRef facetName="center"/>
    </f:facet>
    <f:facet name="top">
    <af:panelGroupLayout id="pt_pgl2" halign="end"
    layout="horizontal">
    <af:outputText value=" Currently Logged In: #{sessionScope.user}" id="pt_ot1"
    noWrap="true"
    visible="#{not empty sessionScope.user}"/>
    <af:spacer width="10" height="10" id="pt_s17"/>
    <af:commandLink text="Login?" id="pt_cl15"
    visible="#{empty sessionScope.user}"/>
    <af:commandLink text="Logout"
    id="commandLink9"
    visible="#{not empty sessionScope.user}"
    action="#{Main.onLogoutButtonPressed}"/>
    </af:panelGroupLayout>
    </f:facet>
    </af:decorativeBox>
    </f:facet>
    </af:panelSplitter>
    </f:facet>
    </af:decorativeBox>
    </f:facet>
    <f:facet name="bottom">
    <af:panelFormLayout id="pt_pfl2" maxColumns="4" rows="1">
    <f:facet name="footer">
    <af:group id="pt_g1">
    <af:outputFormatted value="Copyright &amp;copy; 2010 VACAR" id="pt_of1"
    styleUsage="pageStamp"/>
    </af:group>
    </f:facet>
    </af:panelFormLayout>
    </f:facet>
    </af:panelStretchLayout>
    </af:pageTemplateDef>
    </jsp:root>
    Thanks
    Edited by: user5108636 on Feb 8, 2011 6:51 PM

    I want to remove the '+' and the '-' from the showDetailItem. Should I tweak the css file.
    Thanks

  • Best Practice for Deploying ADF application

    I am tasked with developing a best or prefered practice of feploying a large ADF application. Background: we are in the process of redeveloping a UI for a large system. We have broken the system down into susbsytems. Each of these susbsystems UI will be a ADF aaplicaion(?). This is a move from a MS .Net front end. The backend (Batch processes etc) is being dveloped in Java. So my question is if I have several ADF projects for each subsystem and common components that they all will use - what is the best practice to compile package and deploy? The deployment will be to weblogic server or servers(Cluster).
    We have a team of at least 40 -50 developers worldwide so we are looking for an automated build and deploy and would like to follow Oracle best practice. So far I have read Deploying ADF Applications (http://download.oracle.com/docs/cd/E15523_01/web.1111/e15470/deploy.htm#BGBJHGFH) and have followed the links. I have also look at the ADF evangalist blogs - lots of chatter about ojdeploy. My concern about ojdeploy is that dependent files are also being compiled at the same time. I expected that we want shared dependent files compiled only once (Is that a valid concern)?
    So then when we build the source out of subversion (ojdeploy ? Ant? ) then what is best practice to deploy to a weblogic server (wslt admin console) - again we want it to be automated.
    Thank you in advance for replies.
    RK

    Rule 1: Never use the "Automatically Expose UI Componentes in a New Managed Bean" option, create your bindings manually;
    Rule 2: Rule 1 is always right;
    Rule 3: In doubts, refer to rule 2.
    You may also want to check out :
    http://groups.google.com/group/adf-methodology
    And :
    http://www.oracle.com/technology/products/jdev/collateral/4gl/papers/Introduction_Best_Practices.pdf

  • What are the best coding standards for ADF 11g?

    Hi,
    Do we have any link that will suggest the best coding standard practices used for ADF 11g?
    I am looking out from the perspective of some standards that can be defined before starting my project to know the team on how to
    1. Minimize Duplicity and max reusability of code
    2. Package the code
    3. Resource bundle usage and its calls
    4. Maintainning format consistency eg. date display format, number format
    5. Exception handling
    6. Logging
    7. Namiing conventions
    Also then we might have standards on
    1. Task flow dev.
    2. EO and VO creation standards
    3. UI development standards [purely ADF component based]
    Thanks in advance
    Edited by: user8925296 on May 26, 2010 3:24 PM

    The ADF Enterprise Methodology Group has a page on standards that gives you a starting point on many of your questions: http://groups.google.com/group/adf-methodology/web/adf-coding-standards
    John

  • Menu tabs in adf faces on jdeveloper 10.1.3.5

    Hi,
    I am new to jdeveloper and I am looking for a sample code for menu tabs without binding the tabs to menu model.
    I went through the ADF development guide but it has example only with menu model.
    Can somebody provide me with an example for menu tabs?
    Thanks,
    Bablu

    You mean something like this?
    http://www.oracle.com/technology/products/jdev/tips/muench/1013srdemo/index.html

  • How to create menu bar in ADF

    Hi,
    I'm trying to get a drop down menu in my web app using ADF Faces.
    Currently I'm using an af:menuBar tab with a menu model like this:
    - File
    - New ...
    - Open...
    -View
    - Toolbars ...
    On clicking file new open options should come .
    It only displays the top level nodes (i.e. the File and View)
    Is it possible to make a drop down menu using ADF Faces?
    Using adf 11.1.1.5.0
    Thanks.

    You mena something like this
                <af:menuBar id="mb1">
                  <af:menu text="menu 1" id="m2">
                    <af:commandMenuItem text="commandMenuItem 1" id="cmi1"/>
                    <af:commandMenuItem text="commandMenuItem 2" id="cmi2"/>
                    <af:menu text="menu 3" id="m4">
                      <af:commandMenuItem text="commandMenuItem 3" id="cmi3"/>
                      <af:commandMenuItem text="commandMenuItem 4" id="cmi4"/>
                    </af:menu>
                  </af:menu>
                  <af:menu text="menu 2" id="m3">
                    <af:commandMenuItem text="commandMenuItem 5" id="cmi5"/>
                  </af:menu>
                </af:menuBar>Copy this code to your page and run it to see the menu...
    Timo

  • Is LabVIEW best for implementating an array of microphones?

    Hello techies,
    I am planning to implement an array of microphones for localization of sound. Is LabVIEW the best for this or does anybody know a better one??
    I would appreciate it if anybody could help me with this.
    thanks in advance ! 

    Stream of consciousness alert.
    My sense is that LabVIEW is not the BEST.
    The best is probably an all-hardware solution.  Very difficult to build, harder to debug, harder still to modify.
    Introduce software, the next best is probably coded in machine language.  Probably harder than all-hardware.
    Next best is to use a low-level language such as C with custom routines optimized for your particular problem.  Hard, but doable and not user-friendly.
    Move to a higher level language such as C++, better UI, slightly worse performance.
    Move to LabVIEW/Measurement Studio.  Slightly worse overhead, great UI, relatively easy to modify and debug.  Probably the only one that works on a reasonable budget/timeline.
    99+% of applications would probably not need the performance (at least initially) beyond what LV can deliver.  Even if you did, you'd be crazy not to start with the most straightforward.
    My personal bias is towards Measurement Studio.  I feel that it gives me the ability to get my hands dirty when necessary but maintain a very clean UI.  With LV I feel that there is some overhead when interfacing with external code.  If I already knew LV would I learn/buy Measurement Studio just for this application, almost certainly not.
    Don't let perfection be the enemy of the very, very good.  I say go with LV.
    End stream of consciousness.

  • Best practices for large ADF projects?

    I've heard mention (for example, ADF Large Projects of documentation about dealing with large ADF projects. Where exactly is this documentation? I'm interested in questions like whether Fusion web applications can have more than one ViewController project (different names, of course), more than one Model project, the best way to break up applications for ease of maintenance, etc. Thanks.
    Mark

    I'd like to mention something:
    Better have unix machines for your development.
    Have at least 3 GB of RAM on windows machines.
    Create all your commonly used LOVs & VOs first.
    If you use web services extensively, create it as a seperate app.
    Make use of popups, it's very user friendly and fast too. You no need to deal with browser back button.
    If you want to use common page template, create it at the beginning. It's very difficult if you want to apply it later after you developed pages.
    Use declarative components for commonly used forms like address, etc.
    Search the forum, you will see couple of good util classes.
    When you check-in the code, watch out some of the files don't show up in JDev like connections.xml
    Make use of this forum, you will get answers immediately from great experts.
    http://www.oracle.com/technology/products/jdev/collateral/4gl/papers/Introduction_Best_Practices.pdf

Maybe you are looking for

  • Warning message in ITS MOBILE

    Hello, In ITS Mobile after entering user name and password it takes me to LM00 transaction. But before LM00 transaction is displayed I get 4 warning messages. I need to press OK/Close for each message. The same warning message appears when I move bet

  • I have a question regarding emails being marked as unread when syncing with an exchange account.

    I have a question regarding emails being marked as unread when syncing with an exchange account. In the evening I can see I have 10 unread emails on my exchange account. I leave them unread. The following day, at work, I view and read all my mails fr

  • Flex Spark Datagrid - Scalable (font size) with No scroll Bars

    I was wondering what would be the most optimized way to scale (increase/decrease) the fonts size in a Spark DataGrid with NO Scroller, so as to make it when the User Resizes the DataGrid, the Fonts inside the Grid would increase/decrease.  Is there a

  • User exit for profitability segment in service order settlement rule

    Does anybody know if exit EXIT_SAPLKEAK_001 works for the profitability segment creation during the creation of a settlement rule of a service order? The context is the following: the company uses service orders which are settled periodically (it rec

  • Best File Format

    I have Photoshop Elements 2 and Photoshop Album. 1. If I take a picture in RAW, is it better to "fix" it using Canon's ZoomBrowser EX or change the file to a TIFF file and "fix" it in PSE or PSA? Is there any quality lose converting from RAW to TIFF?