I am getting another error. I must be missing
something where I need to put in a CFPARAM somewhere
for the query...I did not edit the template at all
from the Developers Gallery and I also cut and past it
into my page(is this okay to do?)....this is the error
message I am getting....

thanks again for your help!!!


-----------------------------------------

The required parameter Attributes.Query was not
provided.This page uses the CFPARAM tag to declare the
parameter 'Attributes.Query' as required for this
template. The parameter is not available. 
Please verify that you have passed or initialized the
parameter correctly. If you wish to set a default
value for the parameter you should use the DEFAULT
attribute of the CFPARAM tag.


--- Kola Oyedeji <[EMAIL PROTECTED]> wrote:
> Also when you added the cfparams do they all have
> the correct scope i.e. are
> all
> attributes prefixed with the attributes scope?
> 
> Just a thought
> 
> Kola Oyedeji
> 
> > -----Original Message-----
> > From: Steven Dworman [mailto:[EMAIL PROTECTED]]
> > Sent: 04 January 2002 19:42
> > To: CF-Talk
> > Subject: RE: cf_twoselectesrelated help!!!!
> >
> >
> > What does your query look like?
> >
> > Also, shouldn't the onchange even be
> "this.form.submit();"?  Are you
> > submitting to the same form?  It seems like you're
> calling the query once
> > for the selectsrelated tag, submitting the form to
> itself but the query i
> > s
> > not called again.
> >
> > -----Original Message-----
> > From: Amanda Stern [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, January 04, 2002 12:55 PM
> > To: CF-Talk
> > Subject: cf_twoselectesrelated help!!!!
> >
> >
> > Hello,
> >
> > thanks for the tips on this....I am trying to get
> the
> > cf_twoselectsrelated custom tag going but cant
> seem to
> > get it to work.....I downloaded the Custom Tag
> into my
> > Custom Tag folder and the only changes/additions I
> > made were to the cfparam items where a default
> value
> > was not already assigned(the first 3 items).  Now
> I
> > get this error:
> >
> > An error occurred while evaluating the expression:
> >
> >
> >  MyQuery = Evaluate("Caller.#Attributes.Query#")
> >
> >
> > An error has occurred while processing the
> expression:
> >
> >    Caller.
> > -------------------------------
> > do I need to update this custom tag in anyway...
> >
> > also, my cf_twoselectsRelated code is as follows:
> >
> >  <CF_TwoSelectsRelated
> >     QUERY="get_outcome"
> >     DISPLAY1="Master_Cat"
> >     DISPLAY2="vcodedecode"
> >     VALUE1="icodedecodetablenameid"
> >     VALUE2="icodedecodeid"
> >     FORCEWIDTH1="70"
> >     FORCEWIDTH2="70"
> >     SIZE1="1"
> >     SIZE2="1"
> >     HTMLBETWEEN="<BR>"
> >     AUTOSELECTFIRST="Yes"
> >     EMPTYTEXT1="(choose a category)"
> >     EMPTYTEXT2="(now choose a subcategory)"
> >     ONCHANGE="Submit!"
> >     FORMNAME="MyOtherForm">
> >
> > I am sure I am overlooking a few things here...any
> > ideas?
> >
> > Thanks again!!!
> >
> >
> >
> >
> >
> > --- Raymond Camden <[EMAIL PROTECTED]>
> wrote:
> > > You are correct. Form.method won't be set until
> the
> > > user picks it and
> > > submits the form. Now, you can default
> form.method
> > > to something so that
> > > the second drop down will have values in it
> > > initially. By the way, this
> > > is VERY bad:
> > >
> > >  <cfoutput>
> > >   <cfif  #form.method1# IS "1">
> > >   </cfoutput>
> > >
> > > This should be:
> > >
> > > <cfif form.method is "1">
> > >
> > > Notice, no cfoutput is needed. Remember,
> cfoutput is
> > > ONLY necessary when
> > > you want the user to see the value of a CF
> variable.
> > > By itself, CF
> > > doesn't need it. Ie, you DONT do this:
> > >
> > > <cfset x = 1>
> > > <cfoutput>
> > > <cfset y = "#x#">
> > > </cfoutput>
> > > (well, that works, but is unnecessary)
> > >
> > >
> > > This is fine...
> > >
> > > <cfset x = 1>
> > > <cfset y = x>
> > >
> >
>
>====================================================================
> > > Raymond Camden, Principal Spectra Compliance
> > > Engineer for Macromedia
> > >
> > > Email    : [EMAIL PROTECTED]
> > > Yahoo IM : morpheus
> > >
> > > "My ally is the Force, and a powerful ally it
> is." -
> > > Yoda
> > >
> > > > -----Original Message-----
> > > > From: Amanda Stern [mailto:[EMAIL PROTECTED]]
> > > > Sent: Thursday, January 03, 2002 2:25 PM
> > > > To: CF-Talk
> > > > Subject: Simple FORM Variable ERROR?????
> > > >
> > > >
> > > > Hello,
> > > >
> > > > I am trying to create a simple form that
> depending
> > > on
> > > > which item is selected in one dropdown will
> > > determine
> > > > the contents of the next dropdown field....it
> > > doesnt
> > > > to recognize my form variable though....
> > > >
> > > > here is my code:
> > > >
> > > >
> > > >     <td width="300">
> > > >         *Outreach Method:<br>
> > > >          <select name="OutreachMethod1">
> > > >              <option value="">--Select One--</option>
> > > >              <option value="1">Telephone</option>
> > > >              <option value="2">Home Visit</option>
> > > >          </select>
> > > >     </td>
> > > >
> > > >    <cfoutput>
> > > >     <input type="hidden"
> > > >            name="method1"
> > > >            value="Form.OutreachMethod1">
> > > >    </cfoutput>
> > > >
> > > >
> > > > <cfoutput>
> > > >  <cfif  #form.method1# IS "1">
> > > >  </cfoutput>
> > > >
> > > >
> > > > So depending on which value from the
> > > OutreachMethod1
> > > > drop down they choose will determine the cfif
> code
> > > > that follows...but it doesnt recognize
> > > #form.method1#
> > > > ...do I need to have 2 forms and submit the
> first
> > > > part?
> > > >
> > > > TIA
> > > >
> > > >
> > > >
> > > >
> __________________________________________________
> > > > Do You Yahoo!?
> 
=== message truncated ===


__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
______________________________________________________________________
Why Share?
  Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to