Assuming a parent page (Layout.html) that contains a link <a href=""
wicket:id="a-contact"> with corresponding code in Layout.java ...

Now, I'd like to extend that with a child page ... that happens to contain
text that also embeds a link to the same place. In my child page, I just so
happen to the use the same id ... and I find out, the ids conflict.

In this case it is easy enough for me to simply change one of the ids - but
that seems odd. What if I were using someone else's library of pages? I
would've thought there'd be some namespace style separation where id's in
subclasses can't conflict with id's in super classes.

Is that naive - or am I just missing a design point?

Thanks,

-Luther

Reply via email to