TilesViewHandler delegates restoreView() and createView() to the ViewHandler that TilesViewHandler is wrapping. So in this case ShaleViewHandler.
> -----Original Message----- > From: Craig McClanahan [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 06, 2005 6:01 PM > To: MyFaces Development > Subject: Re: "Use Cases" Example Webapp for the Shale proposal > > > Note that Shale also includes its own ViewHandler extension, > so this would be unlikely to work unless the MyFaces one delegates its > createView() and restoreView() calls to the Shale version. > > In addition, the Tiles support is unlikely to work optimally > until Shale addes support for ViewControllers on a Tile (or, > more generally, on a JSF subview) -- a feature that is on my > TODO list. > > Craig > > > On Wed, 05 Jan 2005 08:59:49 -0700, BaTien Duong > <[EMAIL PROTECTED]> wrote: > > Matthias Wessendorf wrote: > > > > >I just tried the nightly build and it works fine > > >with MyFaces. > > > > > >What must be done to run this app with MyFaces? > > > > > >a) remove jsf files from RI > > >b) add jar files from MyFaces example > > > (not only myfaces.jar also others like commons-fileupload.jar) > > >c) add MyFaces listener to web.xml > > > (and rename net.sf -> org.apache) > > > > > >I also removed the work directory inside of my tomcat. > > > > > >Done! > > > > > >so now it is time to dig inside the sources > > >for this app and Shale ;-) > > > > > >Cheers! > > >Matthias > > > > > > > > > > > Matthias: > > > > Wow ;-) we are in an exiting time. Please try to see if the > > JspTilesViewHandlerImpl work properly with Shale as an application > > controller. I have not tried this but it is very important to know, > > especially for those who work with myfaces. > > > > Thanks > > > > BaTien > > DBGROUPS > > > > >>-----Original Message----- > > >>Wrom: ZIDREXCAXZOWCONEUQZAAFXISHJEXXIMQZUIVOTQNQEM > > >>Sent: Tuesday, January 04, 2005 5:50 AM > > >>To: Struts Developers List; MyFaces Development > > >>Cc: MyFaces Discussion > > >>Subject: "Use Cases" Example Webapp for the Shale proposal > > >> > > >> > > >>(Cross posting because this topic has come up on all of > the lists in > > >>the last couple weeks.) > > >> > > >>I just committed into the Struts SVN repository a new example > > >>application (struts-shale-usecases) that illustrate's the > different > > >>take that Shale has on how an application framework can be built > > >>around JSF, including support for "dialog scope" (longer than a > > >>request, but shorter than a session). I've updated the > Shale wiki > > >>page to contain pointers to the latest API documentation for both > > >>Shale and the example app: > > >> > > >> http://wiki.apache.org/struts/StrutsShale > > >> > > >>and nightly builds of the example app will be available starting > > >>tonight (pointer is on the Wiki page above). > > >> > > >>The commit message was over the max size allowed, so here's the > > >>descriptive text: > > >>-------------------------------------------------------------- > > >>---------------------------------------------- > > >> > > >>Initial commit of an example application for Shale, illustrating > > >>more interesting features than one sees with MailReader. In > > >>particular: > > >> > > >>* Use of application level "controller" features to filter out > > >> direct requests for JSP and JSPF (JSP fragment) resources, since > > >> they should only be accessed via *.faces URLs. > > >> > > >> See "src/web/WEB-INF/chain-config.xml" for > configuration of this > > >> application's additions to the standard Shale processing chain. > > >> > > >>* Use of DialogController for a sophisticated workflow > with multiple > > >> entries and exits: logon dialog for a portal-type site that > > >>supports > > >> creating new profiles (with or without an email confirmation), > > >>plus > > >> "remember me" cookies. > > >> > > >> See the javadocs for package > "org.apache.shale.usecases.logon" for > > >> an overview of this functionality, plus an activity diagram > > >>describing > > >> the state transitions. (The diagram was produced with Poseidon > > >>for UML > > >> Community Edition, version 3.0, and the Poseidon project file is > > >> also checked in). > > >> > > >>* Use of standard JSF facilities to support a language > picker, based > > >>on > > >> the supported locales for the application. (NOTE - at present > > >>switching > > >> languages does not appear to do anything, but that is because I > > >>only > > >> checked in the default (English) properties file -- if > someone would > > >> like to translate > > >>"src/java/org/apache/shale/usecases/view/Bundle.properties" > > >> into other languages, I'd be happy to check it in. > > >> > > >> See "src/web/locale/select.jsp" for the JSP page that > does this, > > >> and "src/java/org/apache/shale/usecases/locale/Select.java" for > > >> the corresponding backing bean. > > >> > > >>* Use of <managed-property> elements to configure the > properties of > > >>a > > >> newly created managed bean, using either literal values or > > >>expressions > > >> (essentially an example of IoC with setter injection). > > >> In this example, such properties are used to: > > >> - Configure the DAO object that is used by the business logic of > > >> the application, using > > >> - Configure the functionality of the DialogController instance, > > >> describing whether email confirmations and remember me cookies > > >> should be enabled or not. > > >> > > >> See "src/web/WEB-INF/faces-config.xml" for > configuration of this > > >>feature. > > >> > > >>* General purpose "domains" object (cached in application > scope the > > >>first > > >> time it is accessed) to provide localized lists of SelectItem > > >>value/label > > >> pairs (these provide the content for dropdown lists etc.). > > >> > > >> See "src/java/org/apache/shale/usecases/util/Domains.java" > > >> > > >>The Javadocs for this application will be published soon, with a > > >>pointer on the Wiki, and nightly builds will commence > this evening. > > >> > > >>-------------------------------------------------------------- > > >>---------------------------------------------- > > >> > > >> > > >>Craig > > >> > > >> > > >> > > > > > >. > > > > > > > > > > > > > >
