With SCR, there is a way to programmatically create a new component on demand:
ComponentFactory.newInstance
Once I finish using the created instance, how can I tell SCR to destroy it?
Best regards,
Alex soto
Answering my own question:
ComponentInstance.dispose();
Best regards,
Alex soto
> On Jun 3, 2016, at 9:40 AM, Alex Soto wrote:
>
> With SCR, there is a way to programmatically create a new component on
> demand:
>
>
> ComponentFactory.newInstance
>
> Once I finish using the
Hi Alex,
AFAIR, the dispose() callback method on the component does it.
Regards
JB
On 06/03/2016 03:40 PM, Alex Soto wrote:
With SCR, there is a way to programmatically create a new component on
demand:
ComponentFactory.newInstance
Once I finish using the created instance, how can I tell
Oh, sorry I missed your e-mail.
Sorry for the double answer ;)
Regards
JB
On 06/03/2016 04:04 PM, Alex Soto wrote:
Answering my own question:
ComponentInstance.dispose();
Best regards,
Alex soto
On Jun 3, 2016, at 9:40 AM, Alex Soto mailto:alex.s...@envieta.com>> wrote:
With SCR, t
NP, Thanks!
Best regards,
Alex soto
> On Jun 6, 2016, at 3:48 AM, Jean-Baptiste Onofré wrote:
>
> Oh, sorry I missed your e-mail.
>
> Sorry for the double answer ;)
>
> Regards
> JB
>
> On 06/03/2016 04:04 PM, Alex Soto wrote:
>> Answering my own question:
>>
>>ComponentInstance.dispose