-
1. Re: Customize Jboss portal to display dynamic contents
roy.russo Mar 29, 2006 10:07 AM (in response to aneiba)Take a look at the Struts Mail sample: http://labs.jboss.com/portal/index.html?ctrl:id=page.default.downloads&project=portletswap&category=.portlets.framework
It uses the Struts Bridge. I warn you that it is not well supported though. -
2. Re: Customize Jboss portal to display dynamic contents
aneiba Mar 30, 2006 4:03 AM (in response to aneiba)Thanks Roy,
I downloaded the Struts demo and copy the war file into my jboss deployment foloder, but still not working.
According to you warning, do you know any way to use any an enterprise portal as an interface for Struts application.
Regards,
Adel -
3. Re: Customize Jboss portal to display dynamic contents
theute Mar 30, 2006 4:13 AM (in response to aneiba)Struts is not a framework suitable for a portlet environment.
The Struts bridge used in the Struts demo is mostly a hack.
The problem is that Struts processes action and view in 1 event while it is separated in a portlet.
So there can't be real documentation... Since it really depends on your webapp, the bridge could or could not work. Moving to something like JSF could or could not be easy. -
4. Re: Customize Jboss portal to display dynamic contents
aneiba Mar 30, 2006 4:59 AM (in response to aneiba)
Thank Thomas
But can you tell me how to customize Jboss portal then in order to use it as an enterprise website, have you got any working example to show how dynamic content can be displayed in that portal.
I did download the Jboss portal and now up-running but I could not find any example or tutorial shows how the Jboss portal can be customized and used as a enterprise interface
Thanks in advance
Adel -
5. Re: Customize Jboss portal to display dynamic contents
theute Mar 30, 2006 5:09 AM (in response to aneiba)Dynamic content should be provided through portlets (JSR 168 portlet are supported by JBoss Portal)
To produce the content you can use the portlet API directly, or go through a framework like JSF.
First thing to do would be to read the spec http://www.jcp.org/en/jsr/detail?id=168