Vyacheslav Akhmechet <[email protected]> writes: > On Mon, Feb 23, 2009 at 6:31 PM, Ian Eslick <[email protected]> wrote: >> My branch treats the function as a custom rendering method which is >> called th render the menu item. > I did this too. I left the original behavior, and made render-menu use > the function as a custom renderer only if it's provided instead of a > cons cell, not as a car of the cons cell. Just an FYI...
In my version, the cdr of the cons cell is the "target", an uri-token corresponding to the pane. I would have no problem with functions being provided instead of a cons cell. But -- is that really useful? It means you can supply a custom rendering method, but only for the items, not for the entire menu markup. --J. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
