[opencms-dev] Re: opencms-dev Digest, Vol 51, Issue 2

Rederic Cedeno rederic_b_cedeno at yahoo.com
Tue Jul 26 12:18:49 CEST 2005


Hello guys,
 
I am new for this OpenCms Application. would like to ask if there is latest discussion about porting OpenCms to MS SQL?
 
About security issues for OpenCms 5.0 server installation is there possible to insert from the MS SQL Database instead of MySql?

opencms-dev-request at opencms.org wrote:
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. Setting default properties for xml-contents via xsd-schemas
(Corsin Camichel)
2. Re: opencms-dev Digest, Vol 51, Issue 1 (lgauthier at opnworks.com)
3. RE: Adding new classes (Francisco Lopera)
4. Re: Adding new classes (Joachim Arrasz)
5. Re: HowTo Access the CmsObject? (Anatol)
6. Re: Scheduling problem (Anatol)
7. RE: HowTo Access the CmsObject? (Borja Marcos Suarez)
8. Re: HowTo Access the CmsObject? (Anatol)
9. RE: Adding new classes (Francisco Lopera)
10. Re: HowTo Access the CmsObject? (Joe Desbonnet)
11. Multi-Language Question (Anatol)
12. reading xmlcontent (Yusuf K?r)
13. Re: Multi-Language Question (Martin Kuba)
14. Restrict access to pages problem (Webusers, groups and Guest
User) (monguz)
15. Re: 6.0.0 installation problem with SLES9 (Claus Priisholm)
16. Creating Sibbling to a Folder? (Anatol)
17. Re: Restrict access to pages problem (Webusers, groups and
Guest User) (Stefan Uldum Grinsted)
18. RE: Creating Sibbling to a Folder? (Alexander Kandzior)
19. Re: Creating Sibbling to a Folder? (Daniel Wiesner)
20. Re: two questions about cms:contentload (Claus Priisholm)
21. RE: Creating Sibbling to a Folder? (Alexander Kandzior)
22. Re: Database Access (Alexander Wallace)
23. Re: members only module (Alexander Wallace)
24. Re: Creating Sibbling to a Folder? (Anatol)
25. Re: error finding resource (Anatol)
26. Re: Creating Sibbling to a Folder? (Thomas Maerz)
27. System filure: "org.opencms.main.CmsIllegalArgument"
(Robert Kiendl)
28. Re: System filure: "org.opencms.main.CmsIllegalArgument"
(Thomas Maerz)
29. Re: CmsTemplateBean once again! (Timothy Reaves)
30. Error reading all resources on the path "/" that have
property "exportname". (Tristan Collins)
31. OCSETUP help (Ian_Symonds at dialog.com.au)
32. Re: CmsTemplateBean once again! (GV)
33. Best tip to implement multilanguaje in opencms 5
(Francisco Lopera)
34. Acces to module (Carol Mancho Lagunas)
35. Re: Acces to module (Anatol)
36. Question about login() mechanism (Anatol)


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

Message: 1
Date: Mon, 25 Jul 2005 12:00:14 +0200
From: Corsin Camichel 
Subject: [opencms-dev] Setting default properties for xml-contents via
xsd-schemas
To: opencms-dev at opencms.org
Message-ID: <8068754105072503001672e489 at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Hi *

I need to set two properties to each xml-content that is created newly
by the user. My idea was to set these properties via the xsd-schema,
something like

but with similar to


Has anybody an idea how to do that? Setting the properties on the
schema itself does not work and I can not set the properties on a
higher folder.

thanks in advance
Corsin
-- 
Corsin Camichel
cocaman at gmail.com

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

Message: 2
Date: 25 Jul 2005 10:06:42 -0000
From: lgauthier at opnworks.com
Subject: [opencms-dev] Re: opencms-dev Digest, Vol 51, Issue 1
To: opencms-dev at opencms.org
Message-ID: <20050725100642.42224.qmail at london.clusterspan.net>
Content-Type: text/plain; charset=utf-8

Je suis absent jusqu'au 5 aout 2005. Pour toute urgence contacter: direction at opnworks.com

Merci,

Laurent Gauthier

I am absent until August 5, 2005. For any emergency, contact management at opnworks.com.

Thank you,

Laurent Gauthier



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

Message: 3
Date: Mon, 25 Jul 2005 12:03:29 +0200
From: "Francisco Lopera" 
Subject: RE: [opencms-dev] Adding new classes
To: "'The OpenCms mailing list'" 
Message-ID: <20050725100404.D348587E7 at smtp-02.servidoresdns.net>
Content-Type: text/plain; charset="us-ascii"

