Just making the example more clear:
add(new WebMarkupContainer(bodyId) {
@Override
public boolean isTransparentResolver() {
return true;
}
@Override
protected void onComponentTag(final ComponentTag tag) {
super.onComponentTag(tag);
Hello,
Thanks for the answer, but that's not what I want.
As I specified in my first post:
I don't want to add a wicket:id to the body, because then I have to add
all components for my ChildPage's to that bodyComponent (that is on the
parent).
Thanks again for any help!
igor.vaynberg wrote:
Sorry, my bad.
I didn't see the overriding of 'isTransparentResolver'. I didn't know that
existed.
Thanks a lot!
Marieke Vandamme wrote:
Hello,
Thanks for the answer, but that's not what I want.
As I specified in my first post:
I don't want to add a wicket:id to the body, because
Can't anyone help me with my problem?
Many thanks in advance ! Marieke
Marieke Vandamme-2 wrote:
Hello,
I'm using the following setup with markup inheritance
ParentPage.java extends WebPage
ChildPage.java extends ParentPage.java
In the constructor of my ParentPage I want the
add(new webmarkupcontainer(body) { istransparentresolver() { return
true; } oncomponenttag(tag) { tag.put(id,foo); }});
htmlbody wicket:id=body.../body/html
-igor
On Mon, Jun 29, 2009 at 10:47 PM, Marieke Vandammema...@tvh.be wrote:
Can't anyone help me with my problem?
Many thanks in