Java Doc for FacesTilesRequestProcessor.java in  » Web-Framework » struts-1.3.8 » org » apache » struts » faces » application » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Web Framework » struts 1.3.8 » org.apache.struts.faces.application 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.struts.tiles.TilesRequestProcessor
   org.apache.struts.faces.application.FacesTilesRequestProcessor

FacesTilesRequestProcessor
public class FacesTilesRequestProcessor extends TilesRequestProcessor (Code)

Concrete implementation of RequestProcessor that implements the standard Struts request processing lifecycle on a request that was received as an ActionEvent by our associated ActionListener. It replaces the request processor instance normally configured by Struts+Tiles, so it must support non-Faces requests as well.


version:
   $Rev: 473326 $ $Date: 2006-11-10 06:58:06 -0600 (Fri, 10 Nov 2006) $


Field Summary
final public static  StringLIFECYCLE_ID_ATTR
    
protected static  Loglog
    


Method Summary
protected  voiddoForward(String uri, HttpServletRequest request, HttpServletResponse response)
    

Set up a Faces Request if we are not already processing one.

protected  voidinternalModuleRelativeForward(String uri, HttpServletRequest request, HttpServletResponse response)
    
protected  ActionprocessActionCreate(HttpServletRequest request, HttpServletResponse response, ActionMapping mapping)
    
protected  ActionFormprocessActionForm(HttpServletRequest request, HttpServletResponse response, ActionMapping mapping)
    
protected  ActionForwardprocessActionPerform(HttpServletRequest request, HttpServletResponse response, Action action, ActionForm form, ActionMapping mapping)
    
protected  booleanprocessForward(HttpServletRequest request, HttpServletResponse response, ActionMapping mapping)
    
protected  voidprocessForwardConfig(HttpServletRequest request, HttpServletResponse response, ForwardConfig forward)
    
protected  booleanprocessInclude(HttpServletRequest request, HttpServletResponse response, ActionMapping mapping)
    
protected  StringprocessPath(HttpServletRequest request, HttpServletResponse response)
    

Identify and return the path component (from the request URI for a non-Faces request, or from the form event for a Faces request) that we will use to select an ActionMapping to dispatch with.

protected  voidprocessPopulate(HttpServletRequest request, HttpServletResponse response, ActionForm form, ActionMapping mapping)
    

Populate the properties of the specified ActionForm instance from the request parameters included with this request, IF this is a non-Faces request.

protected  booleanprocessValidate(HttpServletRequest request, HttpServletResponse response, ActionForm form, ActionMapping mapping)
    

Field Detail
LIFECYCLE_ID_ATTR
final public static String LIFECYCLE_ID_ATTR(Code)

The lifecycle id.




log
protected static Log log(Code)

The log instance for this class.






Method Detail
doForward
protected void doForward(String uri, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException(Code)

Set up a Faces Request if we are not already processing one. Next, create a new view if the specified uri is different from the current view identifier. Finally, cause the new view to be rendered, and call FacesContext.responseComplete() to indicate that this has already been done.


Parameters:
  uri - Context-relative path to forward to
Parameters:
  request - Current page request
Parameters:
  response - Current page response
exception:
  IOException - if an input/output error occurs
exception:
  ServletException - if a servlet error occurs



internalModuleRelativeForward
protected void internalModuleRelativeForward(String uri, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException(Code)



processActionCreate
protected Action processActionCreate(HttpServletRequest request, HttpServletResponse response, ActionMapping mapping) throws IOException(Code)



processActionForm
protected ActionForm processActionForm(HttpServletRequest request, HttpServletResponse response, ActionMapping mapping)(Code)



processActionPerform
protected ActionForward processActionPerform(HttpServletRequest request, HttpServletResponse response, Action action, ActionForm form, ActionMapping mapping) throws IOException, ServletException(Code)



processForward
protected boolean processForward(HttpServletRequest request, HttpServletResponse response, ActionMapping mapping) throws IOException, ServletException(Code)



processForwardConfig
protected void processForwardConfig(HttpServletRequest request, HttpServletResponse response, ForwardConfig forward) throws IOException, ServletException(Code)



processInclude
protected boolean processInclude(HttpServletRequest request, HttpServletResponse response, ActionMapping mapping) throws IOException, ServletException(Code)



processPath
protected String processPath(HttpServletRequest request, HttpServletResponse response) throws IOException(Code)

Identify and return the path component (from the request URI for a non-Faces request, or from the form event for a Faces request) that we will use to select an ActionMapping to dispatch with. If no such path can be identified, create an error response and return null.


Parameters:
  request - The servlet request we are processing
Parameters:
  response - The servlet response we are creating
exception:
  IOException - if an input/output error occurs



processPopulate
protected void processPopulate(HttpServletRequest request, HttpServletResponse response, ActionForm form, ActionMapping mapping) throws ServletException(Code)

Populate the properties of the specified ActionForm instance from the request parameters included with this request, IF this is a non-Faces request. For a Faces request, this will have already been done by the Update Model Values phase of the request processing lifecycle, so all we have to do is recognize whether the request was cancelled or not.


Parameters:
  request - The servlet request we are processing
Parameters:
  response - The servlet response we are creating
Parameters:
  form - The ActionForm instance we are populating
Parameters:
  mapping - The ActionMapping we are using
exception:
  ServletException - if thrown by RequestUtils.populate()



processValidate
protected boolean processValidate(HttpServletRequest request, HttpServletResponse response, ActionForm form, ActionMapping mapping) throws IOException, ServletException, InvalidCancelException(Code)



Fields inherited from org.apache.struts.tiles.TilesRequestProcessor
protected DefinitionsFactory definitionsFactory(Code)(Java Doc)
protected static Log log(Code)(Java Doc)

Methods inherited from org.apache.struts.tiles.TilesRequestProcessor
protected void doForward(String uri, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException(Code)(Java Doc)
public DefinitionsFactory getDefinitionsFactory()(Code)(Java Doc)
public void init(ActionServlet servlet, ModuleConfig moduleConfig) throws ServletException(Code)(Java Doc)
protected void initDefinitionsMapping() throws ServletException(Code)(Java Doc)
protected void internalModuleRelativeForward(String uri, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException(Code)(Java Doc)
protected void internalModuleRelativeInclude(String uri, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException(Code)(Java Doc)
protected void processForwardConfig(HttpServletRequest request, HttpServletResponse response, ForwardConfig forward) throws IOException, ServletException(Code)(Java Doc)
protected boolean processTilesDefinition(String definitionName, boolean contextRelative, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException(Code)(Java Doc)
protected boolean processTilesDefinition(String definitionName, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.