I need integrate the calendar (opencms5) into opencms 6, but normal
procedure (import modules) import a wrong calendar don't work

I want put .class files (binary) into classes directory. I have create the
folders manually and I put the class modules (calendar) inside:
CalendarBackoffice.class
CalendarContentDefinition.class
CalendarTemplate.class

They are binary files. I need put the java source code into a directory to
compile java class program?



-----Mensaje original-----
De: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org]
En nombre de Michael Moossen
Enviado el: lunes, 25 de julio de 2005 11:39
Para: opencms-dev at opencms.org
Asunto: Re: [opencms-dev] Adding new classes

Hi,

in version 6.0.0 final release, if you create a new module NO
/system/module// is automatically created, so you have to
create it, and also to add it to the module resources "by hand". 
The same for the /system/module//lib/ and
/system/module//classes/ folders, they are not
automatically
created. So, if you need them, you will have to create them and to set the
proper module export points to:
/system/module//lib/ -> WEB-INF/lib/
/system/module//classes/ -> WEB-INF/classes/

-- 
Regards
Michael Moossen

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



Quoting Anatol :

> Hi!
> 
> If you 've create an own module, you can add your own classes in the 
> coresponding folder /system/module//class. If you use 
> an existing module, it is near the same. If you want add classes to the 
> workplace there exits the workplace folder you can add more classes.
> 
> Hope it helps ...
> Greetings
> Anatol
> 
> Francisco Lopera schrieb:
> 
> > 
> >
> > 
> >
> > ------------------------------------------------------------------------
> >
> > *De:* Francisco Lopera [mailto:flopera at encamina.com]
> > *Enviado el:* lunes, 25 de julio de 2005 8:10
> > *Para:* 'opencms-dev at opencms.org'
> > *Asunto:* Adding new classes
> >
> > 
> >
> > How can I add new classes to Opencms? I need copy physically in tomcat 
> > folder? I need a mean of calendar for opencms 6. If I want create a 
> > new calendar, where can I place the files?
> >
> > There is a method to make work the calendar module in opencms 6?
> >
> > Thankyou all.
> >
> >------------------------------------------------------------------------
> >
> >
> >
> >_______________________________________________
> >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 message was sent using IMP, the Internet Messaging Program.



_______________________________________________
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: 4
Date: Mon, 25 Jul 2005 12:24:28 +0200
From: Joachim Arrasz 
Subject: Re: [opencms-dev] Adding new classes
To: The OpenCms mailing list 
Message-ID: <42E4BDDC.4020208 at arrasz.de>
Content-Type: text/plain; charset=UTF-8

Hi,


> They are binary files. I need put the java source code into a directory to
> compile java class program?

no, you have to put the .class files ... but .. the calendar for
opencms5 doesn´t work with opencms6 ... so you have to refactor lot of
the stuff ... and have to create some parts completely new ... e.G the
Content-Definition parts ...

Regards

Achim

-- 
Dipl. Inf.(FH) Joachim Arrasz - joachim.arrasz at synyx.de
www.synyx.de Opensource Solutions - OpenCMS Solution Provider
irc.synyx.de/6667 #opencms http://irc.synyx.de
http://www.opencms-forum.de
76135 Karlsruhe

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

Message: 5
Date: Mon, 25 Jul 2005 12:29:52 +0200
From: Anatol 
Subject: Re: [opencms-dev] HowTo Access the CmsObject?
To: The OpenCms mailing list 
Message-ID: <42E4BF20.3050808 at recordcaster.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi Borja Marcos, hi all!

Borja Marcos Suarez schrieb:

>you can get it with:
>
>>
>CmsJspActionElement cms= new CmsJspActionElement
>(pageContext,request,response);
>
>CmsObject object= cms.getCmsObject();
>
>%>
> 
>
Yes, I remember having seen this two years ago in OpenCms 5. But hmm .. 
I've looked at the API 6.0 Documentation:
/opencms/opencms/alkacon-documentation/javadoc/core/org/opencms/jsp/CmsJspActionElement.html

... and can't find any method getCmsObject(). Is it possible, that this 
function was undocumented or removed?

Greetings
Anatol


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

Message: 6
Date: Mon, 25 Jul 2005 12:36:06 +0200
From: Anatol 
Subject: Re: [opencms-dev] Scheduling problem
To: The OpenCms mailing list 
Message-ID: <42E4C096.1080902 at recordcaster.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi,

Manish.Bansal at xansa.com schrieb:

>Hi All,
> I am very new with OpenCms. I have downloaded OpenCms 6.0. I am using it
>with Tomcat and MySQL. I have to create a JSP page and want to change it
>after every minutes. Can anyone help me in this regards.
> 
>
In the admin is a scheduler-interface. It works like unix cron. You can 
assign a java-class to every job. I didn't used it before, but had a 
short look in it and I assume it could help you.

