I've been trying to understand how defview works, and while reading http://www.defmacro.org/ramblings/ui-dsl.html, I came across this:
>(defview employee-company-directory-view (:inherit-from 'employee-data-view) > (company :hidep t)) > >Now employee-company-directory-view has all the fields in employee-data-view, >except we override the >company field and hide it. We can also add new fields, >if the need arises. What is the syntax for adding new fields? I haven't seen any examples of it anywhere. I've been poring over the code (and documentation strings) in compiler.lisp, but I don't see how this can be easily done. I also searched the weblocks code for hidep, and though I found many instances of its use in the example code, I don't see where the view checks the flag and hides the field if it's true. Any help would be very much appreciated, Divia --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
