Skip to main content

how to add dynamic data in tabpane

1 reply [Last post]
deepraj
Offline
Joined: 2007-04-03
Points: 0

i have to files
file1.jsp
file2.jsp
and i want to open these files in diffrent tabs.
the files contains dynamic data.
how i will use tab pane in this case
pls reply

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
gmurray71
Offline
Joined: 2003-07-31
Points: 0

Try the following:

value="{tabs:[
{label:'Tab 1', url: 'tab1.jsp'},
{label:'Tab 2', url: 'tab2.jsp'},
{label:'Tab 3', url: 'tab3.jsp'},
{label:'Static Tab', content: 'Tab 2 Content'} ]}" />

Each JSP page can contain dynamic data and widgets. you could assign a topic to any given tab and publish urls to that topic in the format of jmaki.publish("/customtopic", {url : "new URL");