Greetings
Anatol

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

Message: 7
Date: Mon, 25 Jul 2005 12:35:42 +0200
From: "Borja Marcos Suarez" 
Subject: RE: [opencms-dev] HowTo Access the CmsObject?
To: 
Message-ID:
<09700B613C4DD84FA9F2FEA5218828197642A5 at ayalga.fundacionctic.org>
Content-Type: text/plain; charset="us-ascii"

Hi Anatol,

CmsJspActionElement.getCmsObject exists, I'm using it without problems.

You can look for it in the openCMS source code. I also generated the
javadocs from the source code.

I don't know why you can not find this method, but exists for sure :)

Hope this helps you,

best regards, 

Borja



-----Mensaje original-----
De: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] En nombre de Anatol
Enviado el: lunes, 25 de julio de 2005 12:30
Para: The OpenCms mailing list
Asunto: Re: [opencms-dev] HowTo Access the CmsObject?

Hi Borja Marcos, hi all!

Borja Marcos Suarez schrieb:

>you can get it with:
>
>>
>CmsJspActionElement cms= new CmsJspActionElement
>(pageContext,request,response);
>
>CmsObject object= cms.getCmsObject();
>
>%>
> 
>
Yes, I remember having seen this two years ago in OpenCms 5. But hmm .. 
I've looked at the API 6.0 Documentation:
/opencms/opencms/alkacon-documentation/javadoc/core/org/opencms/jsp/CmsJ
spActionElement.html

... and can't find any method getCmsObject(). Is it possible, that this 
function was undocumented or removed?

Greetings
Anatol



_______________________________________________
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: 8
Date: Mon, 25 Jul 2005 12:45:42 +0200
From: Anatol 
Subject: Re: [opencms-dev] HowTo Access the CmsObject?
To: The OpenCms mailing list 
Message-ID: <42E4C2D6.4000000 at recordcaster.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi Borja,

yes I've tested your snipplet and it runs without any error :-) Perhaps 
a good idea to ask eclipse to generate a new javadoc ;-)
Thank you :-))

Greetings
Anatol

Borja Marcos Suarez schrieb:

>Hi Anatol,
>
>CmsJspActionElement.getCmsObject exists, I'm using it without problems.
>
>You can look for it in the openCMS source code. I also generated the
>javadocs from the source code.
>
>I don't know why you can not find this method, but exists for sure :)
>
>Hope this helps you,
>
>best regards, 
>
>Borja
>
>
>
>-----Mensaje original-----
>De: opencms-dev-bounces at opencms.org
>[mailto:opencms-dev-bounces at opencms.org] En nombre de Anatol
>Enviado el: lunes, 25 de julio de 2005 12:30
>Para: The OpenCms mailing list
>Asunto: Re: [opencms-dev] HowTo Access the CmsObject?
>
>Hi Borja Marcos, hi all!
>
>Borja Marcos Suarez schrieb:
>
> 
>
>>you can get it with:
>>
>>>>
>>CmsJspActionElement cms= new CmsJspActionElement
>>(pageContext,request,response);
>>
>>CmsObject object= cms.getCmsObject();
>>
>>%>
>> 
>>
>> 
>>
>Yes, I remember having seen this two years ago in OpenCms 5. But hmm .. 
>I've looked at the API 6.0 Documentation:
>/opencms/opencms/alkacon-documentation/javadoc/core/org/opencms/jsp/CmsJ
>spActionElement.html
>
>... and can't find any method getCmsObject(). Is it possible, that this 
>function was undocumented or removed?
>
>Greetings
>Anatol
>
>
>
>_______________________________________________
>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: 9
Date: Mon, 25 Jul 2005 12:48:35 +0200
From: "Francisco Lopera" 
Subject: RE: [opencms-dev] Adding new classes
To: "'The OpenCms mailing list'" 
Message-ID: <20050725104911.3F66287C0 at smtp-02.servidoresdns.net>
Content-Type: text/plain; charset="iso-8859-1"

Well, There is a procedure to develop a new module like a calendar? A mean
of howto develop a module. I'am searching, but only can find docs to export
the modules (version 5) and not to create a insert a java program.

Thankyou all!

-----Mensaje original-----
De: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org]
En nombre de Joachim Arrasz
Enviado el: lunes, 25 de julio de 2005 12:24
Para: The OpenCms mailing list
Asunto: Re: [opencms-dev] Adding new classes

Hi,


> They are binary files. I need put the java source code into a directory to
> compile java class program?

