Re: WOBiking
Re: WOBiking
- Subject: Re: WOBiking
- From: Xavier Destombes <email@hidden>
- Date: Wed, 8 Oct 2008 18:24:34 +0200
Assuming I have a url like: /cgi-bin/WebObjects/MyApp.woa/
instanceNumber/wa/action?
p2=param2&p1=param1&p3=param3&wosid=sessionID
It depends on the exact ordering of how you put the parameters onto
your URL. The default pattern stuff will not support this, but a
completely custom impl of _rewriteURL probably can (assuming you
have set the query params early enough instead of manually attaching
them after generating the base url). Using ERXMutableURL will
probably make this much easier to implement that custom method, also.
I'm not managing the order right now, I just know there's a param1 if
there's a param2;) But I'll have a look at it to make sure I can
handle that.
Obviously, your apache rewrite rule will get equivalently more
complex, too.
That's true, I was investigating on having a script as the rewrite
rule and not a static method, but even if it's working for now, it's
not exactly what I'd like.
So Wonder doesn't do much in this case except give you the hooks to
get in at the right time.
It's already a good starting point, I'll have a look at ERXMutableURL.
Thanks Mike
Xavier
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden