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').focus();"
                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/

Reply via email to