[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jboss-user
Subject:    [jboss-user] [JBoss Portal] - What am I supposed to use instead of
From:       elacazedieu <do-not-reply () jboss ! com>
Date:       2008-10-31 22:18:03
Message-ID: 22375498.1225491483186.JavaMail.jboss () colo-br-02 ! atl ! jboss ! com
[Download RAW message or body]

Hi,

I'm currently using Portal 2.6.7, and I need to use a custom window state to provide \
a "single portlet content" view for popups and printing.

I managed to do that by using an undocumented feature (specifying my own PortalLayout \
implementation in the layouts.xml file)

I think that layout strategies could have fullfiled my needs, but they are not \
available in 2.6.x anymore (they were in 2.4.x)

What would be the "correct waty" to do what I did?

FYI, I just copied the JSPLayout code in my own class, and adapted it to do the \
following : 

- If a Window has a WindowState that starts with "solo" or equals maximized, use it \
                to get the correct JSP uri from the PortalLayoutMetaData,
- Do the same as what is done for maximized mode (ie, display only the selected \
window, in a region called like the window state name)

This works quite fine, but I'm not very happy to use something undocumented...

And by the way, they are still some references to Strategies n the 2.6.7 reference \
guide.



View the original post : \
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4186142#4186142

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4186142
 _______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic