[opencms-dev] unsubscribe

Gaworski, Priemyslaw S sgaworsk at email.uky.edu
Wed Feb 16 14:13:59 CET 2005


 

-----Original Message-----
From: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] On Behalf Of opencms-dev-request at opencms.org
Sent: Wednesday, February 16, 2005 6:01 AM
To: opencms-dev at opencms.org
Subject: opencms-dev Digest, Vol 28, Issue 3

Send opencms-dev mailing list submissions to
	opencms-dev at opencms.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.opencms.org/mailman/listinfo/opencms-dev
or, via email, send a message with subject or body 'help' to
	opencms-dev-request at opencms.org

You can reach the person managing the list at
	opencms-dev-owner at opencms.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of opencms-dev digest..."


Today's Topics:

   1. Re: opencms & firefox 1.0 (bart vandendriessche)
   2. RE: opencms-dev] Xml content definition
      problemwithresource.type.id (Marc Fievet)
   3. FW: [opencms-dev] openCms 5 - properties vanish on the way
      fromoffline to online project (Olli Aro)
   4. Opencms / SQL Server 2000 Performance Problems
      (PabloLuis.BaezaBacaicoa at telefonicasoluciones.com)
   5. How to check the links with OpenCms 6 ? (Xavier Ottolini)
   6. RE: opencms-dev] Xml content
      definitionproblemwithresource.type.id (Alexander Kandzior)
   7. User login (Daniel Noatnick)
   8. Re: User login (Thomas Maerz)
   9. Re: Adding a new type of Gallery to the Editor (Daniel Rhoden)
  10. RE: Adding a new type of Gallery to the Editor
      (Alexander Kandzior)
  11. Install version compatibility (P.Hill & E.Goodall)
  12. Re: Install version compatibility (Jose Felix Hernandez)
  13. Re: Install version compatibility - Tomcat	5.0.19 & JDK 1.4.2
      (Paul D. Bain)
  14. Re: Install version compatibility - Tomcat	5.0.19 & JDK 1.4.2
      (Paul D. Bain)
  15. Can an editor  (Rainer Vehns)
  16. Re: Install version compatibility - Tomcat	5.0.19 &	JDK 1.4.2
      (P.Hill & E.Goodall)
  17. Static export: relativelinks_in_export + vfs link
      (Patricio Keilty)
  18. Re: Install version - Tomcat 5.0.19 & JDK 1.4.2 (Paul D. Bain)
  19. Localization of online help (zemene adgo)
  20. Re: Install version - Tomcat 5.0.19 & JDK 1.4.2 (Claus Priisholm)
  21. Modules for OpenCms 6 in CVS ? (Xavier Ottolini)
  22. RE: Modules for OpenCms 6 in CVS ? (Alexander Kandzior)
  23. Insanity? Creating a new project (Marios Moutzouris)
  24. Re: Insanity? Creating a new project (Thomas Maerz)


----------------------------------------------------------------------

Message: 1
Date: Tue, 15 Feb 2005 13:28:43 +0100
From: bart vandendriessche <bart at nascom.be>
Subject: Re: [opencms-dev] opencms & firefox 1.0
To: The OpenCms mailing list <opencms-dev at opencms.org>
Message-ID: <4211EAFB.20106 at nascom.be>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Strange, I'm using firefox 1.0 and opencms 5.0.1 without any problems.

-bart

Blair Dye wrote:

>Hi,
>
>I have a problem with using the opencms workplace with firefox 1.0. When I
>try and log in, I keep receiving the popup to login again as if I have
>cookies turned off. No I don't have cookies turned off. 
>
>When I search the archives I find no record of this problem which is strange
>because several collegues of mine also have it. I have no problems with
>firefox 0.93 so I am reverting back to that but it would be nice to know the
>problem. 
>
>Thanks in advance
>Blair
>
>
>
>_______________________________________________
>This mail is send to you from the opencms-dev mailing list
>To change your list options, or to unsubscribe from the list, please visit
>http://mail.opencms.org/mailman/listinfo/opencms-dev
>
>
>  
>


------------------------------

Message: 2
Date: Tue, 15 Feb 2005 15:40:27 +0100
From: "Marc Fievet" <marc.fievet at coditel.net>
Subject: RE: [opencms-dev] opencms-dev] Xml content definition
	problemwithresource.type.id
To: "The OpenCms mailing list" <opencms-dev at opencms.org>
Message-ID: <OBEAICGIIFOGGLGDALEKMEOFCEAA.marc.fievet at coditel.net>
Content-Type: text/plain; charset="us-ascii"

Message
  Hello Alex,

  I reinstall  opencms and nw it's working! Great.

  But now, I have another problem: I can create the news with the xml editor
but there are not display on the browser   (404 error message)
  my schema:

  <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified">
    <xsd:include schemaLocation="opencms://opencms-xmlcontent.xsd"/>
   <xsd:element name="Headnews" type="OpenCmsHeadnews"/>
   <xsd:complexType name="OpenCmsHeadnews">
    <xsd:sequence>
     <xsd:element name="Headnew" type="OpenCmsHeadnew" minOccurs="0"
maxOccurs="unbounded"/>
    </xsd:sequence>
   </xsd:complexType>

   <xsd:complexType name="OpenCmsHeadnew">
    <xsd:sequence>
     <xsd:element name="Title" type="OpenCmsString" />
     <xsd:element name="Teaser" type="OpenCmsString" maxOccurs="5"/>
     <xsd:element name="Text" type="OpenCmsHtml" />
     <xsd:element name="Date" type="OpenCmsString" />
     <xsd:element name="Release" type="OpenCmsDateTime" />
     <xsd:element name="Author" type="OpenCmsString" />
     <xsd:element name="Href" type="OpenCmsVfsFile" />
     <xsd:element name="Description" type="OpenCmsString" minOccurs="0" />

    </xsd:sequence>
    <xsd:attribute name="language" type="OpenCmsLocale" use="required"/>
   </xsd:complexType>

   <xsd:annotation>
    <xsd:appinfo>

     <mappings>
      <mapping element="Title" mapto="property:Title" />
      <mapping element="Release" mapto="attribute:datereleased" />
     </mappings>

    </xsd:appinfo>

   </xsd:annotation>
  </xsd:schema>

  I create a display list for collecting the news of the folder like this :
  list.jsp
  ---------

  cms:contentload collector="${property.collector}"
param="/fr/news/new_${number}.html|77" editable="true">
   <b><cms:contentshow element="Date" /> ::: <cms:contentshow
element="Author" /> :::  <cms:contentshow element="Title" /></b></h6>
  .....

  <div align ="center"><a href="<cms:link><cms:contentshow
element="${opencms.filename}" /></cms:link>">More info</a></div>
  </small>
  ...
  The list is displayed but when I click on the "More info link", I receive
the 404 error message..
  Exemple: I create new_0001.html on the news folder. The teaser and others
infos are showed on the list  but when I click on the link "more info, I
receive the error but uri of the link seems correct.

  What's wrong?

  Thank you

  Regards

  MARC
    -----Message d'origine-----
    De : opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org]De la part de Alexander Kandzior
    Envoye : lundi 14 fevrier 2005 15:17
    A : 'The OpenCms mailing list'
    Objet : RE: [opencms-dev] opencms-dev] Xml content definition
problemwithresource.type.id


    I tried everything as you described and for me everything worked. I am
however working on the CVS HEAD version, not 6.0 a 3. Im not sure what kind
of changes we did since the 6a3 release that may releate to this issue.

    So either this is some error in the 6a3 release that has been fixed in
the current CVS HEAD, or you have some other configuration issue that is
cause of your problem.

    Make sure that in the workplace.xml, you place the "headnews"
explorertype _after_ the "structurecontent" explorer type entry.
    Best Regards,
    Alex.

    Alexander Kandzior
    Alkacon Software - The OpenCms Experts
    http://www.alkacon.com







--------------------------------------------------------------------------
      From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Fievet Marc
      Sent: Monday, February 14, 2005 2:24 PM
      To: 'The OpenCms mailing list'
      Subject: [opencms-dev] opencms-dev] Xml content definition problem
withresource.type.id


      Hello Alex,


      Hereby  my followings steps:
      1. I create a new xml schema located in the  /sites/default/fr/news/


      <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified">

       <xsd:include schemaLocation="opencms://opencms-xmlcontent.xsd"/>

       <xsd:element name="headnews" type="OpenCmsHeadnews"/>

       <xsd:complexType name="OpenCmsHeadnews">
        <xsd:sequence>
         <xsd:element name="headnew" type="OpenCmsHeadnew" minOccurs="0"
maxOccurs="unbounded"/>
        </xsd:sequence>
       </xsd:complexType>

       <xsd:complexType name="OpenCmsHeadnew">
        <xsd:sequence>
         <xsd:element name="Title" type="OpenCmsString" />



        </xsd:sequence>
        <xsd:attribute name="language" type="OpenCmsLocale" use="required"/>
       </xsd:complexType>

       <xsd:annotation>
        <xsd:appinfo>

         <mappings>
          <mapping element="Title" mapto="property:Title" />

         </mappings>



        </xsd:appinfo>

       </xsd:annotation>
      </xsd:schema>


      2. When I try to create a new headnews display on the dropdown list
with the new number ID (in my case id =77) On the second, screen (for the
name of the resource) I have the following error message: " Maybe you don't
have the needed permissions or this resource already exists.
      Please check the entered data or contact your system administrator. "
       Details  of the error screen:
      org.opencms.xml.CmsXmlException: Unmarshalling xml document failed!
[Code 400 - Error in xml processing]

      Root cause was: org.dom4j.DocumentException: null Nested exception:
null
       ....


      >Root cause: >org.dom4j.DocumentException: null Nested exception: null

      3. When  I tried to create a new file by choosing the "generic XML
Content".
      this content:

      <?xml version="1.0" encoding="UTF-8"?>
      <Headnews xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="opencms://sites/default/fr/news/headnews.xsd"
>
        <Headnew language="fr">
          <Title><![CDATA[Enter the title of the article here...]]></Title>

        </Headnew>
      </Headnews>

      I have this error :
      <errors> <error column="142" line="4">cvc-elt.1: Cannot find the
declaration of element 'Headnews'.</error></errors>

       In the opencms-vfs, I declare
      <type class="org.opencms.file.types.CmsResourceTypeXmlContent">

      <param name="resource.type.id">77</param>

      <param name="resource.type.name">headnews</param>

      <param name="schema">/sites/default/fr/news/headnews.xsd</param>

      </type>

      In the  opencms-workplace.xml, those entries:

      <explorertypes>

      <explorertype name="headnews" key="fileicon.headnews"
icon="headnews.gif" reference="xmlcontent">

      <newresource page="structurecontent"
uri="newresource_xmlcontent.jsp?newresourcetype=headnews" order="25"/>


      </explorertype>


      What's wrong?
      Extended a existing schema works. I try with the article.xsd present
in the demo by adding some properties but create a new one from scratch is
not the same.
      Thank you

      Regards,
      MARC
        Can you post more details regarding this issue?

        Best Regards,
        Alex.

        Alexander Kandzior
        Alkacon Software - The OpenCms Experts
        http://www.alkacon.com




----------------------------------------------------------------------
          From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Fievet Marc
          Sent: Friday, February 11, 2005 6:01 PM
          To: 'The OpenCms mailing list'
          Subject: [opencms-dev] Xml content definition problem with
