|
View:
New views
13 Messages
—
Rating Filter:
Alert me
|
|
|
Include JqueryHi I want to include jQuery in our Project. In the offline Project it is loaded with DirectEdit. Online I tried to include jquery via the <cms:jquery/> but nothing happens. Any ideas?
Axel _______________________________________________ This mail is sent to you from the opencms-dev mailing list To change your list options, or to unsubscribe from the list, please visit http://lists.opencms.org/mailman/listinfo/opencms-dev |
|
|
Re: Include JqueryAxel,
when using the <cms:jquery> tag, you also have to specify the JS file name you want to load, e.g. like this: <cms:jquery dynamic="true" js="jquery" /> Be sure to place the tag below your <cms:editable> tag. Hth! Regards, Andreas. ------------------- Andreas Zahner Alkacon Software GmbH - The OpenCms Experts http://www.alkacon.com - http://www.opencms.org axel.hollenberg@... schrieb: > Hi > > I want to include jQuery in our Project. > > In the offline Project it is loaded with DirectEdit. > > Online I tried to include jquery via the <cms:jquery/> but nothing happens. > > Any ideas? > > Axel > > > ------------------------------------------------------------------------ > > > _______________________________________________ > This mail is sent to you from the opencms-dev mailing list > To change your list options, or to unsubscribe from the list, please visit > http://lists.opencms.org/mailman/listinfo/opencms-dev _______________________________________________ This mail is sent to you from the opencms-dev mailing list To change your list options, or to unsubscribe from the list, please visit http://lists.opencms.org/mailman/listinfo/opencms-dev |
|
|
Re: Include JqueryHi Andreas,
after I added the tag I got this: <script type='text/javascript'>load_script('/opencms/resources/jquery/packed/jquery.js', 'js');</script> What's missing is the load_script function :-) The function is only available in Direct Edit Modus. Any other ideas? Danke Axel -----Ursprüngliche Nachricht----- Von: opencms-dev-bounces@... [mailto:opencms-dev-bounces@...] Im Auftrag von Andreas Zahner Gesendet: Dienstag, 3. November 2009 17:06 An: The OpenCms mailing list Betreff: Re: [opencms-dev] Include Jquery Axel, when using the <cms:jquery> tag, you also have to specify the JS file name you want to load, e.g. like this: <cms:jquery dynamic="true" js="jquery" /> Be sure to place the tag below your <cms:editable> tag. Hth! Regards, Andreas. ------------------- Andreas Zahner Alkacon Software GmbH - The OpenCms Experts http://www.alkacon.com - http://www.opencms.org axel.hollenberg@... schrieb: > Hi > > I want to include jQuery in our Project. > > In the offline Project it is loaded with DirectEdit. > > Online I tried to include jquery via the <cms:jquery/> but nothing happens. > > Any ideas? > > Axel > > > ------------------------------------------------------------------------ > > > _______________________________________________ > This mail is sent to you from the opencms-dev mailing list > To change your list options, or to unsubscribe from the list, please visit > http://lists.opencms.org/mailman/listinfo/opencms-dev _______________________________________________ This mail is sent to you from the opencms-dev mailing list To change your list options, or to unsubscribe from the list, please visit http://lists.opencms.org/mailman/listinfo/opencms-dev _______________________________________________ This mail is sent to you from the opencms-dev mailing list To change your list options, or to unsubscribe from the list, please visit http://lists.opencms.org/mailman/listinfo/opencms-dev |
|
|
Re: Include JqueryHi,
to load the load_script function, you have to add the <cms:jquery> tag once more like this: <cms:jquery dynamic="true" /> <cms:jquery dynamic="true" js="jquery" /> Regards, Andreas. ------------------- Andreas Zahner Alkacon Software GmbH - The OpenCms Experts http://www.alkacon.com - http://www.opencms.org axel.hollenberg@... schrieb: > Hi Andreas, > after I added the tag I got this: > <script type='text/javascript'>load_script('/opencms/resources/jquery/packed/jquery.js', 'js');</script> > > What's missing is the load_script function :-) > The function is only available in Direct Edit Modus. > > Any other ideas? > > Danke > > Axel > > > > > > > -----Ursprüngliche Nachricht----- > Von: opencms-dev-bounces@... [mailto:opencms-dev-bounces@...] Im Auftrag von Andreas Zahner > Gesendet: Dienstag, 3. November 2009 17:06 > An: The OpenCms mailing list > Betreff: Re: [opencms-dev] Include Jquery > > Axel, > > when using the <cms:jquery> tag, you also have to specify the JS file > name you want to load, e.g. like this: > > <cms:jquery dynamic="true" js="jquery" /> > > Be sure to place the tag below your <cms:editable> tag. > > Hth! > > Regards, > Andreas. > > ------------------- > Andreas Zahner > > Alkacon Software GmbH - The OpenCms Experts > http://www.alkacon.com - http://www.opencms.org > > axel.hollenberg@... schrieb: >> Hi >> >> I want to include jQuery in our Project. >> >> In the offline Project it is loaded with DirectEdit. >> >> Online I tried to include jquery via the <cms:jquery/> but nothing happens. >> >> Any ideas? >> >> Axel >> >> >> ------------------------------------------------------------------------ >> >> >> _______________________________________________ >> This mail is sent to you from the opencms-dev mailing list >> To change your list options, or to unsubscribe from the list, please visit >> http://lists.opencms.org/mailman/listinfo/opencms-dev > > _______________________________________________ > This mail is sent to you from the opencms-dev mailing list > To change your list options, or to unsubscribe from the list, please visit > http://lists.opencms.org/mailman/listinfo/opencms-dev > > _______________________________________________ > This mail is sent to you from the opencms-dev mailing list > To change your list options, or to unsubscribe from the list, please visit > http://lists.opencms.org/mailman/listinfo/opencms-dev _______________________________________________ This mail is sent to you from the opencms-dev mailing list To change your list options, or to unsubscribe from the list, please visit http://lists.opencms.org/mailman/listinfo/opencms-dev |
|
|
Re: Include JqueryThanks it's working.
But for Direct Edit the <scripts> are doubled now. lg Axel -----Ursprüngliche Nachricht----- Von: opencms-dev-bounces@... [mailto:opencms-dev-bounces@...] Im Auftrag von Andreas Zahner Gesendet: Mittwoch, 4. November 2009 14:19 An: The OpenCms mailing list Betreff: Re: [opencms-dev] Include Jquery Hi, to load the load_script function, you have to add the <cms:jquery> tag once more like this: <cms:jquery dynamic="true" /> <cms:jquery dynamic="true" js="jquery" /> Regards, Andreas. ------------------- Andreas Zahner Alkacon Software GmbH - The OpenCms Experts http://www.alkacon.com - http://www.opencms.org axel.hollenberg@... schrieb: > Hi Andreas, > after I added the tag I got this: > <script type='text/javascript'>load_script('/opencms/resources/jquery/packed/jquery.js', 'js');</script> > > What's missing is the load_script function :-) > The function is only available in Direct Edit Modus. > > Any other ideas? > > Danke > > Axel > > > > > > > -----Ursprüngliche Nachricht----- > Von: opencms-dev-bounces@... [mailto:opencms-dev-bounces@...] Im Auftrag von Andreas Zahner > Gesendet: Dienstag, 3. November 2009 17:06 > An: The OpenCms mailing list > Betreff: Re: [opencms-dev] Include Jquery > > Axel, > > when using the <cms:jquery> tag, you also have to specify the JS file > name you want to load, e.g. like this: > > <cms:jquery dynamic="true" js="jquery" /> > > Be sure to place the tag below your <cms:editable> tag. > > Hth! > > Regards, > Andreas. > > ------------------- > Andreas Zahner > > Alkacon Software GmbH - The OpenCms Experts > http://www.alkacon.com - http://www.opencms.org > > axel.hollenberg@... schrieb: >> Hi >> >> I want to include jQuery in our Project. >> >> In the offline Project it is loaded with DirectEdit. >> >> Online I tried to include jquery via the <cms:jquery/> but nothing happens. >> >> Any ideas? >> >> Axel >> >> >> ------------------------------------------------------------------------ >> >> >> _______________________________________________ >> This mail is sent to you from the opencms-dev mailing list >> To change your list options, or to unsubscribe from the list, please visit >> http://lists.opencms.org/mailman/listinfo/opencms-dev > > _______________________________________________ > This mail is sent to you from the opencms-dev mailing list > To change your list options, or to unsubscribe from the list, please visit > http://lists.opencms.org/mailman/listinfo/opencms-dev > > _______________________________________________ > This mail is sent to you from the opencms-dev mailing list > To change your list options, or to unsubscribe from the list, please visit > http://lists.opencms.org/mailman/listinfo/opencms-dev _______________________________________________ This mail is sent to you from the opencms-dev mailing list To change your list options, or to unsubscribe from the list, please visit http://lists.opencms.org/mailman/listinfo/opencms-dev _______________________________________________ This mail is sent to you from the opencms-dev mailing list To change your list options, or to unsubscribe from the list, please visit http://lists.opencms.org/mailman/listinfo/opencms-dev |
|
|
OpenCms751 : properties / multisite issueHi
I installed OpenCms7.5.1 with several site (/sites/default, /sites/mysite...). I have in each site the same ressource with property Title defined in individual. When I use a jsp in each site to read this property: <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <%@ taglib prefix="cms" uri="http://www.opencms.org/taglib/cms" %> titre : ${cms:vfs(pageContext).property['/fr/mypage.html']['Title']}<br/> It works well in Offline of each site, I can display property, but it doesn't work in Online when I'm not on the site /sites/default. (It works on /sites/default.) It doesn't return error, just not find the value... If I use the cms:property tag with attribute "default", it return the default value. Where is the problem?? Please help! _______________________________________________ This mail is sent to you from the opencms-dev mailing list To change your list options, or to unsubscribe from the list, please visit http://lists.opencms.org/mailman/listinfo/opencms-dev |
|
|
Re: OpenCms751 : properties / multisite issueHi Sandrine,
Did you publish the resource with the title property in each site? -- Kind Regards, Mario. ------------------- Mario Jäger Alkacon Software GmbH - The OpenCms Experts http://www.alkacon.com - http://www.opencms.org Sandrine Prousteau schrieb: > Hi > I installed OpenCms7.5.1 with several site (/sites/default, > /sites/mysite...). I have in each site the same ressource with property > Title defined in individual. When I use a jsp in each site to read this > property: > > <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> > <%@ taglib prefix="cms" uri="http://www.opencms.org/taglib/cms" %> > > titre : > ${cms:vfs(pageContext).property['/fr/mypage.html']['Title']}<br/> > > > It works well in Offline of each site, I can display property, but it > doesn't work in Online when I'm not on the site /sites/default. (It > works on /sites/default.) It doesn't return error, just not find the > value... If I use the cms:property tag with attribute "default", it > return the default value. > > Where is the problem?? Please help! > > _______________________________________________ > This mail is sent to you from the opencms-dev mailing list > To change your list options, or to unsubscribe from the list, please visit > http://lists.opencms.org/mailman/listinfo/opencms-dev > _______________________________________________ This mail is sent to you from the opencms-dev mailing list To change your list options, or to unsubscribe from the list, please visit http://lists.opencms.org/mailman/listinfo/opencms-dev |
|
|
Re: OpenCms751 : properties / multisite issueYes, of course!
-----Message d'origine----- De : opencms-dev-bounces@... [mailto:opencms-dev-bounces@...] De la part de Mario Jäger Envoyé : jeudi 5 novembre 2009 12:16 À : The OpenCms mailing list Objet : Re: [opencms-dev] OpenCms751 : properties / multisite issue Hi Sandrine, Did you publish the resource with the title property in each site? -- Kind Regards, Mario. ------------------- Mario Jäger Alkacon Software GmbH - The OpenCms Experts http://www.alkacon.com - http://www.opencms.org Sandrine Prousteau schrieb: > Hi > I installed OpenCms7.5.1 with several site (/sites/default, > /sites/mysite...). I have in each site the same ressource with property > Title defined in individual. When I use a jsp in each site to read this > property: > > <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> > <%@ taglib prefix="cms" uri="http://www.opencms.org/taglib/cms" %> > > titre : > ${cms:vfs(pageContext).property['/fr/mypage.html']['Title']}<br/> > > > It works well in Offline of each site, I can display property, but it > doesn't work in Online when I'm not on the site /sites/default. (It > works on /sites/default.) It doesn't return error, just not find the > value... If I use the cms:property tag with attribute "default", it > return the default value. > > Where is the problem?? Please help! > > _______________________________________________ > This mail is sent to you from the opencms-dev mailing list > To change your list options, or to unsubscribe from the list, please visit > http://lists.opencms.org/mailman/listinfo/opencms-dev > _______________________________________________ This mail is sent to you from the opencms-dev mailing list To change your list options, or to unsubscribe from the list, please visit http://lists.opencms.org/mailman/listinfo/opencms-dev _______________________________________________ This mail is sent to you from the opencms-dev mailing list To change your list options, or to unsubscribe from the list, please visit http://lists.opencms.org/mailman/listinfo/opencms-dev |
|
|
Re: OpenCms751 : properties / multisite issueI have this error in logs :
05 Nov 2009 14:46:21,171 ERROR [.opencms.jsp.CmsJspTagProperty: 257] Error processing "property" tag in Jsp. -----Message d'origine----- De : opencms-dev-bounces@... [mailto:opencms-dev-bounces@...] De la part de Sandrine Prousteau Envoyé : jeudi 5 novembre 2009 13:20 À : The OpenCms mailing list Objet : Re: [opencms-dev] OpenCms751 : properties / multisite issue Yes, of course! -----Message d'origine----- De : opencms-dev-bounces@... [mailto:opencms-dev-bounces@...] De la part de Mario Jäger Envoyé : jeudi 5 novembre 2009 12:16 À : The OpenCms mailing list Objet : Re: [opencms-dev] OpenCms751 : properties / multisite issue Hi Sandrine, Did you publish the resource with the title property in each site? -- Kind Regards, Mario. ------------------- Mario Jäger Alkacon Software GmbH - The OpenCms Experts http://www.alkacon.com - http://www.opencms.org Sandrine Prousteau schrieb: > Hi > I installed OpenCms7.5.1 with several site (/sites/default, > /sites/mysite...). I have in each site the same ressource with property > Title defined in individual. When I use a jsp in each site to read this > property: > > <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> > <%@ taglib prefix="cms" uri="http://www.opencms.org/taglib/cms" %> > > titre : > ${cms:vfs(pageContext).property['/fr/mypage.html']['Title']}<br/> > > > It works well in Offline of each site, I can display property, but it > doesn't work in Online when I'm not on the site /sites/default. (It > works on /sites/default.) It doesn't return error, just not find the > value... If I use the cms:property tag with attribute "default", it > return the default value. > > Where is the problem?? Please help! > > _______________________________________________ > This mail is sent to you from the opencms-dev mailing list > To change your list options, or to unsubscribe from the list, please visit > http://lists.opencms.org/mailman/listinfo/opencms-dev > _______________________________________________ This mail is sent to you from the opencms-dev mailing list To change your list options, or to unsubscribe from the list, please visit http://lists.opencms.org/mailman/listinfo/opencms-dev _______________________________________________ This mail is sent to you from the opencms-dev mailing list To change your list options, or to unsubscribe from the list, please visit http://lists.opencms.org/mailman/listinfo/opencms-dev _______________________________________________ This mail is sent to you from the opencms-dev mailing list To change your list options, or to unsubscribe from the list, please visit http://lists.opencms.org/mailman/listinfo/opencms-dev |
|
|
Re: OpenCms751 : properties / multisite issueHi Sandrine,
I have tried to reproduce your error. But everything works fine. I have installed an OpenCms 7.5.1 with two sites, one site is the default site. In both sites I put a Jsp with your content to read the title property from another resource. In the default site I created another resource and defined an individual title property. In the second site I put a sibling from this resource. How did you configure your multisites? Please explain in more detail which resources (to read the title property) you did create in your sites. -- Kind Regards, Mario. ------------------- Mario Jäger Alkacon Software GmbH - The OpenCms Experts http://www.alkacon.com - http://www.opencms.org Sandrine Prousteau schrieb: > I have this error in logs : > > 05 Nov 2009 14:46:21,171 ERROR [.opencms.jsp.CmsJspTagProperty: 257] Error processing "property" tag in Jsp. > > -----Message d'origine----- > De : opencms-dev-bounces@... [mailto:opencms-dev-bounces@...] De la part de Sandrine Prousteau > Envoyé : jeudi 5 novembre 2009 13:20 > À : The OpenCms mailing list > Objet : Re: [opencms-dev] OpenCms751 : properties / multisite issue > > Yes, of course! > > -----Message d'origine----- > De : opencms-dev-bounces@... [mailto:opencms-dev-bounces@...] De la part de Mario Jäger > Envoyé : jeudi 5 novembre 2009 12:16 > À : The OpenCms mailing list > Objet : Re: [opencms-dev] OpenCms751 : properties / multisite issue > > Hi Sandrine, > > Did you publish the resource with the title property in each site? > > _______________________________________________ This mail is sent to you from the opencms-dev mailing list To change your list options, or to unsubscribe from the list, please visit http://lists.opencms.org/mailman/listinfo/opencms-dev |
|
|
Re: OpenCms751 : properties / multisite issueOk I just tried with a new OpenCms installation without custom modules and I have the same behaviour:
I have created a new site by creating a folder in /sites, for example /sites/mysite. In opencms-system.xml, I added <sites> <workplace-server>http://www.test4.spr:8080</workplace-server> <default-uri>/sites/default/</default-uri> <site server="http://www.test4.spr:8080" uri="/sites/default/"/> <site server="http://www.test5.spr:8080" uri="/sites/mysite/"/> </sites> (It's not a problem with www.test4/5.spr...) I restart Tomcat. I created in /sites/mysite a jsp resource: /sites/mysite/test_prop.jsp, with the content : <%@ taglib prefix="cms" uri="http://www.opencms.org/taglib/cms" %> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <cms:property name="Title" /> I published this resource. I added to this resource the Title property : my title I published this resource. I preview it: "my title" appear. I go to the Online project and view it: nothing appear... I Re-Initialize the workplace (in Administration view): nothing appear... I restart Tomcat (Tomcat6), go to /sites/mysite, go to Online projet, and view it: "my title" appear... When I do all this in /sites/default, it works well, "my title" appear in Online when I just publish it... -----Message d'origine----- De : opencms-dev-bounces@... [mailto:opencms-dev-bounces@...] De la part de Mario Jäger Envoyé : vendredi 6 novembre 2009 14:28 À : The OpenCms mailing list Objet : Re: [opencms-dev] OpenCms751 : properties / multisite issue Hi Sandrine, I have tried to reproduce your error. But everything works fine. I have installed an OpenCms 7.5.1 with two sites, one site is the default site. In both sites I put a Jsp with your content to read the title property from another resource. In the default site I created another resource and defined an individual title property. In the second site I put a sibling from this resource. How did you configure your multisites? Please explain in more detail which resources (to read the title property) you did create in your sites. -- Kind Regards, Mario. ------------------- Mario Jäger Alkacon Software GmbH - The OpenCms Experts http://www.alkacon.com - http://www.opencms.org Sandrine Prousteau schrieb: > I have this error in logs : > > 05 Nov 2009 14:46:21,171 ERROR [.opencms.jsp.CmsJspTagProperty: 257] Error processing "property" tag in Jsp. > > -----Message d'origine----- > De : opencms-dev-bounces@... [mailto:opencms-dev-bounces@...] De la part de Sandrine Prousteau > Envoyé : jeudi 5 novembre 2009 13:20 > À : The OpenCms mailing list > Objet : Re: [opencms-dev] OpenCms751 : properties / multisite issue > > Yes, of course! > > -----Message d'origine----- > De : opencms-dev-bounces@... [mailto:opencms-dev-bounces@...] De la part de Mario Jäger > Envoyé : jeudi 5 novembre 2009 12:16 > À : The OpenCms mailing list > Objet : Re: [opencms-dev] OpenCms751 : properties / multisite issue > > Hi Sandrine, > > Did you publish the resource with the title property in each site? > > _______________________________________________ This mail is sent to you from the opencms-dev mailing list To change your list options, or to unsubscribe from the list, please visit http://lists.opencms.org/mailman/listinfo/opencms-dev _______________________________________________ This mail is sent to you from the opencms-dev mailing list To change your list options, or to unsubscribe from the list, please visit http://lists.opencms.org/mailman/listinfo/opencms-dev |
|
|
Re: OpenCms751 : properties / multisite issueHi Sandrine,
Did you configure your multisites with apache + mod_proxy or with apache + mod_jk? We advise to use apache + mod_jk. Here you find a documentation to configure it: http://opencms-wiki.org/MultiSite_configuration_instructions_(apache_%2B_mod_jk) If you use apache + mod_proxy you find a documentation here: http://opencms-wiki.org/MultiSite_configuration_instructions -- Kind Regards, Mario. ------------------- Mario Jäger Alkacon Software GmbH - The OpenCms Experts http://www.alkacon.com - http://www.opencms.org Sandrine Prousteau schrieb: > Ok I just tried with a new OpenCms installation without custom modules and I have the same behaviour: > > I have created a new site by creating a folder in /sites, for example /sites/mysite. In opencms-system.xml, I added > <sites> > <workplace-server>http://www.test4.spr:8080</workplace-server> > <default-uri>/sites/default/</default-uri> > <site server="http://www.test4.spr:8080" uri="/sites/default/"/> > <site server="http://www.test5.spr:8080" uri="/sites/mysite/"/> > </sites> > (It's not a problem with www.test4/5.spr...) > I restart Tomcat. > > I created in /sites/mysite a jsp resource: /sites/mysite/test_prop.jsp, with the content : > <%@ taglib prefix="cms" uri="http://www.opencms.org/taglib/cms" %> > <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> > <cms:property name="Title" /> > I published this resource. > I added to this resource the Title property : my title > I published this resource. > > I preview it: "my title" appear. > I go to the Online project and view it: nothing appear... > I Re-Initialize the workplace (in Administration view): nothing appear... > I restart Tomcat (Tomcat6), go to /sites/mysite, go to Online projet, and view it: "my title" appear... > > When I do all this in /sites/default, it works well, "my title" appear in Online when I just publish it... > > -----Message d'origine----- > De : opencms-dev-bounces@... [mailto:opencms-dev-bounces@...] De la part de Mario Jäger > Envoyé : vendredi 6 novembre 2009 14:28 > À : The OpenCms mailing list > Objet : Re: [opencms-dev] OpenCms751 : properties / multisite issue > > Hi Sandrine, > > I have tried to reproduce your error. But everything works fine. > I have installed an OpenCms 7.5.1 with two sites, one site is the > default site. In both sites I put a Jsp with your content to read > the title property from another resource. In the default site I > created another resource and defined an individual title property. > In the second site I put a sibling from this resource. > > How did you configure your multisites? Please explain in more detail > which resources (to read the title property) you did create in your > sites. > > _______________________________________________ This mail is sent to you from the opencms-dev mailing list To change your list options, or to unsubscribe from the list, please visit http://lists.opencms.org/mailman/listinfo/opencms-dev |
|
|
Re: OpenCms751 : properties / multisite issueHi
It seems to be solved! It was the configuration in config.xml of Tomcat: I configured multiple hosts instead of alias... I must write <Host name="www.test4.spr" appBase="C:\dev\..." > <Alias>www.mysite.spr</Alias> </Host> Instead of <Host name="www.test4.spr" appBase="C:\dev\..." > </Host> <Host name="www.mysite.spr" appBase="C:\dev\..." > </Host> Thanks for your answers! -----Message d'origine----- De : opencms-dev-bounces@... [mailto:opencms-dev-bounces@...] De la part de Mario Jäger Envoyé : mardi 10 novembre 2009 10:02 À : The OpenCms mailing list Objet : Re: [opencms-dev] OpenCms751 : properties / multisite issue Hi Sandrine, Did you configure your multisites with apache + mod_proxy or with apache + mod_jk? We advise to use apache + mod_jk. Here you find a documentation to configure it: http://opencms-wiki.org/MultiSite_configuration_instructions_(apache_%2B_mod_jk) If you use apache + mod_proxy you find a documentation here: http://opencms-wiki.org/MultiSite_configuration_instructions -- Kind Regards, Mario. ------------------- Mario Jäger Alkacon Software GmbH - The OpenCms Experts http://www.alkacon.com - http://www.opencms.org Sandrine Prousteau schrieb: > Ok I just tried with a new OpenCms installation without custom modules and I have the same behaviour: > > I have created a new site by creating a folder in /sites, for example /sites/mysite. In opencms-system.xml, I added > <sites> > <workplace-server>http://www.test4.spr:8080</workplace-server> > <default-uri>/sites/default/</default-uri> > <site server="http://www.test4.spr:8080" uri="/sites/default/"/> > <site server="http://www.test5.spr:8080" uri="/sites/mysite/"/> > </sites> > (It's not a problem with www.test4/5.spr...) > I restart Tomcat. > > I created in /sites/mysite a jsp resource: /sites/mysite/test_prop.jsp, with the content : > <%@ taglib prefix="cms" uri="http://www.opencms.org/taglib/cms" %> > <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> > <cms:property name="Title" /> > I published this resource. > I added to this resource the Title property : my title > I published this resource. > > I preview it: "my title" appear. > I go to the Online project and view it: nothing appear... > I Re-Initialize the workplace (in Administration view): nothing appear... > I restart Tomcat (Tomcat6), go to /sites/mysite, go to Online projet, and view it: "my title" appear... > > When I do all this in /sites/default, it works well, "my title" appear in Online when I just publish it... > > -----Message d'origine----- > De : opencms-dev-bounces@... [mailto:opencms-dev-bounces@...] De la part de Mario Jäger > Envoyé : vendredi 6 novembre 2009 14:28 > À : The OpenCms mailing list > Objet : Re: [opencms-dev] OpenCms751 : properties / multisite issue > > Hi Sandrine, > > I have tried to reproduce your error. But everything works fine. > I have installed an OpenCms 7.5.1 with two sites, one site is the > default site. In both sites I put a Jsp with your content to read > the title property from another resource. In the default site I > created another resource and defined an individual title property. > In the second site I put a sibling from this resource. > > How did you configure your multisites? Please explain in more detail > which resources (to read the title property) you did create in your > sites. > > _______________________________________________ This mail is sent to you from the opencms-dev mailing list To change your list options, or to unsubscribe from the list, please visit http://lists.opencms.org/mailman/listinfo/opencms-dev _______________________________________________ This mail is sent to you from the opencms-dev mailing list To change your list options, or to unsubscribe from the list, please visit http://lists.opencms.org/mailman/listinfo/opencms-dev |
| Free embeddable forum powered by Nabble | Forum Help |