Add a generic ProgressBar component to wicket-extensions
Maintainers usually reply within 1 day
@reiern70 is already working on this.
Since Oct 1, 2026.
Assessment
This issue has not been assessed yet.
Description
Wicket has no general-purpose progress bar. UploadProgressBar is tied to file uploads, so applications that need to show the progress of some work (a background job, an import, a multi-step process) each build their own markup and CSS.
This proposes org.apache.wicket.extensions.markup.html.progress.ProgressBar, a small CSS-only component:
- Model: an IModel<? extends Number> holding a percentage. Values are rounded and clamped to 0–100.
- Indeterminate: a null model value renders an indeterminate bar, for work whose end is unknown ("working on it"): no percentage, only an animated striped bar. isIndeterminate() tells which state the bar is in.
- Markup: attached to a . It renders a native element (no value attribute when indeterminate) and a label such as 42%. Existing class attributes on the tag are kept. The same markup is available as a string from ProgressBar.markup(value) and ProgressBar.indeterminateMarkup(), for example as the template of a column rendered in the browser.
- Content Security Policy: no inline style; the width comes from the progress element itself, so the bar works under a strict CSP.
- Accessibility: the native progress element carries the value for assistive technology; the visible label is aria-hidden.
- Styling: the look comes from wicket-progress-bar.css, contributed by the component. It uses the classes wicket-progress-bar, wicket-progress-bar-value and wicket-progress-bar-label, so applications can restyle it. The filled part is striped and the stripes move; the animation stops when the user prefers reduced motion. The label is bold on a chip of the track's color, so it stays readable over the filled part and on dark pages. Colors come from the shared themes of wicket-extensions (org.apache.wicket.extensions.theme) where a theme applies, with a neutral default otherwise.
- Updating: the component re-renders like any other, so target.add(progressBar) in an Ajax or web socket request updates it.
- Dominant language
- Java
- Stars
- 800
- Forks
- 437
- Avg merge
- 21h 36m
- Merged PRs (30d)
- 167
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from apache/wicket
-
PropertyResolver fails on JDK classes with a non-public field named like the propertyPossibly taken @vaibhavgupta443 claimed this today. Opengood first issue
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
apache/wicket#1991 · 1 comment ·
Maintainers usually reply within 1 day
-
Stop the autocomplete from accumulating request parameters while typingPossibly taken @aryankalantri claimed this today. Opengood first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
apache/wicket#1947 · 2 comments ·
Maintainers usually reply within 1 day
-
Validate the report-uri value given to CSPHeaderConfiguration#reportBackPossibly taken @AzizOuertani claimed this 3 days ago. Opengood first issue
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
apache/wicket#1946 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 70/100
Maintainers usually reply within 1 day
Similar issues
-
account assessment course feature lecture
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 1 day
-
app:learninggoalhub enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 1/5 1-3 hours Newbie friendliness 86/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100