Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

155
Views
Can there be a "span wicket:id" between the wicket:child tag in parent html page?

The example of what I want to do :

Parent HTML:

<wicket:child>    
 .....
 <span wicket:id="xxx"></span>  
</wicket:child>`   
...  

Child HTML:

<wicket:extend>
... child content ...
</wicket:extend>

Supposedly when child page is opened the extend tag will replace all the content between the child tag in parent html, including the <span wicket:id>.

Apparently this won't work, when the child page is open error will occur:
Wicket tags identified by wicket:id are not allowed in between wicket:child> and </wicket:child>

I assume this is because the wicket:span tag got pass into the child extend page and cause this issue? If the span is removed the problem is resolved.

Is there anyway I can keep the span tag in paranet HTML and still make this work?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

This is not allowed. Wicket components are not allowed inside <wicket:child>...</wicket:child>. See https://github.com/apache/wicket/blob/9e42a9548adb0da540e4e87d491f5824e778537e/wicket-core/src/main/java/org/apache/wicket/markup/MergedMarkup.java#L295

Why do you want to have it there ? What do you want to achieve ?

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!