Ok. Thank you. I will try this way.
Paranoid_Fabio wrote:
>
> Hello. I've an action that populates a table with some info. In each row,
> there's a button to delete the entry and the associated object from the
> DB.
> In my action class I've a list (something like a queue) of the ID that
> will
--- Paranoid_Fabio <[EMAIL PROTECTED]> wrote:
> I don't want to invoke a removeAction for every click...but I think it's
> the only way..isn't it?
You could keep a JavaScript variable containing a comma- (or whatever-)
separated list of IDs to remove and submit that value on submission, parse
the
Thank you. In fact I don't have a removeAction, but only a removeMethod() in
the same action that display and populate the list. Because I don't want to
remove the element from the DB on click, I only want to add the clicked ID
to a remove queue. Then all the remove queue will be processed by a
re
you can say, document.location.href = '?myId=' + myId;
This will cause the whole page to refresh, so you should probably have
a prepare method if you have any data that needs to be populated on
that page (ie your table).
I personally would use Ajax to make the call, having a full page
refresh on
4 matches
Mail list logo