You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Oscar Picasso <os...@yahoo.com> on 2004/03/10 15:09:04 UTC
Casting SourceResolver to Environement in Actions
Hi,
I need to get the value of the context path and the uri-prefix in an Action. I
have noticed that I can get them by casting the SourceResolver given to the act
method to an Environment object.
Is there a safer way to get the values above that would prevent my code to be
broken by future implementations of the SourceResolver passed to the act
method?
Oscar
__________________________________
Do you Yahoo!?
Yahoo! Search - Find what you�re looking for faster
http://search.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org