Re: Ajax based invocation
Matt Raible <matt-T7vlz3gD7BdF/EzeuO4KJwC/[email protected]> Thu, 30 Sep 2010 15:09:21 -0600
| Newsgroups | gmane.comp.java.struts-menu.user |
|---|---|
| Message-ID | <[email protected]> |
--===============0637493928328165216== Content-Type: multipart/alternative; boundary=0016e6d9776f1b5dd40491807f15 --0016e6d9776f1b5dd40491807f15 Content-Type: text/plain; charset=UTF-8 I would suggest using a function that changes your <a href> tags to make Ajax calls. The following post shows a technique for doing this. http://raibledesigns.com/rd/entry/ajaxified_body On Tue, Sep 21, 2010 at 10:32 AM, Jaideep Dengre <[email protected]>wrote: > Hi, > > I am very new to struts menu. I am using struts menu with appfuse > configured with Springs. I am able to add new menu items but on click of > those menu items I wish to refresh the content area via a ajax action rather > than full page refresh. How can I achieve this using struts menu. The > configuration I see is for page, how can I specify a java script action and > how to mark selections in the menu? Please help. > > JD > > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > struts-menu-user mailing list > struts-menu-user-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/struts-menu-user > > --0016e6d9776f1b5dd40491807f15 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I would suggest using a function that changes your <a href> tags to m= ake Ajax calls. The following post shows a technique for doing this.<br><br= ><a href=3D"http://raibledesigns.com/rd/entry/ajaxified_body">http://raible= designs.com/rd/entry/ajaxified_body</a><br> <br><div class=3D"gmail_quote">On Tue, Sep 21, 2010 at 10:32 AM, Jaideep De= ngre <span dir=3D"ltr"><<a href=3D"mailto:[email protected]">jaidengre= @gmail.com</a>></span> wrote:<br><blockquote class=3D"gmail_quote" style= =3D"margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); p= adding-left: 1ex;"> Hi,<div><br></div><div>I am very new to struts menu. I am using struts menu= with appfuse configured with Springs. I am able to add new menu items but = on click of those menu items I wish to refresh the content area via a ajax = action rather than full page refresh. How can I achieve this using struts m= enu. The configuration I see is for page, how can I specify a java script a= ction and how to mark selections in the menu? Please help.</div> <div><br></div><font color=3D"#888888"><div>JD</div> </font><br>----------------------------------------------------------------= --------------<br> Start uncovering the many advantages of virtual appliances<br> and start using them to simplify application deployment and<br> accelerate your shift to cloud computing.<br> <a href=3D"http://p.sf.net/sfu/novell-sfdev2dev" target=3D"_blank">http://p= .sf.net/sfu/novell-sfdev2dev</a><br>_______________________________________= ________<br> struts-menu-user mailing list<br> <a href=3D"mailto:struts-menu-user-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org">struts-menu-user@= lists.sourceforge.net</a><br> <a href=3D"https://lists.sourceforge.net/lists/listinfo/struts-menu-user" t= arget=3D"_blank">https://lists.sourceforge.net/lists/listinfo/struts-menu-u= ser</a><br> <br></blockquote></div><br> --0016e6d9776f1b5dd40491807f15-- --===============0637493928328165216== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev --===============0637493928328165216== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ struts-menu-user mailing list struts-menu-user-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/struts-menu-user --===============0637493928328165216==--