[Seaside] [3.0] WARequestHandler>>url multiple attribute searches

Julian Fitzell jfitzell at gmail.com
Wed May 5 17:38:13 UTC 2010


As I recall, we specifically don't use #ifNotNil: that way (we do use
#ifNil: but only for cases where we are supplying a replacement value -- for
flow control we use "isNil ifTrue:"). I can't recall if this is due to a
compatibility issue or is a stylistic choice (or if I'm remembering the
details of what isn't allowed incorrectly). Lukas?

Julian

On Wed, May 5, 2010 at 1:55 PM, Boris Popov, DeepCove Labs (YVR) <
boris at deepcovelabs.com> wrote:

>  Suggestion,
>
>
>
> WARequestHandler>>url
>
>  | url |
>
>  url := self basicUrl.
>
>  self serverPath ifNotNil: [:v | url parsePath: v].
>
>  self serverProtocol ifNotNil: [:v | url scheme: v].
>
>  self serverHostname ifNotNil: [:v | url host: v].
>
>  self serverPort ifNotNil: [:v | url port: v].
>
>  ^url
>
>
>
> -Boris
>
>
>
> --
>
> DeepCove Labs Ltd.
>
> +1 (604) 689-0322
>
> 4th floor, 595 Howe Street
>
> Vancouver, British Columbia
>
> Canada V6C 2T5
>
> http://tinyurl.com/r7uw4
>
>
>
> PacNet Services (Europe) Ltd.
>
> +353 (0)61 714-360
>
> Shannon Airport House, SFZ
>
> County Clare, Ireland
>
> http://tinyurl.com/y952amr
>
>
>
> CONFIDENTIALITY NOTICE
>
>
>
> This email is intended only for the persons named in the message header.
> Unless otherwise indicated, it contains information that is private and
> confidential. If you have received it in error, please notify the sender and
> delete the entire message including any attachments.
>
>
>
> Thank you.
>
>
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20100505/61ca25ec/attachment.htm


More information about the seaside mailing list