You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Shelly Dhiman <sh...@is2inc.com> on 2001/08/28 03:02:46 UTC
BUILDING DYNAMIC COMPONENTS IN A SITE:Somebody Please reply
Hi
IN our site we want to build navigation dynamically depending on what is
the content in a specific area, say A on the page we are at. Now we have
a main template that may be used by 50 pages. And content in the area A
is different on each of these pages. Navigation has to be built from the
database depending on the content in area A.
How CAn i do something like this
IN the template i want to say
abc:leftNav(contentName),
IN the renderer page(homepage.jsp)
contentName="dataCard"
Depending on the value of contentName, navigation will be fetched from
the database.
BAsically want to be able to use taglibs to set attributes and read them
Or could anyone suggest a better solution to this problem
Shelly