resource.type.id


          Hello,

          I try to create my own schema according the doc transmitted by
Alex

          In the examples, you suggest to choose id 13

          ID 13 is allocated to the Widget demo and when I declare this id
in the vfs.xml, it's the widgetdemo.xsd who parsed my content. Ok, that's
correct according the rules.
          When I declare for my schema id 33 or 77, I have this return code
"  OpenCms content definition XML schema structure: Invalid list name [Code
400 - Error in xml processing]"...

          example:
          <type class="org.opencms.file.types.CmsResourceTypeXmlContent">
                              <param name="resource.type.id">77</param>
                              <param
name="resource.type.name">headnews</param>
                              <param
name="schema">/sites/default/fr/news/headnews.xsd</param>
                          </type>

          Is there another file where the id chosen must be declared?

          Some restricted id we can't use? What id I can use to declare my
schema?



          Thanks

           Regards,

          MARC



____________________________________________________________________________
__
          Disclaimer - Winterthur Europe Assurances - Avenue des
Arts/Kunstlaan 56 - 1000 Brussels (BEL)
          This message may contain confidential, proprietary or legally
privileged information and is intended only for the use of the addressee
named above. No confidentiality or privilege is waived or lost by any
mistransmission. If you are not the intended recipient of this message you
are hereby notified that you must not use, disseminate, copy it in any form
or take any action in reliance on it. If you have received this message in
error please delete it and any copies of it and notify Winterthur
immediately. This e-mail message and any attached files have been scanned
for the presence of computer viruses. However, you are advised that you open
any attachments at your own risk. The integrity and security of this message
cannot be guaranteed on the Internet.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opencms.org/pipermail/opencms-dev/attachments/20050215/24ba0e83/attachment-0001.html

------------------------------

Message: 3
Date: Tue, 15 Feb 2005 14:41:22 +0000 (GMT)
From: Olli Aro <olli_aro at yahoo.co.uk>
Subject: FW: [opencms-dev] openCms 5 - properties vanish on the way
	fromoffline to online project
To: opencms-dev at opencms.org
Message-ID: <20050215144122.43990.qmail at web25306.mail.ukl.yahoo.com>
Content-Type: text/plain; charset=iso-8859-1

As far as I know this is still an issue with 5.01 as
well, but we have created a patch as OpenCMS module,
which can be downloaded from
http://www.clicksandlinks.com/opencms/opencms/downloads/com.clicksandlinks.roundabout.cms.sqlfixes_0.1.zip

Regards,

Olli

-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of
Andras Balogh
Sent: 15 February 2005 08:09
To: The OpenCms mailing list
Subject: Re: [opencms-dev] openCms 5 - properties
vanish on the way fromoffline to online project

Hello,

    This is a bug in OpenCMS 5 i think that was fixed
in OpenCMS 5.0.1.
What is happening that your custom properties are
defined in 2 tables:
CMS_PROPERTYDEF
and
CMS_ONLINE_PROPERTYDEF
Now what happens is that "PROPERTYDEF_ID" column has
one value in 
CMS_PROPERTYDEF table
and another in CMS_ONLINE_PROPERTYDEF for your custom
properties. Make 
sure that
in CMS_ONLINE_PROPERTYDEF is the same value for this
column as in the 
other table.
    After this you should publish again the files (by
forceing a change 
on them or touch) and all should be fine.
Please note that for me this worked, but you should
make a backup of 
your DB BEFORE making any changes
directly in the DB so you can restore if something
really get messed up.

Best regards,
Andras Balogh.


Hans-Peter Meister wrote:

>Hi there,
>
>...hope somebody can help
>
>openCms 5 offers the possibility to define custim
properties for
>file types - so it does also for "Pages".
>
>So I did define some which would be extremely useful
for our project,
>such as
"author","source","medium_name",medium_type","sub_title".
>In fact we are doing some kind of media/press-archive
for a
>non-profit-organization.
>
>The strange thing about that is that these properties
can well be defined
>and show in the
>offline-project, but most of them do no show up in
the online-project.
>
>Looking at the database (using mySQL)
>
>reveals that a
>
>SELECT CMS_PROPERTIES.*
>FROM CMS_PROPERTIES, CMS_RESOURCES
>WHERE CMS_PROPERTIES.RESOURCE_ID =
CMS_RESOURCES.RESOURCE_ID AND
>CMS_RESOURCES.RESOURCE_NAME =
>'/default/vfs/de/gesellsch/spurensuche/some_text.html'
>
>returns 13 properties whereas
>
>SELECT CMS_ONLINE_PROPERTIES. *
>FROM CMS_ONLINE_PROPERTIES, CMS_ONLINE_RESOURCES
>WHERE CMS_ONLINE_PROPERTIES.RESOURCE_ID =
CMS_ONLINE_RESOURCES.RESOURCE_ID
>AND CMS_ONLINE_RESOURCES.RESOURCE_NAME =
>'/default/vfs/de/gesellsch/spurensuche/some_text.html'
>
>returns only 6 of them. The selection of attributes
which are shown seems to
>be
>by accident and I cannot see any system in that.
>I have tried any measure I could figure out from
within the CMS to get these
>attributes published - but nothing happens.
>
>I even tried to generate the properties by using SQL
directly on the
>database, but even these
>new generated properties do not appear in the online
project.
>
>Does anybody have a hint what to do about that??
>
>Thanks for any help in advance
>
>Hans-Peter Meister
>
>
>  
>



	
	
		
___________________________________________________________ 
ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com

------------------------------

Message: 4
Date: Tue, 15 Feb 2005 16:05:37 +0100
From: PabloLuis.BaezaBacaicoa at telefonicasoluciones.com
Subject: [opencms-dev] Opencms / SQL Server 2000 Performance Problems
To: opencms-dev at opencms.org
Message-ID:
	<OF4BA9AEA2.1F31A86F-ONC1256FA9.004E0521-C1256FA9.00536497 at telefonicasoluciones.com>
	
Content-Type: text/plain; charset="iso-8859-1"

Hi,

We are experimenting performance problems with our Opencms / SQL Server 
2000 enviroment. The navigation in the Opencms Administration System and 
the Web is extremly slow. We measured the difference between the same 
installation with SQL Server and MySQL and MySQL is at least six times 
faster than SQL Server. In some web pages with SQL Server it takes 30 
seconds or more to receive results of the web page.

We're trying now to transform every query of "mssql/query.properties" file in Store Procedures of SQL Server as it was suggested by Geoff Winkless in the post:

http://mail.opencms.org/pipermail/opencms-dev/2004q1/009576.html

In the first tests we made with Store procedures it seems it goes much 
faster. The question is:

¿Is there any other choice for solving this importante performance problem 
with SQL Server 2000?, 

This solution of Store Procedures it doesn't seem logic. The Database is 
not as heavy for thinking in Store Procedures. Also this solution modifies 
the code of opencms as it is, and we would not prefer to do it so. 

If anybody knows other kind of solution to this problem or know which is 
exactly the problem is please contact us (pbaezab at telefonicasoluciones.com)

Thanks in advanced. Next you can see the details of our installation:

Details of our Installation

Front-End Server

Windows 2000 Server  SP4
J2SE 1.4.2 SDK
Tomcat 4.1.30
OpenCms 5.0.1
JDBC (We tried several ones: Microsoft SQL JDBC Driver, JSQLConnect, 

Backoffice Server

Windows 2000 Server SP4
SQL Server 2000 SP3a



Pablo Baeza Bacaicoa
Línea de Negocio CRM
TELEFONICA SOLUCIONES
Tfno. 91-337-58-72
c/Sor Angela de la Cruz 2
28020 Madrid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opencms.org/pipermail/opencms-dev/attachments/20050215/d1a6423c/attachment-0001.html

------------------------------

Message: 5
Date: Tue, 15 Feb 2005 16:18:25 +0100
From: Xavier Ottolini <xavier.ottolini at adelis.com>
Subject: [opencms-dev] How to check the links with OpenCms 6 ?
To: opencms-dev <opencms-dev at opencms.org>
Message-ID: <421212C1.5040907 at adelis.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi Cms Gurus!

I try to update a project to OpenCms 6. I want to check the external 
links and the html links of a whole project with the new API.
In the version 5 there was the method getBrokenLinks in the class 
com.opencms.file.CmsObject.
Until the version 6, there is the class 
com.opencms.defaults.CmsLinkCheck which seems to be rather simple. But 
it is deprecated.

I have seen the new classe CmsHtmlLinkValidator in the package 
org.opencms.validation. But the methods are not as complete as the 
former way
How to realise this with the new API ?

Regards

-- 
Xavier Ottolini
Développeur multimédia

Adelis
37, rue d'Engwiller
67350 La Walck
Téléphone : +33 (0) 3 88 72 29 10
Télécopie : +33 (0) 3 88 72 29 19
http://www.adelis.com



------------------------------

Message: 6
Date: Tue, 15 Feb 2005 16:21:53 +0100
From: "Alexander Kandzior" <alex at opencms.org>
Subject: RE: [opencms-dev] opencms-dev] Xml content
	definitionproblemwithresource.type.id
To: <marc.fievet at coditel.net>,	"'The OpenCms mailing list'"
	<opencms-dev at opencms.org>
Message-ID: <mailman.0.1108551601.24507.opencms-dev at opencms.org>
Content-Type: text/plain; charset="iso-8859-1"

I assume you did not configure the JSP detail page correctly. 
 
This is done in the "template-elements" property on the file itself, or on
any parent folder (which will then be valid for all files).
 
Check out the properties of the "xmlcontent" default demo folder.

Best Regards,
Alex.

Alexander Kandzior
Alkacon Software - The OpenCms Experts
http://www.alkacon.com <http://www.alkacon.com/> 



 


  _____  

From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Marc Fievet
Sent: Tuesday, February 15, 2005 3:40 PM
To: The OpenCms mailing list
Subject: RE: [opencms-dev] opencms-dev] Xml content
definitionproblemwithresource.type.id


 

Hello Alex,
 
I reinstall  opencms and nw it's working! Great.
 
But now, I have another problem: I can create the news with the xml editor
but there are not display on the browser   (404 error message) 
my schema:

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified">
  <xsd:include schemaLocation="opencms://opencms-xmlcontent.xsd"/> 
 <xsd:element name="Headnews" type="OpenCmsHeadnews"/>
 <xsd:complexType name="OpenCmsHeadnews">
  <xsd:sequence>
   <xsd:element name="Headnew" type="OpenCmsHeadnew" minOccurs="0"
maxOccurs="unbounded"/>
  </xsd:sequence>
 </xsd:complexType>
 
 <xsd:complexType name="OpenCmsHeadnew">
  <xsd:sequence>
   <xsd:element name="Title" type="OpenCmsString" />
   <xsd:element name="Teaser" type="OpenCmsString" maxOccurs="5"/>
   <xsd:element name="Text" type="OpenCmsHtml" />
   <xsd:element name="Date" type="OpenCmsString" /> 
   <xsd:element name="Release" type="OpenCmsDateTime" />
   <xsd:element name="Author" type="OpenCmsString" />
   <xsd:element name="Href" type="OpenCmsVfsFile" />
   <xsd:element name="Description" type="OpenCmsString" minOccurs="0" />
      
  </xsd:sequence>
  <xsd:attribute name="language" type="OpenCmsLocale" use="required"/>
 </xsd:complexType>
 
 <xsd:annotation>
  <xsd:appinfo>
   
   <mappings>
    <mapping element="Title" mapto="property:Title" />
    <mapping element="Release" mapto="attribute:datereleased" />
   </mappings>

  </xsd:appinfo>
 
 </xsd:annotation>  
