aspose file tools*
The moose likes JSF and the fly likes How to create Richfaces menus in Vertical? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "How to create Richfaces menus in Vertical?" Watch "How to create Richfaces menus in Vertical?" New topic
Author

How to create Richfaces menus in Vertical?

siva prasa
Greenhorn

Joined: Feb 16, 2010
Posts: 25
[b]Hi all,
Any one know's how to create Richfaces menus in Verically?if you have some good ideas Share with me.i am struck in this area.Currently i am able to create horizontal menus.


http://www.javabeat.net/tips/91-creating-simple-toolbar-using-richfaces-tag-l.html

Code:

<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<%@ taglib prefix="rich" uri="http://richfaces.org/rich" %>
<%@ taglib prefix="a4j" uri="http://richfaces.org/a4j"%>
<html>
<body>
<f:view>
<h:form>
<rich:toolBar>
<rich:dropDownMenu>
<f:facet name="label">
<hutputText value="File"/>
</f:facet>
<rich:menuItem value="New"/>
<rich:menuItem value="Open"/>
<rich:menuItem value="Exit"/>
</rich:dropDownMenu>
<rich:dropDownMenu>
<f:facet name="label">
<hutputText value="Edit"/>
</f:facet>
<rich:menuItem value="Find"/>
<rich:menuItem value="Replace"/>
</rich:dropDownMenu>
</rich:toolBar>
</h:form>
</f:view>
</body>
</html>

Images:[/b]




Any examples or ideas behind creating verically like css or something??Thank you for reading this post.

Aditya Mandal
Greenhorn

Joined: Mar 22, 2012
Posts: 3
Some one help us to find this problem or give some alternative option.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16305
    
  21

Welcome to the JavaRanch, Aditya!

I certainly hope you're not working with Siva - the original question was posted a year and a half ago. These days, you can't even depend on people still having the same job after that long, and it's very unlikely that the boss would permit the problem to remain unsolved that long. What you've done is what we call "waking a zombie" - resurrecting a thread that has been laid to rest.

I have no idea why no answer was ever given, though. Vertical menu arrangement is a simple attribute setting on the RichFaces menu component, and if my feeble memory isn't incorrect, they even have an example in the RichFaces Live Demo.


Customer surveys are for companies who didn't pay proper attention to begin with.
Aditya Mandal
Greenhorn

Joined: Mar 22, 2012
Posts: 3
Thanks Tim,

It is true siva and me are not working together. actually i am new in richfaces and develop an application and want a vertical menus. it is my mistake i can not get this solution from live demo site.

thanks once again to give this solution.

and i am always try i am not waking a zombie. :- )
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16305
    
  21

No problem. We don't charge extra for you to start a new thread of your own, though!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to create Richfaces menus in Vertical?