Hi,

i've come over a point where i think it might be useful to make a thing
easier. Im talking about BookmarkablePageLink.

Usually a link consists of following in html: <a href="URL">DESCRIPTION</a>

while in Wicket a BookmarkablePageLink only (!) alters the URL, e.g: a BPL
has to be: 
<a href="#" wicket:id="myLinkId"><span
wicket:id="myLinkLabel">foo</span></a>

couldnt this be simplfied to just:
<a href="#" wicket:id="myLinkId">foo</a>

and the constructor could then be: 
public BookmarkablePageLink(final String id, final Class pageClass,
final PageParameters parameters, final String linkDescription)


wouldnt this be a bit nicer?

ive come over this as i create a list with links, but without a description
it makes no sense, e.g:

 List navList = new ArrayList();
 navList.add(new BookmarkablePageLink("linkTo",A.class).add(new
Label("linkName","FOOA")));
 navList.add(new BookmarkablePageLink("linkTo",B.class).add(new
Label("linkName","FOO HSH")));
 navList.add(new BookmarkablePageLink("linkTo",C.class).add(new
Label("linkName","FOO BAR BAR")));  

just my 2 cents,

Best Regards,

Korbinian

PS: if im wrong anywhere please let me know!

Reply via email to