[opencms-dev] Bearingpoint-Modules-Commons

Brabenetz, Harald harald.brabenetz at bearingpoint.com
Wed Oct 25 23:34:30 CEST 2006


We opened a SouceForge-Project for Common-Modules from Bearingpoint:

http://sourceforge.net/projects/bp-cms-commons

The Main-functionions from com.bearingpoint.opencms.commons:

- CmsResourceTypeXmlContent: Spezial CmsResourceTypeXmlContent who can validate all elements from a
XML-Schema-Content from Type CmsXmlVfsFileValue (extended Link-Validation)

- ExpressionLanguageUtil: Helper Class to validate a regularExpression (e.g.. "${bean.property.subProperty}" ).
The Context can be a simple java.util.Map

- XMLContentTypsUtil: Return the ContentValues stored as a Map how it is defined by the ContentSchemaType.
So you can access the content of a xmlpage (element name="body") with ${content.element.body}.
Or on XmlContent with the element name="Title" ${content.Title}.
See Also the UnitTests in "/src/test/java/": com.bearingpoint.opencms.commons.TestXMLContentTypesUtil#testOnlineForm() and #testPage()


It is my first SourceForge-Project!
I would be happy about some Tipps.

I will make a documentation with example as soon as possible.

With friendly regards,
Harald

***************************************************************************************************
The information in this email is confidential and may be legally privileged Access to this email by anyone other than the intended addressee is unauthorized. If you are not the intended recipient of this message, any review, disclosure, copying, distribution, retention, or any action taken or omitted to be taken in reliance on it is prohibited and may be unlawful. If you are not the intended recipient, please reply to or forward a copy of this message to the sender and delete the message, any attachments, and any copies thereof from your system.
***************************************************************************************************



More information about the opencms-dev mailing list