Package io.wcm.wcm.parsys
Class ParsysNameConstants
- java.lang.Object
-
- io.wcm.wcm.parsys.ParsysNameConstants
-
@ProviderType public final class ParsysNameConstants extends java.lang.Object
Names used for the parsys.Conventions:
- NT_ prefix stands for "node type"
- NN_ prefix stands for "node name"
- PN_ prefix stands for "property name"
- RP_ prefix stands for "request property"
- RA_ prefix stands for "request attribute"
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
NN_PARSYS_CONFIG
Defines the resource-based allowed components.static java.lang.String
PN_PARSYS_GENERATE_DEAFULT_CSS
Generates CSS classes by default: "section" on each paragraph/new area and "clear:both" on a new area.static java.lang.String
PN_PARSYS_NEWAREA_CSS
Defines additional custom CSS classes to be set on the new area.static java.lang.String
PN_PARSYS_PARAGRAPH_CSS
Defines additional custom CSS classes to be set on each paragraph.static java.lang.String
PN_PARSYS_PARAGRAPH_ELEMENT
Sets the element name to be used for the element wrapping each pagraph component.static java.lang.String
PN_PARSYS_PARAGRAPH_NODECORATION_WCMMODE
Can be set to a list of WCM modes.static java.lang.String
PN_PARSYS_PARAGRAPH_VALIDATE
If set to true, each paragraph item is validated.static java.lang.String
PN_PARSYS_WRAPPER_CSS
Defines custom CSS classes to be set on the wrapper element.static java.lang.String
PN_PARSYS_WRAPPER_ELEMENT
Sets the element name to be used for the element wrapping the whole paragraph system.
-
-
-
Field Detail
-
NN_PARSYS_CONFIG
public static final java.lang.String NN_PARSYS_CONFIG
Defines the resource-based allowed components. To be used as name of a node in the parsys component defintion.- See Also:
- Constant Field Values
-
PN_PARSYS_GENERATE_DEAFULT_CSS
public static final java.lang.String PN_PARSYS_GENERATE_DEAFULT_CSS
Generates CSS classes by default: "section" on each paragraph/new area and "clear:both" on a new area. This is a boolean property and defaults to true if not set. To be used as property in the parsys component definition.- See Also:
- Constant Field Values
-
PN_PARSYS_PARAGRAPH_CSS
public static final java.lang.String PN_PARSYS_PARAGRAPH_CSS
Defines additional custom CSS classes to be set on each paragraph. To be used as property in the parsys component definition.- See Also:
- Constant Field Values
-
PN_PARSYS_NEWAREA_CSS
public static final java.lang.String PN_PARSYS_NEWAREA_CSS
Defines additional custom CSS classes to be set on the new area. To be used as property in the parsys component definition.- See Also:
- Constant Field Values
-
PN_PARSYS_PARAGRAPH_ELEMENT
public static final java.lang.String PN_PARSYS_PARAGRAPH_ELEMENT
Sets the element name to be used for the element wrapping each pagraph component. Defaults to "div" if not set. To be used as property in the parsys component definition.- See Also:
- Constant Field Values
-
PN_PARSYS_PARAGRAPH_NODECORATION_WCMMODE
public static final java.lang.String PN_PARSYS_PARAGRAPH_NODECORATION_WCMMODE
Can be set to a list of WCM modes. When one of the given WCM modes is active, the decoration tag for the paragraph items is not rendered. To be used as property in the parsys component definition.- See Also:
- Constant Field Values
-
PN_PARSYS_PARAGRAPH_VALIDATE
public static final java.lang.String PN_PARSYS_PARAGRAPH_VALIDATE
If set to true, each paragraph item is validated. If it is not valid, it's hidden whenwcmmode=disabled
. To validate the paragraph item a Sling Model has to be implemented registered to the adapterParsysItem
and the resource type of the paragraph item's resource.- See Also:
- Constant Field Values
-
PN_PARSYS_WRAPPER_ELEMENT
public static final java.lang.String PN_PARSYS_WRAPPER_ELEMENT
Sets the element name to be used for the element wrapping the whole paragraph system. If not set no wrapping element is generated for the paragraph system. To be used as property in the parsys component definition.- See Also:
- Constant Field Values
-
PN_PARSYS_WRAPPER_CSS
public static final java.lang.String PN_PARSYS_WRAPPER_CSS
Defines custom CSS classes to be set on the wrapper element. To be used as property in the parsys component definition.- See Also:
- Constant Field Values
-
-