Sorry! Wrong list!

----
Marcelo Carvalho Fernandes
+55 21 8272-7970
+55 21 2205-2786


On Fri, Apr 13, 2012 at 10:54 PM, Marcelo Carvalho Fernandes <
mcf2...@gmail.com> wrote:

> Hi!
>
> I have the following gsp code...
>
> <g:each in="${productInstanceList}" status="i" var="productInstance">
>    <!-- display product properties ommited -->
>    <g:remoteLink action="addaction"
>                  id="${i}"
>                  update="[success:'what-to-put-here',failure:'error']"
>                  on404="alert('not found');">
>        Select this product
>    </g:remoteLink>
> </g:each>
>
> How to have each remoteLink to change it's "Select this product" text to
> what "addaction" renders?
> The problem I'm facing is that I don't know what to put in '
> what-to-put-here' in order to achieve that.
>
> Of course, I'm new to gsp tags. Any idea?
>
> Thanks in advance,
>
> ----
> Marcelo Carvalho Fernandes
> +55 21 8272-7970
> +55 21 2205-2786
>

Reply via email to