-
Jan 21st, 2009, 01:49 AM
#1
Using Tabbed Header in Spring.
Hi all,
I have a situation that goes like this.
<@include jsp='tabbedHeader">
<jsp page1content or jsp page2content>
<@include jsp='Footer">
I'm creating a common tabbed header navigator, which i'm planning to use in every jsp. So when my page first loads up it would highlight the first tab in my tabbed header and so the corresponding page(which is the default page) would load up.
Now say i click my second tab, it would open up another jsp page.
But the problem is that how would i tell my tabbed header that the 2nd tab should be highlighted now, since in each of my JSP's all i'm doing is including the tabbedHeader jsp and by default in that the first tab is highlighted.
Hope you get what i mean.
Thanks in advance,
Nitin
-
Jan 23rd, 2009, 05:28 AM
#2
i'm having the same situtation
a header with a tabbed menu + a combobox, and a body-area with form to calculate things
i'm trying so have the formobject (the formobject from the body -> extending the object representing the tabbed menu indicator + the combobox value) in my session without success atm 
anyone have an advice?
cheers!
-
Jan 23rd, 2009, 06:38 AM
#3
found 2 interesting approaches here
Pass Data from Controller to Controller: click
HandlerInterceptor: click
just having the problem to pass the data from the header (combobox + pressed tab) to the backend, without changing the url
-
Jan 26th, 2009, 09:51 AM
#4
write a javascript to show and hide the pagecontent....
-
Jan 29th, 2009, 07:06 AM
#5
Hmmm ya may be using an onload javascript could be simpler solution for me as im using the web flow controller.
Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules