Make a generic menu with JSf  or richfaces

hi
I Would like to make a generic panelmenu with jsf or richfaces (I use facelets and Seam). I'd like that the menu change its data following the authenticated user.
Could any one help or have a good references.
thanks
regards

Hi bibou
Looking at http://livedemo.exadel.com/richfaces-demo/richfaces/panelMenu.jsf;jsessionid=96C860A9563AEE4C418EFDB66EF6AD5C?c=panelMenu,
Could you not just render each panel menu item depending on a backing bean condition?
E.g.
<rich:panelMenuItem action="#{Navigation.testing}" id="Home" label="#{msg.label_home}" rendered="#{Navigation.renderHomeMenu}>
</rich:panelMenuItem>
{code}
That way, depending on who is logged in and where they currently are within the site, etc, you can render different menuItems
Regards,
Victoria                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • How to make a sidebar menu with subsection?

    Hello
    I've been trying to make a sidebar menu with subsections you can expand and collapse both in muse and edge animate but I just can't. I've search the net for tutorials for two weeks now, it's like such a menu just doesn't exist even tho I've seen them on several sites.
    Thos is a picture of how I want it to look:
    As a default, you can only see "home" and the two "subject". Then when you click on the first "subject", the two "tutorials" expand down, when you click on the individual "tutorials" the parts of that tutorial expands down. When you click on the buttons that expand subsection again, they collapse.
    As I've said I've search for tutorials for weeks, the person I'm making the website with has also search without any luck at all. I've found a tutorial that lets me have 1 button with subsection expanding when mouse is over it, but nothing where there are buttons below the button you expand. I'm starting to thing it's just impossible, but I can't understand how it should be impossible. In case it actually is possible I need to re-thing the way I organise and navigate the entire site.
    There is gonna be a whole lot of content on the site, we expect it to grow with up to 100 pages a month, therefor the navigation is obviously very important.
    I really hope someone can help me! A link to a tutorial I haven't been able to find or a description on how to do it, thanks!

    Hi,
    I am relatively new to Muse and hardly an expert, but I just did what you are describing.  Go to the Widget Library, Compositions > Blank.  In the Target, insert a Vertical Menu (also in the Widgets Library).  In the Options menu, under Menu Type select All Pages.  If that doesn't work the way you want it to, you might have to select the Manual menu option.
    Here's a short tutorial on how to use the Compositions Widget:
    Adobe Muse Mega Menu Dropdown Widget | MuseThemes.com
    Other tutorials that may help:
    http://terrywhite.com/how-to-create-a-dynamic-sliding-menu-for-your-mobile-website-in-adob e-muse/
    How To Create A Sliding Menu for Your Mobile Website in Adobe Muse - YouTube
    You might also look at Panels > Accordion.  You can insert your menu into the Accordion Target.
    Hope this helps.
    John

  • Hi, i am new to PDF forms & need to make drop down menu with pictures, how do i do that ?

    Hi, i am new to PDF forms & need to make drop down menu with pictures, how do i do that ?
    some one suggested to use coding to achieve similar results,  but i don't know where and how to use it, please help!

    Sorry, images in drop downs are not supported by Formscentral.
    Andrew

  • Please, how make a DVD menu with chapters? FCPX

    I already instaled FCPX but I can't find where I can make a profesional DVD menu as in DVD studio before. There is only "share" and this is for amaters not for me. I need make profesional DVD with chapters, caregories etc.
    Please is there anybody who know how or where make it ?
    Thanks very much to all.

    Export a movie from FCP X.  Import the resulting movie into FCP 7 or older version of FCP.  Add chapter markers as needed, then export to Compressor and on to DVD Studio Pro for authoring and burning.  Hopefully you didn't delete the old pro apps before installing FCP X.
    If you're waiting for Apple to add a full featured DVD app, don't hold your breath.  Apple has declared that the DVD-Video format is dead and apparently they think no one should be using it.
    -DH

  • How to make a sidebar menu with drop down submenus

    I would like to make a sidebar menus as shown below. When you first get the menu only the home and subject button are shown, as you click on a subject you get the different tutorials and as you click each tutorials you are shown the parts. If you are on one a part page you will still have that part shown in the menu but if you click on it in the menu the it's collapsed again. I can't find anything about how to do this.

    Hi,
    I am relatively new to Muse and hardly an expert, but I just did what you are describing.  Go to the Widget Library, Compositions > Blank.  In the Target, insert a Vertical Menu (also in the Widgets Library).  In the Options menu, under Menu Type select All Pages.  If that doesn't work the way you want it to, you might have to select the Manual menu option.
    Here's a short tutorial on how to use the Compositions Widget:
    Adobe Muse Mega Menu Dropdown Widget | MuseThemes.com
    Other tutorials that may help:
    http://terrywhite.com/how-to-create-a-dynamic-sliding-menu-for-your-mobile-website-in-adob e-muse/
    How To Create A Sliding Menu for Your Mobile Website in Adobe Muse - YouTube
    You might also look at Panels > Accordion.  You can insert your menu into the Accordion Target.
    Hope this helps.
    John

  • Jsf and richfaces version compatibility issue

    Hi,
    I am using JRE 1.5 , jsf 1.2 , richfaces 3.3.3 and deployed in Tomcat 6.0.18. I am getting following error.
    javax.servlet.ServletException: /allocator.xhtml @30,163 <rich:tree> Tag Library supports namespace: http://richfaces.org/rich, but no tag was defined for name: tree
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:321)
    root cause
    javax.faces.view.facelets.TagException: /allocator.xhtml @30,163 <rich:tree> Tag Library supports namespace: http://richfaces.org/rich, but no tag was defined for name: tree
         com.sun.faces.facelets.compiler.CompilationManager.pushTag(CompilationManager.java:289)
         com.sun.faces.facelets.compiler.SAXCompiler$CompilationHandler.startElement(SAXCompiler.java:228)
         com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source)
         com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.startElement(Unknown Source)
         com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
         com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
         com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
         com.sun.org.apache.xerces.internal.parsers.XML11Configuration
    Thanks,
    BPradhan

    In my development box , I can use any version of jre, tomcat.
    But, we have our department dev and prod server configured with jre 1.5 and tomcat 6.0.18
    Some other applications are running in those environment with jre 1.5 and tomcat 6.0.18. I cannot upgrade just for new application.
    when tomcat6 was downloaded in our department dev and prod server , they are installed with jre5. Subsequently servers are upgraded with jre6 but it seems like tomcat recognises jre5 not jre6. Let me know if i am wrong about jre version tomcat is trying to use.
    Also, can you help me with the environment I have and problems i am encountering with jsf and richfaces.
    Thanks,
    BPradhan
    Edited by: user618018 on Feb 1, 2013 5:03 PM

  • In JSF, how to make a menu with access control?

    In JSF, how to make a menu with access control?
    The access control can be guided by programming, database or other means if possible?
    Thanks

    I want to make a dvd menu in iMovie because i don't have IDVD and can't find anywhere to download it?
    For making DVDs I would recommend iMovie 06 and iDVD 09 both readily available on Amazon or eBay.  Shop for iLife 06 and iLife 09.
    You can make menus and chapters with any version of iMovie except the latest one. There's nothing wrong with iMovie 11 either but I prefer iMovie 06.
    By using iMovie 06 and iDVD 09 I make DVDs with professional moving menus with very little effort. They look almost as good as Hollywood.

  • Is richfaces configurable with JSF RI 1.1

    I want to use richfaces tree menu in my application built on JSF RI 1.1.
    Appreciate it if someone can let me know if richfaces is 100% compatible with RI 1.1.
    ~SirG

    Richfaces is compatible with JSF 1.1 and 1.2 and also with great ui part
    but it may conflict with the other tomahawk component and filters

  • How can I make a menu with button's that fade-in?

    I've built a motion menu in AE, and had added text layers/buttons that fade-in through layer>Encore>Create Button. Once I import this into Encore through dynamic link I cannot link the buttons to the motion menu.  I've added a sample.
    Basically all I want is the play feature, Scene selection ,and credits to be selectable after they finish fading in @ the :20 mark. I don't want the menu to loop either.
    I've tried to make a static menu(from last frame in AE) play after this, but, there is a one second gap or so before that static menu plays which just looks tacky. I have tried this in preview, and rendered it to a dvd with the same result.
    All the tutorials i've come across really don't answer this question either.  
    Any help would be appreciated.
    Thanks

    I believe that Jon Geddes has a TUTORIAL, that might also be useful to you.
    Sounds like you and Stanley have it worked out, but you might pick up an additional idea, or two.
    Good luck,
    Hunt

  • How do i get that little pop up menu with all the editing choices on it that i used to get?  Is there a way to get the editing box to pop up as I make a new event instead of editing an event after i just made it ??????

    How do i get that little pop up menu with all the editing choices on it that i used to get?  Is there a way to get the editing box to pop up as I make a new event instead of editing an event after i just made it ??????

    Michal,
    iCal Help is a good place to start. Here are a couple of examples:

  • Richfaces intergration with jsf 2.0

    Hi,
    I have intergrate richfaces with jsf 2.0
    I have used these jars
    jstl.jar (for JSTL)
    jsf-facelets.jar (Facelets 1. 1. 15)
    richfaces-api-3.3.3.Final.jar
    richfaces-impl-jsf2-3.3. 3.Final.jar
    richfaces-ui-3.3.3.Final.jar
    commons-beanutils-1.8.3.jar
    commons-collections-3.2. 1.jar
    commons-digester-2.0.jar
    commons-logging-1.1.1.jar
    jsf-api.jar (for JSF2)
    jsf-impl.jar(for JSF2)
    In web .xml
    <context-param>
    <param-name>facelets.SKIP_COMMENTS</param-name>
    <param-value>true</param-value>
    </context-param>      
    <context-param>
    <param-name>javax.faces.CONFIG_FILES</param-name>
    <param-value>/WEB-INF/faces-config.xml</param-value>
    </context-param>
    <context-param>
    <param-name>org.richfaces.SKIN</param-name>
    <param-value>classic</param-value>
    </context-param>
    <context-param>
    <param-name>org.ajax4jsf.VIEW_HANDLERS</param-name>
    <param-value>com.sun.facelets.FaceletViewHandler</param-value>
    </context-param>
    <listener>
    <listener-class>com.sun.faces.config.ConfigureListener</listener-class>
    </listener>
    <filter>
    <display-name>RichFaces Filter</display-name>
    <filter-name>richfaces</filter-name>
    <filter-class>org.ajax4jsf.Filter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>richfaces</filter-name>
    <servlet-name>Faces Servlet</servlet-name>
    <dispatcher>REQUEST</dispatcher>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>INCLUDE</dispatcher>
    </filter-mapping>
    <welcome-file-list>
    <welcome-file>index.jsp</welcome-file>
    </welcome-file-list>
    I am not able to deploy a ear in weblogic 11g
    I am getting following error
    An error occurred during activation of changes, please see the log for details.
    weblogic.application.ModuleException:
    org.ajax4jsf.taglib.html.facelets.ActionParamHandler.<init>(javax.faces.view.facelets.ComponentConfig)
    please me out

    It is not much information to go on, but it smells like a library confict issue. There must be more to the stacktrace you are getting, please post the entire thing.
    Do you maybe have multiple implementations of facelets floating around? For example, is there a facelets library present in the server while you are also deploying one with your application?
    I'm sorry but it is hard to give any hard information without access to your system :( I would suggest you do some google searches, for example pasting error messages you are getting into google and seeing what you get.

  • How can I make a navigation dependend on the database content with JSF?

    Hi,
    I want to navigate dynamicly between pages, but pages which addresses that are taken from database. I want to take a list of page's addresses (links) from database, and while application is running, I want to generate on my page that working links. This is functionality demanded by my little CMS (Content Management System), to enable me to add and delete pages and links between them.
    But is it possible by JSF?
    As far as I could find out, JSF provides such possibilities (faces-config.xml) :
    <navigation-rule>
        <from-view-id>/logon.jsp</from-view-id>
             <navigation-case>
                  <from-action>#{LogonForm.logon}</from-action> /*logon - function returning String as an 'outcome'*/
                   <from-outcome>success</from-outcome> /*outcome*/
                    <to-view-id>/storefront.jsp</to-view-id> /*concrete page*/
               </navigation-case>I need something like that:
    <navigation-rule>
        <from-view-id>/logon.jsp</from-view-id>
           <navigation-case>
              <from-action>#{WhichPage.address</from-action> /*different pages' addresses
               <from-outcome></from-outcome> /*outcome not needed*/
               <to-view-id>#{WhichPage.address}</to-view-id>  //different pages' addresses from db
           </navigation-case>or just function which return directly the address of the target page (read from db). But is it possbile with JSF?
    So far only figured out one not good enough way: to add all the pages' addresses to the faces-config.xml file:( But as you can imagine, the more link I would add, the bigger mess in config file I would create.
    Thanks in advance for any suggestion or advice,
    Regards.
    T.K.

    You can implement a NavigationHandler
    public class NavigationManager extends NavigationHandler {
         private NavigationHandler _base;
         public NavigationManager(NavigationHandler base)
              super();
              _base = base;      
         public void handleNavigation(FacesContext context, String actionMethod, String actionName) {
              // Put some code here, you can create a NavigationCase and a NavigationRule
              // with RuntimeConfig runtimeConfig = RuntimeConfig.getCurrentInstance(externalContext);
              _base.handleNavigation(context, actionMethod, actionName);
    }

  • A problem with JSF + Richfaces

    I'm developing a web application using Appfuse 1.9.4 (use JSF) and Richfaces 3.2.1 GA, my web run correctly while i set
    <context-param>
    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>*{color:#ff0000}client{color}*</param-value>
    </context-param>
    but it's too low. So, i set STATE_SAVING_METHOD to {color:#ff0000}*server*{color}
    Unfortunately, my web is broken and throws ViewExpiredException ?
    Anyone helps me, please ?
    Best regards.

    Have you set the partialtriggers-attribute on the form? You can find an example in the SRDemo, in the page SREdit.

  • Flex with jsf Application

    Hi
      I am new to flex and i have a knowledge on jsf .We got a requriment to integrate the flex with jsf .
      I googled and i developed the sample application using the fiji (Exadel ) .
      When i an running the application in the jboss I GOT EMPTY page then after deselecting the check box of 'blockjavascript' in the browser
      am able to see the swf file in the page
    can any one help me..
    My Project
    The   mxml
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" width="1024" height="715" xmlns:ns1="*">
    <mx:Form x="22" y="47" width="1200" height="680">
    </mx:Form>
       <mx:Button x="22" y="5" label="This is Prapansolution" width="280"/>
    </mx:Application>
    The .jsp
           <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:fiji="http://exadel.com/fiji"
              xmlns:a4j="http://richfaces.org/a4j"
              xmlns:rich="http://richfaces.org/rich"
              xmlns:ui="http://java.sun.com/jsf/facelets"
               version="2.0">
             <f:view><h:form id="myForm">
              <fiji:swf src="/faces/FirstFlexApp.swf" id="demonew"  bgcolor="#FFFFFF" width="820" height="480">
              <f:param name="text1" value="Hello" />
             </fiji:swf> </h:form></f:view>

    "vikbar" <[email protected]> wrote in
    message
    news:gb0tug$7je$[email protected]..
    > Hi Amy,
    >
    > Isnt the HistoryManager approach more specific to Flex
    application i.e if
    > user
    > is just navigating with in the flex application? In my
    case the user will
    > navigate between a JSF page which does not have any SWF
    file and the
    > another
    > one which has swf file embedded. Now everytime when the
    suer moves to the
    > flex
    > embedded JSF page from the Non Flex JSF page these are
    the steps which are
    > always going to happen :
    >
    > 1.) System Manager will get initialized and will create
    PreLoader
    > instance.
    > 2.) The preLoader will then try to download the swf
    file. Now since this
    > is
    > the second time the user is coming back to the flex page
    so the broswer
    > would
    > have already cached this swf, so Preloader will skip the
    downloading
    > swf/RSl
    > step and hence you wont see any initialization progress
    bar.
    >
    > 3.) New Application object will get instantiated and
    will go through its
    > whole
    > lifecycle.
    >
    > So, I guess historyManager approach will work only if
    the user stays on
    > the
    > flex application only and navigates with in flex
    application itself(so in
    > that
    > case if the user clicks back then it knows which flex
    component or view to
    > display), but in my case user will completely move away
    from flex page to
    > a
    > JSF page and then will try to come back.
    >
    You'd need to put the right stuff in the url to make it work,
    just like if
    you were calling a page that's expecting GET params. I don't
    really use the
    HistoryManager, so you'll need to either look into this
    yourself or ask
    someone who knows more about it.
    HTH;
    Amy

  • About the Flex with jsf

    Hi
      I am new to flex and i have a knowledge on jsf .We got a requriment to integrate the flex with jsf .
      I googled and i developed the sample application using the fiji (Exadel ) .
      When i an running the application in the jboss I GOT EMPTY page then after deselecting the check box of 'blockjavascript' in the browser
      am able to see the swf file in the page
    can any one help me..
    My Project
    The   mxml
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" width="1024" height="715" xmlns:ns1="*">
    <mx:Form x="22" y="47" width="1200" height="680">
    </mx:Form>
       <mx:Button x="22" y="5" label="This is Prapansolution" width="280"/>
    </mx:Application>
    The .jsp
           <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:fiji="http://exadel.com/fiji"
              xmlns:a4j="http://richfaces.org/a4j"
              xmlns:rich="http://richfaces.org/rich"
              xmlns:ui="http://java.sun.com/jsf/facelets"
               version="2.0">
             <f:view><h:form id="myForm">
              <fiji:swf src="/faces/FirstFlexApp.swf" id="demonew"  bgcolor="#FFFFFF" width="820" height="480">
              <f:param name="text1" value="Hello" />
             </fiji:swf> </h:form></f:view>

    The imageicon only be supported JMenuItem.
    how to dispose the case of sub-menu.
    JMenu mainMenu = new JMenu("main");
    JMenuItem miNew = new JMenu("New", new ImageIcon("..."));
    JMenu mnuOpenHistory = new JMenu("Open List"); /// <<<----------------- this item can not support Icon
    JMenuItem open1 = new JMenuItem("", new ImageIcon());
    mainMenu.add(miNew);
    mainMenu.add(mnuOpenHistory);

