I believe  some kind of Debugging tool like firebug at client side will
give you much more information to find out the reason.
are you testing it on IE and "object expected" is very much famous with IE.

Use Mozilla with firebug to see what actually causing it and it seems more
like client side issue than S2

On Wed, Aug 15, 2012 at 9:43 PM, Omar Ngarigari <ngarigar...@yahoo.com>wrote:

> Thanks Dave for responding. I am expecting to see the "spinning wheel"
> which is an indicator image (images/indicator.gif) to display when I click
> on the submit button. I am getting javascript error, but it does not say
> much other than "object expected:. I am using normal struts2 tags on the
> form and jquery tags on submut button.
> This is my jar files:
>
> struts2-core-2.3.1.2
> struts2-jquery-plugin-3.3.1.jar
>
>
> Thanks,
>
>
> ________________________________
>  From: Dave Newton <davelnew...@gmail.com>
> To: Struts Users Mailing List <user@struts.apache.org>
> Sent: Wednesday, August 15, 2012 10:57 AM
> Subject: Re: struts2.3.1.2 does not come with jquery-plugin jar
>
> Without knowing anything about what is or isn't working, what's supposed to
> happen vs. what does, it's really difficult to provide assistance. I don't
> see a taglib for the normal S2 tags, though.
>
> Dave
>
> On Wed, Aug 15, 2012 at 9:27 AM, Omar Ngarigari <ngarigar...@yahoo.com
> >wrote:
>
> > 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 <umeshawas...@gmail.com>
> > To: Struts Users Mailing List <user@struts.apache.org>; Omar Ngarigari <
> > ngarigar...@yahoo.com>
> > 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 <ngarigar...@yahoo.com
> > >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/
> >
>
>
>
> --
> e: davelnew...@gmail.com
> m: 908-380-8699
> s: davelnewton_skype
> t: @dave_newton <https://twitter.com/dave_newton>
> b: Bucky Bits Blog <http://buckybits.blogspot.com/>




-- 
With Regards
Umesh Awasthi
http://www.travellingrants.com/

Reply via email to