struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cedric Dumoulin <ced...@apache.org>
Subject Re: [tiles] ComponentContext returning null
Date Fri, 04 Jul 2003 13:02:40 GMT

  The ComponentContext exist only if you are in a tile. You are in a 
tile if you insert your jsp or action with one of the tile 'insert' 
mechanism: <tiles:insert ..> or a forward to a tile definition. 
Otherwise, the ComponentContext doesn't exist.

   Hope this help,

         Cedric

William Salvucci wrote:

>Can anybody explain how the component context is set? 
>
>>>From within an Action when I call 
>
>ComponentContext context = ComponentContext.getContext( request );
>
>context is always null.
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>
>  
>


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


Mime
View raw message