...
*The attribute can support EL (Expression Language) values.
...
Panel | ||||
---|---|---|---|---|
| ||||
The following filterHTML tags were introduced in XperienCentral version 10.19.1. These methods rely on the JSoup |
filterHTMLBasic
wmfn:filterHTMLBasic
- Filters the HTML using a basic filtering configuration. It allows the following range of text nodes: <a>, <b>, <blockquote>, <br>, <cite>, <code>, <dd>, <dl>, <dt>, <em>, <i>, <li>, <ol>, <p>, <pre>, <q>, <small>, <span>, <strike>, <strong>, <sub>, <sup>, <u>, <ul>
and <l>
.
Code Block | ||
---|---|---|
| ||
${wmfn:filterHTMLBasic(myHtmlToFilter)} |
filterHTMLRelaxed
wmfn:filterHTMLRelaxed
- Filters the HTML using a relaxed filtering configuration. It allows the following range of text and structural body HTML: <a>, <b>, <blockquote>, <br>, <caption>, <cite>, <code>, <col>, <colgroup>, <dd>, <div>, <dl>, <dt>, <em>, <h1>, <h2>, <h3>, <h4>, <h5>, <h6>, <i>, <img>, <li>, <ol>, <p>, <pre>, <q>, <small>, <span>, <strike>, <strong>, <sub>, <sup>, <table>, <tbody>, <td>, <tfoot>, <th>, <thead>, <tr>, <u>, <ul>
and <l>
. Example usage:
Code Block | ||
---|---|---|
| ||
${wmfn:filterHTMLRelaxed(myHtmlToFilter)} |
filterHTMLTags
wmfn:filterHTMLTags
- Filters the HTML. Passed tags are allowed, other tags are removed from the HTML. Example usage:
Code Block | ||
---|---|---|
| ||
<wm:presentationProperty var="tableTagFilter" label="tableTagFilter" />
<c:set var="cellValue" value="${wmfn:filterHTMLTags(tableCell.content, tableTagFilter)}" /> |
filterHTMLTagsAndAttributes
wmfn:filterHTMLTagsAndAttributes
- Filters the HTML. Passed tags and attributes are allowed, other tags and attributes are removed from the HTML. Example usage:
Code Block | ||
---|---|---|
| ||
${wmfn:filterHTMLTagsAndAttributes(myHtmlToFilter, 'a', 'href')}
|
...
formPart
<wm:formPart>
- This tag retrieves a form part using its alias as the search criteria. Example usage:
...