CQ5 Application/Project

Get Started. It's Free
or sign up with your email address
CQ5 Application/Project by Mind Map: CQ5 Application/Project

1. Store CQ5 elements

1.1. Templates

1.1.1. -Used to create a page

1.1.2. -Defines which components can be used within the scope

1.1.3. -Same structure as page, but without content

1.1.4. -Present you with the collection of available components to use

1.2. Componenets

1.2.1. -Use and allow access to widgets

1.2.2. Component Context Add <%@include file-"/lib/foundation/global.jsp%> to JSP Best Practice: Create your own equivalent of global.jsp under /apps and include this. Ways to access content Scripting Objects ComponentContext Component CurrentDesign CurrentPage CurrentNode CurrentStyle Designer EditContext PageManager PagePeroperties Peroperties Resource ResourceDesign ResourcePage

1.3. OSGi bundles

1.4. Static files

2. Recommended Structure

2.1. /apps

2.1.1. /<application name> components pages templates <template name> src install

3. Web Applications

3.1. Modularization & Reuse

3.1.1. Compile Time JSP include: <%@ include file="myScript.jsp" %> Include a complete file into the current file

3.1.2. Run Time CQ include: <cq:include script="myScript.jsp"/> Include by script name using its attribute Sling include: <sling:include resource="%=par%"/> Script resolution using selectors and extensions

3.2. Initialize the WCM

3.2.1. <cq:include script=”/libs/wcm/core/components/init/init.jsp”/> Dialogs Widgets WCM CSS& JS SideKick

3.3. Component Hierarchy and Inheritance

3.3.1. Resource Type Hierarchy using the property sling:resourceSuperType enables the Component to inherit from a “base” Component

3.3.2. Container Hierarchy used to populate configuration settings to the child component cq:editConfig and cq:childEditConfig are propagated used in a paragraph system scenario

3.3.3. Include Hierarchy imposed at runtime by the sequence of includes

3.4. The Design(er)

3.4.1. allows you to enforce a consistent look and feel across your Web site

3.4.2. share global content

3.4.3. access to common CSS files, defining the formats of specific areas/Components, and images that you use for features

3.5. not page-rendering components

3.5.1. Component properties Child node to control rendering cq:editConfig cq:childEditConfig dialog design_dialog Logging Messages Enabling the Debugger ExtJs widget library used by CQ5 create Rich Internet Applications (RIA) through the use of AJAX.

3.6. Paragraph System

3.6.1. The paragraph system is the main content area of a web page

4. Workflow

4.1. Steps

4.1.1. Participant (User/Group)

4.1.2. Process (Script, Java method call)

4.1.3. Container (Sub Workflow)

4.1.4. OR Split/Join

4.1.5. AND Split/Join

4.2. Transition

4.2.1. Defines the link between two consecutive steps.

4.2.2. It is possible to apply rules to the Transition.

4.3. WorkItem

4.3.1. is the “there is a task identifier”

4.3.2. is put into the respective inbox

4.4. Payload

4.4.1. References the resource that has to be advanced through a workflow

4.5. Lifecycle

4.5.1. Possible actions Terminate Suspend Resume Restart

4.6. Inbox