If you have a form field called calculate with a value of "yes" or some
other value.  If you are not going to send the calculate field every time
you should use something like <cfif isDefined('form.calculate')>

On 3/25/07, Rick Faircloth <[EMAIL PROTECTED]> wrote:

 So, you're saying that I could have, say:



<CFIF Calculate is "Yes">



            <taconite>



                        doing something



            </taconite>



<CFELSE>



            <taconite>



                        doing something else



            </taconite>



</CFIF>



???



Rick



*From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On
Behalf Of *Daemach
*Sent:* Sunday, March 25, 2007 3:28 PM
*To:* jQuery Discussion
*Subject:* Re: [jQuery] Taconite Plug-in Question...



bleh - <cfelseif> not </cfelseif>....

On 3/25/07, *Daemach* <[EMAIL PROTECTED]> wrote:

One way around this is by sending a separate form field that you can use
to trigger a cfswitch or cfif block that processes the fields differently.
In other words, if you added a field called "Action", on your processing
page you can do <cfif action is "Calculate"> do it</cfelseif action is
"validate"> do it </cfif>.

This is actually where ajaxCFC shines - those "if" blocks are methods in a
single cfc (in very broad terms of course).



On 3/25/07, *Rick Faircloth *<[EMAIL PROTECTED]> wrote:

Thanks, Mike!

Rick

-----Original Message-----
From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] ] On
Behalf Of Mike Alsup
Sent: Sunday, March 25, 2007 2:40 PM
To: jQuery Discussion
Subject: Re: [jQuery] Taconite Plug-in Question...

No.  The document's root element must be named 'taconite' and there
can only be one.

Mike


On 3/25/07, Rick Faircloth <[EMAIL PROTECTED]> wrote:
> Hi, gang...
>
> Can there be more than one set of
> <taconite></taconite> tags on a single page?
>
> Rick
>




_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/





_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to