Trying to customize the tabs and login/logout pieces in the 2.6 alpha2 portal.
<!-- Utility controls -->
<p:region regionName='dashboardnav'
regionID='dashboardnav'/>
<!-- navigation tabs and such -->
<p:region regionName='navigation'
regionID='navigation'/>
Found those regions are rendered in
./core/src/main/org/jboss/portal/core/aspects/controller/PageCustomizerInterceptor.java
A custom RenderSet could intercept those pieces, but comparing the params passed to the
RenderSet classes vs. the params passed to PageCustomizerInterceptor it appears that the
PageCustomizerInterceptor has the clear advantage in terms of objects one can get to.
From the bit of time I put into it, it does not appear that the
RenderSet classes have the objects required to generate URL's nor access the user nor
access the Pages/Dashboard information required for tabs.
Does the RenderSet have access to those objects? If not, how inefficient would it be to
dig those objects up another way? Also, what would that other way be? (suggestions are
welcome)
Fairly new to jboss Portal, hoping someone already has a neat solution for this issue
which would save me quite a bit of time. I've made a custom copy of the Interceptor
and it's working fine, however it's not all that easy to develop (restarting takes
1.5min) and there's no way I can pass it off to the UI guys for fiddling, keeping me
in the loop for a fairly integral piece of the UI.
Thanks,
Eric
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4022150#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...