Thanks for the advice. But I realized that there was a glitch in my
WebSocket code: I didn't send the UI update code to the right page. Now
that this is sorted out, the editable label works again.

Thanks a lot for the tip!

Regards,

Pierre


On Thu, Mar 9, 2017 at 10:17 AM, Martin Grigorov <mgrigo...@apache.org>
wrote:

> The error says "behavior not enabled" so there is some logic that sets
> 'enabled' to false.
> I'd suggest to put a breakpoint and see what happens.
>
>
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
> On Wed, Mar 8, 2017 at 5:22 PM, Zala Pierre GOUPIL <goupilpie...@gmail.com
> >
> wrote:
>
> > Mmmmh actually, the access denied page appears as soon as the component
> is
> > clicked! Not just when a value is submitted.
> >
> > On Wed, Mar 8, 2017 at 5:19 PM, Zala Pierre GOUPIL <
> goupilpie...@gmail.com
> > >
> > wrote:
> >
> > > No, it doesn't have such calculations. Could the problem be
> > > websockets-related?
> > >
> > > On Wed, Mar 8, 2017 at 5:14 PM, Martin Grigorov <mgrigo...@apache.org>
> > > wrote:
> > >
> > >> Hi,
> > >>
> > >> I think your AjaxEditableLabel has logic to calculate whether it is
> > >> enabled
> > >> or not.
> > >> It seems it is enabled for the initial rendering but later when Wicket
> > >> tries to post the new value after edit it calculates to 'disabled'
> > >>
> > >> Martin Grigorov
> > >> Wicket Training and Consulting
> > >> https://twitter.com/mtgrigorov
> > >>
> > >> On Wed, Mar 8, 2017 at 4:54 PM, Zala Pierre GOUPIL <
> > >> goupilpie...@gmail.com>
> > >> wrote:
> > >>
> > >> > Good afternoon,
> > >> >
> > >> > I use Wicket 7.6.0. When clicking on an AjaxEditableLabel, I get the
> > >> > following message in the logs:
> > >> >
> > >> > behavior not enabled; ignore call. Behavior
> > >> > org.apache.wicket.extensions.ajax.markup.html.AjaxEditableLabel$
> > >> > LabelAjaxBehavior@1bab91c8
> > >> > at component [Component id = label]
> > >> >
> > >> > And there's an access denied in the browser. What am I supposed to
> do,
> > >> > please? It is related to the resource guards, I guess, but I can't
> > >> figure
> > >> > out what to provide them.
> > >> >
> > >> > Thanks a lot,
> > >> >
> > >> > Pierre
> > >> >
> > >> >
> > >> >
> > >> > --
> > >> > Je n'aime pas seulement ma vie, mais aussi celle des autres.
> > >> >
> > >> > (Blade Runner)
> > >> >
> > >>
> > >
> > >
> > >
> > > --
> > > Je n'aime pas seulement ma vie, mais aussi celle des autres.
> > >
> > > (Blade Runner)
> > >
> >
> >
> >
> > --
> > Je n'aime pas seulement ma vie, mais aussi celle des autres.
> >
> > (Blade Runner)
> >
>



-- 
Je n'aime pas seulement ma vie, mais aussi celle des autres.

(Blade Runner)

Reply via email to