Please enable JavaScript.
Coggle requires JavaScript to display documents.
Custom Component Building (Create Component Node cq:Component (Sling Model…
Custom Component Building
Create Component Node cq:Component
Sling Model
Create under core: components Interface. byline.java
Update with names and values methods
Update HTML/HTL
Create byline.css under UI.front-end under src/main/webpack/components
Use code with CSS and JS ID# using BEM naming Convenations
Use Sly block statement to insatiate Sling Model Objects
Update the
Create component implementation under the core.models
new class, add byline interface as the implementation interface
annotations
Inherit abstract method
sling model methods
OSGIService
ValueMapValue
Override
self
postConstruct
return
overide
Add XML
Create HTL/HTML for the coponent
cq:dialog and add the XML
Create Policy Dialog, cq:design_dialog