splitting description into multiple containers

Norbert Hartl norbert at hartl.name
Mon Apr 2 19:20:18 MEST 2007


Hi,

I need to render multiple fieldsets for a model. My
idea was to split up descriptions into multiple groups,
assign each of the group to a MAContainer and add the
containers into a root container. Something like this:

MAPriorityContainer
   MAContainer
      MAStringDescription
      MAStringDescription
   MAContainer
      MAStringDescription
      MAStringDescription

So I would be able to render a fieldset per container.
As containers have labels I could even render a legend
tag for the fieldsets.

But I wasn't very lucky to do so. Is this a conceptional
problem? I tried MAContainer new and setting an accessor
as well as self description copy setChildren to get a 
container. But no luck.

Any help is appreciated. thanks,

Norbert



More information about the smallwiki mailing list