Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Struts Wiki" for change 
notification.

The following page has been changed by MichaelJouravlev:
http://wiki.apache.org/struts/StrutsManualActionWebComponentAsync

------------------------------------------------------------------------------
+ '''Attention: this page describes functionality that is not yet available! 
Work in progress!'''
+ 
  == Struts Component Lifecycle In Asynchronous Mode ==
  
  If the browser has !JavaScript turned on and the XMLHTTPRequest object is 
available, a web component is updated asynchronously; steps 1, 2 and 3 do not 
differ from synchronous mode:
@@ -52, +54 @@

  
  Notice action mapping attributes and properties that are new for Struts 1.4:
  
+    * "component" attribute contains the name of a component. This name is 
used by <comp:component> tag that generates DIV element around component 
markup. The ID of this DIV is assigned to the component name. When application 
returns updated markup, Javascript helper matches ID of returned markup with ID 
of enclosing element in composite page. Another role of component name is to 
identify an action as a component manager, it is processed differently than a 
regular action or behavioral action.
     * "component" attribute identifies an action as a component manager, such 
actions are processed differently by Action class. This name is also used in 
generated HTML for in-place update in Ajax mode.
     * "view" attribute identifies a default view for a component. Must be a 
JSP page. Often consists from several subviews, in our case the Login Component 
has two subviews "Not Logged In" and "Logged In", they will be defined in JSP 
file.
     * "form" is just another name for "name" property

Reply via email to