portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Weaver, Scott" <Swea...@rippe.com>
Subject RE: DO NOT REPLY [Bug 18866] New: - [Enhancement] MVC Portlet A ction Life Cycle
Date Wed, 09 Apr 2003 16:02:21 GMT
Sorry 'bout the double bug, nagoya.apache.org is acting flaky today.

*===================================*
* Scott T Weaver                    *
* Jakarta Jetspeed Portal Project   *
* weaver@apache.org                 *
*===================================*
  


> -----Original Message-----
> From: bugzilla@apache.org [mailto:bugzilla@apache.org]
> Sent: Wednesday, April 09, 2003 12:00 PM
> To: jetspeed-dev@jakarta.apache.org
> Subject: DO NOT REPLY [Bug 18866] New: - [Enhancement] MVC Portlet Action
> Life Cycle
> 
> DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
> RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
> <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18866>.
> ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
> INSERTED IN THE BUG DATABASE.
> 
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18866
> 
> [Enhancement] MVC Portlet Action Life Cycle
> 
>            Summary: [Enhancement] MVC Portlet Action Life Cycle
>            Product: Jetspeed
>            Version: 1.4b4-dev /CVS
>           Platform: All
>         OS/Version: All
>             Status: NEW
>           Severity: Enhancement
>           Priority: Other
>          Component: Portlets
>         AssignedTo: weaver@apache.org
>         ReportedBy: weaver@apache.org
>                 CC: jetspeed-dev@jakarta.apache.org
> 
> 
> Add a simple lifecycle to portlets, much in the same way that request-
> based pull
> tools work.
> 
> I currently have implemented this within MVC portlets.  The PortletAction
> class
> now has a public init(Portlet, Context, RunData) method that is
> initialized
> within the GenericMVCPortlet every time the portlet is loaded.  The actual
> initialization call is not done by the  portlet but by a custom
> PortletActionLoader class that wraps the existing ActionLoader and calls
> the
> PortletAction init() method at load time.
> 
> PortletAction's init() currently populates protected fields such as
> "portlet",
> "portletInstance", "runData" and "context" but could be overriden to
> provide
> whatever initialization maybe required to action being invoked.
> 
> -scott
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message