[Seaside] expanded view of MAToOneRelationDescription
philippe.marschall at gmail.com
Wed Jan 2 10:15:19 UTC 2008
2008/1/2, Ch Lamprecht <ch.l.ngre at online.de>:
> playing with Magritte - and with Ramons Blog example
> (thanks a lot for that), I have the following problem:
> Say I would like to add an instance variable datetime to BlogPost (just an
> example - could be any 'composite'). Datetime would hold 'time' and 'date'
> attributes and have appropriate descriptions for that on its class side. If I
> then add a 'descriptionDatetime' to BlogPost class like:
> selector: #datetime
> label: 'datetime'
> priority: 20)
> I get a delete and an edit button if I show it like so:
> BlogPost new asComponent.
> Works fine...
> What would I have to do in order to get an 'expanded' view of my datetime
> instance?? The only way I found was proxying the accessors and descriptions into
> the BlogPost Class...
More information about the seaside