October 21st, 2002, 04:48 PM
Passing a paramter in Struts-Tiles framework
Hi Guys, I'm using Struts-Tiles frame work and trying to pass a variable to the header. For example i want to send a color parameter value to header dynamically in different pages. Means one page header has blue text, second page header has green text and the third page header has red color. That means i want to set a variable with colors and want pass the variable to the header based on the condition. Please suggest me any one of you passed paramters to any part of the page using Struts-Tiles framework.
October 21st, 2002, 05:01 PM
October 21st, 2002, 05:07 PM
I read through the documents available on struts-tiles framework. I'm working on struts for a while but this is little complicated as I was using Put tag and insert tags already for page and content loading. Problem is passing parameter inside the navigation.
October 21st, 2002, 07:46 PM
Can you post some code? Like what you're using now .
October 22nd, 2002, 10:55 AM
I'm using struts template right now and the template file includes
content,header,footer and left navigation. I put several conditions
in my template to get the relevent header, footer and for the
relevent content. I have so many sections of pages for the content
and based on the content selected I change the color of the header
and footer. ince this is the tidious proces I would like to use the
Struts-tiles frame work instead of plain strus template framework.
I'm able to design the template and put the header,footer and content
successfully.The problem is now i don't know how to pass the parameter
value tothe header and footer. Please advise me or give me your contact
number so that I can explain the problem in detail.
October 22nd, 2002, 11:44 AM