help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] Iliad: Passing parameters from the url, how-to?


From: Nicolas Petton
Subject: Re: [Help-smalltalk] Iliad: Passing parameters from the url, how-to?
Date: Wed, 10 Mar 2010 17:27:07 +0100

Le mercredi 10 mars 2010 à 18:09 +0200, Bèrto ëd Sèra a écrit :
> Hi all,
> 
> Is there any way to do the equivalent of a php ?parm1=... in Iliad?
> And how do I retrieve the values?

I forwarded the email to Iliad mailing list.

Sure, it's simple to do. You can write code like this:

e a href: ((Iliad.ILUrl absolute: '/foo') addParameter: 'bar' value:
baz) asString

or simply using a string: e a href: '/foo?bar=baz'


Then you can retreive the field with:

self request at: 'bar' ifAbsent: ...

HTH,

Nico

Attachment: signature.asc
Description: Ceci est une partie de message numériquement signée


reply via email to

[Prev in Thread] Current Thread [Next in Thread]