A couple of thoughts...

You could add arguments to the events that use the form, to say, pass
in values, such as a title, or to pass true/false into a particular
decision that will affect rendering.

You could also make that form a custom tag, and pass things into it accordingly.

Sincerely,

Brian Meloche
brianmeloche at gmail dot com
Producer and Host, CFConversations Podcast
http://www.cfconversations.com
Blog: http://www.brianmeloche.com/blog/
Adobe Community Expert:
http://www.adobe.com/communities/experts/members/BrianMeloche.html
Twitter: http://twitter.com/coofuushun
User Group Manager,
Cleveland ColdFusion Users Group,
http://www.clevelandcfug.org



On Tue, Jun 23, 2009 at 10:28 AM, Jorge Loyo<jorgel...@gmail.com> wrote:
>
> In my application I have views that I am starting to reuse in other
> areas of the same application. For example, I have a commentForm.cfm,
> which is used to add comments to different entities in the application
> (clients,customers,products,orders,etc.).
>
> All my form pages come with:
> 1. header/title of page
> 2. form
> 3. save, cancel, and delete buttons
>
> However, I am finding that for some instances, addressForm.cfm for
> example, I need without a header/title, or maybe without buttons.
>
> How do you guys handle something like this?
>
> Would you recommend just duplicating the page? Or perhaps, creating
> some sort of filter to add something like an "actionBar" with the
> buttons?
>
> Do your input form pages include anything other than the form? like a
> title of the page?
>
> Any input would be appreciated.
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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