> > > How are we going to support absolute package-path? > > Users can specify the Webapp base path, like you suggested.
You certainly know this is a problem JSP world and the reason why almost all frameworks have something like $contextPath variables. Something, I definitly don't want. > > > /admin/Home.html could solve the absolute Path problem. But I propose to > > combine it with a rootPackage name configureable through AppSettings. Like > > rootPath=wicket.myApp and href="/admin/Home.html" leads to class name > > wicket.myApp.admin.Home > > I was/am under the impression that we already know the root > classpath of our web application, you can initialize this value at > webapp startup. This idea is: usually your app has a base path like wicket.myexample.**- But you may not want to write it all the time. Somekind of root-Path or prefix or import would make life easier. Which html designer is interested in the jave package name? > > > do you already have an idea on how to implement it? I guess it'll be on > > Page level, right? I guess it'll have a cache to map found hrefs with > > classnames. Stop: can not only be class name, what about images? Are we > > going to treat *.html differently from everything else? > > Currently autolinks only work for HTML. I don't see why the new > approach would be any differently. I think we *can* extend it to work > for images but right now we should focus on replacing the preexisting > behavior and not more. I don't agree. You implement some magic with html but not everything else? That will lead to confusions, for sure. > > > will it support href in <head> like <link> as well? > > I am not familiar with <link>, please elaborate You use links to load external stylesheet or javascript files etc.. The point I intended to make: We have only little experience with Wicket component in the <head> section. Are <span> tags supported in <head> section? . While thinking about it. Isn't this a typical problem to be solved by some url-rewriter? There are servlet based url-rewriter available, for sure. Juergen ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user