No. Those are submitted in a POST request, but not in the URL, the URL will remain short. Of course you should be careful, because in this case the hidden fields may grow very large, which may become a performance bottleneck. I didn't follow the discussion but if your page works with ActionLinks, then it is probably easy to replace them with LinkSubmits and embed the components in a Form. You can use several framework components which support forms like If, For, etc. to optimize your pages.

If you choose to use DirectLinks (which is probably better if you don't need forms) then you can store the objects in the HTTP session (in the Visit object or a custom session scoped ASO, see http://jakarta.apache.org/tapestry/UsersGuide/state.html#state.aso for more info).

BR,
Norbi

----- Original Message ----- From: "Stijn Christiaens" <[EMAIL PROTECTED]>
To: "Tapestry users" <[email protected]>
Sent: Wednesday, January 18, 2006 1:20 PM
Subject: Re: ActionLink and DirectLink


That sounds like a good idea. But is the data in these fields not also
passed in the URL?

On Wed, 2006-01-18 at 12:59 +0100, Norbert Sándor wrote:
Maybe embed those components in a Form...
So big objects will be stored in hidden fields.

BR,
Norbi

----- Original Message ----- From: "Stijn Christiaens" <[EMAIL PROTECTED]>
To: "Tapestry users" <[email protected]>
Sent: Wednesday, January 18, 2006 12:50 PM
Subject: ActionLink and DirectLink


> Hello everybody,
>
> previously I used ActionLink to do my dirty work, but it seems that > this > is not such a safe approach. In transferring to DirectLink I am a > little
> bit unsure about how to continue.
> I use my DirectLink with a listener and parameters. Unfortunately, the
> parameter Object I have to pass is too big to be serialized in the URL
> (the DirectLink does nothing because the URL is too long). So I > probably
> have to pass some kind of key (no database key as it is an Object in
> edit, so not saved yet and not to be saved yet either) as parameter.
> Where do I store the Object that is associated with this key?
> Do I place it on the Component or somewhere on something I can access
> using IRequestCycle?
>
> Thanks in advance!
>
> Ciao,
>
> Stijn
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
>
> -- > No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.375 / Virus Database: 267.14.20/233 - Release Date: 2006. > 01.
> 18.
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.14.20/233 - Release Date: 2006. 01. 18.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to