You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Hauschel Fred <Fr...@ixtra.com> on 2005/02/28 14:40:56 UTC

Sorry, right Subject is "Tiles: cachedCurrentContext in Insert Tag"


-----Ursprüngliche Nachricht-----
Von: Hauschel Fred 
Gesendet: Montag, 28. Februar 2005 14:39
An: Struts Users Mailing List; Ben Taylor
Betreff: AW: RequestURI (Action not JSP)

Hey all,
i will change my tilesComponent context to runtime.
The Context in request is aktuall and contains my changes, but the InsertTag do not know my changes ;-(( I think the problem is the Member (from InsertTag)

	/** 
	 * Current component context. 
	 */
	protected ComponentContext cachedCurrentContext;

This is a cache for the ComponentContext, and the tag will take this Context ;-( And not my changed one from the request.

Any idea how to say the tag to use the changed one from request?

Thanks Fredy

-----Ursprüngliche Nachricht-----
Von: Ben Taylor [mailto:ben.taylor32@gmail.com] 
Gesendet: Montag, 28. Februar 2005 14:20
An: Struts Users Mailing List
Betreff: Re: RequestURI (Action not JSP)

I must admit I'm a little unsure of how to do that within the JSP. 
I'm tempted to use request.getRequestURI() from within the
StrutsAction and place that value into the session / request under my
own variable name....  Obviously if a value already exists that is in
scope I'd much prefer to use that.

Cheers.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org