Re: Render Component once and only once

2018-12-31 Thread Ernesto Reinaldo Barreiro
Keep a boolean flag...

private boolean rendred = false;

onCofingure() {
  super.onConfigure();
  setVisible(!rendered);
  this.rendered = true;
}



On Mon, Dec 31, 2018 at 9:14 PM Mike Koboldt 
wrote:

> Hello,
>
> Hope this email finds everyone well!
>
> Had a quick question...
>
> is it possible (by adding some sort of behavior or doing something in the
> onConfigure() method or by doing something I am not yet aware of...) that I
> can prevent re-rendering if the component has been render at least once?
>
> Thanks,
>
> Mike K.
>


-- 
Regards - Ernesto Reinaldo Barreiro


Render Component once and only once

2018-12-31 Thread Mike Koboldt
Hello,

Hope this email finds everyone well!

Had a quick question...

is it possible (by adding some sort of behavior or doing something in the 
onConfigure() method or by doing something I am not yet aware of...) that I can 
prevent re-rendering if the component has been render at least once?

Thanks,

Mike K.