Thanks Georgi !<br><br>I saw in project the schemas directory which contains xsd files. The documentation says that xsd files are used to "standardize" content of xml files... but i'm lost, i've created the sample.xsd as in the doc, but if i create an xml file from scratch, the edition fails, launching a fu....ing exception ^^<br>
<br>My real problem in the module creation is there :<br>I try to make a module from scratch, and a website using this module (a web portail with login page, where users have access to some information).<br>I noticed that if I create a new "structured content" in my site, the edition fails. So I think that i have to create a file which will inform the workspace of "how organize content for this file". But don't what to do or how associate my structured content file to an xsd or an xml file from my module or something klike that...<br>
<br>Maybe i'm not clear... (i'm french, so it could explain that my english is not very explicit :P)<br><br><div><span class="gmail_quote">2008/4/9, Georgi Naplatanov <<a href="mailto:gosho@oles.biz">gosho@oles.biz</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello, Territorio Jordan-V.<br> <br> The elements folder in the module, usually contains jsps which are used<br> in the template(s) to render menus, news, jobs etc.<br> <br> The module's folders (under /system/modules) is not visible for user who<br>
should edit content of the site only and you should not create pages in<br> modules folder.<br> <br> I saw jsps in pages folder for some opencms modules which makes some<br> work with posted data. The mail form from template one is one of these<br>
examples.<br> <br> HTH<br> <br> Best regards<br> Georgi<br> <br><br> Territorio Jordan-V. wrote:<br> > Hi all !!<br> ><br> > As ever, i'm a newbie and i try to learn the better way to create a real<br> > OpenCMS Module. So my question is, what directory for what pages...<br>
><br> > I know that (but not sure)<br> > resources : to put images or css style, so the graphical ressources<br> > templates : the jsp templates to organize datas on the screen<br> > classes : for properties and Java classes uses<br>
> lib : for specials librairies used<br> ><br> > But for those i don't know :<br> > elements/<br> > pages/<br> ><br> > I've seen that some pages in the demo uses elements to organize a type of<br>
> content so i think you have to create jsp to organize just one type of data<br> > (but I don't know how to proceed)<br> > So for pages i've no idea...<br> ><br> > does someone know more about it, because on wiki i didn't found any explicit<br>
> description?<br> ><br> > Cheers,<br> > Jordan<br> ><br> ><br> ><br> ><br> <br>> ------------------------------------------------------------------------<br> ><br> ><br> > _______________________________________________<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/mailman/listinfo/opencms-dev">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br>
<br> <br> _______________________________________________<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/mailman/listinfo/opencms-dev">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>TERRITORIO Jordan-Victor<br>Ingénieur d'Intégration Java<br>TEAMLOG – Ingenieurs 2000<br><br>+33 6 30 66 54 69<br><a href="mailto:jot@teamlog.com">jot@teamlog.com</a>