Re: [tiles] ComponentContext returning null

2003-07-04 Thread Cedric Dumoulin
 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


[tiles] ComponentContext returning null

2003-07-03 Thread William Salvucci
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]