Re: [uportal-dev] Proposing jQuery migration for uPortal 3.0

2008-02-19 Thread Jen Bourey
Thanks!

On Feb 19, 2008 3:54 PM, Parker Grimes <[EMAIL PROTECTED]> wrote:

> We use a plugin for jQuery called Interface 
> Elements
> and here is a demo of the re-ordering elements on a 
> page
> .
>
> Attached is a patch file for the tab-column/xhtml-theme/xhtml-theme.xsl, I
> reference the jquery.js and interface.js from {$mediaPath}/common/jquery/,
> so you will need to place those two files in that directory. I may have
> hacked up the patch, had to remove some other stuff not related to
> drag-and-drop, hopefully it works. This patch is for uPortal 2.6.1.
>
> Parker
>
>
>
>
> On Feb 19, 2008 1:05 PM, Jen Bourey <[EMAIL PROTECTED]> wrote:
>
> > Hi Parker,
> >
> > Would you guys be willing to share the portlet re-ordering code you
> > wrote? I haven't yet ironed out all the portlet drag and drop functionality,
> > so it would be pretty useful in finishing the up3 theme!  The screenshot you
> > sent looks very nice :)
> >
> > - Jen
> >
> >
> > On Feb 19, 2008 2:58 PM, Parker Grimes <[EMAIL PROTECTED]> wrote:
> >
> > > I say +1 as well. We like jQuery much better than dojo, it is more
> > > light weight which is always a plus for page load times. In fact, we
> > > replaced the dojo portlet re-ordering with jQuery quite a while ago. I
> > > attached a screenshot of it in action.
> > >
> > > Parker
> > >
> >
> > --
> > You are currently subscribed to uportal-dev@lists.ja-sig.org as: [EMAIL 
> > PROTECTED]
> >
> > To unsubscribe, change settings or access archives, see 
> > http://www.ja-sig.org/wiki/display/JSG/uportal-dev
> >
> >
> --
> You are currently subscribed to uportal-dev@lists.ja-sig.org as: [EMAIL 
> PROTECTED]
> To unsubscribe, change settings or access archives, see 
> http://www.ja-sig.org/wiki/display/JSG/uportal-dev
>
>

-- 
Join your friends and colleagues at JA-SIG 2008 - "Higher Education Solutions: 
The Community Source Way!"
April 27th - 30th, 2008 in St. Paul, Minnesota USA

Featuring CAS, DSpace, Fedora, Fluid, Internet2, Kuali, Sakai, uPortal, and 
more!
Information/Registration at: 
http://www.ja-sig.org/conferences/08spring/index.html

You are currently subscribed to uportal-dev@lists.ja-sig.org as: [EMAIL 
PROTECTED]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/uportal-dev

Re: [uportal-dev] Proposing jQuery migration for uPortal 3.0

2008-02-19 Thread Parker Grimes
We use a plugin for jQuery called Interface
Elements
and here is a demo of the re-ordering elements on a
page
.

Attached is a patch file for the tab-column/xhtml-theme/xhtml-theme.xsl, I
reference the jquery.js and interface.js from {$mediaPath}/common/jquery/,
so you will need to place those two files in that directory. I may have
hacked up the patch, had to remove some other stuff not related to
drag-and-drop, hopefully it works. This patch is for uPortal 2.6.1.

Parker




On Feb 19, 2008 1:05 PM, Jen Bourey <[EMAIL PROTECTED]> wrote:

> Hi Parker,
>
> Would you guys be willing to share the portlet re-ordering code you wrote?
> I haven't yet ironed out all the portlet drag and drop functionality, so it
> would be pretty useful in finishing the up3 theme!  The screenshot you sent
> looks very nice :)
>
> - Jen
>
>
> On Feb 19, 2008 2:58 PM, Parker Grimes <[EMAIL PROTECTED]> wrote:
>
> > I say +1 as well. We like jQuery much better than dojo, it is more light
> > weight which is always a plus for page load times. In fact, we replaced the
> > dojo portlet re-ordering with jQuery quite a while ago. I attached a
> > screenshot of it in action.
> >
> > Parker
> >
>
> --
> You are currently subscribed to uportal-dev@lists.ja-sig.org as: [EMAIL 
> PROTECTED]
> To unsubscribe, change settings or access archives, see 
> http://www.ja-sig.org/wiki/display/JSG/uportal-dev
>
>

