AW: [opencms-dev] Default properties for new filetypes

Manuel Wallnoefer mfw at msk-informatik.at
Thu Sep 15 11:31:09 CEST 2005


It also works with new xml content types:


<property>
   <name>template-elements</name>
   <value type="shared"><![CDATA[/$path-to-your-jsp$test.jsp]]></value>
</property>

~manuel

-----Ursprüngliche Nachricht-----
Von: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] Im Auftrag von Bastian Ballmann
Gesendet: Donnerstag, 15. September 2005 11:12
An: The OpenCms mailing list
Betreff: [opencms-dev] Default properties for new filetypes

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello list,

I try to figure out if it is possible to automatically set default
properties for new (xmlcontent) filetypes. Therefore I tried the
following tags in my <type> definition in opencms-vfs.xml:

<properties>
  <property>
    <name>template-elements</name>
    <value><![CDATA[test]]></value>
  </property>
</properties>

The result is a crash of opencms:
org.opencms.main.CmsInitException: Critical error during OpenCms
initialization: Unable to read the OpenCms XML configuration.
	at
org.opencms.main.OpenCmsCore.getInstance(OpenCmsCore.java:268)

The same mechanism is used for jsp files. Isn't it possible to
set default properties for new xml content filetypes?
Thanks and have a nice day!

Bastian Ballmann
- --
- ----------------------------------
wilhelm innovative medien gmbh
- ----------------------------------
Büro Wuppertal
Treppenstraße 17
42115 Wuppertal
Tel.  0202 - 37 14 6-0
Fax   0202 - 37 14 6-16
eMail: mailto:info at wiminno.com
- ----------------------------------
Büro Berlin
Dietrich-Bonhoeffer-Straße 13
10407 Berlin
Tel.  030 - 42 08 07-0
Fax   030 - 42 08 07-16
eMail: mailto:berlin at wiminno.com
- ----------------------------------
web:       http://www.wiminno.com
Geschäftsführer: Jens Wilhelm
HRB 10018 - Amtsgericht Wuppertal
- ----------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.7 (GNU/Linux)

iD8DBQFDKTrH9hQySR6QNdYRAle+AJwIWXXfqxPOBEAwIPZ3xvRZeR/lcwCeP8mN
burMQtW/JIAlXqbgB0mip+c=
=LR3/
-----END PGP SIGNATURE-----


_______________________________________________
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





More information about the opencms-dev mailing list