param:"eval=22,"T7=" + t7sel ...etc
you have a " after 22 - it should be
param:"eval=22,T7=" + t7sel ...etc
If you set executeonload = false, which indeed is what I was getting
at, you need a few other things:
1) Assign the mxAjax object to a variable:
myMxData = new mxAjax.Data({
executeOnLoad:false, ...etc
2) Instead of calling init() in the onchange of your selects, call
myMxData.execute()
On 6/13/07, Will Tomlinson <[EMAIL PROTECTED]> wrote:
> >There is a loading message graphic thingy built in somewhere, as it's
> >part of some of the other controls (like autocomplete), but I can't
> >recall at the moment where it is. I'll try to dig it up and see if
> >there's a simple way to get it showing automatically for the mxData
> >tag.
>
> Yeah I think I remember seein somethin.
>
> I have up to 7 selects, all dynamic. So I'm making my JS variables/arguments
> dynamic.
> Here's what it's building but I'm gettin an error.
>
> paramArgs: new mxAjax.Param(url,{param:"eval=22,"T7=" + t7sel + ",T6=" +
> t6sel + ",T5=" + t5sel",cffunction:"getCourses"}), postFunction: handleData
> });
>
> This is the error:
>
> missing } after property list
> [Break on this error] paramArgs: new mxAjax.Param(url,{param:"eval=22,"T7=" +
> t7sel + ",T6=" + t6s...
>
> I'm guessing my arguments are being built wrong now.
>
>
> >
> >As for the 10000 courses, if the people select ALL for each box, do
> >you want to give them all 1000 courses? Otherwise, we can set it up so
> >that it doesn't do a request immediately on page load and it will
> >start filtering after the first choice instead.
>
> Yeah I think that's a good idea. Do I just set executeOnLoad:false ?
>
> Thanks James!
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 &
Flex 2
Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:280933
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4