Three level pop up

Hi All,
I want to have three level pop up menu on my application.
First Level- Horizontal on mouseHover it should show next level vertical and on second level mouseHover it should again be Vertical.
I have changed the required paramaters but its still showing third level as Horizontal instead of Vertically displaying the menu.
I don't want to user Menu option.
Below is the code for Pop-Up. Please help
<cust:panelCustomizable id="pt_pc4"
inlineStyle="background-image:url(#{facesContext.externalContext.requestContextPath}/images/globe_tab-bkg.png);background-position:center top;background-repeat:repeat-x;padding-top:2px;"
rendered="#{!composerContext.inEditMode and attrs.showNavigation and !attrs.isEditingTemplate}">
<af:panelGroupLayout id="pt_pgl3" layout="horizontal"
inlineStyle="height:20px;">
<af:spacer id="pt_sp3" width="10"/>
<!-- iterate over navigation items -->
<af:forEach var="node" varStatus="vs"
items="#{navigationContext.defaultNavigationModel.listModel['startNode=/, includeStartNode=false']}">
<af:subform id="pt_sfm1">
<af:switcher id="pt_sw1"
facetName="#{(empty node.attributes['Target']) || (node.attributes['Target'] == '_popup') ? 'command' : 'golink'}">
<f:facet name="command">
<af:commandLink id="pt_cl1" text="#{node.title}"
inlineStyle="font-size:small;#{node.selected ? 'font-weight:bold;' : ''}"
action="pprnav"
disabled="#{not node.navigable}"
actionListener="#{navigationContext.processAction}"
clientComponent="#{node.attributes['Target'] == '_popup' ? true : false}">
<!-- pass node to processAction for setting current selection and navigation -->
<f:attribute name="node" value="#{node}"/>
<af:showPopupBehavior popupId="menuPopup"
align="afterStart"
triggerType="mouseHover"/>
<c:if test="${node.attributes['Target'] == '_popup'}">
<af:clientAttribute name="modelPath"
value="#{node.navigationModel.metadataId}"/>
<af:clientAttribute name="selectedPrettyUrl"
value="#{node.prettyUrl}"/>
<af:clientAttribute name="selectedTitle"
value="#{node.title}"/>
<af:showPopupBehavior popupId="::rendererPopup"
triggerType="action"/>
</c:if>
</af:commandLink>
</f:facet>
<f:facet name="golink">
<af:goLink id="pt_gl1" text="#{node.title}"
destination="#{node.goLinkPrettyUrl}"
targetFrame="#{node.attributes['Target']}"
inlineStyle="font-size:small;#{node.selected ? 'font-weight:bold;' : ''}">
<af:showPopupBehavior popupId="menuPopup"
align="endBefore"
triggerType="mouseHover"/>
</af:goLink>
</f:facet>
</af:switcher>
<af:spacer id="pt_sp9" width="20" rendered="#{! vs.last}"/>
<af:popup id="menuPopup" contentDelivery="immediate"
animate="false" rendered="#{! empty node.children}">
<af:panelGroupLayout id="pt_pgl7" layout="vertical">
<af:forEach var="node2" varStatus="vs2"
items="#{node.children}">
<af:switcher id="pt_s1"
facetName="#{(empty node2.attributes['Target']) || (node2.attributes['Target'] == '_popup') ? 'command' : 'golink'}">
<f:facet name="command">
<af:commandLink id="pt_cl3" text="#{node2.title}"
inlineStyle="font-size:small;#{node2.selected ? 'font-weight:bold;' : ''}"
action="pprnav"
disabled="#{not node2.navigable}"
actionListener="#{navigationContext.processAction}"
clientComponent="#{node2.attributes['Target'] == '_popup' ? true : false}">
<!-- pass node to processAction for setting current selection and navigation -->
<f:attribute name="node5" value="#{node2}"/>
<af:showPopupBehavior popupId="pt_p1"
align="endBefore"
triggerType="mouseHover"/>
<c:if test="${node2.attributes['Target'] == '_popup'}">
<af:clientAttribute name="modelPath"
value="#{node2.navigationModel.metadataId}"/>
<af:clientAttribute name="selectedPrettyUrl"
value="#{node2.prettyUrl}"/>
<af:clientAttribute name="selectedTitle"
value="#{node2.title}"/>
<af:showPopupBehavior popupId="::rendererPopup"
triggerType="action"/>
</c:if>
</af:commandLink>
</f:facet>
<f:facet name="golink">
<af:goLink id="pt_gl3" text="#{node2.title}"
destination="#{node2.goLinkPrettyUrl}"
targetFrame="#{node2.attributes['Target']}"
inlineStyle="font-size:small;#{node2.selected ? 'font-weight:bold;' : ''}">
<af:showPopupBehavior popupId="pt_p1"
align="endBefore"
triggerType="mouseHover"/>
</af:goLink>
</f:facet>
</af:switcher>
<af:spacer id="pt_s4" width="20" rendered="#{! vs2.last}"/>
<af:popup id="pt_p1" contentDelivery="immediate"
animate="false" rendered="#{! empty node2.children}" >
<af:panelGroupLayout id="pt_pgl4" layout="horizontal">
<af:forEach var="node3" varStatus="vs3"
items="#{node2.children}">
<af:spacer id="pt_sp10" height="5px"/>
<af:switcher id="pt_sw2"
facetName="#{(empty node3.attributes['Target']) || (node3.attributes['Target'] == '_popup') ? 'command' : 'golink'}">
<f:facet name="command">
<af:commandLink id="pt_cl2" text="#{node3.title}"
inlineStyle="#{node3.selected ? 'font-weight:bold;' : ''}"
action="pprnav"
disabled="#{not node3.navigable}"
actionListener="#{navigationContext.processAction}"
clientComponent="#{node3.attributes['Target'] == '_popup' ? true : false}">
<!-- pass node to processAction for setting current selection and navigation -->
<f:attribute name="node" value="#{node3}"/>
<c:if test="${node2.attributes['Target'] == '_popup'}">
<af:clientAttribute name="modelPath"
value="#{node3.navigationModel.metadataId}"/>
<af:clientAttribute name="selectedPrettyUrl"
value="#{node3.prettyUrl}"/>
<af:clientAttribute name="selectedTitle"
value="#{node3.title}"/>
<af:showPopupBehavior popupId="::rendererPopup"
triggerType="action"/>
</c:if>
</af:commandLink>
</f:facet>
<f:facet name="golink">
<af:goLink id="pt_gl2" text="#{node3.title}"
destination="#{node3.goLinkPrettyUrl}"
targetFrame="#{node3.attributes['Target']}"
inlineStyle="font-size:small;#{node3.selected ? 'font-weight:bold;' : ''}">
<af:showPopupBehavior popupId="pt_p1"
align="afterStart"
triggerType="mouseHover"/>
</af:goLink>
</f:facet>
</af:switcher>
</af:forEach>
</af:panelGroupLayout>
</af:popup>
</af:forEach>
</af:panelGroupLayout>
</af:popup>
</af:subform>
</af:forEach>
</af:panelGroupLayout>
</cust:panelCustomizable>
<af:popup id="rendererPopup" contentDelivery="lazyUncached"
launcherVar="source" eventContext="launcher">
<af:setPropertyListener from="#{source.attributes.modelPath}"
to="#{viewScope.modelPath}"
type="popupFetch"/>
<af:setPropertyListener from="#{source.attributes.selectedPrettyUrl}"
to="#{viewScope.selectedPrettyUrl}"
type="popupFetch"/>
<af:setPropertyListener from="#{source.attributes.selectedTitle}"
to="#{viewScope.selectedTitle}"
type="popupFetch"/>
<af:dialog id="pt_d1" title="#{viewScope.selectedTitle}" type="cancel"
cancelTextAndAccessKey="Close">
<af:region value="#{bindings.navigationrenderer1.regionModel}"
id="pt_r1"/>
</af:dialog>
</af:popup>
I'm not sure how to post code in block.
Please advice.

