Hi all,

Sorry for the cross-post, but this may also concern the dev-list.

Is there any way to activate a change on a portal tab layout in an URL ?
Here is my problem :

I have a menu on the left with 2 tabs, and a main page.
In links in the main page, I would like to change the current selected tab on the left menu. Is this possible with the current portal ?


I went a little deeper in the code (2.1 dev) an saw that this could be done in the TabContentAspect class where selected item is taken from its AspectData.

<code>
  // selected tab
  Integer data = (Integer) layout.getAspectData(config.aspectName);
  int selected = data.intValue();
</code>

May it be possible to take it first on the request parameters, and then from its AspectData ? Is it preserving the SoC ? Maybe a way to a bookmarkable portal ;) ?

Or has this case already been resolved by other mean ?

Thanks in advance

--
Olivier BILLARD



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to