isEnabled() controls whether the behavior is enabled or not and not
the component.
-igor
On Fri, Jul 1, 2011 at 2:53 PM, Christian Huber wrote:
> Hi again.
>
> Igor, thanks for your clarification, after changing isEnabled to return true
> the other callbacks do indeed get called.
>
> But to be h
Hi again.
Igor, thanks for your clarification, after changing isEnabled to return
true the other callbacks do indeed get called.
But to be honest I am still a bit confused by this fact and would be
grateful for further information. The javadoc of isEnabled says that it
is called when a compo
I just created a quick start with 1.4.17 where I added my behavior to
the single label created in the template page. This time in addition to
the methods mentioned below also getStatelessHint gets called but still
beforeRender etc are not called.
The label is still fully rendered. As Martin re
just a hunch, but if the component to which the behavior is attached
to is not visible then none of the methods like before/after render
will be called since component is not rendering.
-igor
On Thu, Jun 30, 2011 at 9:48 AM, Christian Huber wrote:
> I tried adding a dummy implementation of that
Are you still talking about 1.4.2 or for 1.4.16/17 ?
If the problem still exists in 1.4.17 then please create a ticket with
a quickstart.
On Thu, Jun 30, 2011 at 7:48 PM, Christian Huber wrote:
> I tried adding a dummy implementation of that interface that logs every
> method call to custom subcl
I tried adding a dummy implementation of that interface that logs every
method call to custom subclass of link. While the links get rendered
regularly the only methods that get invoked are isTemporary, bind,
isEnabled and detach. All other methods are never called, am I missing
something here?
mixin IComponentConfigurationBehavior (1.4.17+ i believe) and
implement visibility toggling in onconfigure(component) of your
behavior.
-igor
On Thu, Jun 30, 2011 at 7:03 AM, Christian Huber wrote:
> Hi all,
>
> I wanted to use a Behavior to customize the components in my application
> (Wicket 1
Hi all,
I wanted to use a Behavior to customize the components in my application
(Wicket 1.4.2) by modifying some properties in the behaviors
beforeRender method.
But I had to find that this method is never called, neither is
afterRender. The other methods of the behavior are invoked but tho