[opencms-dev] OpenCms751 : properties / multisite issue

Sandrine Prousteau s.prousteau at eurelis.com
Mon Nov 9 11:05:21 CET 2009


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 at opencms.org [mailto:opencms-dev-bounces at opencms.org] 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 at opencms.org [mailto:opencms-dev-bounces at opencms.org] 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 at opencms.org [mailto:opencms-dev-bounces at opencms.org] 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



More information about the opencms-dev mailing list