Bram
Bram

Reputation: 4613

Adding element to wicket component's html

I want to add an element to my wicket component's html.

I want to achieve the following:

<textarea wicket:id="...">
...
</textarea>

result:

<textarea wicket:id="..">
   <div id="myspecialdiv">
   ....
   </div>
</textarea>

Does someone have an idea on how to achieve this?

Upvotes: 0

Views: 829

Answers (1)

osdamv
osdamv

Reputation: 3583

Strange but possible you could use a WebMarkupContainer or perhaps a Border

however your example is an invalid HTML, only God knows how that thing going to be rendered by the browsers

Upvotes: 1

Related Questions