Yes, I have tried it before, I did not get the expected results, but It could
be due to some other related issues I am not aware of it. I am trying to show
the indicator image when the request is made. I don't want to use the action
name on the form because I have several submit buttons that shares the same
form.
This is how I did it.
<%@ taglib prefix="sj" uri="/struts-jquery-tags"%>
<head>
<sj:head jqueryui="true"/>
</head>
<s:form>
<s:url id="agencyBills" value="/generateAgencyBills.action"></s:url>
<sj:submit href="%{billsAction}" value="Generate Bills" indicator="indicator"
button="true" style="width:20em;"/>
</s:form>
<img id="indicator" style="display:none" src="./images/indicator.gif"
alt="Loading..."/>
________________________________
From: Umesh Awasthi <[email protected]>
To: Struts Users Mailing List <[email protected]>; Omar Ngarigari
<[email protected]>
Sent: Wednesday, August 15, 2012 9:10 AM
Subject: Re: struts2.3.1.2 does not come with jquery-plugin jar
I believe there should not be any issue while using this combination.
Have you tried this or facing any issue?
On Wed, Aug 15, 2012 at 6:33 PM, Omar Ngarigari <[email protected]>wrote:
> Hello,
>
> I just want to know if it is okay to use struts2-jquery-plugin.3.3.1.jar
> with struts2-core-.3.1.2.jar.
>
> Thanks,
--
With Regards
Umesh Awasthi
http://www.travellingrants.com/