Happy new year to all fo you

> 
> 1) We unify the resource path. You must place all your files in
> /WebApp/ or /WebApp/WEB-INF/classes/ but not both.

I'd like to skip that feature only for something really important.

> 2) Contrary to my previous email, you can refer outside the WebApp.
> Refering to "/" refers to the root path on the server, *not* the
> WebApp. If you wish to refer to the root of your WebApp, you're
> supposed to use "/WebApp". I believe JSP works the same way.

I''m 100% against this approach. It means. whenever to deplay your app
in another serv elt context, yoou have modify plenty of your markup
files. You are no longer able to deploy v1 in /appTest1; a 2nd
revision in /appTest2 without modification.

> 3) Extend autolink to work for *any* resource (including images) by
> encoding the markup type into the class name. That is,
> /WebApp/WEB-INF/classes/MyPage.class becomes
> /WebApp/WEB-INF/classes/MyPage$html.class
> 
>         The general markup would be <path>/<class name>$<markup
> name>.class
> 

Wicket is about making things easy and intuitiv. From a user's point
of view I would think: what the hell did they think about when they
decided to go that road.

Sorry Gili, but for me it doesn't sound like it is the solution.

Just an idea: what about 
href="classpath:Home.html", 
href="classpath:/myDir/Home.html"
href="sourcepath:...."

But I guess dreamweaver will complain about the invalid href. And I'm
not sure this any better than [autolink]. Assuming [autolink]
restricts the href to web app internal destinations /mydir/Home.html
would do. autolink would convert it to /myWebApp/mydir/Home.html. If I
want to go outside I simple remove [autolink].

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

Reply via email to