no, you have to put the .class files ... but .. the calendar for
opencms5 doesn´t work with opencms6 ... so you have to refactor lot of
the stuff ... and have to create some parts completely new ... e.G the
Content-Definition parts ...

Regards

Achim

-- 
Dipl. Inf.(FH) Joachim Arrasz - joachim.arrasz at synyx.de
www.synyx.de Opensource Solutions - OpenCMS Solution Provider
irc.synyx.de/6667 #opencms http://irc.synyx.de
http://www.opencms-forum.de
76135 Karlsruhe


_______________________________________________
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: Mon, 25 Jul 2005 11:52:59 +0100
From: Joe Desbonnet 
Subject: Re: [opencms-dev] HowTo Access the CmsObject?
To: opencms-dev at opencms.org
Message-ID: <1cef3e95050725035237c7e198 at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

The method is in the parent class org.opencms.jsp.CmsJspBean
Joe.

> >
> Yes, I remember having seen this two years ago in OpenCms 5. But hmm ..
> I've looked at the API 6.0 Documentation:
> /opencms/opencms/alkacon-documentation/javadoc/core/org/opencms/jsp/CmsJspActionElement.html
> 
> ... and can't find any method getCmsObject(). Is it possible, that this
> function was undocumented or removed?

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

Message: 11
Date: Mon, 25 Jul 2005 13:24:07 +0200
From: Anatol 
Subject: [opencms-dev] Multi-Language Question
To: The OpenCms mailing list 
Message-ID: <42E4CBD7.6070508 at recordcaster.de>
Content-Type: text/plain; charset=ISO-8859-15; format=flowed

Hi all!

When creating an article or editing a page I've the option to add text 
in german and in english by switching the dropdown menu. But if I visit 
the page I could only see one language. How can I tell opencms to 
display one of the other language on this website? And on which criteria 
the default displayed language will be chossen?

Greetings
Anatol


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

Message: 12
Date: Mon, 25 Jul 2005 13:32:57 +0200
From: Yusuf K?r 
Subject: [opencms-dev] reading xmlcontent
To: opencms-dev at opencms.org
Message-ID: <42E4CDE9.3040305 at koer.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi,

I need to post the xml content to a servlet (apache fop). What is the 
easiest way to do it with opencms 6?
I just found documentation about rendering html from the xmlcontent.

Thanks in Advance
Yusuf

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

Message: 13
Date: Mon, 25 Jul 2005 13:34:33 +0200
From: Martin Kuba 
Subject: Re: [opencms-dev] Multi-Language Question
To: opencms-dev at opencms.org
Message-ID: <42E4CE49.30200 at ics.muni.cz>
Content-Type: text/plain; charset="us-ascii"

Anatol wrote:
> Hi all!
> 
> When creating an article or editing a page I've the option to add text 
> in german and in english by switching the dropdown menu. But if I visit 
> the page I could only see one language. How can I tell opencms to 
> display one of the other language on this website? And on which criteria 
> the default displayed language will be chossen?

The language displayed is chosed by file property 'locale', which is 
either set for that file or inherited from its folder.
You can display another language by creating a "sibling" of the file
and specifying another value for the 'locale' property.
Common practise is to have several folders like '/en' '/de'
with 'locale' property set to 'en' and 'de' respectively.
The you have the same file in both folders using the 'sibling'
feature, and it inherits different locale from the folders.

This is the default behavior. You can provide another implementation
of org.opencms.i18n.I_CmsLocaleHandler which may decide language
using different mechanism.

Martin
-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Supercomputing Center Brno Martin Kuba
Institute of Computer Science email: makub at ics.muni.cz
Masaryk University http://www.ics.muni.cz/~makub/
Botanicka 68a, 60200 Brno, CZ mobil: +420-603-533775
--------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2777 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.opencms.org/pipermail/opencms-dev/attachments/20050725/4872fafa/smime-0001.bin

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

Message: 14
Date: Mon, 25 Jul 2005 13:36:11 +0200
From: monguz 
Subject: [opencms-dev] Restrict access to pages problem (Webusers,
groups and Guest User)
To: opencms-dev at opencms.org
Message-ID: <37a73cb1050725043666c50cb at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Hello everybody.
I'm using OpenCms 6.0 final (so great!) and I have to restrict access
to some folder.

I've thought using webusers, groups and folder permission is ok.

- I create folder myFolder
- I create group myGroup
- I remove read permission for myFolder for group Guests (otherwise
everybody would see myFolder)
- I grant read permission to myGroup for myFolder

The problem is:

=== message truncated ===
		
---------------------------------
 Start your day with Yahoo! - make it your home page 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20050726/def4b1de/attachment.htm>


More information about the opencms-dev mailing list