thank you :)<br><br><div><span class="gmail_quote">2008/3/13, <a href="mailto:olivier.camus@steria.com">olivier.camus@steria.com</a> <<a href="mailto:olivier.camus@steria.com">olivier.camus@steria.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2"></font><div><font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2">If you develop under eclipse, you may use the redstar plugin or Webdav .<br>
<br>look at this page<br><a href="http://opencms-wiki.org/Eclipse_integration" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://opencms-wiki.org/Eclipse_integration</a><br><br>Olivier<br><br></font></div>
<font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2"><font color="#990099">-----<a href="mailto:opencms-dev-bounces@opencms.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">opencms-dev-bounces@opencms.org</a> a écrit : -----<br>
<br></font></font><blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;"><font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2">Pour : "The OpenCms mailing list" <a href="mailto:opencms-dev@opencms.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"><opencms-dev@opencms.org></a><br>
De : "Territorio Jordan-V." <a href="mailto:jordan.territorio@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"><jordan.territorio@gmail.com></a><br>Envoyé par : <a href="mailto:opencms-dev-bounces@opencms.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">opencms-dev-bounces@opencms.org</a><br>
Date : 13/03/2008 13:31<br>Objet : Re: [opencms-dev] Problem including an XML form generated by "OAMP webform" in JSP files<br><br>Okay, I think i begin to understand how it works...<br>Just to know, is there a better wayto developp a entire OpenCMS website. The problem is that the JSP editor is limited wth openCMS : no syntax coloration, no completion... do you know if there is a better editor or some plug-in to have a better look of the code ?<br>
<br>Thank you for your time ^^<br><br><br></font><div><span class="gmail_quote"><font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2">2008/3/13, Bozidar Ilievski <
<a href="mailto:bozidar.ilievski@netcetera.com.mk" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">bozidar.ilievski@netcetera.com.mk
</a>>:
</font></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2">Yes.<br>
<br> You only need to define "head" and "foot" elements in your template.<br> <br> In the "head" element you can put the HTML head and the menu.<br> In the "foot" element you will close all open html tags (body, html).<br>
<br> Something like this:<br> <br> <%@ page session="false"%><br> <%@ taglib prefix="cms" uri="
<a href="http://www.opencms.org/taglib/cms" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.opencms.org/taglib/cms
</a>"%><br> <br> <cms:template element="head"><br> <html><br> <br> <head><br> <title><cms:property name="Title" escapeHtml="true" /></title><br> <cms:editable /><br>
</head><br> <br> <body><br> <!--<br> Include header.jsp and left_navigation.jsp here.<br> --><br> </cms:template><br> <br> <cms:template element="body"><br> <cms:include element="text1" editable="true" /><br>
</cms:template><br> <br> <cms:template element="foot"><br> <!--<br> Include footer.jsp here.<br> --><br> </body><br> </html><br> </cms:template><br> <br> I think this is enough to display the page.<br>
<br><br> Territorio Jordan-V. wrote:<br> > It works :)<br> ><br> > Thank you !!!<br> ><br> > So, if I want include the form in my own website, i have to create my<br> > own template, with my menus... that's the way?<br>
><br> > 2008/3/13, Bozidar Ilievski <
<a href="mailto:bozidar.ilievski@netcetera.com.mk" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">bozidar.ilievski@netcetera.com.mk
</a><br> <br>> <mailto:
<a href="mailto:bozidar.ilievski@netcetera.com.mk" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">bozidar.ilievski@netcetera.com.mk
</a>>>:<br> ><br> > Header and footer inclusion is also handled by the form.jsp file.<br> ><br> > Look at the beginning of the file (around line 15), and you will see how<br> > the header is included:<br>
><br> > if(showTemplate) {<br> > // get the template to display<br> > template = cms.property("template", "search");<br> > // include the template head<br> > cms.include(template, "head");<br>
> }<br> ><br> > Also look at the end of the file:<br> ><br> > if(showTemplate) {<br> > // include the template foot<br> > cms.include(template, "foot");<br> > }<br>
><br> > You only need to set the "template" property for your Webform file.<br> > If you don't have your own template, you can use some of the templates<br> > that sheep with OpenCms (TemplateOne or TemplateTwo for example).<br>
><br> > You can set this "template" property either to the Webform resource, or<br> > to some of its parent folders.<br> ><br> ><br> > Regards,<br> > Bobi.<br> ><br> > Territorio Jordan-V. wrote:<br>
><br> > > I'm a newbie with opencms. So I try some scenarios.<br> > ><br> > > I try to make a website with registering module. But to register<br> > on the<br> > > site, you have to answer to this form. But i'd like to include<br>
> the form<br> > > in a page, with a header and a footer. When i make the webform<br> > using the<br> > > opencms interface, the result use the form.jsp, but i don't know<br> > how to<br>
> > proceed to include a header (with links and menus and pictures) and a<br> > > footer.<br> > ><br> > > I thought that if i just had to included the form in a jsp (with<br> > header<br>
> > and footer) the problem would be resolved, but it wasn't.<br> > ><br> > > Maybe I don't have the good way of thinking ^^<br> > ><br> > > Have you an idea about it, Or some HowTos I could use?<br>
> > (soory for my english, i'm just a poor frenchy boy ^^)<br> > ><br> > > 2008/3/12, Bozidar Ilievski <
<a href="mailto:bozidar.ilievski@netcetera.com.mk" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">bozidar.ilievski@netcetera.com.mk
</a><br> > <mailto:
<a href="mailto:bozidar.ilievski@netcetera.com.mk" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">bozidar.ilievski@netcetera.com.mk
</a>><br> ><br> > > <mailto:
<a href="mailto:bozidar.ilievski@netcetera.com.mk" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">bozidar.ilievski@netcetera.com.mk
</a><br> > <mailto:
<a href="mailto:bozidar.ilievski@netcetera.com.mk" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">bozidar.ilievski@netcetera.com.mk
</a>>>>:<br> ><br> > ><br> > > Hi.<br> > ><br> > > Why do you need to include this XML file into your JSP page?<br> > ><br> > > If you only need to display the form,<br>
> > there is already a JSP file that ships with the module,<br> > > and is specially designed for displaying Webforms.<br> > ><br> > > You can find this file in this folder:<br>
> > /system/modules/com.alkacon.opencms.formgenerator/pages/form.jsp<br> > ><br> > > Regards,<br> > > Bobi.<br> > ><br> > ><br> > > Territorio Jordan-V. wrote:<br>
> > > Hi<br> > > ><br> > > > I have created a form using formgenerator module. here is<br> > the code<br> > > > generated :<br> > > ><br>
> > ><br> > > > <?xml version="1.0" encoding="UTF-8"?><br> > > ><br> > ><br> > > > <AlkaconWebForms<br> > > xmlns:xsi="
<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.w3.org/2001/XMLSchema-instance
</a>"<br> > > <
<a href="http://www.w3.org/2001/XMLSchema-instance%22" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.w3.org/2001/XMLSchema-instance%22
</a>><br> > ><br> > xsi:noNamespaceSchemaLocation="opencms://system/modules/com.alkacon.opencms.formgenerator/schemas/form.xsd"><br> > ><br> > > ><br> > > ><br>
> > > <AlkaconWebForm language="en"><br> > > > <MailFrom/><br> > > > <MailTo/><br> > > > <MailSubject/><br>
> > > <MailText name="MailText0"><br> > > > <links/><br> > > > <content><![CDATA[<p><b>Mail Text</b></p><br>
> > ><br> > > ><br> > > > <p>ldqsfvbgmlsqdbfvuvbzsvbmseuvbpzeuvbpzubzmeujbzev zeujv<br> > zep zm<br> > > zuj zpmr zru rziu zrpmu zpmru zrpmubpzutb mrztb rzoub zrpub zmjtb<br>
> > ztptub zpmb mprzubt zutb mzjubt mqj bcvfb zteub ztujb<br> > pmtoubnzmb mtb<br> > > mtubzpmb rzmtjb mrzubt t'zmob:ztkb zpmutnbâhgnjhg majngàâ"(n"ja(<br> > > h'zmounb '-h z'mj hbmozunhzsmhn</p>]]></content><br>
> > ><br> > > ><br> > > > </MailText><br> > > > <FormText name="FormText0"><br> > > > <links/><br>
> > > <content><![CDATA[<p><b>Form Text</b></p><br> > > > <p>ldqsfvbgmlsqdbfvuvbzsvbmseuvbpzeuvbpzubzmeujbzev zeujv<br> > zep zm<br>
> > zuj zpmr zru rziu zrpmu zpmru zrpmubpzutb mrztb rzoub zrpub zmjtb<br> > > ztptub zpmb mprzubt zutb mzjubt mqj bcvfb zteub ztujb<br> > pmtoubnzmb mtb<br> > > mtubzpmb rzmtjb mrzubt t'zmob:ztkb zpmutnbâhgnjhg majngàâ"(n"ja(<br>
> > h'zmounb '-h z'mj hbmozunhzsmhn</p>]]></content><br> > > ><br> > > ><br> > > > </FormText><br> > > > <FormFooterText name="FormFooterText0"><br>
> > > <links/><br> > > > <content><![CDATA[<p>Be sure you correctly named<br> > > it...</p>]]></content><br> > > ><br>
> > ><br> > > > </FormFooterText><br> > > > <InputField><br> > > > <FieldType><![CDATA[text]]></FieldType><br>
> > > <FieldLabel><![CDATA[Name your color]]></FieldLabel><br> > > > <FieldMandatory>true</FieldMandatory><br> > > ><br> > > ><br>
> > > <FieldValidation><![CDATA[[a-z]+]]></FieldValidation><br> > > > <FieldErrorMessage><![CDATA[I said name it, stupid geek<br> > > !!]]></FieldErrorMessage><br>
> > > </InputField><br> > > ><br> > > > <FormConfirmation name="FormConfirmation0"><br> > > ><br> > > > <links/><br>
> > > <content/><br> > > > </FormConfirmation><br> > > > </AlkaconWebForm><br> > > > </AlkaconWebForms><br> > > ><br>
> > ><br> > > ><br> > > > But the is a problem when i try to include in a JSP file.<br> > > > This is what i try to use these commands in my JSP file but i<br>
> > > encountered problems :<br> > > ><br> > > > <%@ include file="coucou.html" %> works but display has<br> > problem. The<br> > > > only things that appear on screen are texts. Box and<br>
> TextArea are not<br> > > > displaying and i don't know why. Even the label are not<br> > > diplaying. I can<br> > > > only see <p></p> balises.<br>
> > ><br> > > > <jsp:include page="coucou.html" flush="true" /><br> > nullpointer exception<br> > > > <cms:include file="coucou.html" element="body" /><br>
> sometimes work with<br> > > > diplay problems somentimes don't work<br> > > ><br> > > > <cms:contentload collector="singleFile" param="coucou.html" /><br>
> > Problem :<br> > > > javax.servlet.jsp.JspException: Error reading resource<br> > from path<br> > > > "/coucou.html".<br> > > ><br>
> > > Is there someone to help me?<br> > > ><br> > > > thank you<br> > > ><br> > > > --<br> > > > TERRITORIO Jordan-Victor<br>
> > > Projet Asterisk - Ingénieur d'Intégration<br> > > > TEAMLOG – Ingenieurs 2000<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,<br> > > please visit<br> > > >
<a href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.opencms.org/mailman/listinfo/opencms-dev
</a><br> > ><br> > > --<br> > > Bozidar Ilievski |
<a href="mailto:bozidar.ilievski@netcetera.com.mk" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">bozidar.ilievski@netcetera.com.mk
</a><br> > <mailto:
<a href="mailto:bozidar.ilievski@netcetera.com.mk" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">bozidar.ilievski@netcetera.com.mk
</a>><br> ><br> > > <mailto:
<a href="mailto:bozidar.ilievski@netcetera.com.mk" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">bozidar.ilievski@netcetera.com.mk
</a><br> <br>> <mailto:
<a href="mailto:bozidar.ilievski@netcetera.com.mk" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">bozidar.ilievski@netcetera.com.mk
</a>>><br> ><br> > > phone +389 -2- 30 64 532 | fax +389 -2- 30 79 495<br> > > Netcetera | 1000 Skopje | Macedonia |
<a href="http://netcetera.com.mk" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://netcetera.com.mk
</a><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,<br>
> please<br> > > visit<br> > >
<a href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.opencms.org/mailman/listinfo/opencms-dev
</a><br> > ><br> > ><br> > ><br> > ><br> > > --<br> > > TERRITORIO Jordan-Victor<br> > > Projet Asterisk - Ingénieur d'Intégration<br> > > TEAMLOG – Ingenieurs 2000<br>
> ><br> > > +33 4 76 61 37 77<br> > > +33 6 30 66 54 69<br> ><br> <br>> >
<a href="mailto:jot@teamlog.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">jot@teamlog.com
</a> <mailto:
<a href="mailto:jot@teamlog.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">jot@teamlog.com
</a>> <mailto:
<a href="mailto:jot@teamlog.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">jot@teamlog.com
</a><br> <br>> <mailto:
<a href="mailto:jot@teamlog.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">jot@teamlog.com
</a>>><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,<br> > please visit<br> > >
<a href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.opencms.org/mailman/listinfo/opencms-dev
</a><br> ><br> > --<br> > Bozidar Ilievski |
<a href="mailto:bozidar.ilievski@netcetera.com.mk" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">bozidar.ilievski@netcetera.com.mk
</a><br> > <mailto:
<a href="mailto:bozidar.ilievski@netcetera.com.mk" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">bozidar.ilievski@netcetera.com.mk
</a>><br> > phone +389 -2- 30 64 532 | fax +389 -2- 30 79 495<br> > Netcetera | 1000 Skopje | Macedonia |
<a href="http://netcetera.com.mk" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://netcetera.com.mk
</a><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<br>
> visit<br> >
<a href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.opencms.org/mailman/listinfo/opencms-dev
</a><br> ><br> ><br> ><br> ><br> > --<br> > TERRITORIO Jordan-Victor<br> > Projet Asterisk - Ingénieur d'Intégration<br> > TEAMLOG – Ingenieurs 2000<br> ><br> > +33 4 76 61 37 77<br> > +33 6 30 66 54 69<br>
>
<a href="mailto:jot@teamlog.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">jot@teamlog.com
</a> <mailto:
<a href="mailto:jot@teamlog.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">jot@teamlog.com
</a>><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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.opencms.org/mailman/listinfo/opencms-dev
</a><br> <br> --<br> Bozidar Ilievski |
<a href="mailto:bozidar.ilievski@netcetera.com.mk" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">bozidar.ilievski@netcetera.com.mk
</a><br> phone +389 -2- 30 64 532 | fax +389 -2- 30 79 495<br> Netcetera | 1000 Skopje | Macedonia |
<a href="http://netcetera.com.mk" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://netcetera.com.mk
</a><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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.opencms.org/mailman/listinfo/opencms-dev
</a><br>
</font></blockquote></div><font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2"><br><br clear="all"><br>-- <br>TERRITORIO Jordan-Victor<br>Projet Asterisk - Ingénieur d'Intégration<br>TEAMLOG – Ingenieurs 2000<br>
<br>+33 4 76 61 37 77<br>+33 6 30 66 54 69<br><a href="mailto:jot@teamlog.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">jot@teamlog.com
</a><font face="Courier New,Courier,monospace" size="3"><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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.opencms.org/mailman/listinfo/opencms-dev</a></font></font></blockquote><font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2"><br>
</font><font face="sans-serif">
</font><div>
<font face="sans-serif"><font face="Default Sans Serif" size="1">
Ce message est à l'attention exclusive des destinataires désignés. Il peut contenir des informations confidentielles. Si vous n'êtes pas destinataire du message, merci d'en avertir immédiatement l'expéditeur et de détruire ce message. Le contenu de ce message ne pourrait engager la responsabilité de Steria que s'il a été émis par une personne dûment habilitée agissant dans le strict cadre de ses fonctions et à des fins non étrangères à ses attributions. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être engagée pour tout dommage résultant d'un virus transmis.
<br>
This message is intended exclusively for the designated addressee. It may contain confidential material. If you are not the correct addressee, please notify the sender immediately and destroy the message. The content of this message will engage the responsibility of Steria only if it has been sent by an authorized person acting in the strict scope of his functions and for purposes that are related to his competence. Although reasonable efforts have been made to keep this transmission free from viruses, the sender will not be liable for damages caused by a transmitted virus.
</font>
</font></div>
<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 onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br></blockquote></div><br><br clear="all">
<br>-- <br>TERRITORIO Jordan-Victor<br>Projet Asterisk - Ingénieur d'Intégration<br>TEAMLOG – Ingenieurs 2000<br><br>+33 4 76 61 37 77<br>+33 6 30 66 54 69<br><a href="mailto:jot@teamlog.com">jot@teamlog.com</a>