Hi Lukasz,
Thanks a lot for your reply. I use Struts 2 Jquery Plugin. Here is formatted
code.
html:
Select
keywords
1 Cool
1 Heat
3
Heat
1 Heat/1
Cool
jsp:
I pass in an array to "value". The array has [1 Cool, 1 Heat, 1 Heat/1
Cool].
Dave,
Thanks your very much, it works very well
brw, the book you wrote/published, i had it.
john
From: Dave Newton
To: Struts Users Mailing List ; john lee
Sent: Tuesday, August 6, 2013 11:26 AM
Subject: Re: sj:a json return result question
Co
Configure your result's `root` to be `sum`, otherwise it will serialize the
entire action.
On Tue, Aug 6, 2013 at 10:31 AM, john lee wrote:
>
> Question for Sjquery's sj:a tag as the following
>
>
> href="%{ajax}"
> targets="result"
>
Question for Sjquery's sj:a tag as the following
TOTAL # PARTS
public class ReportkeyAction extends extends ActionSupport {
private int sum;
public int getSum() { return sum; }
public void setSum(int sum) { this.sum = sum; }
public String execute() throws
Hi All,
We are migrating from struts1 to struts2.
In our pages we have multiple buttons which through struts1 DispatchAction
can be guided to different methods in Action class. For that we need
minimal changes. Such as
In action mapping if we add parameter="action" and in JSP if the URL is
like
5 matches
Mail list logo