2 Replies Latest reply: Oct 11, 2011 7:06 AM by suresh babu RSS

I Need my factory mathod to be called each time when i reference the component

suresh babu Newbie

Hi,

 

I have a scenario where i need to call my factory method each time when i refere to the variable.

 

In genereal when a component is first time referred and if the value of that componenet null then factory method gets called

 

and the componenet value gets initialzed, also this value gets stored in seam context.

 

this factory method will not be called again as the context value still exist.

 

my question is that

 

is there any way to nullify the component or context value?

 

so that the factory method gets called whenever a reference is made

 

can any one help in this regard?