• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: WOBiking
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >WOBiking (From: Jean Pierre Malrieu <email@hidden>)
 >Re: WOBiking (From: Mike Schrag <email@hidden>)
 >Re: WOBiking (From: Guido Neitzer <email@hidden>)
 >Re: WOBiking (From: Xavier Destombes <email@hidden>)
 >Re: WOBiking (From: Mike Schrag <email@hidden>)
 >Re: WOBiking (From: Xavier Destombes <email@hidden>)
 >Re: WOBiking (From: Mike Schrag <email@hidden>)

  • Prev by Date: Re: Velocity EOGenerator create package problem
  • Next by Date: Re: Confusing locking error
  • Previous by thread: Re: WOBiking
  • Next by thread: Apple dropping WO from own sites
  • Index(es):
    • Date
    • Thread