• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Menu Design

 
Ranch Hand
Posts: 1491
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 1491
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Any update ?
 
Sheriff
Posts: 7001
6
Eclipse IDE Python C++ Debian Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 1491
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 1491
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Frank Carver, any update ?
 
Frank Carver
Sheriff
Posts: 7001
6
Eclipse IDE Python C++ Debian Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic