On Feb 5, 8:28 am, Benjamin Collins <[email protected]> wrote: > I've been hunting down a reason why updating a widgets css class list > hasn't been working for me for AJAX requests (i.e., expected CSS- > styled changes don't update without a refresh), and I think it's come > down to this: > > (loop for w in dirty > if (gethash w render-state) > do (circularity-warn w) > else > do (render-widget w :inlinep t) > (setf (gethash w render-state) t) > and collect (cons (dom-id w) > (get-output-stream-string > *weblocks-output-stream*))) > > Is there a specific reason why widget headers aren't re-rendered for > dirty widgets (i.e., :inlinep t)? In my case, I need the header to be > re-rendered to affect the proper styling changes.
A couple of things I failed to mention/ask: 1) this is from (render-dirty-widgets) in src/request-handler.lisp 2) I see from the JSON response to the AJAX request that the contents of a widget are associated with the dom-id of the widget in the property list, so I realize that setting :inlinep nil will likely not have the desired effect. But how do we get there? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
