Works great! Thank you!

On May 22, 11:09 pm, "Peter J. Farrell" <pe...@mach-ii.com> wrote:
> Check out caching which is a package included with 
> Mach-II:http://greatbiztoolsllc.trac.cvsdude.com/mach-ii/wiki/IntroToCaching
>
> Jordan G. said the following on 05/22/2009 05:24 PM:
>
> > I forgot to add:
>
> > If that is possible to do, is it possible to cache the rendered
> > content so that it doesn't need to be re-parsed?
>
> > On May 22, 4:59 pm, "Jordan G." <jgou...@yahoo.com> wrote:
>
> >> Hello All,
>
> >> I'm just starting to work on a Mach II application, and I have a
> >> question on it.
>
> >> I'm using Adrian Moreno's Mach II primer as a guideline as to how to
> >> layout the application. I noticed that on the event-handler
> >> definitions, there is a lot of repetition on the layout files. For
> >> example:
>
> >> <event-handler event="showCompanyDetail" access="public">
>
> >>         <event-arg name="pageTitle" value="Company Detail" />
>
> >>         <notify listener="CompanyListener" method="getCompanyDetail"
> >> resultArg="companyBean" />
>
> >>         <view-page name="header" />
> >>         <view-page name="lhsMenu" contentArg="sidebar" />
> >>         <view-page name="companyDetail" contentArg="mainContent" />
> >>         <view-page name="template" />
> >>         <view-page name="footer" />
> >> </event-handler>
>
> >> <event-handler event="showCompanyForm" access="public">
>
> >>         <event-arg name="pageTitle" value="Manage Company" />
>
> >>         <notify listener="CompanyListener" method="getCompanyDetail"
> >> resultArg="companyBean" />
>
> >>         <view-page name="header" />
> >>         <view-page name="lhsMenu" contentArg="sidebar" />
> >>         <view-page name="companyForm" contentArg="mainContent" />
> >>         <view-page name="template" />
> >>         <view-page name="footer" />
>
> >> </event-handler>
>
> >> The view-pages that make up the layout page are repeated in each
> >> instance of the event-handler. Is there a way to define all of the
> >> pages that make up the template page (header, lhsMenu) in one place
> >> without having to repeat it every time?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to Mach-II for CFML list.
To post to this group, send email to mach-ii-for-coldfusion@googlegroups.com
To unsubscribe from this group, send email to 
mach-ii-for-coldfusion-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/mach-ii-for-coldfusion?hl=en
SVN: http://greatbiztoolsllc.svn.cvsdude.com/mach-ii/
Wiki / Documentation / Tickets: 
http://greatbiztoolsllc.trac.cvsdude.com/mach-ii/
-~----------~----~----~----~------~----~------~--~---

Reply via email to