<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Nicolai,<div><br></div><div>not sure whether I fully understand what you mean, but you can mix any type of elements in a container. There is no intrinsic type restriction on a container.</div><div><br></div><div>There is - and maybe this is what you mean - the possibility to add a type attribute to the container tag and to add a type attribute to the formatter tag in your xsd schemes. This allows you to restrict the container elements to those who have a formatter with the same "type".</div><div><br></div><div>Regards</div><div>Christopg</div><div><br></div><div><br><div><div>Am 31.08.2012 um 17:31 schrieb Nicolai Wöller:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hello everybody, <div><br></div><div>I've got a question concerning the new approach to include elements in OpenCms 8 () using the <cms:container>-tag:</div><div><br></div><div>We'd like to put different elements of different types into the same container, for example:</div>
<div><br></div><div>- element 1 (has a headline and some text)</div><div>- element 2 (pictures and text)</div><div>- element 3 (bullet list with links)</div><div>- element 2 again</div><div><br></div><div>Does there exist a way to define more than one type at the same time?
</div><div><br></div><div>Our idea is to keep our content as flexible as possible.</div><div><br></div><div>Thanks and regards</div><div><br></div><div>Nicolai Wöller</div><div>-- <br>Mit freundlichen Grüßen / Best regards<br>
<br>Nicolai Wöller | IT Consultant<br><br>codecentric AG | Merscheider Straße 1 | 42699 Solingen | Deutschland<br>tel: <a href="tel:%2B49%20%280%29%20212.23362839" value="+4921223362839" target="_blank">+49 (0) 212.23362839</a> | fax: <a href="tel:%2B49%20%280%29%20212.23362879" value="+4921223362879" target="_blank">+49 (0) 212.23362879</a> | mobil: <a href="tel:%2B49%20%280%29%20160.90610790" value="+4916090610790" target="_blank">+49 (0) 160.90610790</a><br>
<a href="http://www.codecentric.de/" target="_blank">www.codecentric.de</a> | <a href="http://blog.codecentric.de/" target="_blank">blog.codecentric.de</a> | <a href="http://www.meettheexperts.de/" target="_blank">www.meettheexperts.de</a> | <a href="http://www.more4fi.de/" target="_blank">www.more4fi.de</a> <br>
<br>Sitz der Gesellschaft: Düsseldorf | HRB 63043<br>Vorstand: Klaus Jäger (Vorsitzender) | Mirko Novakovic . Rainer Vehns<br>Aufsichtsrat: Patric Fedlmeier (Vorsitzender) . Bernd Klinkmann . Jürgen Schütz<br><br>Diese E-Mail einschließlich evtl. beigefügter Dateien enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und löschen Sie diese E-Mail und evtl. beigefügter Dateien umgehend. Das unerlaubte Kopieren, Nutzen oder Öffnen evtl. beigefügter Dateien sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet.<br>
</div>
_______________________________________________<br>This mail is sent to you from the opencms-dev mailing list<br>To change your list options, or to unsubscribe from the list, please visit<br><a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a><br><br><br><br></blockquote></div><br></div></body></html>