uh, i don't know. maybe. the thing is, we've already got all these
cool ResourceStream classes
like StringResourceStream, FileResourceStream and UrlResourceStream.
maybe it's better to
just add the protected method that gives you the request parameters? I
could see us adding
DatabaseResourceStream in the database package too... that would be
very neat and would
hide the whole Blob access thing potentially... getting down to directly
dealing with InputStream
would lose us the resource stream abstraction we've been building.
Johan Compagner wrote:
ooooh. very sneaky!
it's my middle name ;)
i like it. but maybe we can provide a little helper subclass so
people don't have to
do this to get resource parameters:
Map params = RequestCycle.get().getRequest().getParameterMap();
that takes a bit more knowledge of wicket than most people probably
have.
yes thinking in the same direction.
Just need something as below as default implementation
And they only have to implement one method:
public InputStream getInputStream(Map params)
{
}
And i have to fix one think more in the handling of the last
modified/cacheable nature of resources (i am on that)
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-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user
-------------------------------------------------------
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-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user