ww:tabbedPanel - how select pane on page load

Pavel Kovalev <[email protected]>
Newsgroups gmane.comp.java.open-symphony.webwork
Message-ID <12936664.1150340182274.JavaMail.os-j2ee@opensymphony01.managed.contegix.com>
Hello,

we currently have static tabs in our app - every time page reloaded and request parameter "view" specifies which tab should be selected when page reloaded

ex. /page?view=one

I'm looking if we can start using tabbedPanel instead, but I couldn't find the way to preselect pane on the page load

tabbedpanel-close.ftl 
has this code:

dojo.event.topic.publish('${parameters.topicName}', '${parameters.tabs[0].id}');   

which as I understand makes first pane visible on page load.

Can anybody suggest if there is a way to modify behaviour of the tabbedPanel that it loads pane by name IF request parameter "view" exists; otherwise uses first pane

Thank you.
Pavel
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=34364&messageID=66947#66947

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.