At Wed, 7 Apr 2004 13:17:24 -0300, Luiz Fernando wrote: > Wednesday, April 7, 2004, 11:35:32 AM, você escreveu: > Sbc> I have a component, and inside component I am calling another component like > this > Sbc> Component1: > Sbc> ------------------ > Sbc> <a href="/component2?arg1=[+ $fdat{arg1} +];arg2=[+ > Sbc> $fdat{arg2} +];arg3=[+ $fdat{arg3} +].....>SomeData</a> > Sbc> The problem is I have many arguments to pass and I have a > Sbc> long navigation path. Is there any way in embperl to send > Sbc> these arguments (or form data) of component1 to component2 > Sbc> or reference them in component2 without > Sbc> specifying them in the href tag. I appreciate your help. > > You should use a form with POST method. > 1. Put a <form method="POST" action="/component2" name="myForm"> somewhere in your > page. > 2. Put your arguments in hidden tags or use the magical [$ hidden $] > feature of Embperl to populate your form. > 3. In your link put href="document.myForm.submit()".
or if you're using sessions you can just cram it all into %udat (or %sdat in newer Embperl versions) and it'll magically appear wherever that user goes.. -- - Gus --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]