-- 
Join your friends and colleagues at JA-SIG 2008 - "Higher Education Solutions: 
The Community Source Way!"
April 27th - 30th, 2008 in St. Paul, Minnesota USA

Featuring CAS, DSpace, Fedora, Fluid, Internet2, Kuali, Sakai, uPortal, and 
more!
Information/Registration at: 
http://www.ja-sig.org/conferences/08spring/index.html

You are currently subscribed to uportal-dev@lists.ja-sig.org as: [EMAIL 
PROTECTED]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/uportal-devIndex: 
/home/grimesp/portalworkspace/up2/webpages/stylesheets/org/jasig/portal/layout/tab-column/xhtml-theme/xhtml-theme.xsl
===
--- 
/home/grimesp/portalworkspace/up2/webpages/stylesheets/org/jasig/portal/layout/tab-column/xhtml-theme/xhtml-theme.xsl
   (revision 175)
+++ 
/home/grimesp/portalworkspace/up2/webpages/stylesheets/org/jasig/portal/layout/tab-column/xhtml-theme/xhtml-theme.xsl
   (working copy)
@@ -70,6 +70,51 @@

dojo.require("portal.widget.PortletDragObject");
dojo.hostenv.writeIncludes();

+   
+   
+   
+   $(document).ready(function(){   
  
+   
+   
+   
+   
$('#portlet_').addClass('movable').children('.portlet-toolbar').css('cursor', 
'move');
+   
+   
+   
+   $('[EMAIL PROTECTED]').each(function(i){
+   $(this).Sortable({
+   accept : 
'movable',
+   helperclass : 
'dropborder',
+   opacity : 0.5,
+   handle : 
'div.portlet-toolbar',
+   onStart : 
function(){
+   
+   },
+   onStop : 
function(){
+   var 
sourceID = $(this).attr('id').split('_')[1];
+   var 
method = null;
+   var 
elementID = null;
+   if 
($(this).next('div').attr('id') != undefined) {
+   
method = 'insertBefore';
+  

Re: [uportal-dev] Proposing jQuery migration for uPortal 3.0

2008-02-19 Thread Jen Bourey
Hi Parker,

Would you guys be willing to share the portlet re-ordering code you wrote? I
haven't yet ironed out all the portlet drag and drop functionality, so it
would be pretty useful in finishing the up3 theme!  The screenshot you sent
looks very nice :)

- Jen


On Feb 19, 2008 2:58 PM, Parker Grimes <[EMAIL PROTECTED]> wrote:

> I say +1 as well. We like jQuery much better than dojo, it is more light
> weight which is always a plus for page load times. In fact, we replaced the
> dojo portlet re-ordering with jQuery quite a while ago. I attached a
> screenshot of it in action.
>
> Parker
>

-- 
Join your friends and colleagues at JA-SIG 2008 - "Higher Education Solutions: 
The Community Source Way!"
April 27th - 30th, 2008 in St. Paul, Minnesota USA

Featuring CAS, DSpace, Fedora, Fluid, Internet2, Kuali, Sakai, uPortal, and 
more!
Information/Registration at: 
http://www.ja-sig.org/conferences/08spring/index.html

You are currently subscribed to uportal-dev@lists.ja-sig.org as: [EMAIL 
PROTECTED]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/uportal-dev

Re: [uportal-dev] Proposing jQuery migration for uPortal 3.0

2008-02-19 Thread Colin Clark

Jen,

Wow, interesting news! If you're happy with your jQuery porting  
efforts so far, I say +1.


I by no means think this is a necessary switch--Fluid plays nice with  
other toolkits--but if you're as happy with jQuery as we have been for  
our Fluid work, it makes sense to me. We'll be working with the jQuery  
community to ensure their UI library is made accessible, too!


Eli Cochran and I will be covering how to use jQuery in our Fearless  
JavaScript workshop at the JA-SIG conference.


Colin

On 19-Feb-08, at 2:19 PM, Jen Bourey wrote:


Hi all,

I'd like to propose that we migrate from dojo to jQuery as of  
uPortal 3.0.  jQuery seems to be lighter weight, easier to use, and  
much faster.  jQuery is also being used by the fluid reorderer, so  
performing this migration will prevent us from needing to include  
two javascript toolkits in the new uPortal 3.0 theme.


Unless anyone has any objections, I'd like to try and check a  
working implementation into the up3theme branch sometime in the next  
day or two.


- Jen
--
You are currently subscribed to uportal-dev@lists.ja-sig.org as: [EMAIL 
PROTECTED]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/uportal-dev


---
Colin Clark
Technical Lead, Fluid Project
Adaptive Technology Resource Centre, University of Toronto
http://fluidproject.org


--
Join your friends and colleagues at JA-SIG 2008 - "Higher Education Solutions: The 
Community Source Way!"
April 27th - 30th, 2008 in St. Paul, Minnesota USA

Featuring CAS, DSpace, Fedora, Fluid, Internet2, Kuali, Sakai, uPortal, and 
more!
Information/Registration at: 
http://www.ja-sig.org/conferences/08spring/index.html

You are currently subscribed to uportal-dev@lists.ja-sig.org as: [EMAIL 
PROTECTED]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/uportal-dev


Re: [uportal-dev] Proposing jQuery migration for uPortal 3.0

2008-02-19 Thread Andrew Petro

Jen,

+1

Alignment with what Fluid is using is compelling.

Andrew


Jen Bourey wrote:

Hi all,

I'd like to propose that we migrate from dojo to jQuery as of uPortal 
3.0.  jQuery seems to be lighter weight, easier to use, and much 
faster.  jQuery is also being used by the fluid reorderer, so 
performing this migration will prevent us from needing to include two 
javascript toolkits in the new uPortal 3.0 theme.


Unless anyone has any objections, I'd like to try and check a working 
implementation into the up3theme branch sometime in the next day or two.


- Jen
--
You are currently subscribed to uportal-dev@lists.ja-sig.org as: [EMAIL 
PROTECTED]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/uportal-dev



--
Join your friends and colleagues at JA-SIG 2008 - "Higher Education Solutions: The 
Community Source Way!"
April 27th - 30th, 2008 in St. Paul, Minnesota USA

Featuring CAS, DSpace, Fedora, Fluid, Internet2, Kuali, Sakai, uPortal, and 
more!
Information/Registration at: 
http://www.ja-sig.org/conferences/08spring/index.html

You are currently subscribed to uportal-dev@lists.ja-sig.org as: [EMAIL 
PROTECTED]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/uportal-dev


Re: [uportal-dev] Proposing jQuery migration for uPortal 3.0

2008-02-19 Thread Lennard Fuller

Jen Bourey wrote:

Hi all,

I'd like to propose that we migrate from dojo to jQuery as of uPortal 
3.0.  jQuery seems to be lighter weight, easier to use, and much 
faster.  jQuery is also being used by the fluid reorderer, so 
performing this migration will prevent us from needing to include two 
javascript toolkits in the new uPortal 3.0 theme.


Unless anyone has any objections, I'd like to try and check a working 
implementation into the up3theme branch sometime in the next day or two.
+1  Sounds like a good idea.  Within our own portlet development we have 
been very happy with jQuery and definitely recommend its use.




- Jen
--
You are currently subscribed to uportal-dev@lists.ja-sig.org as: [EMAIL 
PROTECTED]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/uportal-dev



--
Join your friends and colleagues at JA-SIG 2008 - "Higher Education Solutions: The 
Community Source Way!"
April 27th - 30th, 2008 in St. Paul, Minnesota USA

Featuring CAS, DSpace, Fedora, Fluid, Internet2, Kuali, Sakai, uPortal, and 
more!
Information/Registration at: 
http://www.ja-sig.org/conferences/08spring/index.html

You are currently subscribed to uportal-dev@lists.ja-sig.org as: [EMAIL 
PROTECTED]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/uportal-dev


Re: [uportal-dev] Proposing jQuery migration for uPortal 3.0

2008-02-19 Thread Drew Wills

Jen Bourey wrote:


jQuery seems to be lighter weight, easier to use, and much 
faster.  jQuery is also being used by the fluid reorderer, so performing 
this migration will prevent us from needing to include two javascript 
toolkits in the new uPortal 3.0 theme.




These points sound compelling.

+1

drew wills

--
Andrew Wills
UNICON, Inc.
Office:  (480) 558-2476
http://code.google.com/p/cernunnos/

--
Join your friends and colleagues at JA-SIG 2008 - "Higher Education Solutions: The 
Community Source Way!"
April 27th - 30th, 2008 in St. Paul, Minnesota USA

Featuring CAS, DSpace, Fedora, Fluid, Internet2, Kuali, Sakai, uPortal, and 
more!
Information/Registration at: 
http://www.ja-sig.org/conferences/08spring/index.html

You are currently subscribed to uportal-dev@lists.ja-sig.org as: [EMAIL 
PROTECTED]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/uportal-dev


Re: [uportal-dev] Proposing jQuery migration for uPortal 3.0

2008-02-19 Thread Dustin S.
+1 for me. jQuery is very nice!

On Feb 19, 2008 12:19 PM, Jen Bourey <[EMAIL PROTECTED]> wrote:

> Hi all,
>
> I'd like to propose that we migrate from dojo to jQuery as of uPortal 3.0.
> jQuery seems to be lighter weight, easier to use, and much faster.  jQuery
> is also being used by the fluid reorderer, so performing this migration will
> prevent us from needing to include two javascript toolkits in the new
> uPortal 3.0 theme.
>
> Unless anyone has any objections, I'd like to try and check a working
> implementation into the up3theme branch sometime in the next day or two.
>
> - Jen
>
> --
> You are currently subscribed to uportal-dev@lists.ja-sig.org as: [EMAIL 
> PROTECTED]
> To unsubscribe, change settings or access archives, see 
> http://www.ja-sig.org/wiki/display/JSG/uportal-dev
>
>

-- 
Join your friends and colleagues at JA-SIG 2008 - "Higher Education Solutions: 
The Community Source Way!"
April 27th - 30th, 2008 in St. Paul, Minnesota USA

Featuring CAS, DSpace, Fedora, Fluid, Internet2, Kuali, Sakai, uPortal, and 
more!
Information/Registration at: 
http://www.ja-sig.org/conferences/08spring/index.html

You are currently subscribed to uportal-dev@lists.ja-sig.org as: [EMAIL 
PROTECTED]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/uportal-dev

[uportal-dev] Proposing jQuery migration for uPortal 3.0

2008-02-19 Thread Jen Bourey
Hi all,

I'd like to propose that we migrate from dojo to jQuery as of uPortal 3.0.
jQuery seems to be lighter weight, easier to use, and much faster.  jQuery
is also being used by the fluid reorderer, so performing this migration will
prevent us from needing to include two javascript toolkits in the new
uPortal 3.0 theme.

Unless anyone has any objections, I'd like to try and check a working
implementation into the up3theme branch sometime in the next day or two.

- Jen

-- 
Join your friends and colleagues at JA-SIG 2008 - "Higher Education Solutions: 
The Community Source Way!"
April 27th - 30th, 2008 in St. Paul, Minnesota USA

Featuring CAS, DSpace, Fedora, Fluid, Internet2, Kuali, Sakai, uPortal, and 
more!
Information/Registration at: 
http://www.ja-sig.org/conferences/08spring/index.html

You are currently subscribed to uportal-dev@lists.ja-sig.org as: [EMAIL 
PROTECTED]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/uportal-dev