</xsd:schema>
 
I create a display list for collecting the news of the folder like this :
list.jsp
---------
 
cms:contentload collector="${property.collector}"
param="/fr/news/new_${number}.html|77" editable="true">
 <b><cms:contentshow element="Date" /> ::: <cms:contentshow element="Author"
/> :::  <cms:contentshow element="Title" /></b></h6> 
.....
 
<div align ="center"><a href="<cms:link><cms:contentshow
element="${opencms.filename}" /></cms:link>">More info</a></div>
</small>
...
The list is displayed but when I click on the "More info link", I receive
the 404 error message..
Exemple: I create new_0001.html on the news folder. The teaser and others
infos are showed on the list  but when I click on the link "more info, I
receive the error but uri of the link seems correct.
 
What's wrong?
 
Thank you
 
Regards
 
MARC

-----Message d'origine-----
De : opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org]De la part de Alexander Kandzior
Envoyé : lundi 14 février 2005 15:17
À : 'The OpenCms mailing list'
Objet : RE: [opencms-dev] opencms-dev] Xml content definition
problemwithresource.type.id


I tried everything as you described and for me everything worked. I am
however working on the CVS HEAD version, not 6.0 a 3. Im not sure what kind
of changes we did since the 6a3 release that may releate to this issue.
 
So either this is some error in the 6a3 release that has been fixed in the
current CVS HEAD, or you have some other configuration issue that is cause
of your problem. 
 
Make sure that in the workplace.xml, you place the "headnews" explorertype
_after_ the "structurecontent" explorer type entry. 

Best Regards,
Alex.

Alexander Kandzior
Alkacon Software - The OpenCms Experts
http://www.alkacon.com <http://www.alkacon.com/> 



 


  _____  

From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Fievet Marc
Sent: Monday, February 14, 2005 2:24 PM
To: 'The OpenCms mailing list'
Subject: [opencms-dev] opencms-dev] Xml content definition problem
withresource.type.id


Hello Alex,
 
 
Hereby  my followings steps:
1. I create a new xml schema located in the  /sites/default/fr/news/



<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified">
 
 <xsd:include schemaLocation="opencms://opencms-xmlcontent.xsd"/> 
 
 <xsd:element name="headnews" type="OpenCmsHeadnews"/>
 
 <xsd:complexType name="OpenCmsHeadnews">
  <xsd:sequence>
   <xsd:element name="headnew" type="OpenCmsHeadnew" minOccurs="0"
maxOccurs="unbounded"/>
  </xsd:sequence>
 </xsd:complexType>
 
 <xsd:complexType name="OpenCmsHeadnew">
  <xsd:sequence>
   <xsd:element name="Title" type="OpenCmsString" />
   
   
   
  </xsd:sequence>
  <xsd:attribute name="language" type="OpenCmsLocale" use="required"/>
 </xsd:complexType>
 
 <xsd:annotation>
  <xsd:appinfo>
  
   <mappings>
    <mapping element="Title" mapto="property:Title" />
    
   </mappings>
   
 
   
  </xsd:appinfo>
 
 </xsd:annotation>  
</xsd:schema>
 
 
2. When I try to create a new headnews display on the dropdown list with the
new number ID (in my case id =77) On the second, screen (for the name of the
resource) I have the following error message: " Maybe you don't have the
needed permissions or this resource already exists.
Please check the entered data or contact your system administrator. "
 Details  of the error screen:  
org.opencms.xml.CmsXmlException: Unmarshalling xml document failed! [Code
400 - Error in xml processing]

Root cause was: org.dom4j.DocumentException: null Nested exception: null
 ....

 
>Root cause: >org.dom4j.DocumentException: null Nested exception: null 
 
3. When  I tried to create a new file by choosing the "generic XML Content".

this content:
 
<?xml version="1.0" encoding="UTF-8"?>
<Headnews xmlns:xsi=" <http://www.w3.org/2001/XMLSchema-instance>
http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="opencms://sites/default/fr/news/headnews.xsd"
>
  <Headnew language="fr">
    <Title><![CDATA[Enter the title of the article here...]]></Title>
    
  </Headnew>
</Headnews>
 
I have this error : 
<errors> <error column="142" line="4">cvc-elt.1: Cannot find the declaration
of element 'Headnews'.</error></errors>
 
 In the opencms-vfs, I declare
<type class="org.opencms.file.types.CmsResourceTypeXmlContent">

<param name="resource.type.id">77</param>

<param name="resource.type.name">headnews</param>

<param name="schema">/sites/default/fr/news/headnews.xsd</param>

</type> 

In the  opencms-workplace.xml, those entries:

<explorertypes>

<explorertype name="headnews" key="fileicon.headnews" icon="headnews.gif"
reference="xmlcontent">

<newresource page="structurecontent"
uri="newresource_xmlcontent.jsp?newresourcetype=headnews" order="25"/>



</explorertype>

 
What's wrong? 
Extended a existing schema works. I try with the article.xsd present in the
demo by adding some properties but create a new one from scratch is not the
same.
Thank you
 
Regards,
MARC

Can you post more details regarding this issue?
 
Best Regards,
Alex.

Alexander Kandzior
Alkacon Software - The OpenCms Experts
http://www.alkacon.com <http://www.alkacon.com/> 



  _____  

From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Fievet Marc
Sent: Friday, February 11, 2005 6:01 PM
To: 'The OpenCms mailing list'
Subject: [opencms-dev] Xml content definition problem with resource.type.id


Hello,
 
I try to create my own schema according the doc transmitted by Alex
 
In the examples, you suggest to choose id 13
 
ID 13 is allocated to the Widget demo and when I declare this id in the
vfs.xml, it's the widgetdemo.xsd who parsed my content. Ok, that's correct
according the rules.
When I declare for my schema id 33 or 77, I have this return code "  OpenCms
content definition XML schema structure: Invalid list name [Code 400 - Error
in xml processing]"...
 
example:
<type class="org.opencms.file.types.CmsResourceTypeXmlContent">
                    <param name="resource.type.id">77</param>
                    <param name="resource.type.name">headnews</param>
                    <param
name="schema">/sites/default/fr/news/headnews.xsd</param>
                </type>
 

Is there another file where the id chosen must be declared?

Some restricted id we can't use? What id I can use to declare my schema?

 

Thanks

 Regards,

MARC

 

____________________________________________________________________________
__
Disclaimer - Winterthur Europe Assurances - Avenue des Arts/Kunstlaan 56 -
1000 Brussels (BEL)
This message may contain confidential, proprietary or legally privileged
information and is intended only for the use of the addressee named above.
No confidentiality or privilege is waived or lost by any mistransmission. If
you are not the intended recipient of this message you are hereby notified
that you must not use, disseminate, copy it in any form or take any action
in reliance on it. If you have received this message in error please delete
it and any copies of it and notify Winterthur immediately. This e-mail
message and any attached files have been scanned for the presence of
computer viruses. However, you are advised that you open any attachments at
your own risk. The integrity and security of this message cannot be
guaranteed on the Internet.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opencms.org/pipermail/opencms-dev/attachments/20050215/16e1a4e6/attachment.html

------------------------------

Message: 7
Date: Tue, 15 Feb 2005 16:26:52 +0100
From: "Daniel Noatnick" <dno at archikart.de>
Subject: [opencms-dev] User login
To: <opencms-dev at opencms.org>
Message-ID: <001f01c51372$c645cd70$8500a8c0 at dno>
Content-Type: text/plain; charset="iso-8859-1"

Hallo group,

I use Opencms 6 alpha 3 with Tomcat 4.1.30, MySQL 4.0.23, WinXPSP2

and i have problem with user identification. I logged in in opencms normaly.
That works.

In a JSP i test, if a user is logged in with the following code:

CmsJspActionElement cms = new CmsJspActionElement(pageContext, request, response);
CmsUser cmsU = cms.getRequestContext().currentUser();

// for debugging
 out.println("Name und Login: " + cmsU.getFullName());
 out.println("Gesperrt?: " + cmsU.getDisabled());
 out.println("Type: " + cmsU.getType());
 out.println("Email: " + cmsU.getEmail());
 out.println("isWebUser: " + cmsU.isWebUser());
 out.println("isSystemUser: " + cmsU.isSystemUser());
 out.println("isGuestUser: " + cmsU.isGuestUser());
 
if(cmsU.isSystemUser()) {
  response.sendRedirect(cms.link("startseite.jsp"));
  
  
 }
 else {
  //show login Form
 }


Now i can see my username etc. but result of function "isSystemUser()" is false. Why?
Can anybody help me to solve the problem?


Thanks a Lot

Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opencms.org/pipermail/opencms-dev/attachments/20050215/e87b4f52/attachment-0001.html

------------------------------

Message: 8
Date: Tue, 15 Feb 2005 16:48:46 +0100
From: Thomas Maerz <thomasmaerz at gmx.de>
Subject: Re: [opencms-dev] User login
To: The OpenCms mailing list <opencms-dev at opencms.org>
Message-ID: <84ll9phli9.fsf at gmx.de>
Content-Type: text/plain; charset=us-ascii

"Daniel Noatnick" <dno at archikart.de> writes:

> Now i can see my username etc. but result of function "isSystemUser()" is false. Why?
> Can anybody help me to solve the problem?

This problem?

