ugh.
this is a very small application and i have no interest in a general
web services api for this particular problem. i just want to post
and get some binary resource objects by id.
what about adding an onCustomResource() method to WebRequestCycle
which can be overridden for people that want custom resources... ?
if you returned true from that method (the default implementation just
returns
false), then WebRequestCyle would act like it does for staticContent()
etc...
// Don't update the cluster, not returning a page
setUpdateCluster(false);
setResponsePage((Page)null);
return false;
much simpler and avoids megabytes of code i don't need at all.
all i want is this:
http://server/app/myresource/<id>
to return a stream.
Phil Kulak wrote:
I think integration with Apache Axis would be the way to go here.
On 8/5/05, Jonathan Locke <[EMAIL PROTECTED]> wrote:
i want to be able to do non-html client/server stuff over http using
wicket. this is
especially useful in having a java applet talk to its originating server
in the presence
of firewalls that block everything but port 80.
in particular i want to send simple representations of database objects
and binary
files pulled out of a database back and forth.
wicket is /almost/ all set up to do that except that there is no URL
syntax for it yet.
one way we could enable a problem like this to be solved would be to
remove the
final keyword from the parseRequest() method in WebRequestCycle.java. this
would permit users to do their own request parsing to solve problems
like this.
but the choice we make here is whether we want to open this up or
instead make
a specific solution to the particular problem of getting and setting
data over http
(which is likely to be a problem for others).
thoughts?
jon
-------------------------------------------------------
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
Wicket-user@lists.sourceforge.net
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
Wicket-user@lists.sourceforge.net
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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user