To format your code you can read the FAQs (link in the top right corner.
Not sure about your problem, as the code it hard to read.
Please gives us your jdev version and technology
Timo

Similar Messages

  • How do I structure Information in three Levels in MDM 7.1?

    Hi,
    I am creating a Service Catalogue for a customer. They require three levels in the catalogue: "Packed Services" that are built up by several "Services", that can have several "Supporting Services".
    I am thinking  of using two main tables, and tuples to create BOS for Packed Service and Service. But how should I take care of the lowest level? They wish to be able to order Supporting Services separatly, so I dont think i can put it in a Qualified field in the Service Main Table.
    How about Relationships? Are they on the way out?
    Any suggestions? Is there other ways to structure data in MDM 7.1?
    Kind Regards,
    Thomas

    In the paragraph tab. You may have to open it the first time from the Window menu.
    Chris
    Adobe Enterprise Developer Support

  • Workflow PR-Next level pop-up for release

    Dear All,
    I am working on PR release through workflow, with three level release codes. I need your help in setting:-
    Example:
    In case PR received through workflow at 1st level for release code Z1, and if he could not able to release it within 5 Min, PR/task should be forwarded to next 2nd level for release Z2.
    And in case 2nd level do not release within 10 Min, PR/task should be farwarded to 3rd level for decision
    etc etc
    It is some thing with lastet End, Request Start, Latest Start & Request End , but could not able to understand how to work with them in case of above situation.
    Any tips/link/document would be great for me?
    Regards
    Aamir

    Hi Ratnakar,
    i have facing same issue with workflow outlook mail notification..
    plz give me u r number and mail id.
    u r staying in Andrapradesh.
    Regards
    Srinivas

  • How to implement Three Level Sort ?

    I am performing a complex search and get a List of Object. Now, the problem is I have to sort this list in three levels. That is,
    If I have Object like this
    public class A {
    private String id ; // unique for every record
    private String attr1;
    private String attr2;
    private String attr3;
    private String attr4;
    then I have to Sort the List of above type of objects
    First level -attr1 as Asc
    Second level -attr2 as Asc
    third level - attr3 as desc
    Could u suggest some way to implement this.

    I would suggest using the built in Collections framework for sorting.
    have class A implement the Comparable interface then implement the compareTo method as follows:
    public int compareTo(Object o) {
        A a = (A)o;  // <-- may cause ClassCastException if (o instanceof A) != true, but that should not be a problem.
        int value = attr1.compareTo(a.attr1);
        if (value != 0) return value;
        value = attr2.compareTo(a.attr2);
        if (value != 0) return value;
        value = a.attr3.compareTo(attr3);  //Notice I switched a.attr3 and attr3 for desc
        return value;
    }That should do it for you.
    Now put everything into an instance of java.util.List and pass that to java.util.Collections.sort(java.util.List);
    If you didn't create class A, and therefore can't add a method to it, then implement a Comparator. The idea is the same, just look at the java.util.Comparator API and use java.util.Collection.sort(java.util.List, java.util.Comparator) method to sort;

  • Three level dependent  af:selectOnechoice

    Hi All,
    I am working with Jdev 11g (11.1.1.2.0)
    I am trying to create three level dependent af:selectOnechoice, First level is working fine, Second level is not working ,unable to retrieve the values..
    In Application module it is working fine, In Jspx page i am getting this issue.
    I have given autosubmit property as "true" to selectOnechoice 1 and partial trigger for selectOnechoice 1 from selectOnechoice 2
    similarly from 2nd level
    autosubmit property as "true" to selectOnechoice 2 and partial trigger for selectOnechoice 2 from selectOnechoice 3
    XML code for ur reference
    <af:selectOneChoice value="#{bindings.MenuTypeTr.inputValue}" label="#{bindings.MenuTypeTr.label}"
    required="#{bindings.MenuTypeTr.hints.mandatory}"
    shortDesc="#{bindings.MenuTypeTr.hints.tooltip}" id="soc1"
    binding="#{backingBeanScope.backing_untitled10.soc1}" autoSubmit="true">
    <f:selectItems value="#{bindings.MenuTypeTr.items}" id="si1"
    binding="#{backingBeanScope.backing_untitled10.si1}"/>
    </af:selectOneChoice>
    <af:selectOneChoice value="#{bindings.MainMenuTr.inputValue}" label="#{bindings.MainMenuTr.label}"
    required="#{bindings.MainMenuTr.hints.mandatory}"
    shortDesc="#{bindings.MainMenuTr.hints.tooltip}" id="soc2"
    binding="#{backingBeanScope.backing_untitled10.soc2}" autoSubmit="true"
    partialTriggers="soc1">
    <f:selectItems value="#{bindings.MainMenuTr.items}" id="si2"
    binding="#{backingBeanScope.backing_untitled10.si2}"/>
    </af:selectOneChoice>
    <af:selectOneChoice value="#{bindings.SubMenuTr.inputValue}" label="#{bindings.SubMenuTr.label}"
    required="#{bindings.SubMenuTr.hints.mandatory}"
    shortDesc="#{bindings.SubMenuTr.hints.tooltip}" id="soc3"
    binding="#{backingBeanScope.backing_untitled10.soc3}" partialTriggers="soc2">
    <f:selectItems value="#{bindings.SubMenuTr.items}" id="si3"
    binding="#{backingBeanScope.backing_untitled10.si3}"/>
    </af:selectOneChoice>
    Plz guide me, If any thing i missed or did wrong
    Thanks in Advance
    Regards,
    Zakir

    Hi,
    first of all make sure that dropdown queries are returning records. you can test it in bc4j tester ( right click on am and run).
    Also can look @ http://groundside.com/blog/GrantRonald?title=jdeveloper_11_live_demo_cascading_list_o&more=1&c=1&tb=1&pb=1
    or
    http://ranajitsahoo.blogspot.com/2008/05/how-to-implement-dependent-drop-down.html
    ~Abhijit

  • Has anyone created a dynamic two or three level tree?

    Hi -
    If anyone has created a dynamic two or three level tree, can you please explain and/or show a code example of how you did it? The 'dynamic tree tutorial' doesn't show the child node being created dynamically, but graphically.
    I can build the first level fine, but how does the child node get associated with the parent node in the next level?
    Thanks in advance.

    Here's a snippet that might help. I'm sure there are more elegant ways to code it but this seems to work!
    Good luck,
    Keith
    //1st Loop - executed once per first level of tree
    for (int i = 0; i <= days; i++) {
    j = i+1;
    TreeNode newFirstNode = new TreeNode();
    newFirstNode.setId("day" + j);
    newFirstNode.setText("First " + j );
    itineraryNodeChildren.add(newFirstNode);
    java.util.List firstNodeChildren = newFirstNode.getChildren();
    // Second Loop executed once per Second level within the First loop
    for (int k=0; k<rk; k++) {
    secondNumber ++;
    TreeNode newSecondNode = new TreeNode();
    newSecondNode.setText(secondNodeText);
    firstNodeChildren.add(newSecondNode);
    }

  • Three Levels of Hierarchy in REUSE_ALV_HIERSEQ_LIST_DISPLAY

    Hi All,
    Can we have a Three levels of Hierarchy in the function module REUSE_ALV_HIERSEQ_LIST_DISPLAY. I know we can have a two levels like Header and Item. If any other function module is available for this please let me know.
    Requirement is :-
    First Level - Maintainence Order
    Second Level - Operations related to MO
    Third level - Components related to operations
    Thanks in advance.
    Pankaj

    Hai Pankaj,
    I think it is not possible, you can have only two levels only. Header / Line Item only.

  • Three-level ADF Tree from HR Schema

    JDeveloper 11.1.1.0.1 + ADFBC + ADFRC
    Hello all!
    I am stumped on this one. I want to create a tree based on the HR schema that includes three levels: Department Name > Job Title > Employee Name.
    In other words, I want the root node to be Department Name. Then, when the Department name node is expanded, I want a list of all Job Titles under that department. When the Job Titles node is expanded, a list of all employee names under that Job Title and in that Department.
    Does anyone have any ideas as to how to accomplish this?
    Thanks!
    Edited by: Alexander Pepper on Jan 19, 2009 6:54 AM

    Thanks Shay, thats exactly the information I was missing. Thanks also for the really quick responses.
    So now the I have the three level relationship that works perfectly in the BC tester. I choose a department, select the Jobs node and see all Jobs belonging to that apartment, then click the Employees node under the Jobs node and see all employees with that job.
    However, the ADF tree still does the same thing. I've even tried creating the whole model layer manually instead of using the Business Components from Tables wizard to make sure that the proper ViewLinks were being used, and not the automatically generated ones. Still, no difference.
    Are you aware if this has definitely been done successfully before? Is there anything else I could be missing?

  • OPEN FI enhancements at three levels - SAP, Partner and customer

    Hi,
    While implementing OPEN FI enhancements like BTE the major advantage mentioned by SAP (help) is
    Open FI assumes that enhancement will only take place on three levels (SAP - partners - customers), whereas with Business Add-Ins you can create and implement enhancements in as many software layers as you like.
    I am understood with the 'SAP' implementation part,
    But, unclear about 'Partner' - 'Customer' or 'SAP' - 'Customer' implementation part.
    I mean how will you be able to differentiate out between them, and if I implement my own OPEN FI enhancement (BTE) then I must register as a 'Customer'.
    Then, in that case can I implement as a partner?
    Please throw some light on this point as it is very important to understand the difference.
    Best regards,
    Harsh Dave

    Hello,
    the SAP-level is clear ( as you wrote ), mostly used by SAP for country specific enhancements.
    The 'PARTNER'-level is intended for the use of companies which write additional products to enhance the standard SAP and sell this software. They (at least should) have a partner-namespace ( something /***/) registered by SAP. So all the functions in these enhancements should begin with that /***/.
    The Customer-Level is intended for Customer-specific development - all functions used there should be named according to the Y/Z-namespace.
    That's the theory behind that statement. I think practical you could use even in a customer system the partner-level, but you shouldn't do.
    Regards Wolfgang

  • I want to implement three level Horizental navigation on the top navigation and menu items are created based on the data available in a SharePoint List.

    Hi All,
    I want to implement three level Horizental navigation on the top navigation and menu items are created based on the data available in a SharePoint List.
    Implement this requirement through customization, how can i start any help
    Thanks

    Hello,
    You can follow these links to get the result that you want. You can get the desired result either using the custom list or a site map. Please make sure when you edit the master page, dont work on the original v4.master. Always make a a copy and then work
    on it.
    This link will show you how get that navigation using a list.
    http://www.bitsofsharepoint.com/BlogPoint/Lists/Posts/Post.aspx?ID=60
    This link will show you how get that navigation using a sitemap.
    http://www.sharepointdiary.com/2012/01/custom-top-navigation-using-sitemap.html
    Please mark as "Answered" if this helped you.
    Thanks,
    norasampang

  • Is there methodology of BPM Development (DC) in three-level landscape ?

    Hi All,
    Is there methodology of BPM Development (DC) in three-level landscape (development,test,productive) ?
    We have 3 CE(dce,tce,pce) and 3 Backend (dr,tr,pr).
    We have BPM DC on dce with Web services on dr and dce (for start BPM with input parameters) throug Service Group.
    we deploy WS for start bpm on tce. Create appropriate Service Group.
    we transport backend developments on tr. new WSDl and endpoint url's for Web services
    What kind of changes should we do in BPM DC ?
    import inteface of Ws for start BPM.
    WS for Start output mapping.
    What to do with others Ws on tr?
    It will be necessary to repeat mapping?

    Hi partners! =)
    Happy New Year!
    I am working with CE, BPM 7.2, I have been trying to integrate some external web services but I am having this error with 2 of the 3 web services:
    Caused by: com.sap.engine.interfaces.sca.assembly.AssemblyException: Could not generate metadata for interface [http://www.osoa.org/xmlns/sca/1.0#WSDLPortType]{}
    Caused by: java.lang.IllegalArgumentException: Schema is not closed, Type http://CCService#CreditReportResBO is unknown
    Does anybody know how to fix it??
    Best Regards!!!
    Help me please!!!
    Michele

  • WAS Installation on three levels

    Hi all,
    I have one question, I've never tried to install SAP R3 on three separate levels (one host for sapgui, one host for application and one host for database), I've always installed it on two levels (sapgui and appl+datab)
    I think it's possible without problems but can someone of you give me your opinion??...
    Thanks and regards.

    Hi Rich,
    Thanks for your quick answer, I thought it was possible but I wasn´t sure at all.
    Another question, could you change one already existing installation on two levels to three levels?? Is it possible to move the database to another host??
    Thanks and regards.

  • Three level sc approval wf

    Hi all,
    I am currently working on three level sc approval workflow...
    the 1st level approval is based on product category,2nd level is based on costcentre and the 3rd level is based on the shopping cart value...i am currently working on the BADI...what value should i give for the approval index for each level..i am not clear abt the actual approval index..can anyone help me..
    Thanks&Regards,
    Hari.

    hi ,
    there is default implementation already provided by SAP along with the system --> please have a look.
    if you have three approvers
    1) first approver will have index 1 , second will have 2 , third will have 3.
    you have to code your BADI in such a way ---> that approval table will have correct number of approvers depending on the input of the shopping cart.
    approval_table is very critical in badi ---> this defines the approvers involved in approval chain
    Edited by: khan voyalpad usman on Jan 11, 2008 1:13 AM

  • Fiori Like Custom Launchpad - Two/Three levels of tiles

    Hi All ,
    We are trying to expose our developed custom UI5 applications to the end user in a Custom Launchpad similar to the standard one .
    We are trying to have two or three levels of tiles where there will be 4 tiles on the first level . Clicking on a tile in level 1 will bring up 4 tiles in level 2  and clicking on any of these Level 2 tiles will bring up 3 more tiles in level 3 .
    Can someone guide me as to how to achieve this . I have already created catalogs with tiles . I have also created groups and assigned tiles to groups as well. All this works fine . What I cannot figure out is how to create the 3 level hierarchy . I believe there should be something like a group inside a group / catalog inside a catalog but cannot figure out how to achieve this .
    TIA ,
    Himanshu

    Hi Himanshu Kandpal  
    I'm facing the same issue in my project.
    But my requirement is only 2 level. Tiles with in a single tile
    have you solved this issue? If so please help me to resolve this.
    Regards
    Yokesvaran Kumarasamy

  • Repeating frame hiding in Group above report with three levels of grouping

    I'm working on a group above report.I have 3 levels of grouping. ex: Consider emp table
    Group1: Hiring year
    Group2:Manager code
    Group3:Dept no
    The R1 frame is refered to Group1. R2 -Group2, wich will come inside R1.
    R3-Group3, which will come inside R3.
    Now R3 is the inner frame, R2 is the middle frame and R1 is the outer frame.
    I want to display the data of the frame R3. Based on the parameter i'm passing , I want to hide the R1 or R2. I used the format trigger, but it is hiding the inner frames also. But I want to hide only the outer frame,But I want the data of the inner frames.
    all the suggesstions are welcome. Thanks in advance

    Don't hide R1 and R2, i.e. don't use their trigger to display or display items. Instead, put all objects in a normal frame, and hide it depending on the parameters you meantioned.
    What will happen will be somewhat like this
    -- R1
    |-- Frame - ( use trigger to hide depending on parameters )
    | |---R1 Items
    |-- R2
    |---Frame - ( use trigger to hide depending on parameters )
    | |---Items
    |---R3
    |----Frame
    |---Items
    I hope this helps.

Maybe you are looking for

  • Assigning roles to users programmatically

    Hi, I want to programmatically create roles, assign roles to users etc. I saw at this thread ADF Security Policy Store the folowing scriptlet by Frank Nimphius try { IdentityStore idstore = JpsCommonUtil.getValidIdStore("idstore.xml.provider").getIdm

  • Repeted values in HR-Payroll

    Hi Friends, In BEx query we have to show Employee salay like  basic salary, HRA and others and in same report we have to show Empolyee dependent persons lkike wifr and chioldren.  If a employee have three dependents this data is  displayed  three tim

  • Tool Report Design

    Hi all, Could you tell me any tools for design report layout or other way to design? Beside Quick Viewer, SAP Query, Report Painter/Writer, they can't group data and very complex. Thank you!

  • Using Airtunes with ipod touch

    As iPod touch has wi-fi, is it possible to connect to airtunes and use it (connected to speakers) as external speakers in the same way you can do this from a mac? Ta.

  • IPhoto/IPhone 3GS- newly synched events only show 1 or 2 photos from only a few events...

    My photos were synching fine..until today!  I plug in my phone expecting to have no trouble because I added some new photos from my camera to iPhoto, so I click those events to "synch."  It takes maybe one or two pics from some of the events, and tha