On Tue, 22 May 2001 02:35:20 -0500, "Bryan LaPlante"
<[EMAIL PROTECTED]> wrote:
>Use the free custom tag wizard at http://www.netwebapps.com/mytags/main.cfm
>.. On the last screen you get a chance to choose the type of control you
want
>associated with your input and choosing a checkbox from the drop down gives
>your vtm file that default behavior.
>
><CF_CUSTOMTAGWIZARD TAGNAME="sample"
> [EMAIL PROTECTED]
> EMAILMESSAGE="thanks for useing our tag wiz"
> SENDASHTML="false">
> The sendashtml is a checkbox and if left unchecked it outputs with the
>value of false or true if checked.
OK, that's my problem... the tag takes parameters like this:
<cfx_pwimageproc text_draw="testing text" text_bold>
-- would create text in bold
<cfx_pwimageproc text_draw="testing text">
-- would create text NOT bolded
if the attribute was written as TEXT_BOLD="true" or TEXT_BOLD="false" it
would still turn out bolded, because when the tag runs it is checking for
the existence of the attribute. If the attribute TEXT_BOLD is not included
the effect will not be applied. If the attribute TEXT_BOLD is included, the
effect will be applied. It doesn't matter what the value of the attribute
is. It could be TEXT_BOLD="who_gives_a_toss" and the text will still come
out bold.
I can do this in Tag Insight by specifying the attribute as type "flag"...
there doesn't seem to be an equivalent for the tag editor dialog box.
K.
______________________________________________________
Kay Smoljak - ColdFusion Developer - PerthWeb Pty Ltd
Internet Solutions for your business!
Level 9/105 St George's Tc - Perth - Western Australia
Ph: (08) 9226 1366 Fax: (08) 9226 1375 Mobile : 0419 949 007
Visit Perth online! : www.perthweb.com.au
Tools for developers: http://developer.perthweb.com.au
-- cfx_pwimageproc: image processing tool
-- cfx_pwcardcrypt: credit card validation and encryption
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists