• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Paul Clapham
  • Devaka Cooray
  • Bear Bibeault
Sheriffs:
  • Junilu Lacar
  • Knute Snortum
  • Liutauras Vilda
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Piet Souris
Bartenders:
  • salvin francis
  • Carey Brown
  • Frits Walraven

How to create Richfaces menus in Vertical?

 
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">
<h:outputText value="File"/>
</f:facet>
<rich:menuItem value="New"/>
<rich:menuItem value="Open"/>
<rich:menuItem value="Exit"/>
</rich:dropDownMenu>
<rich:dropDownMenu>
<f:facet name="label">
<h:outputText 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.

 
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.
 
Saloon Keeper
Posts: 21942
149
Android Eclipse IDE Tomcat Server Redhat Java 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
Posts: 21942
149
Android Eclipse IDE Tomcat Server Redhat Java 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!
 
    Bookmark Topic Watch Topic
  • New Topic