[jboss-user] [JBoss Portal] - Re: Dynamically adding / removing portlets programmatically

steux jean-sebastien do-not-reply at jboss.com
Tue Jan 4 04:21:52 EST 2011


steux jean-sebastien [http://community.jboss.org/people/jssteux] created the discussion

"Re: Dynamically adding / removing portlets programmatically"

To view the discussion, visit: http://community.jboss.org/message/578557#578557

--------------------------------------------------------------
I'm afraid that if you want custom displays inside the portal, you will have to consider the portal as a framework. JBoss Portal is based on a service architecture (MBeans which are defined in jboss-service.xml), so each service can be overloaded by your own component. It is also based on the Command Pattern which allows you to add Interceptors to default command chains (by defining services). As you see, JBP is more a framework to build custom portals than a ready-to-run solution. The advantage is that you can do whatever you want (such as dynamic windows, multithreading between portlets, specific securities rules ...) The drawback is that you have to understand how it works.

RenderPageCommand, RenderWindowCommand are the internal commands to display  pages and portlets
Page and Window are interfaces for browsing the content of the portal

Another way to do what you want without understanding all the structure would also be fo fork JBP (for example, by modifying RenderPageCommand to add specific windows in your case). 

All that depends on the time you can spend on you project.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/578557#578557]

Start a new discussion in JBoss Portal at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2011]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110104/9bf03594/attachment.html 


More information about the jboss-user mailing list