• 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
  • Paul Clapham
  • Liutauras Vilda
  • Knute Snortum
  • Bear Bibeault
Sheriffs:
  • Devaka Cooray
  • Jeanne Boyarsky
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • salvin francis
Bartenders:
  • Tim Holloway
  • Piet Souris
  • Frits Walraven

Menu Design

 
Ranch Hand
Posts: 1490
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a plan to do menu design for Web UI project. Menus should dynamically come from the xml / properties file. Any open source tool is there ?
 
kri shan
Ranch Hand
Posts: 1490
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any update ?
 
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think we ned to know a little more about what you need to do here.

First of all, what sort of "menu" are you interested in creating - site navigation, domain navigation, loging/logout/search etc., image buttons, expanding tree, and so on.

Second, please exapand what you mean by Menus should dynamically come from the xml / properties file ? Are you expecting the XML to be generated once for the site, to be different (but largely static) for each page, or to vary between requests even for the same page? Are you expecting the page content to also be generated from this data?

Are you looking for a Java/servlet solution, a Java/applet solution, or another client-side approach such as Javascript or Flash?

There are endless questions - the more you can help us understand your needs, the more we might be able to help with specific suggestions.
 
kri shan
Ranch Hand
Posts: 1490
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
First of all, what sort of "menu" are you interested in creating - site navigation, domain navigation, loging/logout/search etc., image buttons, expanding tree, and so on.
I am interested in site navigation meu. Her menus should display based on the users role.
Second, please exapand what you mean by Menus should dynamically come from the xml / properties file ? Are you expecting the XML to be generated once for the site, to be different (but largely static) for each page, or to vary between requests even for the same page? Are you expecting the page content to also be generated from this data?
XML should vary between requests even for the same page. Yes, page content also generated from this data.
Are you looking for a Java/servlet solution, a Java/applet solution, or another client-side approach such as Javascript or Flash?
I am looking for jsp solution.
 
kri shan
Ranch Hand
Posts: 1490
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Frank Carver, any update ?
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It sounds to me that you need to do an XSLT transformation to convert your XML into an HTML fragment which can be placed in your web page by your JSP.

Your oringinal question was for open source tools, so you probably need an open source XSLT processor (such as saxon or xalan). Depending on which container you are using, it may make XSLT processing services available to your application already.

If you are unfamiliar with XSLT, you may like to try an XSLT IDE for experimentation to generate your XSLT transformation script. Personally I have always developed my XSLT in a regular text editor, but that can be scary and frustrating.
 
Doe, a deer, a female deer. Ray, a pockeful of sun. Me, a name, I call my tiny ad ...
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!