<HTML>
<HEAD>
<TITLE>Re: [Zope3-Users] programming concept help needed</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>The z3c.form stuff need not be complicated. It&#8217;s more in-depth than say normal forms or building out your content object but not overtly so. A quick search pops up this <a href="http://www.carduner.net/docs/z3c-tutorial/forms.html">http://www.carduner.net/docs/z3c-tutorial/forms.html</a> tutorial which is pretty good.<BR>
<BR>
-- <BR>
</SPAN></FONT><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'>Christopher Warner<BR>
Manager, Content Management Systems<BR>
New York Media | 75 Varick St, 4th Fl<BR>
New York, NY 10013<BR>
phone: 212.508.0542<BR>
cell: 646.334.6780<BR>
<BR>
</SPAN></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
<BR>
On 11/14/08 5:32 PM, &quot;Hermann Himmelbauer&quot; &lt;<a href="dusty@qwer.tk">dusty@qwer.tk</a>&gt; wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Am Freitag 14 November 2008 22:55:33 schrieb Jim Pharis:<BR>
&gt; Zope3'ers,<BR>
&gt;<BR>
&gt; I'm struggling with one particular concept in Zope3 and I'm hoping<BR>
&gt; someone can provide me with some insight into this.<BR>
&gt;<BR>
&gt; Let me stage an example to explain the concept I'm struggling with. I<BR>
&gt; have 2 content types, a car and an orange (completely different with<BR>
&gt; no similarities besides that they are objects). I've written classes,<BR>
&gt; declared interfaces, provided browser views and page templates for<BR>
&gt; each type. I'm able to view, edit, and add these types. Now here is<BR>
&gt; where I get confused. What if I need these 2 content types to be<BR>
&gt; viewable and be modifiable on a single page? For example, say I have a<BR>
&gt; use case where I need to change the oranges cost and the cars cost on<BR>
&gt; a single edit page. Or what if I need to view attributes from the<BR>
&gt; orange and the car on a single page. So far, in all the examples I<BR>
&gt; have seen, they only ever deal with a single content type at a time.<BR>
&gt; Making a content type to meld these types into single type wouldn't<BR>
&gt; make sense. How would I accomplish this.<BR>
<BR>
Issues like that led me to z3c.form, which implements subforms that can be<BR>
used to do things like that and much more.<BR>
<BR>
Although it's complicated - and I tell you - it's really complicated - it's<BR>
absolutely worth it. If you are interested, I recommend to have a look at<BR>
z3c.formdemo which points out several applications.<BR>
<BR>
Best Regards,<BR>
Hermann<BR>
<BR>
--<BR>
<a href="hermann@qwer.tk">hermann@qwer.tk</a><BR>
GPG key ID: 299893C7 (on keyservers)<BR>
FP: 0124 2584 8809 EF2A DBF9 &nbsp;4902 64B4 D16B 2998 93C7<BR>
_______________________________________________<BR>
Zope3-users mailing list<BR>
<a href="Zope3-users@zope.org">Zope3-users@zope.org</a><BR>
<a href="http://mail.zope.org/mailman/listinfo/zope3-users">http://mail.zope.org/mailman/listinfo/zope3-users</a><BR>
<BR>
</SPAN></FONT></BLOCKQUOTE>
</BODY>
</HTML>