This is an automated email from the ASF dual-hosted git repository. lukaszlenart pushed a commit to branch WW-5640-webjars-support in repository https://gitbox.apache.org/repos/asf/struts.git
commit e8c5fcf6ad33c2b59aa51c19ed15ccc4bc5ff2d1 Author: Lukasz Lenart <[email protected]> AuthorDate: Wed Jul 1 11:46:30 2026 +0200 WW-5640 docs: add generated tag reference for <s:webjar> Annotation-processor-generated tag reference (attributes + description), tracked like every other tag's docs under core/src/site/resources/tags/. Co-Authored-By: Claude Opus 4.8 <[email protected]> --- .../src/site/resources/tags/webjar-attributes.html | 40 ++++++++++++++++++++++ .../site/resources/tags/webjar-description.html | 1 + 2 files changed, 41 insertions(+) diff --git a/core/src/site/resources/tags/webjar-attributes.html b/core/src/site/resources/tags/webjar-attributes.html new file mode 100644 index 000000000..60b8c0869 --- /dev/null +++ b/core/src/site/resources/tags/webjar-attributes.html @@ -0,0 +1,40 @@ +<table class="tag-reference"> + <tr> + <td colspan="6"><h4>Dynamic Attributes Allowed:</h4> false</td> + </tr> + <tr> + <td colspan="6"><hr/></td> + </tr> + <tr> + <th class="tag-header"><h4>Name</h4></th> + <th class="tag-header"><h4>Required</h4></th> + <th class="tag-header"><h4>Default</h4></th> + <th class="tag-header"><h4>Evaluated</h4></th> + <th class="tag-header"><h4>Type</h4></th> + <th class="tag-header"><h4>Description</h4></th> + </tr> + <tr> + <td class="tag-attribute">path</td> + <td class="tag-attribute"><strong>true</strong></td> + <td class="tag-attribute"></td> + <td class="tag-attribute">false</td> + <td class="tag-attribute">String</td> + <td class="tag-attribute">The version-less WebJar resource path, e.g. bootstrap/css/bootstrap.min.css</td> + </tr> + <tr> + <td class="tag-attribute">performClearTagStateForTagPoolingServers</td> + <td class="tag-attribute">false</td> + <td class="tag-attribute">false</td> + <td class="tag-attribute">false</td> + <td class="tag-attribute">Boolean</td> + <td class="tag-attribute">Whether to clear all tag state during doEndTag() processing (if applicable)</td> + </tr> + <tr> + <td class="tag-attribute">var</td> + <td class="tag-attribute">false</td> + <td class="tag-attribute"></td> + <td class="tag-attribute">false</td> + <td class="tag-attribute">String</td> + <td class="tag-attribute">Name used to reference the value pushed into the Value Stack (scope: action).</td> + </tr> +</table> diff --git a/core/src/site/resources/tags/webjar-description.html b/core/src/site/resources/tags/webjar-description.html new file mode 100644 index 000000000..fd8e7d333 --- /dev/null +++ b/core/src/site/resources/tags/webjar-description.html @@ -0,0 +1 @@ +Resolve a version-less WebJar resource path to a servable URL
