Date: 2004-06-03T09:25:29
   Editor: KennethCavness <[EMAIL PROTECTED]>
   Wiki: Apache Struts Wiki
   Page: StrutsCatalogLinkOnlyToActions
   URL: http://wiki.apache.org/struts/StrutsCatalogLinkOnlyToActions

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -1,6 +1,6 @@
 StrutsCatalog: '''Link only to Actions'''
 
-In a Model 2 environment, the pages are suppose to be pretty but stupid. Flow to a 
page should go through an Action first, and the Action should assemble all the data 
that a page might need and put it into the request or session context. The page then 
just grabs what it needs, and figures out how to display it. The Action may not known 
the address of the page (that's in the config file), but it does need a punch list of 
what data the page may require. Every page should have an Action handler. One Action 
may handle several different pages, or a page could be handled by several different 
Actions (e.g. an error page), but each page should have at least one handler. 
+In a Model 2 environment, the pages are supposed to be pretty but stupid. Flow to a 
page should go through an Action first, and the Action should assemble all the data 
that a page might need and put it into the request or session context. The page then 
just grabs what it needs, and figures out how to display it. The Action may not known 
the address of the page (that's in the config file), but it does need a punch list of 
what data the page may require. Every page should have an Action handler. One Action 
may handle several different pages, or a page could be handled by several different 
Actions (e.g. an error page), but each page should have at least one handler. 
 
 If a JSP ends up on your browser's address bar after the initial index page, then 
you're missing an Action ;-)
 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to