Possibly the wrong forum here ... but I am in a bit of a bind. I
switched from tiles to sitemesh on a live mission, and I am having some
trouble with the sitemesh only in one area. I am hoping someone here may
assist me a bit.

 

I have a "sitemesh decorator file" like so:

 

<html>

...

<decorator:title />

 

.... many, many tabs, organizing page.

...

<unique:navigationA /> ...

 

<decorator:body />

 

</html>

 

 

 

## Now everypge that I use looks good, but it has of course the
"navigationA" (its a navigation menu that is a taglibrary) on every
page. Now that I have that working, I need to replace that tag with
different tags based on where in the site they are.

The navigationA, is for purchases, now in customerService I need to use
navigationB.

 

Make sense?

I was hoping that within the decorator file, I could put some type of
"placeholder", then in the jsp page push the proper (or use the proper)
taglibrary for that page. This would still use the framework, but would
work for me. Otherwise, I think I have to make 3 or 4 decorator files,
then change their paths and use different decorators based upon
patterns. What a hassle.

 

Any input would be sincerely appreciated.

Scott

 

 

Reply via email to