[jboss-user] [JBoss Seam] - Entry Point
texan
do-not-reply at jboss.com
Fri Jun 22 17:49:04 EDT 2007
After almost a year of working with Seam and JSF, I still struggle with the issue of external entry points.
That is, I want to load the "main" page of the application with some data, but I don't want to load that page that way every time.
I have accomplished this so far with the following type of URL:
http://host/app/mypage.seam?actionMethod=load&someParam=abc
In an old-style servlet/struts app, you really never load JSPs directly. You always invoke a url that forwards or redirects to a JSP.
In JSF/Seam, this happens naturally when you click a button or a command link. However, it's not clear to me what the "proper" way is to invoke an action as the app's entry point (as opposed to some REST-style page that always invokes a particular action).
I particularly have trouble with the page action (in the pages.xml file) approach when working with IceFaces, as the page action is getting invoked every time a "partial submit" component is invoked.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4057040#4057040
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4057040
More information about the jboss-user
mailing list