Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7008981
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T21:48:17+00:00 2026-05-27T21:48:17+00:00

In wicket 1.5, ChildFirstHeaderRenderStrategy and ParentFirstHeaderRenderStrategy are being used. Is there anyone who can

  • 0

In wicket 1.5, ChildFirstHeaderRenderStrategy and ParentFirstHeaderRenderStrategy are being used.

Is there anyone who can explain these render strategy in details, and give an example of how to use them when coding?

I don’t know where to add these render strategies in my code.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T21:48:18+00:00Added an answer on May 27, 2026 at 9:48 pm

    In wicket 1.5, ChildFirstHeaderRenderStrategy and ParentFirstHeaderRenderStrategy are being used.

    Is there anyone who can explain these render strategy in details, and give an example of how to use them when coding?

    I haven’t used them, but I can explain a bit anyway. They arose from the bug WICKET-2693, where it is noted that in Wicket 1.4, the rendering of headers was "backward", I.e., child components contributing to the header had their portions added after the parent components, making it difficult for the page to override things from contained components. This is the behavior given by ParentFirstHeaderRenderStrategy. ChildFirstHeaderRenderStrategy is the reverse, making contributions from inner components appear before their parents’ contributions and is the default in Wicket 1.5. See the above bug report for more detail, and for some interesting debates between the wicket development team.

    I don’t know where to add these render strategies in my code.

    You actually can’t do it in code. They intentionally made it difficult to change, and made it apply to the entire application. It’s driven by a system property.

    You can make it switch to parent first by specifying the property in your server startup command:

    -DWicket_HeaderRenderStrategy=org.apache.wicket.markup.renderStrategy.ParentFirstHeaderRenderStrategy
    

    There are also issues WICKET-4235 and WICKET-4000 involving this not behaving properly with contributions from <header> sections in the html fragments.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working on a Wicket-based web application. In the application there are buttons that
How can I send email from a Wicket application?
I'm new to Wicket, but googling this problem didn't give me anything that made
I have a small Wicket app that I can deploy to Glassfish v3 without
I have a wicket application which can be deployed in different environments. One of
I have a wicket form which contains many TextField input components. There's a Validator
In wicket textfield how can I align text and cursor to right of the
I've read about wicket:message here , but can't seem to make it do everything
I am looking for wicket project example so I can learn how to create
I am doing a project on wicket (Java-SQLite-NetBeans IDE). I can't run the login

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.