> 1. I define a widget page-widget which inherit dataform, if I do not > define its render-widget-body method, its instance do not get be > rendered like dataform, I must write this code: > (defmethod render-widget-body ((obj page-widget) &key) > (call-next-method)) > > so widget do not call its parent widget's render method?
Impossible. Your call-next-method above reflects the CLOS default behaviour. My guess it that you had some old method lying around that you needed to redefine this way. Check out the specialized methods in (describe #'render-widget-body) > 2. I define a widget wiki-widget to host all pages of wiki, code like > this: > ... > (setf (composite-widgets (pages wiki-widget)) > (mapcar > (lambda (page) > (wiki-make-page-widget wiki-widget page)) > (all-pages))) > ... > > it will shows all pages when it dataform-ui-state is :data, but if I > click the modify link of one page, it does not change its state > from :data to :form, I must refresh the page in browser to see it. Can you show us the definition for wiki-make-page-widget and the page widget class? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "weblocks" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/weblocks?hl=en -~----------~----~----~----~------~----~------~--~---
