You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wicket.apache.org by "reiern70 (via GitHub)" <gi...@apache.org> on 2026/10/02 16:13:24 UTC
[I] Add a collapsible panel component to wicket-extensions [wicket]
reiern70 opened a new issue, #1636:
URL: https://github.com/apache/wicket/issues/1636
Pages often carry content that only some users need all the time: long explanations,
help texts, advanced filter forms, details below a summary. Applications build their own
show/hide toggles for this again and again, usually with inline JavaScript or inline
styles, both of which a strict Content Security Policy blocks.
Proposal: a small, independent component in wicket-extensions that renders a title and a
body which the user can expand and collapse.
- collapsed by default, with an API to render it expanded
- built on the native <details>/<summary> elements: works without JavaScript, is keyboard
accessible and announced correctly by screen readers, and needs no inline script or style
- the title is a model, the body any component, so it can hold static text, a panel or a
form
- optionally reports the open state to the server, so it survives a re-render of the page
- styled with its own CSS, easy to override
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@wicket.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org