-
1. Re: Struts Portlet
sridhark79 Jan 29, 2007 5:09 AM (in response to sridhark79)Hi,
There has been a posting from Thomas on using struts framework for portlet projects.
http://jboss.org/index.html?module=bb&op=viewtopic&t=87272
What is the best framework that we can follow for developing portlet projects? -
2. Re: Struts Portlet
manuelpalacio Jan 29, 2007 8:50 AM (in response to sridhark79)I have used JSF with success. It's time to forget Struts :)
-
3. Re: Struts Portlet
r_mun Jan 30, 2007 6:43 AM (in response to sridhark79)Hi,
In our current project we use JBoss portal. We desperately try to make it more user-friendly. And for this reason we use Ajax-updated portlets.
Unfortunately JBoss hasn't got that nice Model-View-Controller Architecture we are used to. So to simulate that we use containers and struts handler actions. I know that's not the best sollution since we have to maintain 2 frameworks - 1) JBoss Portal's doView() methods and 2) Struts Actions. However it works ...
What would you suggest as a substitution for Struts?
Has JBoss Portal got some kind of controller which can be called for a separate portlet?
The following is a list of issues that made us use such a tricky sollution
- Ajax Update of a separate portlet (delete row in a list, edit row that is follow the edit form and return, error handling);
- Ajax Update of related portlets (for example click search button in one portlet and display results in the other);
- client-side validation (stuts-validation analogue);
- server-side validation (stuts-validation analogue);
I would be very thankful if someone would have suggest the framework for solving this list of tasks.
We have estimated JSF in our company, and I know people who also try to use it. And in both cases they say that Strust is much simplier, easier to use and more reliable than JSF, especially for large projects.
Thank you.
Best regards,
Roman