Thanks for that though it isn't quite what i am looking for.

 

I want something that will fire when a bind process has been completed. What
you have suggested below will fire when the value of the "selectchange"
select box has been changed but it doesn't fire when the selectbox is
initially loaded and populated by the binding process.

 

Basically what i am doing is creating some custom selectbox UI's and i need
to know when the bind has completed so i can update my custom selecbox UI to
reflect the new list of options.

 

From: Andrew Scott [mailto:andr...@andyscott.id.au] 
Sent: Wednesday, 18 April 2012 1:01 PM
To: cfaussie@googlegroups.com
Subject: Re: [cfaussie] bind complete

 

Steve what you need to do then is something like this

 

<cfajaxproxy bind="javascript:selectchange({changevalue})"> 

 

function mediachange(x) {

    console.log(x);

}

 

 

That is provided your cfselect is something like this.

 

<cfselect name="somename" id="selectchange" bind="cfc:component.getMethod()"
/>

 

The ajaxproxy will then bind the change event to the cfselect, in which you
can then do what you need to do based on the value selected. If that means
changing another cfselect or doing something else.

 

Now I am almost positive that the bind finished will change the value, hence
fire an on change event.

 


-- 

Regards,

Andrew Scott

WebSite: http://www.andyscott.id.au <http://www.andyscott.id.au/> /

Google+: http://plus.google.com/108193156965451149543

 

 

 

On Wed, Apr 18, 2012 at 12:50 PM, Steve Onnis <st...@cfcentral.com.au>
wrote:

I personaly don't like using it.  It is being used within an existing app i
am working on so i am pretty locked to what is there, and i believe it is
stil CF8 also

-- 
You received this message because you are subscribed to the Google Groups
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/cfaussie?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.

Reply via email to