Maybe you are looking for

  • Memory speed on K8T Master2

    I've always seen my current memclock in BIOS as 166MHz as it should be, since I use 166MHz/DDR333 memory. These sticks are placed in the two slots closest to CPU0, slot 1 and 2 as I figured that should support dual channel. But some days ago I came a

  • Can we use single DB Adapter for multiple tables

    Hi, I have 3 tables. ONE is the Master table and other 2 tables having Primary and foreign key relationships with the Master Table. Data is enter in the Tables 2 & 3 (based on Master Table Primary key) I have to use a DB Adapter in BPEL Process which

  • WebService in JDeveloper 10.1.3

    I have developed document/literal web services in JDeveloper 10.1.2 and running it on Oracle Application Server 10.1.2. In JDeveloper 10.1.3, web services is based on JAX-RPC. Can I run web services developed with a previous version work in the emebd

  • Bridge, Lightroom, InDesign workflow question

    Hey everyone, I've been using Adobe InDesign CS5 and Apple's Aperture software together (on a Mac) to do design projects over the past year and a half or so. I'd never been that interested in Adobe's other applications until recently, when I got a Cr

  • Problem with Adobe Content Viewer for ipad

    Hello, I created an application from folio bulider 1.350 gigabytes. Once downloaded using Adobe  Content Viewer on Ipad i can display it without any problems, but when I turn off the Ipad or delete Adobe Content Viewer by applications running in the