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

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top