dynamically changing the content in header of JSP using Tiles

R

Rashmini

hi!
I am newbie to struts and Tiles..
I have different JSP pages which has header , menu , body.
Text in the header.jsp should change according to menuitem selected.
Example:
When menuitem "Search Customer" is clicked,then in the header.jsp
Search Customer text should come..
If it is "Add Customer" then it should be "Add Customer" and so on.
I defined tiles:definition with same header and Menu but different contents..
but now i am facing problem in passing parameters to header...
can anyone help me in this aspect.....
 
S

Sudsy

Rashmini wrote:
I defined tiles:definition with same header and Menu but different contents..
but now i am facing problem in passing parameters to header...
can anyone help me in this aspect.....

<tiles:put name="title" content="Search Customer" direct="true" />

RTFM
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,599
Members
45,175
Latest member
Vinay Kumar_ Nevatia
Top