Re: passing parameters to tiles include files

2006-06-17 Thread Scott Van Wart
Don Vawter wrote: I am setting the attribute in the Action class Check to make sure you don't have redirect="true" set for the action mapping. Otherwise, everything request-related is lost. - Scott - To unsubscribe, e-mail:

Re: passing parameters to tiles include files

2006-06-17 Thread Paul Benedict
Don, see my last sentence: request attributes disappear after one request. You will have to set it on every request if you need it. Or, set it in the session. - New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.

Re: passing parameters to tiles include files

2006-06-17 Thread Don Vawter
I am setting the attribute in the Action class On Jun 17, 2006, at 6:10 PM, Paul Benedict wrote: Don, Request parameters and request attributes are not the same thing. Parameters come from the user's HTTP request, attributes come from the server's internal context handling. Think of the la

Re: passing parameters to tiles include files

2006-06-17 Thread Paul Benedict
Don, Request parameters and request attributes are not the same thing. Parameters come from the user's HTTP request, attributes come from the server's internal context handling. Think of the latter as extra information that pertains to processing the request. Also, request-scope values disappe

passing parameters to tiles include files

2006-06-17 Thread Don Vawter
I have been trying to use a request parameter in an included tiles file (navigation.jsp) String foo = (String) request.getAttribute("menu_item"); this sets the value correctly the first time the page is hit but subsequent calls do not use the new value of the variable. What am I doing wrong