[opencms-dev] To create a JSP Template Development based on some parameters
Chitra Prasad
chitrap at andale.com
Wed Jan 5 15:39:44 CET 2005
Hi,
I am working on creating a JSP template for the top navigation. The
navigation has a a main Products header of 4 tabs(images), when clicked on
the first tab, shows the sub products(plain text) for that product. The sub
products has another level of navigation which shows another level of
navigation. At each of the navigation level, when a particular product is
selected, the image changes to another image which indicates that the
particular product page is displyed. To achieve this what i propose to do is
to set 2 hidden varaibles in the HTML page that i create to use the
template. But i am unable to access the value of the hidden variable in the
template, as the value of the hidden variable are set in the body, after the
template has been loaded on the page.
e.g If one of the main product category is Books, the image shown is
books.gif, where when this tab is selected then the image shown is
books_selected.gif. Further under books, the second level of category is
Fiction, then the main navigation shows books_seleted.gif and fiction.gif.
If the fiction tab is selected, then the images to be displayed
arebooks_selected.gif and fiction_selected.gif. Further to the fiction
category being selected, the third level of navigation just shows a list of
fiction books.....
Is there any way in CMS that i can access the directory name and then change
the image based on the directory under which it is stored. Is any other
approach to this problem?
Regards,
Chitra.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 4019 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20050105/ba2bdb3c/attachment.bin>
More information about the opencms-dev
mailing list