Or just set autolinking off. Personally, I think that would be a better default, as it is pretty common to be able to have such a link as kind of a refresh. If you look at most public sites (Google, Flickr, Yahoo) etc, they all have them just enabled.
Eelco On 8/25/05, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > Try using a standard Link object instead of a subclass of PageLink. > > -Igor > > > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of > > Stefan Lindner > > Sent: Thursday, August 25, 2005 1:39 PM > > To: [email protected] > > Subject: [Wicket-user] WebPage can't link to itself (Wicket > > 1.1 beta2 and beta3) > > > > I have a page class named MyPage that extends WebPage. On > > this web page I place a table with links inside. The links > > are created like this: > > > > BookmarkablePageLink idLink = new > > BookmarkablePageLink("idLink", MyPage.class); > > > > This is taken from Wicket example "Standard, creating dynamic links". > > The difference to the exampe is, that I don't link to another > > Webpage class (page3 in the example). I try to link to the > > WebPage class, that creates the table. > > This does not work. In the resulting table no link is > > displayed. The corresponding table cell contains the link's > > reference name in italic style. > > When I make a copy of my MyPage.java und MyPage.html files > > and replace the above code with > > > > BookmarkablePageLink idLink = new > > BookmarkablePageLink("idLink", CopyOfMyPage.class); > > > > everything works. > > Why is it not possible to link from a WebPage to the same > > WebPage class? > > Stefan Lindner > > -------------------------------------------------------------- > > ---------- > > -- > > Visionet GmbH, Am Weichselgarten 7, 91058 Erlangen > > Tel.: (09131)691-230, FAX: (09131)691-111 > > E-Mail: mailto:[EMAIL PROTECTED], Internet: > > http://www.visionet.de > > > > > > PS. > > I did not try this with Wicket 1.0 or Wicket 1.1beta1 > > > > > > ------------------------------------------------------- > > SF.Net email is Sponsored by the Better Software Conference & > > EXPO September 19-22, 2005 * San Francisco, CA * Development > > Lifecycle Practices Agile & Plan-Driven Development * > > Managing Projects & Teams * Testing & QA Security * Process > > Improvement & Measurement * http://www.sqe.com/bsce5sf > > _______________________________________________ > > Wicket-user mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Wicket-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wicket-user > ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
