An CFAJAX call to get the query list for select then loading it into a
recursive javascript loop is super easy. I usually will start with a
plain loaded select:
<select name="sl_something" id="sl_something"><option>-Select
Something-</option></select>
So I can attached an onchange() via jquery on page load. Not to mention
you can have the page loading while it populates the list (not that it
is really any slower doing it serverside).
On 2/10/2014 8:31 AM, Jonathan Voss wrote:
@Alan, Personally I agree with you that cfform and cfselect are just
not worth it. Even on Adobe servers I've had to pull back on half of
my cfselects because they are just too restrictive. Ease of use is
nice but not when you need additional support like disabled options...
I found myself rewriting, switching to normal selects and looping
around the options to get the full functionality I needed. I write a
lot of permissions based apps so I have a lot of those floating
around. And the cfform validation almost never gets used since I need
to write server side validation anyway.
Thanks for the reply. I'll continue in jquery. It'll help me learn it
better anyway which is probably more valuable to me in the long term.
On Monday, February 10, 2014 8:21:55 AM UTC-5, Alan Williamson wrote:
In short yes, JQuery is the best way to go.
Baking Javascript into the engine was the worse mistake Adobe ever
done;
because it can never keep up with the pace that is being done client
side. The second worse mistake was us even attempting to do
CFFORM/CFSELECT/etc. We should have taken a stance and said NO!
But we
were young, love in our hearts and almighty Adobe could do no
wrong ...
ooh the innocence of youth! The only thing stopping me ripping it
all out is someone somewhere will claim they "NEED" it. But one
weekend
... i am just going to do it!
On 10/02/2014 08:06, Jonathan Voss wrote:
> I'm writing a full OpenBD application for the second time. I
typically
> only used OpenBD for personal use so never really got deep into it,
> right now I am writing a logistics management system for my company
> and chose to cut costs and deliver an OpenBD application instead of
> Adobe Coldfusion. Currently I am trying to figure out how much
CFAJAX
> support there is... I can't seem to get a cfselect bind to work
even
> though the remote CFC call works fine. I am trying the same methods
> that worked for me with an Adobe CF server.
>
> Should I just drop attempts and switch to solely using jquery?
What do
> you guys do for AJAX?
>
--
--
online documentation: http://openbd.org/manual/
http://groups.google.com/group/openbd?hl=en
---
You received this message because you are subscribed to the Google
Groups "Open BlueDragon" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
--
--
online documentation: http://openbd.org/manual/
http://groups.google.com/group/openbd?hl=en
---
You received this message because you are subscribed to the Google Groups "Open BlueDragon" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.