[cfaussie] bind complete
Is there a method you can call when an ajax bind update has been completed? I have 2 select boxes (country/state) and state gets updated based on the selection of the country. When the state select box has been updated i want it to trigger something else. Is this possible? Steve -- 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.
Re: [cfaussie] bind complete
At the moment that would be difficult. Obviously you can ftWatch the state field to update a third field, but for custom behaviour you will need to reproduce some of the ftWatch functionality in your own javascript: $j(select[name^=mystate]).live(click,function(){ ... }); Blair On Wed, Apr 18, 2012 at 12:06 PM, Steve Onnis st...@cfcentral.com.auwrote: Is there a method you can call when an ajax bind update has been completed? ** ** I have 2 select boxes (country/state) and state gets updated based on the selection of the country. When the state select box has been updated i want it to trigger something else. ** ** Is this possible? ** ** Steve -- 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.
RE: [cfaussie] bind complete
I am working with existing code which is using the cfselect tag. I was hoping there might be an onBindComplete function or similar From: Andrew Scott [mailto:andr...@andyscott.id.au] Sent: Wednesday, 18 April 2012 12:14 PM To: cfaussie@googlegroups.com Subject: Re: [cfaussie] bind complete You mean something like this? http://www.andyscott.id.au/2010/7/25/ColdFusion-and-populating-a-dropdown-ba sed-on-the-selection-of-another -- 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:06 PM, Steve Onnis st...@cfcentral.com.au wrote: Is there a method you can call when an ajax bind update has been completed? I have 2 select boxes (country/state) and state gets updated based on the selection of the country. When the state select box has been updated i want it to trigger something else. Is this possible? Steve -- 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 mailto:cfaussie%2bunsubscr...@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. -- 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.
Re: [cfaussie] bind complete
No, but that's a good idea. There are several improvements to the watch stuff that would make custom access easier. Would you be willing to use the latest branch code? Blair On Wed, Apr 18, 2012 at 12:20 PM, Steve Onnis st...@cfcentral.com.auwrote: I am working with existing code which is using the cfselect tag. I was hoping there might be an onBindComplete function or similar ** ** *From:* Andrew Scott [mailto:andr...@andyscott.id.au] *Sent:* Wednesday, 18 April 2012 12:14 PM *To:* cfaussie@googlegroups.com *Subject:* Re: [cfaussie] bind complete ** ** You mean something like this? ** ** http://www.andyscott.id.au/2010/7/25/ColdFusion-and-populating-a-dropdown-based-on-the-selection-of-another ** ** ** ** -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/108193156965451149543 ** ** On Wed, Apr 18, 2012 at 12:06 PM, Steve Onnis st...@cfcentral.com.au wrote: Is there a method you can call when an ajax bind update has been completed? I have 2 select boxes (country/state) and state gets updated based on the selection of the country. When the state select box has been updated i want it to trigger something else. Is this possible? Steve -- 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. -- 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.
RE: [cfaussie] bind complete
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 From: Blair McKenzie [mailto:shi...@gmail.com] Sent: Wednesday, 18 April 2012 12:47 PM To: cfaussie@googlegroups.com Subject: Re: [cfaussie] bind complete No, but that's a good idea. There are several improvements to the watch stuff that would make custom access easier. Would you be willing to use the latest branch code? Blair On Wed, Apr 18, 2012 at 12:20 PM, Steve Onnis st...@cfcentral.com.au wrote: I am working with existing code which is using the cfselect tag. I was hoping there might be an onBindComplete function or similar From: Andrew Scott [mailto:andr...@andyscott.id.au] Sent: Wednesday, 18 April 2012 12:14 PM To: cfaussie@googlegroups.com Subject: Re: [cfaussie] bind complete You mean something like this? http://www.andyscott.id.au/2010/7/25/ColdFusion-and-populating-a-dropdown-ba sed-on-the-selection-of-another -- 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:06 PM, Steve Onnis st...@cfcentral.com.au wrote: Is there a method you can call when an ajax bind update has been completed? I have 2 select boxes (country/state) and state gets updated based on the selection of the country. When the state select box has been updated i want it to trigger something else. Is this possible? Steve -- 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 mailto:cfaussie%2bunsubscr...@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. -- 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 mailto:cfaussie%2bunsubscr...@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. -- 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.
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/ Google+: http://plus.google.com/108193156965451149543 On Wed, Apr 18, 2012 at 12:50 PM, Steve Onnis st...@cfcentral.com.auwrote: 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.
Re: [cfaussie] bind complete
Here is an easier approach btw http://tutorial544.easycfm.com/ -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/108193156965451149543 -- 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.