Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to create Richfaces menus in Vertical?

 
siva prasa
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
[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
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Some one help us to find this problem or give some alternative option.
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18212
53
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Aditya Mandal
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 18212
53
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No problem. We don't charge extra for you to start a new thread of your own, though!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic