portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gonzalo Aguilar Delgado <gagui...@aguilardelgado.com>
Subject Re: Progress...
Date Fri, 20 Nov 2009 08:44:36 GMT

Great... I will check your changes. hehe I forgot remove the tests I did
(like the onClick Handler) sorry.

About how to build the table. I know that dojo uses a templating system
for widgets. Do you know if
there is something similar with YUI?

El jue, 19-11-2009 a las 19:23 -0800, David Sean Taylor escribió:

> I committed this to trunk (after modifying some things) so you can  
> continue to work on it. From the commit message:
> Reviewed. I've modified and fixed a few things...
> - fixed the display names to display
> - rewrote the row population script to use YUI Node api replacing  
> direct DOM manipulation
> - dont' use a onclick handler, simply call the first load of portlets  
> directly inline
>   im actually not sure what should be populated first, perhaps a  
> "Whats New" category
> - added some TODOs for you, see source code for details
> Im also thinking that it might be better to create the nodes directly  
> from javascript, and not pass in the hidden table (I added a  
> display:none attribute on it) although the hidden table is definitely  
> easier. Optionally you may want to consider loading from a string,  
> something like:
> var clone = Y.Node.create("<table><tr>....etc....");

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message