Re: [Wicket-user] 3 day beginners overview / broken mounts
Maybe just add some notification text to the edit page to remind people to add it. I know the Hibernate forums provide default text in the textarea to remind people to enter as much relevant info as possible, which could be another option. On 8/7/06, Gwyn Evans <[EMAIL PROTECTED]> wrote: On 07/08/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:> im not a wiki admin so hopefully gwyn is reading with us ;)You are, actually! :-)Anyway, it's certainly worth suggesting to people who're adding code that they mention the version they're using, but I'm not sure how easyit'd be to tweak the wiki to ensure there's a field to be set.../Gwyn> as far as the mounts it shouldnt be a problem, wicket resolves the > longest mount it can first.>> -Igor>>> On 8/7/06, Korbinian Bachl <[EMAIL PROTECTED]> wrote:> > well, after "playing around" for only 3 days it might be a bit too early, > > but basicly i would do some work in that way -> >> > btw: you mentioned the wiki and sth, that had was a big problem is that the> > wiki never tells you what version is covered with the current page, so you > > should add a needed field there where the users have to enter the version of> > wicket they write this for> >--Download Wicket 1.2.1 now! - http://wicketframework.org-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 Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___Wicket-user mailing listWicket-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
Re: [Wicket-user] 3 day beginners overview / broken mounts
On 07/08/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > im not a wiki admin so hopefully gwyn is reading with us ;) You are, actually! :-) Anyway, it's certainly worth suggesting to people who're adding code that they mention the version they're using, but I'm not sure how easy it'd be to tweak the wiki to ensure there's a field to be set... /Gwyn > as far as the mounts it shouldnt be a problem, wicket resolves the > longest mount it can first. > > -Igor > > > On 8/7/06, Korbinian Bachl <[EMAIL PROTECTED]> wrote: > > well, after "playing around" for only 3 days it might be a bit too early, > > but basicly i would do some work in that way - > > > > btw: you mentioned the wiki and sth, that had was a big problem is that the > > wiki never tells you what version is covered with the current page, so you > > should add a needed field there where the users have to enter the version of > > wicket they write this for > > -- Download Wicket 1.2.1 now! - http://wicketframework.org - 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
Re: [Wicket-user] 3 day beginners overview / broken mounts
im not a wiki admin so hopefully gwyn is reading with us ;) as far as the mounts it shouldnt be a problem, wicket resolves the longest mount it can first. -Igor On 8/7/06, Korbinian Bachl <[EMAIL PROTECTED]> wrote: > well, after "playing around" for only 3 days it might be a bit too early, > but basicly i would do some work in that way - > > btw: you mentioned the wiki and sth, that had was a big problem is that the > wiki never tells you what version is covered with the current page, so you > should add a needed field there where the users have to enter the version of > wicket they write this for > > Reagrds, Korbinian > > PS: if i use mount for e.g. "/dummy" can i then use another mount for > "/dummy/dummy2" or would this create big problems for wicket ? > > > > > -Ursprüngliche Nachricht- > > Von: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] Im Auftrag > > von Igor Vaynberg > > Gesendet: Montag, 7. August 2006 20:22 > > An: wicket-user@lists.sourceforge.net > > Betreff: Re: [Wicket-user] 3 day beginners overview / broken mounts > > > > are you willing to do that? :) we rely on users to create > > wiki articles because we ourselves lack the time. > > > > -Igor > > > > > > On 8/7/06, Korbinian Bachl <[EMAIL PROTECTED]> wrote: > > > Perhaps disabling it by default and creating a doc-page > > that explains > > > its limits and usage would do the trick > > > > > > > -Ursprüngliche Nachricht- > > > > Von: [EMAIL PROTECTED] > > > > [mailto:[EMAIL PROTECTED] Im Auftrag von > > > > Igor Vaynberg > > > > Gesendet: Montag, 7. August 2006 20:08 > > > > An: wicket-user@lists.sourceforge.net > > > > Betreff: Re: [Wicket-user] 3 day beginners overview / > > broken mounts > > > > > > > > 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: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Page1 > > > > > > >> "Page2.html">Page2 > > > > > > > Page3 > > > > > > >> "test/Page4.html">Page4 > > > > > > > > > > > > > > > > > > > > > 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
Re: [Wicket-user] 3 day beginners overview / broken mounts
> Wicket Pro: > + good idea and model > + intuitive and easy to understand > + few code needed > + OO > > Cons: > - documentation isn worth the word... We've had this discussion many times and it depends on what you think documentation should be. If you mean a manual you are right. That completely sucks and the little there is is horribly out-of-date. On the other hand, we have very decent JavaDocs (whereas most OSS project pretty much suck at that in my opinion) and we put a lot of effort in our examples: wicket-examples (including the compref), wicket-phonebook, wicket-extensions-examples, etc. Personally I prefer to work with examples and test cases over manuals. That said, what we need is someone to take care of the documentation and site. We're an open source project, the current team members are awfully busy with things like supporting this list, fixing and improving Wicket's code, writing a book, etc. There are just no more hours in a day. I other words - like we've consistently been asking through the years - we need people in our team for documentation! Anyone can start right now by going to the WIKI, fix what is wrong, and write something up that you might think would be helpful for others. > (wiki tells you things that dont work, are deprecated etc It is maintained by anyone that feels like it (though we try not to allow bots). Eelco - 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
Re: [Wicket-user] 3 day beginners overview / broken mounts
i think we can handle those nested mountsI believe that is igors code (sorting on length) :)johanOn 8/7/06, Korbinian Bachl < [EMAIL PROTECTED]> wrote:well, after "playing around" for only 3 days it might be a bit too early, but basicly i would do some work in that way -btw: you mentioned the wiki and sth, that had was a big problem is that thewiki never tells you what version is covered with the current page, so youshould add a needed field there where the users have to enter the version of wicket they write this forReagrds, KorbinianPS: if i use mount for e.g. "/dummy" can i then use another mount for"/dummy/dummy2" or would this create big problems for wicket ? > -Ursprüngliche Nachricht-> Von: [EMAIL PROTECTED]> [mailto: [EMAIL PROTECTED]] Im Auftrag> von Igor Vaynberg> Gesendet: Montag, 7. August 2006 20:22> An: wicket-user@lists.sourceforge.net > Betreff: Re: [Wicket-user] 3 day beginners overview / broken mounts>> are you willing to do that? :) we rely on users to create> wiki articles because we ourselves lack the time.> > -Igor>>> On 8/7/06, Korbinian Bachl <[EMAIL PROTECTED]> wrote:> > Perhaps disabling it by default and creating a doc-page> that explains > > its limits and usage would do the trick> >> > > -Ursprüngliche Nachricht-> > > Von: [EMAIL PROTECTED] > > > [mailto:[EMAIL PROTECTED]] Im Auftrag von> > > Igor Vaynberg> > > Gesendet: Montag, 7. August 2006 20:08 > > > An: wicket-user@lists.sourceforge.net> > > Betreff: Re: [Wicket-user] 3 day beginners overview /> broken mounts> > > > > > 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:> > > > > >> > > > > >> > > > > >> > > > > > > > > > > > > Page1.html">Page1> > > > > > > " Page2.html">Page2> > > > > > > > > > > > > "test/Page4.html">Page4> > > > > > > > > > > >> > > > > > 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:> > > > > > >> > > > > > >> > > > > > >> > > > > > > &g
Re: [Wicket-user] 3 day beginners overview / broken mounts
well, after "playing around" for only 3 days it might be a bit too early, but basicly i would do some work in that way - btw: you mentioned the wiki and sth, that had was a big problem is that the wiki never tells you what version is covered with the current page, so you should add a needed field there where the users have to enter the version of wicket they write this for Reagrds, Korbinian PS: if i use mount for e.g. "/dummy" can i then use another mount for "/dummy/dummy2" or would this create big problems for wicket ? > -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Im Auftrag > von Igor Vaynberg > Gesendet: Montag, 7. August 2006 20:22 > An: wicket-user@lists.sourceforge.net > Betreff: Re: [Wicket-user] 3 day beginners overview / broken mounts > > are you willing to do that? :) we rely on users to create > wiki articles because we ourselves lack the time. > > -Igor > > > On 8/7/06, Korbinian Bachl <[EMAIL PROTECTED]> wrote: > > Perhaps disabling it by default and creating a doc-page > that explains > > its limits and usage would do the trick > > > > > -Ursprüngliche Nachricht- > > > Von: [EMAIL PROTECTED] > > > [mailto:[EMAIL PROTECTED] Im Auftrag von > > > Igor Vaynberg > > > Gesendet: Montag, 7. August 2006 20:08 > > > An: wicket-user@lists.sourceforge.net > > > Betreff: Re: [Wicket-user] 3 day beginners overview / > broken mounts > > > > > > 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: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Page1 > > > > > >"Page2.html">Page2 > > > > > > Page3 > > > > > >"test/Page4.html">Page4 > > > > > > > > > > > > > > > > > > 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, > > > > > > > > > > > >
Re: [Wicket-user] 3 day beginners overview / broken mounts
are you willing to do that? :) we rely on users to create wiki articles because we ourselves lack the time. -Igor On 8/7/06, Korbinian Bachl <[EMAIL PROTECTED]> wrote: > Perhaps disabling it by default and creating a doc-page that explains its > limits and usage would do the trick > > > -Ursprüngliche Nachricht- > > Von: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] Im Auftrag > > von Igor Vaynberg > > Gesendet: Montag, 7. August 2006 20:08 > > An: wicket-user@lists.sourceforge.net > > Betreff: Re: [Wicket-user] 3 day beginners overview / broken mounts > > > > 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: > > > > > > > > > > > > > > > > > > > > > > > > > Page1 > > > > > Page2 > > > > > Page3 > > > > > Page4 > > > > > > > > > > > > > > > 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 did
Re: [Wicket-user] 3 day beginners overview / broken mounts
Yeah. And I argued to have it not in there in the first place. But many users and some team members felt really strong about this feature, and probably still feel like that today. Convenience isn't always the right thing. Anyway, we have to live with this feature now, and we should support it in the best way we can. Maybe the best way here is to document the catches in a place that is easy to find. Eelco On 8/7/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > 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: > > > > > > > > > > > > > > > > > > > > Page1 > > > > Page2 > > > > Page3 > > > > Page4 > > > > > > > > > > > > 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 pac
Re: [Wicket-user] 3 day beginners overview / broken mounts
Perhaps disabling it by default and creating a doc-page that explains its limits and usage would do the trick > -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Im Auftrag > von Igor Vaynberg > Gesendet: Montag, 7. August 2006 20:08 > An: wicket-user@lists.sourceforge.net > Betreff: Re: [Wicket-user] 3 day beginners overview / broken mounts > > 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: > > > > > > > > > > > > > > > > > > > > Page1 > > > > Page2 > > > > Page3 > > > > Page4 > > > > > > > > > > > > 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 hel
Re: [Wicket-user] 3 day beginners overview / broken mounts
Ah, sorry, had implemented a wrong interface The collision is logic, but could be resolved as the highest level gets the primary attention... but ok, writing some lines mount-code is not a big problem. Thanks for your help! Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Johan CompagnerGesendet: Montag, 7. August 2006 20:07An: wicket-user@lists.sourceforge.netBetreff: Re: [Wicket-user] 3 day beginners overview / broken mounts Hi,IMarkupSettings: /** * Sets whether to remove wicket tags from the output. * * @param stripWicketTags * whether to remove wicket tags from the output */ void setStripWicketTags(boolean stripWicketTags);Yes you need to mound package by package. How would we else handle collisions?You can have a PageX in both packages. Or then suddenly add a piece of that dir that is left also to the url? Packages in java are standalone things. There is not really such a thing as subpackages Thats only how we view them if we view them as a directory structure..johan On 8/7/06, Korbinian Bachl <[EMAIL PROTECTED]> wrote: Hi Johan, if you want i can mail you the complete eclipse-project, so you dont have to do it yourself. That the Settings object is divided is sth. i found out- but its quite hard (and unlogic for me) that the settings are scattered over various interfaces... however, the IMarkupSettings settings hasnt got a setStripWicketTags method...is there any overview of all (!) settings possibilites and their execution ? To the PackageMount - does this mean i have to define a mount for every subpackage? Thanks for help, Best Regards, Korbinian Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ] Im Auftrag von Johan CompagnerGesendet: Montag, 7. August 2006 19:43An: wicket-user@lists.sourceforge.netBetreff: Re: [Wicket-user] 3 day beginners overview / broken mounts Settings object is dividedThe StripWicketTags is a part of the IMarkupSettings settings interface.PackageMounting is really the package not subpackages (as far as i know)What that second attempt failed i have to check out for myself first what exactly goes wrong. 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.Page4 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);mountBo
Re: [Wicket-user] 3 day beginners overview / broken mounts
if you look in wicket.settings package you will see all the setting interfaces. wicket has /a lot/ of options you can configure and having them in a single object is overwhelming. just look at Settings in the same package - this is the aggregate all interfaces point to - its insane. the idea was to compartmentalize settings into units that will make it easier for users to find - so if you want to change something related to markup such as stripping wicket tags you just do getMarkupSettings(). and your ide will show you all settings related to markup. -Igor On 8/7/06, Johan Compagner <[EMAIL PROTECTED]> wrote: > Hi, > > IMarkupSettings: > > /** > * Sets whether to remove wicket tags from the output. > * > * @param stripWicketTags > *whether to remove wicket tags from the output > */ > void setStripWicketTags(boolean stripWicketTags); > > > Yes you need to mound package by package. How would we else handle > collisions? > You can have a PageX in both packages. Or then suddenly add a piece of that > dir that is left also to the url? > > Packages in java are standalone things. There is not really such a thing as > subpackages > Thats only how we view them if we view them as a directory structure.. > > > johan > > > > On 8/7/06, Korbinian Bachl <[EMAIL PROTECTED]> wrote: > > > > > > > > Hi Johan, > > > > if you want i can mail you the complete eclipse-project, so you dont have > to do it yourself. > > > > That the Settings object is divided is sth. i found out- but its quite > hard (and unlogic for me) that the settings are scattered over various > interfaces... however, the > > > > IMarkupSettings settings > > > > hasnt got a setStripWicketTags method... > > is there any overview of all (!) settings possibilites and their execution > ? > > To the PackageMount - does this mean i have to define a mount for every > subpackage? > > > > Thanks for help, > > > > Best Regards, > > > > Korbinian > > > > > > > > ____________ > Von: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] ] Im > Auftrag von Johan Compagner > > Gesendet: Montag, 7. August 2006 19:43 > > An: wicket-user@lists.sourceforge.net > > Betreff: Re: [Wicket-user] 3 day beginners overview / broken mounts > > > > > > > > Settings object is divided > > > > The StripWicketTags is a part of the IMarkupSettings settings interface. > > > > PackageMounting is really the package not subpackages (as far as i know) > > > > What that second attempt failed i have to check out for myself first what > exactly goes wrong. > > > > 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", PackageNa
Re: [Wicket-user] 3 day beginners overview / broken mounts
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: > > > > > > > > > > > > > > > Page1 > > > Page2 > > > Page3 > > > Page4 > > > > > > > > > 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:
Re: [Wicket-user] 3 day beginners overview / broken mounts
Hi,IMarkupSettings: /** * Sets whether to remove wicket tags from the output. * * @param stripWicketTags * whether to remove wicket tags from the output */ void setStripWicketTags(boolean stripWicketTags);Yes you need to mound package by package. How would we else handle collisions?You can have a PageX in both packages. Or then suddenly add a piece of that dir that is left also to the url? Packages in java are standalone things. There is not really such a thing as subpackages Thats only how we view them if we view them as a directory structure..johan On 8/7/06, Korbinian Bachl <[EMAIL PROTECTED]> wrote: Hi Johan, if you want i can mail you the complete eclipse-project, so you dont have to do it yourself. That the Settings object is divided is sth. i found out- but its quite hard (and unlogic for me) that the settings are scattered over various interfaces... however, the IMarkupSettings settings hasnt got a setStripWicketTags method...is there any overview of all (!) settings possibilites and their execution ? To the PackageMount - does this mean i have to define a mount for every subpackage? Thanks for help, Best Regards, Korbinian Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ] Im Auftrag von Johan CompagnerGesendet: Montag, 7. August 2006 19:43An: wicket-user@lists.sourceforge.netBetreff: Re: [Wicket-user] 3 day beginners overview / broken mounts Settings object is dividedThe StripWicketTags is a part of the IMarkupSettings settings interface.PackageMounting is really the package not subpackages (as far as i know)What that second attempt failed i have to check out for myself first what exactly goes wrong. 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.Page4 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=26305
Re: [Wicket-user] 3 day beginners overview / broken mounts
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: > > > > > > > > > > Page1 > > Page2 > > Page3 > > Page4 > > > > > > 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" , P
Re: [Wicket-user] 3 day beginners overview / broken mounts
Hi Johan, if you want i can mail you the complete eclipse-project, so you dont have to do it yourself. That the Settings object is divided is sth. i found out- but its quite hard (and unlogic for me) that the settings are scattered over various interfaces... however, the IMarkupSettings settings hasnt got a setStripWicketTags method...is there any overview of all (!) settings possibilites and their execution ? To the PackageMount - does this mean i have to define a mount for every subpackage? Thanks for help, Best Regards, Korbinian Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Johan CompagnerGesendet: Montag, 7. August 2006 19:43An: wicket-user@lists.sourceforge.netBetreff: Re: [Wicket-user] 3 day beginners overview / broken mounts Settings object is dividedThe StripWicketTags is a part of the IMarkupSettings settings interface.PackageMounting is really the package not subpackages (as far as i know)What that second attempt failed i have to check out for myself first what exactly goes wrong. 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.Page4 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 Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://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
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: > > > > > Page1 > Page2 > Page3 > Page4 > > > 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.Page4 > 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=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 w
Re: [Wicket-user] 3 day beginners overview / broken mounts
ahh ok tested it, i made a subpackage test and added there Page4.class and Page4.htmlThen i looked at NavomaticBorder.html and changed this: Page1 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..johanOn 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.Page4 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=121642___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://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
Re: [Wicket-user] 3 day beginners overview / broken mounts
Settings object is dividedThe StripWicketTags is a part of the IMarkupSettings settings interface.PackageMounting is really the package not subpackages (as far as i know)What that second attempt failed i have to check out for myself first what exactly goes wrong. johanOn 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.Page4 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=121642___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://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