@Model(adaptables=org.apache.sling.api.SlingHttpServletRequest.class) public class ResourceMultilineText extends Object
Optional use parameters when referencing model from Sightly template:
propertyName: Property name in which the text is stored in the resource| Constructor and Description |
|---|
ResourceMultilineText() |
| Modifier and Type | Method and Description |
|---|---|
String |
getMarkup()
Returns the formatted text as XHTML markup.
|
boolean |
isValid()
Returns true if multi-line text is present and valid.
|
public boolean isValid()
public String getMarkup()
Copyright © 2014–2019 wcm.io. All rights reserved.