Timothy Bennett wrote:
Is there an easy way for a block to obtain the name of the application it is loaded in?
Just do something like the following:
public void contextualize( Context context )
{
String appName = (String) context.get( "app.name" );
String blockName = (String) context.get( "block.name" );
}Cheers, Steve.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--
Stephen J. McConnell mailto:[EMAIL PROTECTED] http://www.osm.net
Sent via James running under Merlin as an NT service. http://avalon.apache.org/sandbox/merlin
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
