Re: Subforms, Eh? Part I of III

mikespub <[email protected]> Thu, 07 Apr 2005 00:59:54 +0200
Newsgroups gmane.comp.cms.xaraya.knowledge-base
Organization Xaraya
Message-ID <[email protected]>
Michael Cortez wrote:
> Subforms is a new property type introduced by mikespub a little while
> back.  Up until now it's been a complete mystery for most of us to use,
> and wasn't complete.  I've had a chance to flesh out a little extra bit,
> enough to get the 'list of children' mode "useful" but have not gotten
> it anywhere near "complete" or robust.  But subforms are now useable.
> 
> This is an attempt to explain SubForms' use.
> 
> Subforms works in one of three modes or styles "local value", "link to
> item" and "list of children."
> 
> This post explains the use of the 'local value' style.
> ...

Thanks for that - sometimes I have the impression you're reading my
mind... Guess I always thought you were my evil twin - or does this
mean I'm your evil twin instead ? :-)

About list of children, thanks for picking it up and running with it.
Just in case you missed that part in my mind, I had the idea of
supporting different formats there : a simple view of existing
children (possibly with edit/delete/new links like subitems, but
basically as read-only), and one like now where you can update
or create items directly in the "parent" form.

Reason is that in some cases, you may want to show only part of
the child items there, and/or you may not want to support creating
child items there, and/or it may not be possible to create a child
item at all there because you're not showing some field that's
mandatory on input, etc.

Mike.