Thanks simo, but I must not correctly express myself ...
I know how to handle this parameter on action side (as you show), and
retrieve it in associated view later, but that I want is the ability
to get this parameter on client-side, for instance, on the moment
you'll click the link that will initiate the action which can use
$this->getRequestParameter('id').
Using javascript, but embedded in Symfony drop_receiving_element
helper.

By the way, you don't have to use getRequestParameter('id', null), as
"null" is the default value anyway :]

On 27 juin, 06:02, simo <[EMAIL PROTECTED]> wrote:
> $this->varid = $this->getRequestParameter('id', null);
>
> in your actionSuccess.php :
>
> <?php echo $varid ?>
>
> that's folks!
>
> On 26 juin, 21:11, Shinkan <[EMAIL PROTECTED]> wrote:
>
> > Hi everyone !
>
> > I need to obtain the ID of the dropped element when an element is
> > dropped on a drop_receiving_element.
> > I can have it easily on Action side (using 
> > $this->getRequestParameter('id')), but I also would like to use the ID on
>
> > the View side, as soon as an element is dropped on my droppable, to
> > immediately update something which is not depending on the
> > drop_receiving_element triggered action.
>
> > THanks a lot in advance, I really need that trick !
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to