-
1. Generate links to portal page (which contains Tab-Container)
freak2051 Feb 25, 2011 9:17 AM (in response to pking)Yes, I need exactly the same thing. Also realoding the particular tab will be great but I am not sure if this is possible. There are some AJAX request so UITabContainer is contacting the server but I don't know why when the complete container is already rendered (that means all tabs are processed and on client you just switching tabs via JS).
I tried to call JS code from another place (window.opener page) and it leads to JS error "root is NULL" -> I guess that because there childeren of container weren't acessible or dialog loading with message Session timeout - refresh browser!
-
2. Generate links to portal page (which contains Tab-Container)
freak2051 Mar 10, 2011 4:27 AM (in response to freak2051)To genereate links for particular tab you need identify container and tabs in pages.xml
<container id="someID" template="system:/groovy/portal/webui/container/UIContainer.gtmpl">
Then you can generate URL:
<PORTAL_PATH_URL>/<PAGE_NAME>?portal:componentId=<CONTAINER_ID>&portal:action=SelectTab&objectId=<TAB_ID>&ajaxRequest=false
-
3. Re: Generate links to portal page (which contains Tab-Container)
pking Mar 11, 2011 5:07 AM (in response to freak2051)Hi ,
John thanks for the advice. It does seem it should work fine. I have not tested it yet, if only check will let you know.
I have came across the followed code (an exceprt from one of my portal page):
<a class="TabLabel" onclick="eXo.webui.UIHorizontalTabs.changeTabForUITabPane(this,'401282074', '1249166138' );javascript:ajaxGet('/portal/private/theplatform/home/page_2?portal:componentId=401282074&portal:action=SelectTab&objectId=1249166138&ajaxRequest=true')">Groups Management</a>
401282074 - seems to be a surronding container ID
1249166138 - tab container ID
probably we can even utilize with this exo JS methods to get the expected result.