Ok I got it. I did this like 4 times with bad results so be careful how you
type it in. This is the line from one of my tags that tag editors that I got
to work like you want. It thinks checked it true and not checked is false
but don't forget the single quotes or it will through an error.
<WIZIF edtThrowOnError EQ
'true'>$$SpacingGap$${DefaultCase('ThrowOnError')}=$${Q}$$edtThrowOnError$${
Q}<WIZSET SpacingGap = VertSpacingGap></WIZIF>
How does everyone else feel about this behavior, I can update the custom tag
wizard to use this output instead of the current behavior that shows check
box attributes whether they are checked or not.
Your input would be appreciated.
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/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists