In my pre-Weblocks code I was using cl-who to convert from sexp to html string. Now that convert-tag-to-string-list is redefined in weblocks my conversion gives me the wrong results. I got a function tree-to-string which depends on cl-who::tree-to-template which in turn depends on cl-who:convert-tag-to-string-list which is now overridden. Evaluating: (tree-to-string '((:SCRIPT :TYPE "text/javascript" :LANGUAGE "javascript" :SRC "test.js"))) Gives me "<script type=\"type\" type=\"\" language=\"language\" language=\"\" src=\"src\" src=\"\"></script>G1622G1622G1622" The pre-weblocks version would give me <script type=\"text/javascript\" language=\"javascript\" src=\test.js\"\>
I am wondering what would be the best solution for me to keep my functionality and use weblocks? If I just override convert-tag-to-string-list with a new speicializer for attr-list, chances are that when weblocks needs the function, my overloaded function will be called instead of the Weblocks' one. Another solution would be to define all the functions for my tree-to-string in my package (including those from cl-who), but it looks like a dirty solution. Another would be to define a nice tree-to-string in cl-who package, but which shouldn't depend on those function that can be overridden. Thank you, Andrei --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
