[opencms-dev] Default properties for new filetypes

Bastian Ballmann bastian.ballmann at wiminno.com
Thu Sep 15 11:11:35 CEST 2005


-----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-----



More information about the opencms-dev mailing list