Discussion:
[jifty-devel] jquery updated to 1.2.6 in jifty trunk
Chia-liang Kao
2008-06-23 03:33:22 UTC
Permalink
Hi,

We've upgraded jquery to 1.2.6 in jifty trunk, mostly because it
removes our temporary hack for ie6's script evaluation order. However
we found that the jquery is not really compatible with the prototypism
plugin anymore. This is possibly due to the js inclusion order, and
we are trying to fix this. In the mean time, please refrain from
using latest jifty if you need the prototypism plugin (which is
automatically enabled if your ConfigFileVersion is less than 4)


Cheers,
CLK
Sterling Hanenkamp
2008-06-23 15:00:38 UTC
Permalink
I've been playing with jQuery UI and it doesn't work very well without
jQuery 1.2.6, so this is a good thing for me. :)

Thanks,
Sterling
Post by Chia-liang Kao
Hi,
We've upgraded jquery to 1.2.6 in jifty trunk, mostly because it
removes our temporary hack for ie6's script evaluation order. However
we found that the jquery is not really compatible with the prototypism
plugin anymore. This is possibly due to the js inclusion order, and
we are trying to fix this. In the mean time, please refrain from
using latest jifty if you need the prototypism plugin (which is
automatically enabled if your ConfigFileVersion is less than 4)
Cheers,
CLK
_______________________________________________
jifty-devel mailing list
http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel
Dobrica Pavlinusic
2008-06-23 16:07:23 UTC
Permalink
Post by Sterling Hanenkamp
I've been playing with jQuery UI and it doesn't work very well without
jQuery 1.2.6, so this is a good thing for me. :)
I'm also at the moment where I have to put some tree interactive stuff,
so update to new jquery is very appriciated.

Could you share some expirience with jQuery UI and Jifty?

While we are on it, I can't seem to find a way to produce following in
Jifty:


+--------------------+ +-----------------------+
| region-execute-sql | | region-databases |
| action-execute-sql | | action-increase-usage |
+--------------------+ +-----------------------+

The problem is that I can't run action-increase-usage *and* update
region-execute-sql while chaning one field and keepeng another (SQL
query which I want to re-execute on instance in region-databases which
got clicked on).

I solved that by saving query into session, so by default action always
keeps it and creating plain href link, but it seems like a cludge.

I would love some kind of mechanisam which would allow me to say something
like "submit action in other region, changing argument foo to bar".

I would also love to be able to peek into current value of some form
field (not submitted yet) when refreshing some region.

Does that seems like useful stuff to other developers or am I missing a
point?

Can somebody share best practices of including javascript code in
Template::Declare?
--
Dobrica Pavlinusic 2share!2flame ***@rot13.org
Unix addict. Internet consultant. http://www.rot13.org/~dpavlin
Yves Agostini
2008-06-24 07:36:09 UTC
Permalink
Le lundi 23 juin 2008 à 18:07 +0200, Dobrica Pavlinusic a écrit :
..........
Post by Dobrica Pavlinusic
Can somebody share best practices of including javascript code in
Template::Declare?
I don't know if it's best practice :-)

but here I used some jquery plugin in T::D
https://svn.univ-metz.fr/svnweb/index.cgi/pub_Uguest/view/trunk/lib/Uguest/View/Admin.pm

There's still some commented tests with facebox
--
---------------------------------------------------------------
AGOSTINI Yves CRI - Université Paul Verlaine - Metz
***@univ-metz.fr http://www.crium.univ-metz.fr
tel: 03 87 31 52 63 fax: 03 87 31 53 33
Sterling Hanenkamp
2008-06-24 14:58:21 UTC
Permalink
Post by Dobrica Pavlinusic
Post by Sterling Hanenkamp
I've been playing with jQuery UI and it doesn't work very well without
jQuery 1.2.6, so this is a good thing for me. :)
I'm also at the moment where I have to put some tree interactive stuff,
so update to new jquery is very appriciated.
Could you share some expirience with jQuery UI and Jifty?
Right now, I'm using Draggable and Droppable to create nice interactive,
hierarchical lists. I've managed to create a pretty simple outliner in
pretty short order with this. I hope to post my progress on my blog in the
next couple days and I'll post back here when I have something to share.
Post by Dobrica Pavlinusic
While we are on it, I can't seem to find a way to produce following in
+--------------------+ +-----------------------+
| region-execute-sql | | region-databases |
| action-execute-sql | | action-increase-usage |
+--------------------+ +-----------------------+
The problem is that I can't run action-increase-usage *and* update
region-execute-sql while chaning one field and keepeng another (SQL
query which I want to re-execute on instance in region-databases which
got clicked on).
I solved that by saving query into session, so by default action always
keeps it and creating plain href link, but it seems like a cludge.
I would love some kind of mechanisam which would allow me to say something
like "submit action in other region, changing argument foo to bar".
I would also love to be able to peek into current value of some form
field (not submitted yet) when refreshing some region.
Does that seems like useful stuff to other developers or am I missing a
point?
Can somebody share best practices of including javascript code in
Template::Declare?
--
Dobrica Pavlinusic 2share!2flame
Unix addict. Internet consultant.
http://www.rot13.org/~dpavlin <http://www.rot13.org/%7Edpavlin>
_______________________________________________
jifty-devel mailing list
http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel
Chia-liang Kao
2008-06-27 14:40:03 UTC
Permalink
The issue has been resolved as of r5535 of jifty trunk.

This was caused due to incompatibility of jQuery 1.2.6 and
scriptaculous 1.5.1. We've upgraded both prototype and scriptaculous
to the latest version in the Prototypism plugin.

Sorry for any inconvenience this might have caused.
Post by Chia-liang Kao
We've upgraded jquery to 1.2.6 in jifty trunk, mostly because it
removes our temporary hack for ie6's script evaluation order. However
we found that the jquery is not really compatible with the prototypism
plugin anymore. This is possibly due to the js inclusion order, and
we are trying to fix this. In the mean time, please refrain from
using latest jifty if you need the prototypism plugin (which is
automatically enabled if your ConfigFileVersion is less than 4)
Cheers,
CLK

Loading...