I'm doing this for a site I'm about to launch. For this site, where
different sections (views) are basically modules plugged together in
different ways, it's been great. As well as regular box-like containers,
I have column containers. The big advantage is that you can look at the
markup for the view and visualise what the resulting page with look
like. E.g.....
<layout:columns>
<layout:column>
<layout:box title="asdasd">
<block:mycontent/>
</layout:box>
<layout:box title="qwert">
<block:mycontent/>
</layout:box>
</layout:column>
<layout:column>
<layout:box title="zxcvb">
<block:displayListings recordSet="#records#"/>
</layout:box>
</layout:column>
</layout:columns>
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Barry
Beattie
Sent: Monday, 26 September 2005 4:16 p.m.
To: CFAussie Mailing List
Subject: [cfaussie] quick survey: building *all* the UI with CFcustom
tags?
Hi all
just curious to see how popular the idea is to totally build the View
layer using CFIMPORT and custom tags.
from page layout all the way down to writing a custom tag "wrapper" to
HTML controls (and hiding JS behaviour inside them)
Is this a popular thing to do or are ppl still writing basically HTML
pages and injecting CF variables within that?
I just want to see if it's a worthy topic for a CFUG meet and gauge some
idea if others have been doing this also.
thanx
barry.b
Here's what I mean about taking it to the N'th degree with custom
tag-based layout (this is after data has been obtained at the top of the
CFM page)
<cfimport prefix="container" taglib="../containers"> <cfimport
prefix="control" taglib="../controls"> <cfimport prefix="content"
taglib=".">
<container:page class="info" text="Records Setup"
onload="#onloadEvent#windowLoaded();document.getElementById('tab1').focu
s();"
security="#setupPerms#">
<container:window />
<container:header image="../images/mod_titles/setup.gif">
<container:banner text="Setup" left="-6" displayName=""
/>
<container:searchbar title="Accounts Payable Setup" />
<control:newentitybutton
link=""
click="window.location.href =
'setup.cfm?mode=edit';
return false;"
image="../images/p_toolbar/edit.gif"
text="Edit"
security="#editSetup#"
/>
</container:header>
<container:form name="entry" method="post"
action="#cgi.script_name#?batch_ID=#batch_ID#">
<container:tab id="content1">
<content:t_accountspayable_setup_parms
security = "#setupPerms#"
mode = "#apparms_mode#"
dataModel="#data#"
/>
<container:formsave
id="content1"
security="#setupPerms#"
/>
</container:tab>
</container:form>
</container:page>
---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to
[EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/
---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/