Re: [Wicket-user] Mounting a package

2007-02-13 Thread Igor Vaynberg

hrm actually i think by default if you mount a package you will have access
to static files like js, css, html.
to build a url you do this

requestcycle.urlfor(new resourcereference(class inside the package next to
which the files are, filename))

-igor


On 2/12/07, Paolo Di Tommaso <[EMAIL PROTECTED]> wrote:


OK. But from where I could start?

Thanks, Paolo

On 2/12/07, Igor Vaynberg <[EMAIL PROTECTED] > wrote:
>
> no, access to files, within a package or not, is provided via shared
> resources. it should be pretty easy to write a resource to do what you want
> though.
>
> -igor
>
>
> On 2/12/07, Paolo Di Tommaso <[EMAIL PROTECTED]> wrote:
> >
> >  Is it possible to use WebApplication#mount(java.lang.String path,
> > PackageName packageName) to map a package name to a path and then access all
> > the static resources (like images, etc) in the package by that path?
> >
> > Thanks, Paolo
> >
>
-
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


Re: [Wicket-user] Mounting a package

2007-02-12 Thread Paolo Di Tommaso

OK. But from where I could start?

Thanks, Paolo

On 2/12/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:


no, access to files, within a package or not, is provided via shared
resources. it should be pretty easy to write a resource to do what you want
though.

-igor


On 2/12/07, Paolo Di Tommaso <[EMAIL PROTECTED]> wrote:
>
> Is it possible to use WebApplication#mount(java.lang.String path,
> PackageName packageName) to map a package name to a path and then access all
> the static resources (like images, etc) in the package by that path?
>
> Thanks, Paolo
>

-
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] Mounting a package

2007-02-12 Thread Igor Vaynberg

no, access to files, within a package or not, is provided via shared
resources. it should be pretty easy to write a resource to do what you want
though.

-igor


On 2/12/07, Paolo Di Tommaso <[EMAIL PROTECTED]> wrote:


Is it possible to use WebApplication#mount(java.lang.String path,
PackageName packageName) to map a package name to a path and then access all
the static resources (like images, etc) in the package by that path?

Thanks, Paolo

-
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


[Wicket-user] Mounting a package

2007-02-12 Thread Paolo Di Tommaso

Is it possible to use WebApplication#mount(java.lang.String path,
PackageName packageName) to map a package name to a path and then access all
the static resources (like images, etc) in the package by that path?

Thanks, Paolo
-
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