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]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to