> if(cmsU.isSystemUser()) {

if(!cmsU.isGuestUser()) {


Why don't you use OpenCms' ACL to restrict access to pages?


Regards,
Thomas


------------------------------

Message: 9
Date: Tue, 15 Feb 2005 12:49:52 -0500
From: Daniel Rhoden <drhoden at iiwinc.com>
Subject: Re: [opencms-dev] Adding a new type of Gallery to the Editor
To: The OpenCms mailing list <opencms-dev at opencms.org>
Message-ID: <42123640.5030502 at iiwinc.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

This was very helpful.  Could you give me your thoughts about this:

Rather than using special comments to embed the custom actions, why not 
use the standard HTML <object/> tag?  The same title example might look 
like this:

<h1><object name="aUniqueNameForInclude">
    <param name="file" value="/sites/default/content/xy.html" />
    <param name="element" value="title" />
</object></h1>

I might be missing required attributes, but I think the concept is solid 
(given a few more hacks).  CSS could be applied to make a place holder 
appear for the object.  Then runtime the object would be replaced with 
the appropriate data.

--Daniel Rhoden

Alexander Kandzior wrote:

>Daniel,
>
>Some more details that may hopefully help you:
>
>The WYSIWYG is basically an external component. Within IE it always is the
>MS DHTML Editing control, in Mozilla it's some sort of Mozilla/Firefox
>function similar to this. These controls only handle "standard" HTML
>(whatever they think it is). So there is no way of adding new HTML tags that
>are supported by this controls. Some kind of workaround for "special markup"
>must be used therefore, like HTML comments hiding the "dynamic" information
>like which XML content object contains the information. 
>
>The editing control HTML is send to the server when you press "save". At
>that point it's just some plain HTML. On the server this HTML is analyzed
>for links by a open source component called "HTML parser" (see the project
>on sourceforge).
>
>The HTML parser extracty all links in a HREF or IMG SRC tags by parsing the
>HTML, and replaces them with these macros strings. This link processing is
>required for adjusting the links for static export and also for link
>checking. 
>
>In the end of the process, there's a data structure called the "link table"
>which holds all links in the HTML that was edited, referenced by the macro
>names. Then the XML structure you can see in the control code is just a
>serialization of this HTML plus link table. 
>
>To have that reference structure as you described it, it would be required
>to extend the HTML parsing process to recognize that "special" markup that
>was inserted in the editor. Then the parser would have to replace that
>"special markup" as it does with the links. 
>
>To give you an example, the "special markup" could be something like this:
>
>Suppose you add a reference to the "Title" element of the
>"/sites/default/content/xy.html" file. That is what the HTML source coude
>could look like:
>
><h1><!-- XML-Content-Ref file="/sites/default/content/xy.html"
>element="Title" -->Here's the value of the title<!-- /XML-Content-Red
>--></h1>
>
>The "only" thing required (besided generating a gallery that adds this HTML,
>which should be easy) is to extend the HTML parsing process to recognize
>this "special markup" and replace it with a simple macro. 
>
>So the approach outlined here comes down pretty much to that HTML parser
>element. Unfortunatly this HTML parser I don't know that much so I can't
>give any hints on how to parse this. AFAIK the project has an active mailing
>list on sourceforge.
>
>Best Regards,
>Alex.
>
>Alexander Kandzior
>Alkacon Software - The OpenCms Experts
>http://www.alkacon.com
>
> 
>
>  
>
>>-----Original Message-----
>>From: opencms-dev-bounces at opencms.org 
>>[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Daniel Rhoden
>>Sent: Monday, February 14, 2005 7:03 PM
>>To: The OpenCms mailing list
>>Subject: Re: [opencms-dev] Adding a new type of Gallery to the Editor
>>
>>Wonderful feedback.  Thank you!
>>You are correct. "Gallery like references to XML contents" is 
>>a much better way of describing it. 
>>
>>I have the feeling that there are factors regarding the 
>>WYSIWYG editor that I am not aware (which is fine, we all 
>>have to learn).  I am under the impression that the WYSIWYG 
>>editor was specifically for XML content items.  Are you 
>>suggesting that under certain circumstances that there would 
>>be problems if the WYSIWYG editor's interface was enhanced to 
>>provide access to such a feature?
>>
>>Let me describe how I envision using such a feature:  The 
>>templates, elements, and default_bodies would already be 
>>defined.  After creating a new XML page I would view the page 
>>Offline, click on the direct edit square (in version 6) for 
>>the section specified for the article's headline and define 
>>the content (there are reasons why I'm not using custom 
>>properties instead).  On another page, I would do the same 
>>process, but in the content area.  I would then describe a 
>>reference to the fist page, but want to display its exact 
>>headline in my link's anchor text.  Rather than typing it and 
>>risking a synchronization issue (say, the headline gets 
>>updated by a different writer), I would click on the button 
>>that would allow me to reference other pages' elements, and 
>>drop a reference to it.  The page would appear to have 
>>content in it at runtime.  The control code for the page 
>>would have a new <references/> node just under the <links/> 
>>node, and a ${ref0} statement would be inserted into the content node.
>>
>>Sorry that was so long, but I know it is hard to paint the 
>>same picture in other people's mind
>>
>>Thanks,
>>
>>Daniel Rhoden.
>>
>>Alexander Kandzior wrote:
>>
>>    
>>
>>>Daniel,
>>>
>>>Such a kind of gallery will IMHO be possible only for XML content 
>>>items, not inside the WYSIWYG editor. This is because of the 
>>>      
>>>
>>structure 
>>    
>>
>>>of the HTML editable element used for the WYSIWYG.
>>>
>>>In this case the task is better described as "building a XML content 
>>>widget for content references".
>>>
>>>The code base of the galleries should be usable for this. 
>>>      
>>>
>>The galleries 
>>    
>>
>>>already share most of the code as well as the JSP pages. 
>>>      
>>>
>>Have a look at 
>>    
>>
>>>the package "org.opencms.workplace.galleries", there is an 
>>>      
>>>
>>abtract base 
>>    
>>
>>>class called "A_CmsGallery" from which all Galleries are 
>>>      
>>>
>>extended. It 
>>    
>>
>>>basically comes down to writing some 100-200 LOC, mainly to 
>>>      
>>>
>>generate the list view.
>>    
>>
>>>I can give some more details about the other tasks required. 
>>>      
>>>
>>Before I 
>>    
>>
>>>do please let me know if this is actually what you want 
>>>      
>>>
>>(Gallery like 
>>    
>>
>>>references for XML contents, not for the WYSIWYG editor).
>>>
>>>Best Regards,
>>>Alex.
>>>
>>>Alexander Kandzior
>>>Alkacon Software - The OpenCms Experts
>>>http://www.alkacon.com
>>>
>>>
>>>
>>> 
>>>
>>>      
>>>
>>>>-----Original Message-----
>>>>From: opencms-dev-bounces at opencms.org 
>>>>[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Daniel Rhoden
>>>>Sent: Monday, February 14, 2005 5:47 PM
>>>>To: The OpenCms mailing list
>>>>Subject: [opencms-dev] Adding a new type of Gallery to the Editor
>>>>
>>>>I would like to add a new type of Gallery accessible from 
>>>>        
>>>>
>>the editor 
>>    
>>
>>>>to make references to other XML page' content elements.  It 
>>>>        
>>>>
>>should not 
>>    
>>
>>>>act like the HTML Gallery in which a COPY is made, but more 
>>>>        
>>>>
>>like the 
>>    
>>
>>>><cms:include page=""
>>>>element=""> tag, in which a REFERENCE is made. I think 
>>>>        
>>>>
>>there are many 
>>    
>>
>>>>uses for such a feature (though the term 'gallery'
>>>>may not be appropriate). 
>>>>
>>>>1. Can we post an outline for building custom "galleries"?
>>>>2. Can we post ways to achieve a "Reference Gallery" 
>>>>        
>>>>
>>mentioned above?
>>    
>>
>>>>Thanks,
>>>>
>>>>--Daniel Rhoden
>>>>
>>>>
>>>>_______________________________________________
>>>>This mail is send to you from the opencms-dev mailing list 
>>>>        
>>>>
>>To change 
>>    
>>
>>>>your list options, or to unsubscribe from the list, please visit 
>>>>http://mail.opencms.org/mailman/listinfo/opencms-dev
>>>>
>>>>
>>>>   
>>>>
>>>>        
>>>>
>>>
>>>_______________________________________________
>>>This mail is send to you from the opencms-dev mailing list To change 
>>>your list options, or to unsubscribe from the list, please visit 
>>>http://mail.opencms.org/mailman/listinfo/opencms-dev
>>>
>>> 
>>>
>>>      
>>>
>>_______________________________________________
>>This mail is send to you from the opencms-dev mailing list To 
>>change your list options, or to unsubscribe from the list, 
>>please visit http://mail.opencms.org/mailman/listinfo/opencms-dev
>>
>>
>>    
>>
>
>
>
>_______________________________________________
>This mail is send to you from the opencms-dev mailing list
>To change your list options, or to unsubscribe from the list, please visit
>http://mail.opencms.org/mailman/listinfo/opencms-dev
>
>  
>

------------------------------

Message: 10
Date: Tue, 15 Feb 2005 19:04:04 +0100
From: "Alexander Kandzior" <alex at opencms.org>
Subject: RE: [opencms-dev] Adding a new type of Gallery to the Editor
To: "'The OpenCms mailing list'" <opencms-dev at opencms.org>
Message-ID: <mailman.1.1108551601.24507.opencms-dev at opencms.org>
Content-Type: text/plain;	charset="US-ASCII"

It depends on how the controls handle the object tag. This is something best
tried out in the real system.

It's important is to keep in mind what the user is actually seeing when he
edits the page. The code with the <object> tag would produce no visible
output in the HTML control. So even if you can insert that code in the HTML
control, the person editing the page would see nothing in the editor, only
after saving (or previewing) would the content of the reference be visible.
I find this of limited use.

My approach with the comments would solve the problem as illustrated below:

Editor code:

<h1>
<!-- XML-Content-Ref file="/sites/default/content/xy.html" element="Title"
-->
Here's the value of the title
<!-- /XML-Content-Ref -->
</h1>

So the value of the reference in this example is "Here's the value of the
title". Of course, this is visible to the user. After saving and processing
of the content, OpenCms would remove the whole comment stuff and store only
some macro like this:

<h1>
${ref1}
</h1>

${ref1} would be stored in some XML kind of structure comparable to the
links as originally suggested. When delivering the page, the content would
be read from the reference and deliverd to the editor replaced with the
comments like above.

Of course, the user could edit/change the content surrounded by the comments
in the editor, but after saving and processing the content from the
reference would be placed inside the comments not matter what the change
was.

HTH,

Best Regards,
Alex.

Alexander Kandzior
Alkacon Software - The OpenCms Experts
http://www.alkacon.com

 

> -----Original Message-----
> From: opencms-dev-bounces at opencms.org 
> [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Daniel Rhoden
> Sent: Tuesday, February 15, 2005 6:50 PM
> To: The OpenCms mailing list
> Subject: Re: [opencms-dev] Adding a new type of Gallery to the Editor
> 
> This was very helpful.  Could you give me your thoughts about this:
> 
> Rather than using special comments to embed the custom 
> actions, why not use the standard HTML <object/> tag?  The 
> same title example might look like this:
> 
> <h1><object name="aUniqueNameForInclude">
>     <param name="file" value="/sites/default/content/xy.html" />
>     <param name="element" value="title" /> </object></h1>
> 
> I might be missing required attributes, but I think the 
> concept is solid (given a few more hacks).  CSS could be 
> applied to make a place holder appear for the object.  Then 
> runtime the object would be replaced with the appropriate data.
> 
> --Daniel Rhoden
> 
> Alexander Kandzior wrote:
> 
> >Daniel,
> >
> >Some more details that may hopefully help you:
> >
> >The WYSIWYG is basically an external component. Within IE it 
> always is 
> >the MS DHTML Editing control, in Mozilla it's some sort of 
> >Mozilla/Firefox function similar to this. These controls only handle 
> >"standard" HTML (whatever they think it is). So there is no way of 
> >adding new HTML tags that are supported by this controls. 
> Some kind of workaround for "special markup"
> >must be used therefore, like HTML comments hiding the "dynamic" 
> >information like which XML content object contains the information.
> >
> >The editing control HTML is send to the server when you 
> press "save". 
> >At that point it's just some plain HTML. On the server this HTML is 
> >analyzed for links by a open source component called "HTML 
> parser" (see 
> >the project on sourceforge).
> >
> >The HTML parser extracty all links in a HREF or IMG SRC tags 
> by parsing 
> >the HTML, and replaces them with these macros strings. This link 
> >processing is required for adjusting the links for static export and 
> >also for link checking.
> >
> >In the end of the process, there's a data structure called 
> the "link table"
> >which holds all links in the HTML that was edited, referenced by the 
> >macro names. Then the XML structure you can see in the 
> control code is 
> >just a serialization of this HTML plus link table.
> >
> >To have that reference structure as you described it, it would be 
> >required to extend the HTML parsing process to recognize 
> that "special" 
> >markup that was inserted in the editor. Then the parser 
> would have to 
> >replace that "special markup" as it does with the links.
> >
> >To give you an example, the "special markup" could be 
> something like this:
> >
> >Suppose you add a reference to the "Title" element of the 
> >"/sites/default/content/xy.html" file. That is what the HTML source 
> >coude could look like:
> >
> ><h1><!-- XML-Content-Ref file="/sites/default/content/xy.html"
> >element="Title" -->Here's the value of the title<!-- /XML-Content-Red
> >--></h1>
> >
> >The "only" thing required (besided generating a gallery that 
> adds this 
> >HTML, which should be easy) is to extend the HTML parsing process to 
> >recognize this "special markup" and replace it with a simple macro.
> >
> >So the approach outlined here comes down pretty much to that HTML 
> >parser element. Unfortunatly this HTML parser I don't know 
> that much so 
> >I can't give any hints on how to parse this. AFAIK the 
> project has an 
> >active mailing list on sourceforge.
> >
> >Best Regards,
> >Alex.
> >
> >Alexander Kandzior
> >Alkacon Software - The OpenCms Experts
> >http://www.alkacon.com
> >
> > 
> >
> >  
> >
> >>-----Original Message-----
> >>From: opencms-dev-bounces at opencms.org 
> >>[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Daniel Rhoden
> >>Sent: Monday, February 14, 2005 7:03 PM
> >>To: The OpenCms mailing list
> >>Subject: Re: [opencms-dev] Adding a new type of Gallery to 
> the Editor
> >>
> >>Wonderful feedback.  Thank you!
> >>You are correct. "Gallery like references to XML contents" 
> is a much 
> >>better way of describing it.
> >>
> >>I have the feeling that there are factors regarding the 
> WYSIWYG editor 
> >>that I am not aware (which is fine, we all have to learn).  
> I am under 
> >>the impression that the WYSIWYG editor was specifically for XML 
> >>content items.  Are you suggesting that under certain circumstances 
> >>that there would be problems if the WYSIWYG editor's interface was 
> >>enhanced to provide access to such a feature?
> >>
> >>Let me describe how I envision using such a feature:  The 
> templates, 
> >>elements, and default_bodies would already be defined.  
> After creating 
> >>a new XML page I would view the page Offline, click on the 
> direct edit 
> >>square (in version 6) for the section specified for the article's 
> >>headline and define the content (there are reasons why I'm 
> not using 
> >>custom properties instead).  On another page, I would do the same 
> >>process, but in the content area.  I would then describe a 
> reference 
> >>to the fist page, but want to display its exact headline in 
> my link's 
> >>anchor text.  Rather than typing it and risking a synchronization 
> >>issue (say, the headline gets updated by a different 
> writer), I would 
> >>click on the button that would allow me to reference other pages' 
> >>elements, and drop a reference to it.  The page would 
> appear to have 
> >>content in it at runtime.  The control code for the page 
> would have a 
> >>new <references/> node just under the <links/> node, and a ${ref0} 
> >>statement would be inserted into the content node.
> >>
> >>Sorry that was so long, but I know it is hard to paint the same 
> >>picture in other people's mind
> >>
> >>Thanks,
> >>
> >>Daniel Rhoden.
> >>
> >>Alexander Kandzior wrote:
> >>
> >>    
> >>
> >>>Daniel,
> >>>
> >>>Such a kind of gallery will IMHO be possible only for XML content 
> >>>items, not inside the WYSIWYG editor. This is because of the
> >>>      
> >>>
> >>structure
> >>    
> >>
> >>>of the HTML editable element used for the WYSIWYG.
> >>>
> >>>In this case the task is better described as "building a 
> XML content 
> >>>widget for content references".
> >>>
> >>>The code base of the galleries should be usable for this. 
> >>>      
> >>>
> >>The galleries
> >>    
> >>
> >>>already share most of the code as well as the JSP pages. 
> >>>      
> >>>
> >>Have a look at
> >>    
> >>
> >>>the package "org.opencms.workplace.galleries", there is an
> >>>      
> >>>
> >>abtract base
> >>    
> >>
> >>>class called "A_CmsGallery" from which all Galleries are
> >>>      
> >>>
> >>extended. It
> >>    
> >>
> >>>basically comes down to writing some 100-200 LOC, mainly to
> >>>      
> >>>
> >>generate the list view.
> >>    
> >>
> >>>I can give some more details about the other tasks required. 
> >>>      
> >>>
> >>Before I
> >>    
> >>
> >>>do please let me know if this is actually what you want
> >>>      
> >>>
> >>(Gallery like
> >>    
> >>
> >>>references for XML contents, not for the WYSIWYG editor).
> >>>
> >>>Best Regards,
> >>>Alex.
> >>>
> >>>Alexander Kandzior
> >>>Alkacon Software - The OpenCms Experts http://www.alkacon.com
> >>>
> >>>
> >>>
> >>> 
> >>>
> >>>      
> >>>
> >>>>-----Original Message-----
> >>>>From: opencms-dev-bounces at opencms.org 
> >>>>[mailto:opencms-dev-bounces at opencms.org] On Behalf Of 
> Daniel Rhoden
> >>>>Sent: Monday, February 14, 2005 5:47 PM
> >>>>To: The OpenCms mailing list
> >>>>Subject: [opencms-dev] Adding a new type of Gallery to the Editor
> >>>>
> >>>>I would like to add a new type of Gallery accessible from
> >>>>        
> >>>>
> >>the editor
> >>    
> >>
> >>>>to make references to other XML page' content elements.  It
> >>>>        
> >>>>
> >>should not
> >>    
> >>
> >>>>act like the HTML Gallery in which a COPY is made, but more
> >>>>        
> >>>>
> >>like the
> >>    
> >>
> >>>><cms:include page=""
> >>>>element=""> tag, in which a REFERENCE is made. I think
> >>>>        
> >>>>
> >>there are many
> >>    
> >>
> >>>>uses for such a feature (though the term 'gallery'
> >>>>may not be appropriate). 
> >>>>
> >>>>1. Can we post an outline for building custom "galleries"?
> >>>>2. Can we post ways to achieve a "Reference Gallery" 
> >>>>        
> >>>>
> >>mentioned above?
> >>    
> >>
> >>>>Thanks,
> >>>>
> >>>>--Daniel Rhoden
> >>>>
> >>>>
> >>>>_______________________________________________
> >>>>This mail is send to you from the opencms-dev mailing list
> >>>>        
> >>>>
> >>To change
> >>    
> >>
> >>>>your list options, or to unsubscribe from the list, please visit 
> >>>>http://mail.opencms.org/mailman/listinfo/opencms-dev
> >>>>
> >>>>
> >>>>   
> >>>>
> >>>>        
> >>>>
> >>>
> >>>_______________________________________________
> >>>This mail is send to you from the opencms-dev mailing list 
> To change 
> >>>your list options, or to unsubscribe from the list, please visit 
> >>>http://mail.opencms.org/mailman/listinfo/opencms-dev
> >>>
> >>> 
> >>>
> >>>      
> >>>
> >>_______________________________________________
> >>This mail is send to you from the opencms-dev mailing list 
> To change 
> >>your list options, or to unsubscribe from the list, please visit 
> >>http://mail.opencms.org/mailman/listinfo/opencms-dev
> >>
> >>
> >>    
> >>
> >
> >
> >
> >_______________________________________________
> >This mail is send to you from the opencms-dev mailing list To change 
> >your list options, or to unsubscribe from the list, please visit 
> >http://mail.opencms.org/mailman/listinfo/opencms-dev
> >
> >  
> >
> 
> 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list To 
> change your list options, or to unsubscribe from the list, 
> please visit http://mail.opencms.org/mailman/listinfo/opencms-dev
> 
> 


------------------------------

Message: 11
Date: Tue, 15 Feb 2005 12:08:16 -0800
From: "P.Hill & E.Goodall" <goodhill at xmission.com>
Subject: [opencms-dev] Install version compatibility
To: opencms-dev at opencms.org
Message-ID: <421256B0.0 at xmission.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

I'm just starting with OpenCMS. I installed after tripping over
encoding and making sure root on mysql had enough priviledges and
no password.

But now I get to the page
Attention: Your system uses components which have not been tested to 
work with OpenCms. It is possible that OpenCms will not run on your system.

JDK version:    1.4.2_05
Servlet engine:    Apache Tomcat/5.0.19

Is that not good enough?

I ask because after finishing all setup wizard pages I try
http://localhost:8080/opencms/opencms/system/login/
and get a 404
description The requested resource () is not available.

-Paul

-Paul


------------------------------

Message: 12
Date: Tue, 15 Feb 2005 22:32:40 -0000
From: "Jose Felix Hernandez" <josefelixh at herbert.sytes.net>
Subject: Re: [opencms-dev] Install version compatibility
To: "The OpenCms mailing list" <opencms-dev at opencms.org>
Message-ID: <005901c513ae$428a3c00$024ea8c0 at JOSE>
Content-Type: text/plain; format=flowed; charset="iso-8859-1";
	reply-type=response

Hi Paul,

I've got an installation of OpenCms 6a3 running on the environment you said. 
So you should have no problems.

Regards.

José F. Hernández


----- Original Message ----- 
From: "P.Hill & E.Goodall" <goodhill at xmission.com>
To: <opencms-dev at opencms.org>
Sent: Tuesday, February 15, 2005 8:08 PM
Subject: [opencms-dev] Install version compatibility


> I'm just starting with OpenCMS. I installed after tripping over
> encoding and making sure root on mysql had enough priviledges and
> no password.
>
> But now I get to the page
> Attention: Your system uses components which have not been tested to work 
> with OpenCms. It is possible that OpenCms will not run on your system.
>
> JDK version:    1.4.2_05
> Servlet engine:    Apache Tomcat/5.0.19
>
> Is that not good enough?
>
> I ask because after finishing all setup wizard pages I try
> http://localhost:8080/opencms/opencms/system/login/
> and get a 404
> description The requested resource () is not available.
>
> -Paul
>
> -Paul
>
>
>
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev 


------------------------------

Message: 13
Date: Tue, 15 Feb 2005 17:37:30 -0500
From: "Paul D. Bain" <paulbain at pobox.com>
Subject: Re: [opencms-dev] Install version compatibility - Tomcat
	5.0.19 & JDK 1.4.2
To: The OpenCms mailing list <opencms-dev at opencms.org>,
	opencms-dev at opencms.org
Message-ID: <6.1.1.1.0.20050215170247.065b0fb8 at pop.erols.com>
Content-Type: text/plain; charset="us-ascii"; format=flowed

At 03:08 PM 2/15/2005, P.Hill & E.Goodall wrote:

>I'm just starting with OpenCMS. I installed after tripping over
>encoding and making sure root on mysql had enough priviledges and
>no password.
>
>But now I get to the page
>Attention: Your system uses components which have not been tested to work 
>with OpenCms. It is possible that OpenCms will not run on your system.
>
>JDK version:    1.4.2_05
>Servlet engine:    Apache Tomcat/5.0.19
>
>Is that not good enough?
>
>I ask because after finishing all setup wizard pages, I try
>http://localhost:8080/opencms/opencms/system/login/
>and get a 404
>description The requested resource () is not available.

Paul,

         At least one other OpenCMS (OC) user has reported problems when 
using Tomcat (TC) 5.0.19 and the 1.4.2 JDK. He solved the problem by 
upgrading TC. See this email:

1.  From Claus Priisholm, 31 Jan. 2005, "Re: 5.0.1 and Java 1.4.2 - with TC 
4.1."

         On the other hand (OTOH), another user has reported success with 
TC 5.0.19, at least when his TC was linked to Apache using mod_jk (but I 
cannot understand why such linkage would make any difference). See this email:

2.  From Kaffamanesh, 30 Nov. 2004, "HowTo: Apache2-Tomcat5-OpenCMS 
Integrating on SLES9."

         A third user apparently had problems with the combination of JDK 
1.4.2 and TC 5.0.16 and recommended that OC users avoid the 1.4.2 JDK. See 
this email:

3.  From Mariano Barcia, 9 Feb. 2004, "Tomcat 5.0.16 usage."

         What conclusions can we draw from these users' varied experiences? 
Well, these experiences suggest that, if you are  having problems with an 
OC installation, sometimes you can solve your problems simply by changing 
your version of TC or the JDK. None of the users above indicated which JDK 
they were using, so it was probably Sun's JDK, rather than that of another 
JDK maker (e.g., IBM). BTW, you can still download the 1.4.1 JDK from Sun's 
website.

         It would not hurt to restart TC -- perhaps that will solve your 
problem.

         Finally, if you need more help, please remember that, when 
requesting help, you should supply the information below. You are more 
likely to get help if we do not have to prod you for information.

A. The most recent contents of these log files:

         1. opencms.log
         2. catalina.out -- if you are using Tomcat
         3. The MySQL log file -- on Debian Linux, it is <hostname>.log

B. Your environment and configuration:

-- OpenCMS (OC) version number, for example (e.g.), ver. 5 or ver. 6.
-- Servlet container and its version number, e.g., Tomcat (ver. 4 or 5.x), 
Jetty, or Resin.
-- RDBMS and its version number, e.g., MySQL (ver 3.2x or 4.x), Oracle, or 
MS SQL Server.
-- JDK, including both: (a) compiler and its version (e.g., Sun, Blackdown, 
IBM's Jikes, or GCJ), and (b) JVM and its version, e.g., Kaffe.
-- Operating system and its version, and, if using Linux, the distribution 
and its version number, too. For example:

                 -- Red Hat Enterprise Linux, ver. 3
                 -- SuSe Linux, ver. 9
                 -- Debian Woody or Debian Sarge ("Testing")

-- If you are using Linux, state whether you installed the software 
packages above using a package management system (e.g., RPM, dpkg, Stow, 
emerge, or "Apt for RPM") or manually instead.
-- The version of the JDBC driver is probably not necessary unless you have 
replaced the JDBC driver that the OC setup wizard installs during the OC 
installation.

Sincerely,
Paul Bain

------------------------------

Message: 14
Date: Tue, 15 Feb 2005 17:37:30 -0500
From: "Paul D. Bain" <paulbain at pobox.com>
Subject: Re: [opencms-dev] Install version compatibility - Tomcat
	5.0.19 & JDK 1.4.2
To: The OpenCms mailing list <opencms-dev at opencms.org>,
	opencms-dev at opencms.org
Message-ID: <6.1.1.1.0.20050215170247.065b0fb8 at pop.erols.com>
Content-Type: text/plain; charset="us-ascii"; format=flowed

At 03:08 PM 2/15/2005, P.Hill & E.Goodall wrote:

>I'm just starting with OpenCMS. I installed after tripping over
>encoding and making sure root on mysql had enough priviledges and
>no password.
>
>But now I get to the page
>Attention: Your system uses components which have not been tested to work 
>with OpenCms. It is possible that OpenCms will not run on your system.
>
>JDK version:    1.4.2_05
>Servlet engine:    Apache Tomcat/5.0.19
>
>Is that not good enough?
>
>I ask because after finishing all setup wizard pages, I try
>http://localhost:8080/opencms/opencms/system/login/
>and get a 404
>description The requested resource () is not available.

Paul,

         At least one other OpenCMS (OC) user has reported problems when 
using Tomcat (TC) 5.0.19 and the 1.4.2 JDK. He solved the problem by 
upgrading TC. See this email:

1.  From Claus Priisholm, 31 Jan. 2005, "Re: 5.0.1 and Java 1.4.2 - with TC 
4.1."

         On the other hand (OTOH), another user has reported success with 
TC 5.0.19, at least when his TC was linked to Apache using mod_jk (but I 
cannot understand why such linkage would make any difference). See this email:

2.  From Kaffamanesh, 30 Nov. 2004, "HowTo: Apache2-Tomcat5-OpenCMS 
Integrating on SLES9."

         A third user apparently had problems with the combination of JDK 
1.4.2 and TC 5.0.16 and recommended that OC users avoid the 1.4.2 JDK. See 
this email:

3.  From Mariano Barcia, 9 Feb. 2004, "Tomcat 5.0.16 usage."

         What conclusions can we draw from these users' varied experiences? 
Well, these experiences suggest that, if you are  having problems with an 
OC installation, sometimes you can solve your problems simply by changing 
your version of TC or the JDK. None of the users above indicated which JDK 
they were using, so it was probably Sun's JDK, rather than that of another 
JDK maker (e.g., IBM). BTW, you can still download the 1.4.1 JDK from Sun's 
website.

         It would not hurt to restart TC -- perhaps that will solve your 
problem.

         Finally, if you need more help, please remember that, when 
requesting help, you should supply the information below. You are more 
likely to get help if we do not have to prod you for information.

A. The most recent contents of these log files:

         1. opencms.log
         2. catalina.out -- if you are using Tomcat
         3. The MySQL log file -- on Debian Linux, it is <hostname>.log

B. Your environment and configuration:

-- OpenCMS (OC) version number, for example (e.g.), ver. 5 or ver. 6.
-- Servlet container and its version number, e.g., Tomcat (ver. 4 or 5.x), 
Jetty, or Resin.
-- RDBMS and its version number, e.g., MySQL (ver 3.2x or 4.x), Oracle, or 
MS SQL Server.
-- JDK, including both: (a) compiler and its version (e.g., Sun, Blackdown, 
IBM's Jikes, or GCJ), and (b) JVM and its version, e.g., Kaffe.
-- Operating system and its version, and, if using Linux, the distribution 
and its version number, too. For example:

                 -- Red Hat Enterprise Linux, ver. 3
                 -- SuSe Linux, ver. 9
                 -- Debian Woody or Debian Sarge ("Testing")

-- If you are using Linux, state whether you installed the software 
packages above using a package management system (e.g., RPM, dpkg, Stow, 
emerge, or "Apt for RPM") or manually instead.
-- The version of the JDBC driver is probably not necessary unless you have 
replaced the JDBC driver that the OC setup wizard installs during the OC 
installation.

Sincerely,
Paul Bain

------------------------------

Message: 15
Date: Wed, 16 Feb 2005 00:55:34 +0100
From: "Rainer Vehns" <vehns at codecentric.de>
Subject: [opencms-dev] Can an editor 
To: <opencms-dev at opencms.org>
Message-ID: <20050215235537.CDA0514001E5 at p15144345.pureserver.info>
Content-Type: text/plain;	charset="us-ascii"

Hello,

I have a question about the possibilities an editor has, if he edits the
contents of a page:

The editor edits a page with kind support of the WYSIWYG-editor, so he can
create HTML which is included at the position defined by the used template.
He can add HTML snippets from an HTML gallery, but can he also add elements
from a structured content? Perhaps he wants to add a teaser of an article.
This has to be done in the template of the page or the page should be an
JSO, or is there another way?

I am using OpenCMS 6.

Thank you,

Rainer




------------------------------

Message: 16
Date: Tue, 15 Feb 2005 16:58:00 -0800
From: "P.Hill & E.Goodall" <goodhill at xmission.com>
Subject: Re: [opencms-dev] Install version compatibility - Tomcat
	5.0.19 &	JDK 1.4.2
To: The OpenCms mailing list <opencms-dev at opencms.org>
Message-ID: <42129A98.6020102 at xmission.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

I guess I'm at a loss to understand which way to go.
What combination has this release been tested on?
I thought I'd try Tomcat 5.0.30 the latest (non-beta)
release.  Only because, it is the furthest from being
fully current.

By the way, should there be NOTHING in the datatables
once I have run the installation wizard?

If I knew what to look for I could check around to
see how the install did.

FYI, plenty of restarts tomcat involved, so it's not that.

-Paul


JDK version:       JDK 1.4.2_05
Servlet engine:    Apache Tomcat/5.0.19
Database           MySQL 4.0.18
OS                 Windows X Service Pack 2
[...]

 >         1. opencms.log

Nothing suspicious here:
[15.02.2005 16:03:23] <opencms_init> . Startup time         : Tue Feb 15 
16:03:23 PST 2005
[15.02.2005 16:03:23] <opencms_init> . Servlet container    : Apache 
Tomcat/5.0.19
[15.02.2005 16:03:23] <opencms_init> . OpenCms version      : 5.0.1 Kaitain
[15.02.2005 16:03:23] <opencms_init> . OpenCms base path    : 
C:\dev\tools\Tomcat 5.0\webapps\opencms\WEB-INF\
[15.02.2005 16:03:23] <opencms_init> . OpenCms property file: 
C:\dev\tools\Tomcat 5.0\webapps\opencms\WEB-INF\config/opencms.properties
[15.02.2005 16:03:23] <opencms_init> . OpenCms logfile      : 
C:\dev\tools\Tomcat 5.0\webapps\opencms\WEB-INF\logs/opencms.log
[15.02.2005 16:03:24] <opencms_init> . OpenCms encoding     : ISO-8859-1
[15.02.2005 16:03:24] <opencms_init> . System file.encoding : ISO-8859-1
[15.02.2005 16:03:24] <opencms_init> . Encoding set to      : ISO-8859-1
[15.02.2005 16:03:27] <opencms_init> . Ethernet address used: 
b4:9f:62:d6:14:6d
[15.02.2005 16:03:27] <opencms_init> . Java VM in use       : Java 
HotSpot(TM) Client VM 1.4.2_05-b04 mixed mode Sun Microsystems Inc.
[15.02.2005 16:03:27] <opencms_init> . Operating sytem      : Windows XP 
5.1 x86
[15.02.2005 16:03:28] <opencms_init> . Resource broker used : mysql
[15.02.2005 16:03:28] <opencms_init> . Resource broker class: 
com.opencms.file.mySql.CmsResourceBroker
[15.02.2005 16:03:29] <opencms_init> . Resource broker init : phase 1 ok 
- starting
[15.02.2005 16:03:29] <opencms_init> . Resource broker init : phase 2 ok 
- initializing database
[15.02.2005 16:03:29] <opencms_init> . Resource broker init : phase 3 ok 
- creating db access module
[15.02.2005 16:03:30] <opencms_init> . Database access init : ok
[15.02.2005 16:03:30] <opencms_init> . Database offline pool: 
jdbc:opencmspool:mysql
[15.02.2005 16:03:30] <opencms_init> . Database online pool : 
jdbc:opencmspool:mysqlonline
[15.02.2005 16:03:30] <opencms_init> . Database backup pool : 
jdbc:opencmspool:mysqlbackup
[15.02.2005 16:03:30] <opencms_init> . Digest configured    : MD5
[15.02.2005 16:03:30] <opencms_init> . Digest file encoding : UTF-8
[15.02.2005 16:03:30] <opencms_init> . Using digest encoding: MD5 from 
SUN version 1.42
[15.02.2005 16:03:32] <opencms_init> . Initializing registry: starting
[15.02.2005 16:03:33] <opencms_init> . Initializing registry: finished
[15.02.2005 16:03:33] <opencms_init> . Resource broker init : phase 4 ok 
- finished
[15.02.2005 16:03:33] <opencms_init> . Found mime types     : 127 entrys
[15.02.2005 16:03:33] <opencms_init> . Legacy HTTP streaming: disabled
[15.02.2005 16:03:33] <opencms_init> . OpenCms scheduler    : enabled
[15.02.2005 16:03:33] <opencms_init> . JSP errorPage commit : enabled
[15.02.2005 16:03:33] <opencms_init> . Old locale support   : disabled
[15.02.2005 16:03:33] <opencms_init> . Old webapp URL       : 
http://localhost:8080/opencms/opencms/
[15.02.2005 16:03:33] <opencms_init> . Clear import property: 1 - module
[15.02.2005 16:03:33] <opencms_init> . Remove properties    : enabled
[15.02.2005 16:03:33] <opencms_init> . Old context support  : disabled
[15.02.2005 16:03:33] <opencms_init> . Immutable resource   : 1 - 
/default/vfs/
[15.02.2005 16:03:33] <opencms_init> . Immutable resource   : 2 - 
/default/vfs/system/
[15.02.2005 16:03:33] <opencms_init> . Immutable resource   : 3 - 
/default/vfs/system/bodies/
[15.02.2005 16:03:33] <opencms_init> . Immutable resource   : 4 - 
/default/vfs/system/galleries/
[15.02.2005 16:03:33] <opencms_init> . Immutable resource   : 5 - 
/default/vfs/system/galleries/download/
[15.02.2005 16:03:33] <opencms_init> . Immutable resource   : 6 - 
/default/vfs/system/galleries/externallinks/
[15.02.2005 16:03:33] <opencms_init> . Immutable resource   : 7 - 
/default/vfs/system/galleries/htmlgalleries/
[15.02.2005 16:03:33] <opencms_init> . Immutable resource   : 8 - 
/default/vfs/system/galleries/pics/
[15.02.2005 16:03:33] <opencms_init> . Immutable resource   : 9 - 
/default/vfs/system/login/
[15.02.2005 16:03:33] <opencms_init> . Immutable resource   : 10 - 
/default/vfs/system/modules/
[15.02.2005 16:03:33] <opencms_init> . Immutable resource   : 11 - 
/default/vfs/system/shared/
[15.02.2005 16:03:33] <opencms_init> . Immutable resource   : 12 - 
/default/vfs/system/workplace/
[15.02.2005 16:03:33] <opencms_init> . Immutable resource   : 13 - 
/default/vfs/system/workplace/action/
[15.02.2005 16:03:33] <opencms_init> . Immutable resource   : 14 - 
/default/vfs/system/workplace/administration/
[15.02.2005 16:03:33] <opencms_init> . Immutable resource   : 15 - 
/default/vfs/system/workplace/help/
[15.02.2005 16:03:33] <opencms_init> . Immutable resource   : 16 - 
/default/vfs/system/workplace/locales/
[15.02.2005 16:03:33] <opencms_init> . Immutable resource   : 17 - 
/default/vfs/system/workplace/resources/
[15.02.2005 16:03:33] <opencms_init> . Immutable resource   : 18 - 
/default/vfs/system/workplace/restypes/
[15.02.2005 16:03:33] <opencms_init> . Immutable resource   : 19 - 
/default/vfs/system/workplace/scripts/
[15.02.2005 16:03:33] <opencms_init> . Immutable resource   : 20 - 
/default/vfs/system/workplace/templates/
[15.02.2005 16:03:33] <opencms_init> . Immutable resources  : enabled
[15.02.2005 16:03:33] <opencms_init> . Directory translation: disabled
[15.02.2005 16:03:33] <opencms_init> . Resource translation : 0 rules 
initialized
[15.02.2005 16:03:33] <opencms_init> . File max. upload size: unlimited
[15.02.2005 16:03:33] <opencms_init> . Filename translation : enabled
[15.02.2005 16:03:33] <opencms_init> . Resource translation : 4 rules 
initialized
[15.02.2005 16:03:33] <opencms_init> . Default file         : 1 - index.html
[15.02.2005 16:03:33] <opencms_init> . Default file         : 2 - index.jsp
[15.02.2005 16:03:33] <opencms_init> . Flex cache init      : starting
[15.02.2005 16:03:33] <opencms_init> . Flex cache init      : finished
[15.02.2005 16:03:33] <opencms_init> . Launcher init        : starting
[15.02.2005 16:03:33] <opencms_init> . Launcher package     : 
com.opencms.launcher
[15.02.2005 16:03:33] <opencms_init> . Launcher loaded      : 
com.opencms.flex.CmsXmlTemplateLoader with id 3
[15.02.2005 16:03:33] <opencms_init> . Launcher loaded      : 
com.opencms.flex.CmsDumpLoader with id 1
[15.02.2005 16:03:33] <opencms_init> . Launcher loaded      : 
com.opencms.launcher.CmsLinkLauncher with id 4
[15.02.2005 16:03:33] <opencms_init> . Launcher loaded      : 
com.opencms.flex.CmsJspLoader with id 6
[15.02.2005 16:03:33] <opencms_init> . Launcher init        : finished
[15.02.2005 16:03:33] <opencms_init> . Password validation  : 
com.opencms.util.PasswordValidtation
[15.02.2005 16:03:33] <opencms_init> . User permission init : Default 
access flags are 383
[15.02.2005 16:03:33] <opencms_init> . User permission init : Default 
language is 'en'
[15.02.2005 16:03:33] <opencms_init> . Element cache        : enabled
[15.02.2005 16:03:33] <opencms_init> . Link rules init      : starting
[15.02.2005 16:03:34] <opencms_init> . Generating rulesets  : ok
[15.02.2005 16:03:34] <opencms_init> . Link rules init      : finished
[15.02.2005 16:03:34] <opencms_init> . Session storage      : initialized
[15.02.2005 16:03:34] <opencms_init> . Compatibility check  : JSDK 2 
detected.
[15.02.2005 16:03:34] <opencms_init> . Startup class init   : starting
[15.02.2005 16:03:34] <opencms_init> . OpenCms context      : 
/opencms/opencms/
[15.02.2005 16:03:34] <opencms_init> . JSP export URL       : using 
value from first request - http://localhost:8080/opencms/opencms
[15.02.2005 16:03:34] <opencms_init> . Startup class init   : finished
[15.02.2005 16:03:34] <opencms_init> . 
...............................................................
[15.02.2005 16:03:34] <opencms_init> .


 >         2. catalina.out -- if you are using Tomcat

actually, \tomcat 5\logs\stdout.log if that is what you meant.

INFO: Server startup in 23825 ms


Starting OpenCms, version 5.0.1 Kaitain

Copyright (c) 2002-2004 Alkacon Software
Copyright (c) 2000-2002 The OpenCms Group
OpenCms comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to
redistribute it under certain conditions.
Please see the GNU Lesser General Public Licence for
further details.

 >         3. The MySQL log file -- on Debian Linux, it is <hostname>.log


Hmm, I'm stumped on this one on windows, but the
mysql\data\<HOSTNAME>.err contains nothing but startup and shutdown 
notes (no errors).


 >
 > B. Your environment and configuration:
 >
see above






------------------------------

Message: 17
Date: Tue, 15 Feb 2005 22:03:55 -0300
From: Patricio Keilty <opencms at colaborativa.net>
Subject: [opencms-dev] Static export: relativelinks_in_export + vfs
	link
To: The OpenCms mailing list <opencms-dev at opencms.org>
Message-ID: <42129BFB.8050001 at colaborativa.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi all,
i´m trying to use relative links in static exported pages, which use vfs 
links to jsp pages, let me explain it with an example:

- i have 2 pages: /test1.html and /test2.html
- /test1.html is a vfs link to a jsp page : /add-ons/elements/test1.html
- /add-ons/elements/test1.html does a redirect to /test2.html by means 
of a <cms:link/>
- /test2.html is a regular html page

graphically......


/test1.html  ------ vfs link -------> /add-ons/elements/test1.html  ( 
redirects to /test2.html via window.location = 
"<cms:link>/test2.html</cms:link>"; )
                                                                               
|
                                                                               
|
/test2.html                               <<----------------------

First tried NOT using relative links as relevant properties in 
opencms.properties show:
...
staticexport.path=export/
...
url_prefix_export=/${WEB_APP_NAME}/export
....
relativelinks_in_export=false

So far, it worked, pointing my browser to 
http://localhost/opencms/export/test1.html redirects me to 
http://localhost/opencms/export/test2.html.
This is export/test1.html resulting code:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>Test</TITLE>
</HEAD>

<BODY>
<SCRIPT LANGUAGE="JavaScript">
<!--
window.location = "/opencms/export/test2.html";
//-->
</SCRIPT>
</BODY>
</HTML>

Then tried using relative links as for:
...
staticexport.path=export/
...
url_prefix_export=
....
relativelinks_in_export=true

This time accessing http://localhost/opencms/export/test1.html will 
produce a Error 404 page not found; as export/test1.html code is now:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>Test</TITLE>
</HEAD>

<BODY>
<SCRIPT LANGUAGE="JavaScript">
<!--
window.location = "../../test2.html";
//-->
</SCRIPT>
</BODY>
</HTML>

A jsp page, /test3.html which has exactly the same code as 
/add-ons/elements/test1.html will produce the following code, which works:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>Test</TITLE>
</HEAD>

<BODY>
<SCRIPT LANGUAGE="JavaScript">
<!--
window.location = "test2.html";
//-->
</SCRIPT>
</BODY>
</HTML>

The problem seems to be that relative links replacement is done on the 
actual resource, the jsp page under /add-ons/elements, and not on the 
vfs link page ( /test1.html ). Is there any way to achieve this? Can´t 
afford to move jsp pages where regular html pages, that´s why i´m using 
vfs links in first place.

Any hints ?
( Using ver. 5.0.1 )

Regards

-- 
Patricio Keilty
Colaborativa.net


------------------------------

Message: 18
Date: Tue, 15 Feb 2005 22:07:39 -0500
From: "Paul D. Bain" <paulbain at pobox.com>
Subject: Re: [opencms-dev] Install version - Tomcat 5.0.19 & JDK 1.4.2
To: OpenCms list <opencms-dev at opencms.org>
Message-ID: <6.1.1.1.0.20050215213405.064638a0 at pop.erols.com>
Content-Type: text/plain; charset="us-ascii"; format=flowed

At 07:58 PM 2/15/2005, P.Hill & E.Goodall wrote:

>I guess I'm at a loss to understand which way to go.
>What combination has this release been tested on?

Paul,

         I have installed OC several times on Tomcat (TC) 4.x, MySQL ver. 
3.23, and Sun's JDK 1.4.1, usually on Debian Linux ("Woody") but also on 
Red Hat Enterprise Linux. Many users report success with a similar environment.

>I thought I'd try Tomcat 5.0.30 the latest (non-beta)
>release.

         You might also try TC ver. 4.x -- it works for me and others, too.

>   Only because, it is the furthest from being
>fully current.
>
>By the way, should there be NOTHING in the datatables
>once I have run the installation wizard?
>
>If I knew what to look for I could check around to
>see how the install did.
>
>FYI, plenty of restarts tomcat involved, so it's not that.
>
>-Paul
>
>
>JDK version:       JDK 1.4.2_05
>Servlet engine:    Apache Tomcat/5.0.19
>Database           MySQL 4.0.18

         OK, _that_ could be the problem -- your version of MySQL. I 
suggest that you try version 3.23. Why? See this email:

1.  From Lynn Guy, 9 Feb. 2005, "Error during installation."

         In that email, Lynn Guy suggests that she was not able to install 
OC ver. 5.0.1 using MySQL 4.x and had to revert to version 3.23. At any 
rate, that is how I interpreted her email, which was not entirely clear.

         If that does not work, then try reverting to TC ver. 4.x or JDK 
ver. 1.4.1. FWIW, Olli Aro reports that OC ver. 5.x does not work with Java 
5, or JDK 1.5. See his email from 19 Jan. 2005.

Sincerely,
Paul Bain

------------------------------

Message: 19
Date: Tue, 15 Feb 2005 22:39:30 -0800 (PST)
From: zemene adgo <zemenea at yahoo.com>
Subject: [opencms-dev] Localization of online help
To: opencms-dev at opencms.org
Message-ID: <20050216063930.77266.qmail at web80908.mail.scd.yahoo.com>
Content-Type: text/plain; charset="us-ascii"


Hi everybody,

 

We need help with the localization of the help system. Currently, we are trying to translate the online help of OpenCMS to Amharic language, which has its own character sets (the character encoding we use is UTF-8). But when we change the language to Amharic and click on online help button, what we get are question marks "??". What shall we do?

 

This is part of a project that localizes OpenCMS to Ethiopian culture and languages. We have already translated the workplace of OpenCMS to Amharic language and localized the date and time to our local date and time system. And these work properly.

 

Any ideas will be really helpful for us.

 

Thank you very much.

 

VarsityNet project group


		
---------------------------------
Do you Yahoo!?
 Yahoo! Search presents - Jib Jab's 'Second Term'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opencms.org/pipermail/opencms-dev/attachments/20050215/616d4c1f/attachment-0001.html

------------------------------

Message: 20
Date: Wed, 16 Feb 2005 09:25:21 +0100
From: Claus Priisholm <cpr at codedroids.com>
Subject: Re: [opencms-dev] Install version - Tomcat 5.0.19 & JDK 1.4.2
To: The OpenCms mailing list <opencms-dev at opencms.org>
Message-ID: <a11d4e9d8bb2cad7cfe3153d390c2291 at codedroids.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed

Just clarify my experience with Tomcat 5.0.19:

My problem was that < and > got escaped when editing the pages 
subsequently turning the contents into escaped HTML so the user would 
see what seemed to be the raw HTML codes in the WYSIWYG-editor. There 
were no problems during the installation or the like, just during 
editing.
This happened with OpenCms 5.0.1 on Mac OS X 10.3.6, using Sun JDK 
1.4.2, Tomcat 5.0.19 and MySQL 4.0.18. Upgrading the Tomcat to 5.0.25 
solved the problem.

Tomcat 5.0.19 and JDK 1.4.2_06_b03 is not a problem per say - I'm using 
that combo on SuSE 9.1, and with MySQL 4.0.18 (JDBC connector 3.0.15). 
Apart from a particular problem connecting to the database (for some 
reason you have to state 127.0.0.1 rather than localhost in the 
connection string) installation worked fine. Generally I'm using MySQL 
4.0.x so that is certainly a valid choice.
I think the problem when it comes to MySQL is with 4.1.x which may 
actually be related to the Connector/J version, i.e. 3.0.x vs 3.1.x but 
I'm not using MySQL 4.1 so this is just hearsay).

Claus

On 16/2-2005, at 4.07, Paul D. Bain wrote:

> At 07:58 PM 2/15/2005, P.Hill & E.Goodall wrote:
>
>> I guess I'm at a loss to understand which way to go.
>> What combination has this release been tested on?
>
> Paul,
>
>         I have installed OC several times on Tomcat (TC) 4.x, MySQL 
> ver. 3.23, and Sun's JDK 1.4.1, usually on Debian Linux ("Woody") but 
> also on Red Hat Enterprise Linux. Many users report success with a 
> similar environment.
>
>> I thought I'd try Tomcat 5.0.30 the latest (non-beta)
>> release.
>
>         You might also try TC ver. 4.x -- it works for me and others, 
> too.
>
>>   Only because, it is the furthest from being
>> fully current.
>>
>> By the way, should there be NOTHING in the datatables
>> once I have run the installation wizard?
>>
>> If I knew what to look for I could check around to
>> see how the install did.
>>
>> FYI, plenty of restarts tomcat involved, so it's not that.
>>
>> -Paul
>>
>>
>> JDK version:       JDK 1.4.2_05
>> Servlet engine:    Apache Tomcat/5.0.19
>> Database           MySQL 4.0.18
>
>         OK, _that_ could be the problem -- your version of MySQL. I 
> suggest that you try version 3.23. Why? See this email:
>
> 1.  From Lynn Guy, 9 Feb. 2005, "Error during installation."
>
>         In that email, Lynn Guy suggests that she was not able to 
> install OC ver. 5.0.1 using MySQL 4.x and had to revert to version 
> 3.23. At any rate, that is how I interpreted her email, which was not 
> entirely clear.
>
>         If that does not work, then try reverting to TC ver. 4.x or 
> JDK ver. 1.4.1. FWIW, Olli Aro reports that OC ver. 5.x does not work 
> with Java 5, or JDK 1.5. See his email from 19 Jan. 2005.
>
> Sincerely,
> Paul Bain
>
>
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please 
> visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
>
>
--
Claus Priisholm, CodeDroids ApS
+45 48 22 46 46
email: cpr (you-know-what) interlet.dk - cpr (you-know-what) 
codedroids.com
skype: claus_priisholm
http://www.interlet.dk - http://www.codedroids.com


------------------------------

Message: 21
Date: Wed, 16 Feb 2005 09:56:57 +0100
From: Xavier Ottolini <xavier.ottolini at adelis.com>
Subject: [opencms-dev] Modules for OpenCms 6 in CVS ?
To: The OpenCms mailing list <opencms-dev at opencms.org>
Message-ID: <42130AD9.90407 at adelis.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hello All,

I have seen a directory '/opencms/modules/' in the CVS repository. I 
tried to check it out. I got only a XML file.
- Are those modules availlable with a GPL license ?
- What is the exact features of those modules?
- Is it possible to get a trial version ?

Regards,

-- 
Xavier Ottolini
Développeur multimédia

Adelis
37, rue d'Engwiller
67350 La Walck
Téléphone : +33 (0) 3 88 72 29 10
Télécopie : +33 (0) 3 88 72 29 19
http://www.adelis.com



------------------------------

Message: 22
Date: Wed, 16 Feb 2005 10:35:51 +0100
From: "Alexander Kandzior" <alex at opencms.org>
Subject: RE: [opencms-dev] Modules for OpenCms 6 in CVS ?
To: <xavier.ottolini at adelis.com>,	"'The OpenCms mailing list'"
	<opencms-dev at opencms.org>
Message-ID: <mailman.2.1108551601.24507.opencms-dev at opencms.org>
Content-Type: text/plain;	charset="iso-8859-1"

IIRC the direcorty "modules" is a leftover from the 4.x version. CVS keeps
directories even if all files have been removed. 

All modules from opencms.org are either GPL or LGPL, there's no "trial"
version for these modules. Some companies (including ours) have developed
modules not available as open source, but these where never on opencms.org.

The current modules are located in the webapp\WEB-INF\packages\modules
folder, mainly because they can then be directly imported with the setup
wizard.

Actually, we are in the process of re-organizing the modules on opencms.org
for the upcoming beta 1 release of 6.0. The structure should be much cleaner
in the future, and we hope to resolve the "to many directory levels" issue
that surfaced in Windows installations. 

Best Regards,
Alex.

Alexander Kandzior
Alkacon Software - The OpenCms Experts
http://www.alkacon.com

 

> -----Original Message-----
> From: opencms-dev-bounces at opencms.org 
> [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Xavier Ottolini
> Sent: Wednesday, February 16, 2005 9:57 AM
> To: The OpenCms mailing list
> Subject: [opencms-dev] Modules for OpenCms 6 in CVS ?
> 
> Hello All,
> 
> I have seen a directory '/opencms/modules/' in the CVS 
> repository. I tried to check it out. I got only a XML file.
> - Are those modules availlable with a GPL license ?
> - What is the exact features of those modules?
> - Is it possible to get a trial version ?
> 
> Regards,
> 
> --
> Xavier Ottolini
> Développeur multimédia
> 
> Adelis
> 37, rue d'Engwiller
> 67350 La Walck
> Téléphone : +33 (0) 3 88 72 29 10
> Télécopie : +33 (0) 3 88 72 29 19
> http://www.adelis.com
> 
> 
> 
> 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list To 
> change your list options, or to unsubscribe from the list, 
> please visit http://mail.opencms.org/mailman/listinfo/opencms-dev
> 
> 


------------------------------

Message: 23
Date: Wed, 16 Feb 2005 11:54:34 +0200
From: "Marios Moutzouris" <m.moutzouris at neuron.gr>
Subject: [opencms-dev] Insanity? Creating a new project
To: "'The OpenCms mailing list'" <opencms-dev at opencms.org>
Message-ID: <mailman.3.1108551601.24507.opencms-dev at opencms.org>
Content-Type: text/plain;	charset="us-ascii"

Just trying to work out whether I'm going insane or not;-)

A client of ours is trying to create a new project ( the top pane, switches
to Online Project), and where they select The folders to include in this
project, they get the folders list without the folder that got created ( I
assume just the folders in the Online project).

Is something weird going on? Whats the standard procedure?

Thanks
Marios


------------------------------

Message: 24
Date: Wed, 16 Feb 2005 11:12:07 +0100
From: Thomas Maerz <thomasmaerz at gmx.de>
Subject: Re: [opencms-dev] Insanity? Creating a new project
To: The OpenCms mailing list <opencms-dev at opencms.org>
Message-ID: <84acq46cg8.fsf at gmx.de>
Content-Type: text/plain; charset=us-ascii

"Marios Moutzouris" <m.moutzouris at neuron.gr> writes:

> A client of ours is trying to create a new project ( the top pane, switches
> to Online Project), and where they select The folders to include in this
> project, they get the folders list without the folder that got created ( I
> assume just the folders in the Online project).
>
> Is something weird going on? Whats the standard procedure?

Publish "the folder that got created", then create the project.

I don't know whether this is a bug or a feature.


Regards,
Thomas


------------------------------

_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://mail.opencms.org/mailman/listinfo/opencms-dev

End of opencms-dev Digest, Vol 28, Issue 3
******************************************






More information about the opencms-dev mailing list