yes, it's the same thing. what's more, in this scheme, we'd have to push all
the parameters to the service through the ugly limitations of URL syntax
where the parameters are no longer typesafe or object oriented.  there are
a dozen attributes to set on the button image resource generator in wicket
and we might want to add more or have complex model objects parameterize
something like a dynamic graphing component.  i really think having nice
first class resource objects just like we have now is the way to go.

Johan Compagner wrote:


how does a component with a dynamically generated image make that image available in your scheme? the component has to register the image with the service, doesn't it?


The component doesn't need to register an image with a service, it can
register the service that creates the images.
The images themselves can be created on the first request

http://www..../app?service=mydynamicbuttons&button=A

Whenever this url is hit wicket forwards the control to the registered
mydynamicbuttons service (registered by whatever component) which creates the image A, caches it, and streams it to response. Or precreate whatever
you need when the service object is created and registered with the
application.

And THIS last part is just the problem

how does it register itself? When?
Where is it specified that a component does that?
I think in the end we have exactly the same thing...
you have a file like:
mydynamicbuttons=my.class.that.exposes.this.Service

johan







-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to