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

Julian Fitzell jfitzell at gmail.com
Wed May 5 17:50:12 UTC 2010


My *hunch* is that it probably works correctly as long as the block is
monadic. Squeak likely accept niladic blocks as well where other platforms
don't. But that would need to be verified.

Julian

On Wed, May 5, 2010 at 6:46 PM, Lukas Renggli <renggli at gmail.com> wrote:

> #ifNotNil: didn't work identically across platforms. I don't know if
> this is still the case?
>
> Lukas
>
> On 5 May 2010 19:38, Julian Fitzell <jfitzell at gmail.com> wrote:
> > 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
> >>
> >
> >
> > _______________________________________________
> > seaside mailing list
> > seaside at lists.squeakfoundation.org
> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> >
> >
>
>
>
> --
> Lukas Renggli
> www.lukas-renggli.ch
> _______________________________________________
> 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/41a64952/attachment.htm


More information about the seaside mailing list