changing tab title programmatically

View: New views
2 Messages — Rating Filter:   Alert me  

changing tab title programmatically

by scs_santhosh :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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


Re: changing tab title programmatically

by mraible :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 <santhosh@...> 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@...
https://lists.sourceforge.net/lists/listinfo/struts-menu-user


------------------------------------------------------------------------------
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@...
https://lists.sourceforge.net/lists/listinfo/struts-menu-user