well, i have often argued to remove autolinking. we have got a lot of complaints/things people thought were bugs because of it.
-Igor On 8/7/06, Korbinian Bachl <[EMAIL PROTECTED]> wrote: > thats a problem with my "wicketed"-mind! as wicket does so much, i just > expectet it will do this, too :P > > > -----Ursprüngliche Nachricht----- > > Von: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] Im Auftrag > > von Igor Vaynberg > > Gesendet: Montag, 7. August 2006 19:59 > > An: wicket-user@lists.sourceforge.net > > Betreff: Re: [Wicket-user] 3 day beginners overview / broken mounts > > > > and we are back to autolinking. autolinking is really a > > /convinience/ feature that is meant to help you with simple > > situations. this usecase is really an abuse of autolinking. > > dont expect it to do everything for you, use regular links or > > page links instead. > > > > -Igor > > > > > > On 8/7/06, Johan Compagner <[EMAIL PROTECTED]> wrote: > > > ahh ok tested it, i made a subpackage test and added there > > Page4.class > > > and Page4.html Then i looked at NavomaticBorder.html and > > changed this: > > > > > > > > > > > > <wicket:link> > > > <a href = " Page1.html">Page1</a><br/> > > > <a href = "Page2.html">Page2</a><br/> > > > <a href = "Page3.html">Page3</a> > > > <a href = "test/Page4.html">Page4</a> > > > </wicket:link> > > > > > > Page1 works then and the Page4 link i can click on. > > > That shows me the Page4 but I reused the navomaticborder in > > page4 so > > > Wicket:Link (auto link) tries to suddenly resolve the same hrefs to > > > urls. But Page1 and Page2 are not relative to Page4 so that > > will fail. > > > > > > So that won't work with auto links.. > > > > > > johan > > > > > > > > > > > > On 8/7/06, Korbinian Bachl <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > > > > > > > > Hi, > > > > > > > > after i played 3 days with wicket, its time to come to a > > small conlcsion. > > > To have it short, ill just write the pro and cons in my > > opinion. Later > > > on i describe a problem i have with the mount i applied to the > > > navomatic demo application. > > > > > > > > Wicket Pro: > > > > + good idea and model > > > > + intuitive and easy to understand > > > > + few code needed > > > > + OO > > > > > > > > Cons: > > > > - documentation isn worth the word... > > > > (wiki tells you things that dont work, are deprecated etc - has > > > > anyone a > > > clue what is the non-deprecated alternative to getSettings() ??? ) > > > > - wicket Markup output is on by default (pls care for VALID > > > > html....) > > > > - wicket-webage looks nice, but try to find sth. specific on it is > > > horrific (e.g. Wicket Library under Related Projets instead under > > > Documentation... as a newbie i want docs and didnt think a > > minute for > > > any additional projects) > > > > - mount seems broken completely if you use more than 1 package > > > > > > > > Mount problem description: > > > > > > > > i programmed the navomatic border example found on > > > http://wicket.sourceforge.net/ExampleNavomatic.html and enhanced it > > > with a fourth page (page4) wich lies in a subpackage (my default is > > > de.navo, where navomatic, page1/page2/page3 are and the package > > > de.navo.test helds the page4). > > > > > > > > I then created the init this way (i saw this recommended on > > > > javalobby and > > > it makes sense to me, as i like putting things in a hirarchical way > > > and ordered by their use - > > > > > > > > public void init() { > > > > getSettings().setStripWicketTags(true); > > > > mount("/main", PackageName.forClass(navomatic.class)); > > > > } > > > > > > > > First i was happy, as it works as intended, but then i > > checked the > > > > pages - > > > while the first 3 pages in main package are ok, the 4th in the > > > subpackage has big problems - its link is > > > > > http://localhost:8080/Navo2?wicket:bookmarkablePage=:de.navo.test.Page > > > 4 instead of the http://localhost:8080/Navo2/main/test/Page4 > > > and if youre on page4, all links, includig to the page4 itself, are > > > completly untouched (the code wicket should replace isnt > > replaced) - > > > so i thought to set each page individually, > > > > > > > > try 2 was this: > > > > > > > > > > > > public void init() { > > > > getSettings().setStripWicketTags(true); > > > > mountBookmarkablePage("/Page1", Page1.class); > > mountBookmarkablePage( > > > > "/Page2", Page2.class); mountBookmarkablePage( "/Page3", > > > > Page3.class); mountBookmarkablePage("/Page4" , Page4.class); } > > > > > > > > there the first 3 pages work as intended, however on > > page4 all the > > > > links > > > become untouched again and present the dummy text.... > > > > > > > > Best Regards, > > > > > > > > > > > > > > > > Korbinian > > > > > > > > > > > > ---------------------------------------------------------------------- > > > --- Using Tomcat but need to do more? Need to support web services, > > > security? > > > Get stuff done quickly with pre-integrated technology to > > make your job > > > easier Download IBM WebSphere Application Server v.1.0.1 based on > > > Apache Geronimo > > > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=1216 > > > 42 > > > > > > _______________________________________________ > > > Wicket-user mailing list > > > Wicket-user@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > > > > > > > > > > > ---------------------------------------------------------------------- > > > --- Using Tomcat but need to do more? Need to support web services, > > > security? > > > Get stuff done quickly with pre-integrated technology to > > make your job > > > easier Download IBM WebSphere Application Server v.1.0.1 based on > > > Apache Geronimo > > > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=1216 > > > 42 > > > > > > _______________________________________________ > > > Wicket-user mailing list > > > Wicket-user@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > > > > > > > -------------------------------------------------------------- > > ----------- > > Using Tomcat but need to do more? Need to support web > > services, security? > > Get stuff done quickly with pre-integrated technology to make > > your job easier Download IBM WebSphere Application Server > > v.1.0.1 based on Apache Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& > dat=121642 > > _______________________________________________ > > Wicket-user mailing list > > Wicket-user@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user