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

Similar Messages

  • BPM Tasklist Integration with ADF Application

    Hi Experts,
    We are using Jdeveloper 11.1.1.7 in our project and need to integrate with Oracle BPM 11g. We basically need to see the BPM task list as well as initiate a new task from ADF Application.
    I have already searched the blogs and internet about the same. Below are some of them along with andrejus blogs.
    Con-Fusion, Bugs, Facts & Workarounds: ADF-BPM Integration: Custom Worklist.
    http://docs.oracle.com/cd/E23943_01/user.1111/e15175/bpmug_ws_taskflows.htm#BPMUG20812
    What I am looking for is step by step process including the things which needs to be done on Weblogic and domain side to integrate task list with adf application.
    Thanks

    It seems all of the instructions are there on your second link.  When it comes to doing the weblogic portions there are links from there to another guide.  I found the following two other links but your second link looks the closest to what I remember from an internal document that had those same steps.
    https://blogs.oracle.com/webcenterportal/entry/oracle_bpm_suite_oracle_webcenter
    http://andrejusb.blogspot.com/2013/10/integrating-custom-bpm-worklist-into.html

  • Version 3.6.17 Horizontal drop down menu is displaying as vertical text list. Page style set to basic. Menu works fine in Internet Explorer. Any hints?

    Newly installed horizontal drop down menu works in IE. In Firefox, it displays as a vertical text list. Any hints?

    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    * Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove the Cookies" from sites causing problems:
    * Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • ADF Menu List customization

    Hi All,
    In our ADF application, we require to add imgaes in menu items which appears inside menulist i.e. menu3. Right now we are only able to add Text but if we map image to <af:commandMenuItem> tag, that image does not shows up.
    How can we do that?
    Can we add image to <af:commandMenuItem> tag inside menu3 (menulist)?
    Thanks in advance,
    Suhas
    Message was edited by:
    user470695

    Hi,
    Could you explain me how exactly you did handling of various type of exceptions. I want to determine 2 types of exception and to direct to different error pages for each type.
    Thanks,
    Georgi

  • Building Oracle ADF Applications Workshop

    I have finished going through the "Building Oracle ADF Applications: Workshop"
    from the following link:
    http://www.oracle.com/technology/obe/obe9051jdev/ide1012/adfworkshop/buildingadfapplicationsworkshop.htm
    Hopefully that is sufficient for the doc writer to locate the context of my
    comments. If not, let me know and I'll provide additional information.
    I grouped all of these together as one big comment. If you want it in a
    different format, again, let me know.
    Prior starting the workshop I printed out the entire document which resulted in
    51 pages of output. In each comment, except for the first general comment, I
    list the section name, step number and my page number which should be enough to
    uniquely identify the area that the comment relates to. My suggestions start
    out with "It would be nice...". I numbered the comments so I could have
    comments refer to each other.
    (1) One of the things I really liked was the "If you want to see a
    demonstration of these steps, click here" links. Sometimes the discussion
    was not precise so being able to see the actual usage worked well. It would
    be nice if there were more of these in the workshop.
    (2) "Building the Basic Page Flow", step 2, page 13.
    I had some trouble with this because it wasn't clear how one changes the
    DataPage's name. I used the property sheet and did it wrong, resulting in
    an error. I had to consult the "If you what to see..." link to determine
    how to do this correctly.
    It would be nice if there were a paragraph before "When you are done"
    saying something like:
    To change the name of a DataPage just click on the icon's label and
    enter the new value, starting with the leading slash.
    (3) "Connecting the Pages", step 9, page 21.
    This step has one switch to the Source editor view to make a change. This
    change can also be made in the Design view.
    It would be nice to stay in the Design view. The suggested wording for this
    is:
    In the Design view you can change the Edit button link by clicking on
    the Edit button and pressing the left arrow (<--) key once on the
    keyboard. The Property Inspector will be in an <A> element. Edit the
    href property by appending the following:
    &event=Edit
    (4) "Connecting the Pages", step 10, page 22.
    The first time I had trouble drawing the links. A bit more discussion on
    how to draw the links with corners would be nice. One of the troubles was
    that I would edit one link and another (or all of them) would suddenly
    change to simple vertical links (no corners). The link lines were
    separated, but the link names were displayed making it more difficult than
    necessary to tell which link line went with which link name.
    (5) "Adding a Create Function", step 4, page 24.
    I have the same comment on this step as I did in comment (3).
    (6) "Creating Session Variables with onEvent() methods", step 2, page 27.
    The last paragraph describes how JDeveloper will prompt you to enter an
    import statement. The comment I wrote on that page was:
    Cool!
    It's nice that JDeveloper handles this booking task.
    (7) "Building a Message Stack with a findForward() method", step 1, page 28.
    In the second paragraph it's not clear what the context is. It would be
    nice if the second paragraph would start out with:
    In struts-config.xml, right-click ...
    (8) "Building a Message Stack with a findForward() method", step 6, page 30.
    This code fragment at the end of this step has all lines starting in column
    1. It would be nice if this was indented so it could be followed with less
    effort. The same is true for the other code fragments in this section.
    (9) "Building a Message Stack with a findForward() method", step 12, page 32.
    I wrote a simple Java program that compared a String variable to a string
    literal. In all cases using == to compare returned false, while .equals()
    worked correctly. I was using Java 1.4.2_06_b03. Even if Java 1.5 supports
    converting the == between strings to equals(), it would be nice if the
    comparisons to the "type" variable used the .equals() method instead of ==,
    so that those of us still using Java 1.4 would have properly working code.
    Note that == in 1.4 compares the hash values while equals() looks at the
    contents.
    (10) "Enabling the Delete Confirmation Page", step 5, page 36.
    The last sentence of the first paragraph contains the phrase:
    if there are errors, build the ActionMessage object.
    It would be nice if this contained an extra word as in:
    if there are no errors, build the ActionMessage object.
    (11) "Enabling the Delete Confirmation Page", step 6, page 36.
    Line 12 (or 13 if you count blank lines) is storing a value in the request
    object. It would be nice to have a discussion in this step instead of
    having to wait until section "Intercepting the Middle-Tier Message", step
    8, page 42 before we know what this is all about.
    (12) "Overriding the findForward() Method", step 1, page 44.
    It appears that the call to the super.findForward method is missing. It
    would be nice if the following were inserted before the closing curly
    brace:
    super.findForward(actionContext);
    (13) "Overriding the findForward() Method", step 9, page 46.
    Near the end of this step it mentions the imports that are added. It
    appears that there is a missing import statement. If this is correct, it
    would be nice to also include the following import:
    import oracle.adf.controller.struts.actions.DataActionContext;
    (14) "Overriding the findForward() Method", step 10, page 46.
    My diagram doesn't look like this. The "Edit" link between /browseCustomers
    and /editCustomers should be "Commit". The "Cancel" link from
    /editCustomers back to itself shouldn't be there. The "Commit" link from
    /sure to /browseCustomers should be "Cancel". Compare this with the diagram
    in section "Creating a Delete Confirmation Page and a Forward", step 5,
    page 25.
    (15) "Internationalizing Field Labels", step 3, page 48.
    This is another case where the context is not clear. It would be nice if
    the following was added to the first paragraph:
    In the browseCustomers page,
    (16) "Internationalizing Field Labels", step 10+, page 49.
    Everything is internationalized except for the buttons. How does one
    internationalize them?
    (17) "Conditionally Displaying a Field", step 1, page 49.
    The last sentence says "The result should look like the following:". If one
    were following this workshop from front to back then what should be shown
    is the internationalized version of this page.
    (18) "Conditionally Displaying a Field", step 5, page 50. Bug?
    When I look at the Source view of editCustomers.jsp the <INPUT> element has
    a property setting of disabled="true". When I run the application and look
    at the HTML source used by the browser, that same <INPUT> element has a
    property setting of disabled="disabled". It works, but isn't that somewhat
    redundant? I recommend that the source code should have the disabled
    property setting as it appears in the Source view.

    Hi Jean,
    Can you please provide the document part number and book title where you have seen this errors? This way I can forward this to the doc writer.
    If this is not a document issue, please try the Members Feedback Forum. Community Feedback (No Product Questions)
    Thanks

  • ADF Application and Oracle Portal Login Page

    We have developed ADF application and deployed it in Oracle AS 10.1.2 along with the custom JAAS module, which is working fine with the application custom login page. As a next page, I want to use Oracle Portal login page for the authentication and authorization.
    How can I accomplished it? Any idea?
    Thanks,
    AP

    Shay,
    1. I created blank ADF project
    2. I copied myreport.jsp file (this one was generated by Oracle Report Builder) under ..ViewController/public_html directory
    3. Created directory 'lib' under ViewController/public_html/WEB-INF/lib
    4. Copied reports_tld.jar file under the directory created in 3.
    5. Created simple jspx page with the af:link (btw af:goLink does not exists in JDev 12c), set 'destination' to myreport.jsp
    After the steps above I could not even compile the application, many problems too many to list here, Basically JDev is trying to build the project with .jsp file generated in Report Builder and is unable to.
    So to be sure we are on the same page: I am trying to embed JSP report files generated by Report Builder into ADF project, then create EAR file and deploy on standalone WLS. Finally execute JSP web only report.

  • 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

  • Can external ADF application write to BPM Payload structures?

    Hi all
    New to BPM and trying to understand the best practices here.
    We have Oracle BPM 11.1.1.6.0.
    We have an external ADF application that will be used for online data entry, that comes in via public user. This data then needs to be reviewed and approved/rejected by the internal users and for this we are using BPM interface.
    I have many concerns implementing above scenario in BPM
    a) Can we login to BPM workspace via ADF application? If so, can you experts share with us some examples to look at?
    b) We dont want to use temp tables in the database, when user is doing online entry. We need to push this into BPM payload structures, when a user saves the data partially. When he does submit for approval, we need to initiate a task on the BPM side(for the reviewer). Is this possible? , especially saving the data into BPM payload structures from ADF application? Is this recommended or a good practice? Is there an example or how this can be achieved?
    I know this is a long list of questions, but going thru the web, really did not help us much. So checking with the community for the best way to get good reliable answers.
    Thanks
    SR
    Edited by: libran on Feb 28, 2013 1:29 PM

    Hi SR
    a) Can we login to BPM workspace via ADF application? If so, can you experts share with us some examples to look at?
    Not directly. BPM Application itself is a WebApplication. In high level it has 2 main things. List of Tasks with different status like Assigned, completed, active etc et.c And for each Task, click on that opens the task details page. This task details page is the ONE that can contain ACTUAL Data. Now this actual Data can be part of the process itself we call as Payload. Or this entire data can be in any other existing application or database. But the payload will just have like main PKs (Primiary keys) like order id, salesid, customer id, projectid etc etc. Using these IDs and some APIs you can use your existing application data. Coming to screen, you cannot use the existing screens as it is.
    b) We dont want to use temp tables in the database, when user is doing online entry. We need to push this into BPM payload structures, when a user saves the data partially. When he does submit for approval, we need to initiate a task on the BPM side(for the reviewer). Is this possible? , especially saving the data into BPM payload structures from ADF application? Is this recommended or a good practice? Is there an example or how this can be achieved?
    1) NO. I would NOT recommend to put your existing data filled out from online form into Payload. There is NO need for this. From online when user clicks on Submit for Approval, just pass the key information like IDs, some names, status etc. Just the core and it should like 2 or 3 at the most. Any complex data will have only couple of main primary master keys and rest are all the internal relations. Once these IDs are in paylosd, you can use ADF components to pull the full entire data set for display in the TaskForms (mostly display only). Use ManagedBeans or DataControls/EJBs that takes these IDs.
    2) From online web on Submit, YES, you can invoke automatically a BPM Process. BPM Process can be initiate in many ways: Using Workspace application, Email, scheduler, WebServices, Java based APIs etc. The ideal way is WebServices. I guess you want to do first some validation and then only create an approval instance.
    Giving a ready made example is tough. I do not have any old links on top of my head for reference. I will see if I can find them.
    My suggestion, leave the Payload as light as possible unless and untill if there is no other go.
    Thanks
    Ravi Jegga

  • Question on spry vertical menu bar backgrounds

    I have a spry vertical menu bar.  The menu branches off to 3 or 4 levels in some cases.  When you mouse over the menu structure the menu path that you have selected turns a different color.  I acheived this by giving
    ul.MenuBarVertical a.MenuBarItemHover, ul.MenuBarVertical a.MenuBarItemSubmenuHover, ul.MenuBarVertical a.MenuBarSubmenuVisible
    a different text color and also a different background color using CSS.  The thing I want to acheive now is to somehow make listings within my menu structure that are clickable links a slightly different color.  This is to signal that a menu selection that is currently being hovered over is indeed clickable (and linked to another page).  For example, most of my clickable menu listings are at the end of a menu branches.  That is to say the menu listing at the 1st and 2nd level are not clickable (linked to another page) but the listing that falls at the end of the menu branch is clickable.
    How can I make the menu listings that link to other pages a different color then the other menu listings that do not link anywhere but are instead just the preceding struture to get you to the end of the menu structure?
    Currently menu listings which merely branches off and do not link to a clickable page have a reference of "#" as shown below.
    <li><a href="#">Menu_1</a>
    This "#" was put there by Dreamweaver so I just followed the pattern.  Clickable menu listings reference another HTML page as you would expect.

    Nancy,
    Thanks for the reply (it helped me know how to approach it).  It looks like editing
    ul.MenuBarVertical a.MenuBarItemSubmenuHover
    will give me the behavior I was looking for.  I don't know if that is what I want to do now that I look at it though.  Using different colored backgrounds when hovering over links seems to contrast too much (even though some are clickable and others are not).  Perhaps I didn't have the right color choice.
    Instead I thought about emphasizing links that are clickable (with some type of visual variation) as opposed to making the hovering background color path to those clickable links different.  I experimented with placing a 1 inch border around links in the menu that can be clicked but I am not sure if I like it or not.
    I am using a background color of #7D120C for the hover.  Any suggestions are welcome and appreciated.
    http://www.indiana.edu/~iutreas/index.html
    Thanks,
    JTB

  • Iframe flashing Spry Vertical menu

    Hi All,
    Im having an issue with the Spry Vertical Menu with flyouts.
    It appears that the iframe used for the IE hack is flashing
    on the screen whenever I rollover a menu item with a flyout in it.
    Anyone having this same issue? Any help would be much
    appriciated as I like the new Spry Widgets but I cannot have
    glitches such as these... thanks
    Here is my CSS:
    @charset "UTF-8";
    /* SpryMenuBarVertical.css - Revision: Spry Preview Release
    1.4 */
    /* Copyright (c) 2006. Adobe Systems Incorporated. All rights
    reserved. */
    LAYOUT INFORMATION: describes box model, positioning,
    z-order
    /* The outermost container of the Menu Bar, a fixed width box
    with no margin or padding */
    ul.MenuBarVertical
    margin: 82px 0px 0px 26px;
    padding: 0;
    list-style-type: none;
    font-size: 1em;
    cursor: default;
    width: 14.5em;
    /* Set the active Menu Bar with this class, currently setting
    z-index to accomodate IE rendering bug:
    http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html
    ul.MenuBarActive
    z-index: 1000;
    /* Menu item containers, position children relative to this
    container and are same fixed width as parent */
    ul.MenuBarVertical li
    margin: 0;
    padding: 0px 0px 0px 0px;
    list-style-type: none;
    font-size: 1em;
    position: relative;
    text-align: left;
    cursor: pointer;
    width: 14.5em;
    /* Submenus should appear slightly overlapping to the right
    (95%) and up (-5%) with a higher z-index, but they are initially
    off the left side of the screen (-1000em) */
    ul.MenuBarVertical ul
    margin: -5% 0 0 95%;
    padding: 0;
    list-style-type: none;
    font-size: 100%;
    position: absolute;
    z-index: 1020;
    cursor: default;
    width: 8.2em;
    left: -1000em;
    top: 0;
    /* Submenu that is showing with class designation
    MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen
    ul.MenuBarVertical ul.MenuBarSubmenuVisible
    left: 0;
    /* Menu item containers are same fixed width as parent */
    ul.MenuBarVertical ul li
    width: 8.2em;
    background-color:#620808;
    DESIGN INFORMATION: describes color scheme, borders, fonts
    /* Outermost menu container has borders on all sides */
    ul.MenuBarVertical
    text-decoration:none;
    /* Submenu containers have borders on all sides */
    ul.MenuBarVertical ul
    border: 1px solid #000;
    /* Menu items are a light gray block with padding and no text
    decoration */
    ul.MenuBarVertical a
    display: block;
    cursor: pointer;
    font-size: 1em;
    padding: 0.5em 0em 0.5em 2em;
    color: #dfc398;
    text-decoration:none;
    /* Menu items that have mouse over or focus have a blue
    background and white text */
    ul.MenuBarVertical a:hover, ul.MenuBarVertical a:focus
    background-image:url(../images/office/side_menu_rollover.jpg);
    background-repeat:no-repeat;
    background-position:6px 8px;
    color: #FFF;
    text-decoration:none;
    /* Menu items that are open with submenus are set to
    MenuBarItemHover with a blue background and white text */
    ul.MenuBarVertical a.MenuBarItemHover, ul.MenuBarVertical
    a.MenuBarItemSubmenuHover, ul.MenuBarVertical
    a.MenuBarSubmenuVisible
    color: #FFF;
    SUBMENU INDICATION: styles if there is a submenu under a
    given menu item
    /* Menu items that have a submenu have the class designation
    MenuBarItemSubmenu and are set to use a background image positioned
    on the far left (95%) and centered vertically (50%) */
    ul.MenuBarVertical a.MenuBarItemSubmenu
    background-image: url(SpryMenuBarRight.gif);
    background-repeat: no-repeat;
    background-position: 95% 50%;
    /* Menu items that are open with submenus have the class
    designation MenuBarItemSubmenuHover and are set to use a "hover"
    background image positioned on the far left (95%) and centered
    vertically (50%) */
    ul.MenuBarVertical a.MenuBarItemSubmenuHover
    background-image: url(SpryMenuBarRightHover.gif);
    background-repeat: no-repeat;
    background-position: 95% 50%;
    BROWSER HACKS: the hacks below should not be changed unless
    you are an expert
    /* HACK FOR IE: to make sure the sub menus show above form
    controls, we underlay each submenu with an iframe */
    ul.MenuBarVertical iframe
    position: absolute;
    z-index: 1010;
    /* HACK FOR IE: to stabilize appearance of menu items; the
    slash in float is to keep IE 5.0 from parsing */
    @media screen, projection
    ul.MenuBarVertical li.MenuBarItemIE
    display: inline;
    f\loat: left;

    ok... no sooner than I hit submit... figured it out...
    If anyone comes across this, it seems just add width:0,
    hieght:0 to the following css:
    /* HACK FOR IE: to make sure the sub menus show above form
    controls, we underlay each submenu with an iframe */
    ul.MenuBarVertical iframe
    position: absolute;
    z-index: 1010;
    width:0px;
    height:0px;
    Happy coding!

  • How to change color of DHTML sub menu list

    Hi all,
    In my application i am using DHTML submenu list. But I have to change the color of
    the menu list which is selected currently.
    In interactive report how to fix the column width , because if one column has big string it's going to the right side. My requirement is after fixed column width it has to come in the second line.
    pls help me. I am in urgent need.
    thnks
    pnr

    im a bit confused with the post so hopefully this will help you, if not then let me know.
    I think the problem is that in your renderer your saying
    setBackground(header.getBackground());which is setting the backgound of the renderer rather than the selected item, please see an example below, I created a very simple program where it adds JLabels to a list and the renderer changes the colour of the selected item, please note the isSelected boolean.
    Object "value" is the currentObject its rendering, obviously you may need to test if its a JLabel before casting it but for this example I kept it simple.
    populating the list
    public void populateList(){
            DefaultListModel model = new DefaultListModel();
            for (int i=0;i<10;i++){
                JLabel newLabel = new JLabel(String.valueOf(i));
                newLabel.setOpaque(true);
                model.addElement(newLabel);           
            this.jListExample.setModel(model);
            this.jListExample.setCellRenderer(new RowHeaderRenderer());
        }the renderer
    class RowHeaderRenderer extends JLabel implements ListCellRenderer
        JTable theTable = null;
        public Component getListCellRendererComponent(JList list, Object value,
                                                      int index, boolean isSelected, boolean cellHasFocus){
            JLabel aLabel = (JLabel)value;
            if (isSelected){
                aLabel.setBackground(Color.RED);
            }else{
                aLabel.setBackground(Color.GRAY);
            return aLabel;       
    }

  • No Image - Pull Down Menu List with Image

    HI.
    i am using Pull Down Menu List with Image (Custom 1). but when i run the application i can't see any image. below is the link to my application
    [http://apex.oracle.com/pls/otn/f?p=49167:1|http://apex.oracle.com/pls/otn/f?p=49167:1]
    Sagar

    Hello Sagar,
    If you change the template for the list to 'Pulldown menu with image' the images show up.
    Greetings,
    Roel
    http://roelhartman.blogspot.com/

  • Interactive Reports and menu list translations

    Can anyone tell me how to translate the menu items contained in the interactive reports menu list (ie Select Columns, Filter, Sort....) ? I have translated an application into french and when I switch to that language the menu items in the interactive reports are still displayed in english yet the rest of my application is french. The translation file does not contain these items to translate. Can I make these french somehow? Its a pretty powerful tool, but not not if you can't make it language specific. Our french users would not accept this in english.

    Hello,
    >> Can anyone tell me how to translate the menu items contained in the interactive reports menu list …
    The following section of the documentation explains exactly that - http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/global.htm#BABHCAAH .
    For complete translation of the IR, you’ll need to translate all the string messages in table 16-4.
    Regards,
    Arie.
    Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.

  • Vertical Menu on Left side

    Hi,
    I am new to coldfusion. My application need a vertical menu on the left side. This menu should be displayed on all the pages. I decided to use cfinclude tag for this.
    I thought I will use <table> tag to make the menu.cfm appear at the left hand side and page.cfm(Actual content page) to come on right side. But my menu.cfm is going out of table. I tried to make the width of the table to 20%. But nothing is working out.
    Can you please help me!
    Regards,
    Anjana

    check menu.cfm to find any closing tags,
    create a "header.cfm" page as follows:
    <table>
         <tr>
              <td valign="top"><cfinclude template="menu.cfm"></td>
              <td valign="top">
    Then on all pages at the top
    <cfinclude template="header.cfm">

  • Using UCM data controls in ADF application

    Using *.6 Jdeveloper/UCM/Protal Application/UCM
    Calling all the experts in Webcenter/Spaces/UCM/ADF.
    We have a requirement to design search inteface for Documents stored in UCM for Webcenter Portal and Spaces application.
    Our approach is
    Design simple ADF application (no security/templates)
    Bounded task flows using fragments.
    Framents to use UCM data controls (provided by oracle)
    UCM data control definition is extended to use custom metadata.
    package the application.
    Added as ADF library jar to portal application
    Added as Shared Library to Spaces application.
    Question.
    Is this approach sound?
    Does UCM data controls provide all the functionality, for example if we want to read a option list for custom metadata or need custom metadata in return table?
    Can we add other methods to UCM data control provided by Oracle or should we create different one?
    Is there good documentation for such requirements. We have acces Webcenter developers guide which throws some light on UCM data controls.
    Let me know if more clarity is needed...
    Regards

    Hi.
    One of my last components was a custom "Document Explorer" and I used for first time JCR Data Control (Custom UCM Data Control provided by Oracle).
    Sharing my experience I did something similar to you:
    1) Create a ADF Bounded Task Flow and test it individually.
    2) Add generated ADF JAR Library to WebCenter Spaces shared-lib.
    3) Add your Task Flow to Resource Catalog.
    Challenges that I found using custom Data Control:
    1) When items retrieved are content/files all custom metadata can be retrieved OOTB.
    2) When retrieving folders don't provide custom metadata like files. I used RIDC with JCR Data Control to provide all the information relative to folders. If you don't need more information about folders than the name, URI and icons then is OK :).
    3) Using JCR Data Control registers in DataControls.dcx UCM Connection name used when generate JCR Data Control. After deploy your ADF JAR Library in WebCenter Spaces you'll have problems if you don't have a WebCenter Content Connection created with the same name. (Not talking about export UCM Connection with ADF JAR Library, Data Control uses a Connection name by itself :)).
    I added extra functionallity with RIDC (not extending JCR Data Control).
    I hope this help you.
    Regards.

