Jon Wolfers - 2007-09-22

Logged In: YES
user_id=667060
Originator: NO

Hi Rick,

While you're working in this area, one thing that I would find handy would be to be able to declare several attributes in one single directive.
For instance, I have an object with 43 properties, I have 43 directives like such:

::method error Attribute -- Database access error
::method baseRRP Attribute -- The current w:e baseprice
::method bomQty Attribute -- The number of this child in a bom parent
::method bomsComplete Attribute -- The number of complete parents in stock
::method bomSpares Attribute -- Boolean - incomplete children exist
::method category Attribute -- Department Code ' '|[A-Z]
::method categoryName Attribute -- Text Associated with Category
::method code Attribute -- Product code

and so on.

What would be nice would be able to declare them in a single directive like this

::Attribute (error, baseRRP, bomQty, bomsComplete, bomSpares, category, categoryName, code) [readonly]
::get -- if this is specified it should apply to all the Attributes created by the above directive
::set -- if this is specified it should apply to all the Attributes created by the above directive

What do you think?

Jon