Well, after working with this I've found that this method is not going to
work for me. The way AjaxCFC works currently I can't override the text/html
MIME type so Taconite never gets triggered. Would it be possible to add a
property such as $.taconite.interceptAjax = false; (similar to
Daemach,
I spoke to Rob last night and he said he was going to work on allowing
you to return XML from AjaxCFC. If this resolves your issue, then I
think it'd be a better solution than patching the taconite plugin. This
really seems isolated to AjaxCFC.
Let me know what you think.
Rey
Well, after working with this I've found that this method is not going to
work for me. The way AjaxCFC works currently I can't override the text/html
MIME type so Taconite never gets triggered. Would it be possible to add a
property such as $.taconite.interceptAjax = false; (similar to
Makes sense. Thanks much!
Rey Bango-2 wrote:
Daemach,
I spoke to Rob last night and he said he was going to work on allowing
you to return XML from AjaxCFC. If this resolves your issue, then I
think it'd be a better solution than patching the taconite plugin. This
really seems
Thanks much Mike :)
If I know that I'm going to have to pass the XML to taconite does it make
sense to keep intercepting the ajax calls? Or is the performance hit so
negligible (even on large documents) so as not to be noticible?
malsup wrote:
Well, after working with this I've found that
Even with the changes Mike volunteered to make, I think you were right about
modifying AjaxCFC. There will be other applications where sending an XML
document will be helpful and the base functionality of taconite intercepting
and handling the call leaves the AjaxCFC callback free to do other
Mike's quick turnaround will just let me start testing more quickly until
Rob has a chance to work through the changes.
Daemach,
I've uploaded a new version to:
http://www.malsup.com/jquery/taconite/jquery.taconite.js
You can invoke $.taconite and pass it an XML document or XML string.
Use
You rock ;) Thank you very much for your excellent work and fast service!
malsup wrote:
Mike's quick turnaround will just let me start testing more quickly until
Rob has a chance to work through the changes.
Daemach,
I've uploaded a new version to:
Damn Mike, you're gonna spoil Daemach!! ;)
How come *I* don't get that level of service from ya?!!? ;)
Rey...
Mike Alsup wrote:
You rock ;) Thank you very much for your excellent work and fast service!
Just remember, fast service means limited testing. ;-)
No problem at all. It did process the xml successfully, though I'm getting
the following error in firebug:
$.taconte has no properties
[Break on this error] $.httpData = b ? $.taconite.detect :
$.taconte._httpData;
jquery.taconite.j... (line 76)
[taconite] [AJAX response] content-type:
Spoiled I Am!
And hey, you're just as good Rey ;)
Rey Bango-2 wrote:
Damn Mike, you're gonna spoil Daemach!! ;)
How come *I* don't get that level of service from ya?!!? ;)
Rey...
Mike Alsup wrote:
You rock ;) Thank you very much for your excellent work and fast
service!
Just
No problem at all. It did process the xml successfully, though I'm getting
the following error in firebug:
Ah, yes, that would be a typo. I misspelled the name of my own
plugin! (taconte) Ha!
These lines:
$.taconite.debug = true;
$.taconite.enableAutoDetection(false);
only need to run
It's working great Mike, thank you. For my testing I'm using it to load a
(very large) table.
Now, what is the best way to run a command after taconite has finished its
work? I'm using the tablesorter plugin and it needs to do it's work once
the table has completed rebuilding.
malsup
Damn Mike, you're gonna spoil Daemach!! ;)
How come *I* don't get that level of service from ya?!!? ;)
Rey...
Ha! I Just noticed this message, Rey. :-)What can I do for you, bud?
___
jQuery mailing list
discuss@jquery.com
Just keep doing what you're doing my man...building some of the best
code on the web. :)
Rey...
Mike Alsup wrote:
Damn Mike, you're gonna spoil Daemach!! ;)
How come *I* don't get that level of service from ya?!!? ;)
Rey...
Ha! I Just noticed this message, Rey. :-)What can I do
Very cool idea. I can see this being used in several areas I'm working on
though in some cases, because of size, JSON manipulation might work better.
I noticed that Taconite intercepts ALL server calls at the moment - I'm
using an outstanding ajax plugin for Cold Fusion called ajaxCFC and I'm
I noticed that Taconite intercepts ALL server calls at the moment - I'm
using an outstanding ajax plugin for Cold Fusion called ajaxCFC and I'm
wondering how they will play together. Is there a way to bypass Taconite on
certain calls?
Hi Daemach,
Taconite intercepts every call only so that
Hi Daemach,
Welcome to the jQuery list. I haven't tried the Taconite plugin with
AjaxCFC but keep in mind that AjaxCFC is just a wrapper for jQuery's
Ajax functionality and its not necessary to use AjaxCFC for your calls.
You can explicitly reference the jQuery.js file itself via a normal
Perfect!
malsup wrote:
I noticed that Taconite intercepts ALL server calls at the moment - I'm
using an outstanding ajax plugin for Cold Fusion called ajaxCFC and I'm
wondering how they will play together. Is there a way to bypass Taconite
on
certain calls?
Hi Daemach,
Taconite
Sure - understood. I just like doing my processing in components in most
cases because it feels a lot cleaner.
Rey Bango-2 wrote:
Hi Daemach,
Welcome to the jQuery list. I haven't tried the Taconite plugin with
AjaxCFC but keep in mind that AjaxCFC is just a wrapper for jQuery's
Ajax
need to transfer between the client and
server.
-Dan
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Matt Grimm
Sent: Sunday, February 11, 2007 2:25 PM
To: jQuery Discussion.
Subject: Re: [jQuery] Taconite Plugin - New and Improved!
Mike
Dan G. Switzer, II wrote:
However, the verbose XML language is both a plus and a negative. It's very
easy to read and determine what's going on, but it also means you end up
with much large data packets you need to transfer between the client and
server.
This is not a problem if you
Dan G. Switzer, II wrote:
However, the verbose XML language is both a plus and a negative. It's
very
easy to read and determine what's going on, but it also means you end up
with much large data packets you need to transfer between the client and
server.
This is not a problem if you already
@Matt: Thanks! I can't take credit for the idea. I merely ported
the Taconite idea to jQuery.
@Dan: You're quite right regarding relative payload sizes. JSON will
almost certainly be smaller in every case - and that's a good point to
consider. The trade off is in complexity of the code that
To: jQuery Discussion.
Subject: [jQuery] Taconite Plugin - New and Improved!
I've just rewritten my Taconite Plugin and added some pretty cool
features. If you're not familiar with Taconite, it's an easy way to
effect multiple client-side updates with the results of a single ajax
call
Mike that looks like a pretty sweet plugin. I'll definitely give this a spin
in a project I am currently working on.
Thanks,
-John K
On 2/6/07, Mike Alsup [EMAIL PROTECTED] wrote:
I've just rewritten my Taconite Plugin and added some pretty cool
features. If you're not familiar with
And if you already have one or more p tags on the page already and
just adding more you could use the Copy Events plugin (in SVN) to just
copy events from an existing p tag to the new p tags.
$(newPTags).copyEvents(existingPTag);
BTW Mike, great plugin!
--
Brandon Aaron
On 2/8/07, Mike Alsup
On Feb 8, 2007, at 8:42 AM, Brandon Aaron wrote:
And if you already have one or more p tags on the page already and
just adding more you could use the Copy Events plugin (in SVN) to just
copy events from an existing p tag to the new p tags.
$(newPTags).copyEvents(existingPTag);
Yes, and if
On 2/8/07, Brandon Aaron [EMAIL PROTECTED] wrote:
And if you already have one or more p tags on the page already and
just adding more you could use the Copy Events plugin (in SVN) to just
copy events from an existing p tag to the new p tags.
$(newPTags).copyEvents(existingPTag);
BTW Mike,
testing and using this!
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Mike Alsup
Sent: Tuesday, February 06, 2007 12:40 PM
To: jQuery Discussion.
Subject: [jQuery] Taconite Plugin - New and Improved!
I've just rewritten my Taconite Plugin and added some
-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Mike Alsup
Sent: Tuesday, February 06, 2007 12:40 PM
To: jQuery Discussion.
Subject: [jQuery] Taconite Plugin - New and Improved!
I've just rewritten my Taconite Plugin and added some pretty cool
features. If you're
It is probably better to think of it as serving valid XML, rather than
valid XHTML as I doubt it validates the markup. Also, I assume this
plugin could be used to update an XML document (that is rendered
client side using XSL)?
Sam is right, the server response must be well-formed XML.
Mike,
Great work on the plugin. Looking forward to testing it out -- looks like
it could come in quite handy on some single page web apps I'm developing
for my company.
Looks like you spent a lot of time effort on this... it is appreciated.
___
SEAN O
malsup wrote:
I've just
hi Mike,
Thanks for the great plugin. It's one of the coolest things I've seen
for a while.
Is there a way to reapply handlers after executing a Taconite request?
For example, there may be click handlers that are applied to all the p
elements on a page. When you make XML request and Taconite
I've just rewritten my Taconite Plugin and added some pretty cool
features. If you're not familiar with Taconite, it's an easy way to
effect multiple client-side updates with the results of a single ajax
call. With this latest version there is absolutely no code required
to process command
That's an amazing idea, congratulations !
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Mike Alsup
Sent: mardi 6 février 2007 21:40
To: jQuery Discussion.
Subject: [jQuery] Taconite Plugin - New and Improved!
I've just rewritten my Taconite Plugin
Holy cow Mike, that is REALLY powerful. More stuff to learn! Thanks man.
Rey
Mike Alsup wrote:
I've just rewritten my Taconite Plugin and added some pretty cool
features. If you're not familiar with Taconite, it's an easy way to
effect multiple client-side updates with the results of a
Beautiful work Mike. I can't wait to start testing and using this!
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Mike Alsup
Sent: Tuesday, February 06, 2007 12:40 PM
To: jQuery Discussion.
Subject: [jQuery] Taconite Plugin - New and Improved!
I've just
Sent: Tuesday, February 06, 2007 12:40 PM
To: jQuery Discussion.
Subject: [jQuery] Taconite Plugin - New and Improved!
I've just rewritten my Taconite Plugin and added some pretty cool
features. If you're not familiar with Taconite, it's an easy way to
effect multiple client-side updates
39 matches
Mail list logo