Mmmh,
I would say there is a chance that OSGi and servicesare something to
look at, especially if you lo62 at

On 2/8/07, Mark R. Andrachek, Jr. <[EMAIL PROTECTED]> wrote:
> I think the IResourceStreamLocator is probably what I'm looking for,
> I'll see if I can't give it ago this evening.
>
> On 2/7/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> > ah, well if you dont need to switch these things on the fly it becomes much
> > simpler
> >
> > you can have your build script copy the proper resources in place, or you
> > can write your own IResourceStreamLocator to load them from anywhere you
> > want - there is an example in wicket-examples for custom markup loading.
> >
> > -igor
> >
> >
> >
> > On 2/7/07, Mark R. Andrachek, Jr. <[EMAIL PROTECTED]> wrote:
> > >
> > > So if you have 25 customers with custom look and feels, you have 25
> > > _variation files, each specific to a customer. Or make it 50, or 100,
> > > or 1,000 customers.
> > >
> > > You don't want to deploy all the variations to all the customers (they
> > > hold copyrights on some of their graphics and other ui elements, so
> > > legally you can't!). And you don't want to build 25 or 1,000 customer
> > > specific application jars.
> > >
> > > How do you handle that?
> > >
> > > What I'm looking for is a way for the app to be identical, regardless
> > > of to which customers machine it's deployed to, and for the ui
> > > resources (not just css and graphics, but html too) to be pluggable at
> > > runtime (without resorting to storing them in a database for example).
> > >
> > > I just though VFS might be a way to keep that neat and tidy,
> > > especially when you start getting into large numbers of components and
> > > variations.
> > >
> > > Mark
> > >
> > > On 2/7/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> > > > wicket also caches the markup, so this isnt exactly going to work.
> > > >
> > > > wicket has what is known as style and variation
> > > >
> > > > that means your component for MyPage.class can have alternative markups
> > such
> > > > as
> > > >
> > > > MyPage_style.html or MyPage_style_variation.html
> > > >
> > > > style is set on session and is a session-wide "skin" while variation is
> > > > scoped to component instance.
> > > >
> > > > -igor
> > > >
> > > >
> > > >
> > > > On 2/7/07, Mark R. Andrachek, Jr. <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > Greetings!
> > > > >
> > > > > I just recently discovered wicket and have been playing around with
> > > > > it. I'm impressed so far, it seems to be just what I was looking for.
> > > > >
> > > > > I've also been playing around with apache/jakarta commons vfs module
> > > > > (just released 1.0 this past December), which provides i/o access to
> > > > > files within a zip/tar/jar.  There are several programs I've seen in
> > > > > Linux that use a tar file to contain theme information (graphics,
> > > > > stylesheets, etc), and read files from the tar directly.
> > > > >
> > > > > So it seems to me a rather natural fit from a deployment perspective
> > > > > to actually separate the HTML, CSS, and graphics out into another
> > > > > module. So you could change the UI at any time without re-deploying
> > > > > your application, and you wouldn't have to be bothered with expanding
> > > > > or deploying anything extra.
> > > > >
> > > > > In case you're wondering, the VFS module handles caching of extracted
> > > > > content, but in general using 0 compression works the best.
> > > > >
> > > > > In thinking this through, one of the issues I can see with this is
> > > > > that the UI archive, if it contains css/javascript/html, etc. that
> > > > > isn't handled by wicket, will need to have some other java based
> > > > > interface to get at it (a getFile servlet or something).
> > > > >
> > > > > Now, I know, you're probably better off in most situations performance
> > > > > wise having a separate web server handle pushing your static content,
> > > > > but having it all in one easily deployable package is very attractive
> > > > > too.
> > > > >
> > > > > Thoughts?
> > > > >
> > > > > Thanks,
> > > > > Mark
> > > > >
> > > > >
> > > >
> > -------------------------------------------------------------------------
> > > > > 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
> > >
> >
> >
> > -------------------------------------------------------------------------
> > 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

Reply via email to