I'm in the middle of adding a project to source safe, give me a sec and I
will grab a vtm file to see if you can change something to accommodate that.

Bryan

----- Original Message -----
From: "Kay Smoljak" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, May 22, 2001 7:12 AM
Subject: Re: VTML "edit tag" dialogs: attributes with no value?


> 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.
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to