The uri-parameters-mixin, it seems update-widget-parameters is never called

22 views
Skip to first unread message

Willem Rein Oudshoorn

unread,
Nov 7, 2012, 7:13:04 AM11/7/12
to webl...@googlegroups.com
I am still playing and finding my way around.
However it seems that when you use a uri-parameters-mixin, like:

(defwidget test ()
((uri-test :initform "Never set yet!"
:accessor uri-test
:uri-parameter uri)))

It defines the widget just fine and
creates all the infrastructure to map the get parameter 'uri' to the
slot 'uri-test', but the function to actual update the slot value:

update-widget-parameters

is never called.
Is this by design? Or am I missing something really obvious?

grepping through the source did not show any call to the
update-widget-parameters function.

If it is not by design, I will try to find the right place to call this
method.

Kind regards,
Wim Oudshoorn.


o_z

unread,
Feb 5, 2013, 11:16:42 AM2/5/13
to webl...@googlegroups.com, woud...@xs4all.nl
I've vimgrepped source and found update-widget-parameters in update-widget-tree function.

среда, 7 ноября 2012 г., 14:13:08 UTC+2 пользователь Willem Rein Oudshoorn написал:

Willem Rein Oudshoorn

unread,
Mar 2, 2013, 10:27:38 AM3/2/13
to o_z, webl...@googlegroups.com
o_z <olex...@gmail.com> writes:

> I've vimgrepped source and found update-widget-parameters in
> update-widget-tree function.

Sorry for the late reply again :-( [Work and travel keep me ignoring
e-mails for too long.]

However, you are right you are seeing the 'update-widget-parameters'
because the fix was pulled by skypher about 4 months ago. So
the message you saw was before the fix.

Also, great job, I am glad to see pull requests and fixes being applied
to weblocks!

Kind regards,
Wim Oudshoorn.


Reply all
Reply to author
Forward
0 new messages