Maybe you are looking for

  • ITunes Sharing: 2 user accounts, 1 mac

    I've turned on Fast Switching, I've enabled sharing in the Preferences...and I still can't get the sharing to work. It seems to me that it's been broken since I upgraded to Tiger. Does anyone have any pointers. I'm not trying to share 1 library among

  • Is it possible, automatically, to create a border when a text is inserted.

    Is it possible, automatically, to create a border when a text is inserted. Example: List with subjects is: Name: address: etcetera... When the first subject (Name) is typed then a border will appear around the whole text Is this possible in Indesgn?

  • Need some help with the samples

    I am using CR for Visual Studio 2010. After installing CR and verifying the install per the developer guide, I down loaded the samples crsdk_net_samples_12.zip and loaded VB_Win_Data_DataSets.sln, electing to convert it from VS2008 to VS2010.  After

  • 2nd home computer can't see itunes library on network server drive

    Ripped CD library and streaming Airplay successfully to home system.  Moved itunes library to network drive which is a Seagate BackupPlus connected to ASUS ac-68u router with USB 3.0.  Have Apple Media server turned on for the asus router.  Used iTun

  • Why does yahoo and hotmail email address not work with JavaMail

    I am sending an email like this if [email protected]= [email protected] it doesnt work... but works if it is someone on the same domain theMessage.addRecipient(Message.RecipientType.TO, new InternetAddress("[email protected]"));