Re: changing tab title programmatically
Matt Raible <matt-T7vlz3gD7BdF/EzeuO4KJwC/[email protected]> Mon, 18 May 2009 21:56:51 -0600
| Newsgroups | gmane.comp.java.struts-menu.user |
|---|---|
| Message-ID | <[email protected]> |
--===============9202162989178189979== Content-Type: multipart/alternative; boundary=001636499c51cc25d0046a3be72c --001636499c51cc25d0046a3be72c Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit I would suggest doing it with JavaScript. Look at the rendered structure of the menu and you should be able to find the node and manipulate it by setting its innerHTML. Matt On Mon, May 18, 2009 at 9:47 PM, scs_santhosh <[email protected]>wrote: > > Hello > I have a search functionalty where different types of searches are > performed > from each tab. After the search being executed, I need to show the search > result count as the tab title. WHat would be the best option to change the > tab title from the server code or Velocity. > > Thanks in advance > > > -- > View this message in context: > http://www.nabble.com/changing-tab-title-programmatically-tp23601906p23601906.html > Sent from the struts-menu-user mailing list archive at Nabble.com. > > > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables > unlimited royalty-free distribution of the report engine > for externally facing server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > struts-menu-user mailing list > struts-menu-user-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/struts-menu-user > --001636499c51cc25d0046a3be72c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I would suggest doing it with JavaScript. Look at the rendered structure of= the menu and you should be able to find the node and manipulate it by sett= ing its innerHTML.<br><br>Matt<br><br><div class=3D"gmail_quote">On Mon, Ma= y 18, 2009 at 9:47 PM, scs_santhosh <span dir=3D"ltr"><<a href=3D"mailto= :[email protected]">[email protected]</a>></span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, = 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br> Hello<br> I have a search functionalty where different types of searches are performe= d<br> from each tab. After the search being executed, I need to show the search<b= r> result count as the tab title. WHat would be the best option to change the<= br> tab title from the server code or Velocity.<br> <br> Thanks in advance<br> <br> <br> --<br> View this message in context: <a href=3D"http://www.nabble.com/changing-tab= -title-programmatically-tp23601906p23601906.html" target=3D"_blank">http://= www.nabble.com/changing-tab-title-programmatically-tp23601906p23601906.html= </a><br> Sent from the struts-menu-user mailing list archive at Nabble.com.<br> <br> <br> ---------------------------------------------------------------------------= ---<br> Crystal Reports - New Free Runtime and 30 Day Trial<br> Check out the new simplified licensing option that enables<br> unlimited royalty-free distribution of the report engine<br> for externally facing server and web deployment.<br> <a href=3D"http://p.sf.net/sfu/businessobjects" target=3D"_blank">http://p.= sf.net/sfu/businessobjects</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> </blockquote></div><br> --001636499c51cc25d0046a3be72c-- --===============9202162989178189979== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects --===============9202162989178189979== 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 --===============9202162989178189979==--