On 10/25/06, Martijn Dashorst <[EMAIL PROTECTED]> wrote:
Still don't like it. It adds yet another way to work with links, and
requires subclassing to do so. What is more convenient?

new Label(new BookmarkablePageLink(this, "link"), "label", "Text");

or

new BookmarkablePageLink(this, "link") {
    protected String getLabel() {
        return "Text";
    }
};

I would find the latter more convenient as there is no label in the
markup, and it's also more efficient as it saves having an extra
component for each link.

Eelco

Reply via email to