n/MainPanel.html#L40
>
> works as expected
>
Brilliant.
Thanks
>
>
> On Thu, Sep 14, 2017 at 4:24 PM, Peter Henderson
> <peter.hender...@starjar.com> wrote:
> > Hi All,
> >
> > I have a link on a panel which should only be enabled while there is a
&
gt;
> I have a link on a panel which should only be enabled while there is a
> connected web socket.
>
> The link overrides onConfigure and calls setEnabled [1]
>
> When a web socket connected event is received I store the connected message
> and add the link to the payload ha
Hi All,
I have a link on a panel which should only be enabled while there is a
connected web socket.
The link overrides onConfigure and calls setEnabled [1]
When a web socket connected event is received I store the connected message
and add the link to the payload handler. [2]
I expect
Hi,
I would expect it to hit the container. Debuggin and testing on a test
environment works and hits it. Unfortunatelly there is no way to
definitely proove that the error in question hits it to. I do know that
the onConfigure is not hit. I don't have access to the access logs
schrieb Artur Kronenberg
artur.kronenb...@openmarket.com:
Hi,
I would expect it to hit the container. Debuggin and testing on a test
environment works and hits it. Unfortunatelly there is no way to definitely
proove that the error in question hits it to. I do know that the onConfigure
proove that the error in question hits it to. I do know that the onConfigure is
not hit. I don't have access to the access logs.
Is there a way that the user uses a proxy that disables the response headers we
set for caching?
Thanks!
On 05/11/13 14:22, Martin Grigorov wrote:
Hi,
It looks like
there is no way to definitely
proove that the error in question hits it to. I do know that the
onConfigure is not hit. I don't have access to the access logs.
Is there a way that the user uses a proxy that disables the response
headers we set for caching?
Thanks!
On 05/11/13 14:22, Martin Grigorov
, the model is still created and
the page can't be used.
I overwrote the onConfigure method to set up my model correctly and
everything works just fine. However there seems to be cases where the
onConfigure method is not called?
Does anyone know of those cases? Can it have anything to do
overwrote the onConfigure method to set up my model correctly and
everything works just fine. However there seems to be cases where the
onConfigure method is not called?
Does anyone know of those cases? Can it have anything to do with the user
using a proxy? A weird browser thing?
We set
OK, one more question, then I'll stop pestering everyone...at least for now
: ).
Is it problematic to make changes to a Component's model in its
onConfigure() method?
-Allen
shouldnt be.
-igor
On Tue, Feb 28, 2012 at 2:58 PM, Allen Gilbert allen.gilb...@doane.edu wrote:
OK, one more question, then I'll stop pestering everyone...at least for now
: ).
Is it problematic to make changes to a Component's model in its
onConfigure() method?
-Allen
Guys,
I would like to see a standard implementation of onConfigure(), where the user
can set a Predicate object for the component's visibility, and another
Predicate for the enabled state. This is an idea that our team tossed around
for a while; since I just discovered the onConfigure
can we now deprecate protected boolean callOnBeforeRenderIfNotVisible() ??
because you could do it now in onConfigure right?
I hate multiply things do do the same thing :(
On Wed, Jul 21, 2010 at 07:05, Igor Vaynberg igor.vaynb...@gmail.com wrote:
protected boolean
its already deprecated
-igor
On Tue, Jul 20, 2010 at 11:46 PM, Johan Compagner jcompag...@gmail.com wrote:
can we now deprecate protected boolean callOnBeforeRenderIfNotVisible() ??
because you could do it now in onConfigure right?
I hate multiply things do do the same thing :(
On Wed
void onConfigure()
* {
* setVisible(Math.rand() gt; 0.5f);
* super.onConfigure();
* }
* }
* /pre
*/
protected void onConfigure()
{
}
/**
* Triggers {...@link
Excellent!
Op 21-07-10 07:05, Igor Vaynberg wrote:
another new callback added to 1.4/trunk that is aimed at making life
easier when managing component states such as visibility, enabled,
etc.
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/
;
* }
* }
* /pre
*
* VS
*
* pre
* class MyComponent extends WebComponent
* {
* protected void onConfigure()
* {
* setVisible(Math.rand() gt; 0.5f);
* super.onConfigure
Igor,
Thanks for the new feature!
/**
* Called once per request on components before they are about to be
rendered. This method
* should be used to configure such things as visibility and enabled
flags.
* p
* Overrides must call {...@code
18 matches
Mail list logo