struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <newton.d...@yahoo.com>
Subject Re: Invoking action method from javascript
Date Fri, 29 Feb 2008 15:36:19 GMT
--- Paranoid_Fabio <paranoid_fabio@yahoo.it> 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 value in the action, and delete the appropriate DB entries.

Dave


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message