Wrapping YUI with WebClay

new topic     » topic index » view thread      » older message » newer message

Euphoric suggested wrapping YUI in WebClay, so I began that process, however, I'm open for suggestions. I was able to easily create a WebClay tag for the basics of the DataTable, an example use is:

<%- yui:datatable name="a_cats" url="/aircraft/categories.wc?output=text"  
    layout=!{ 
        -- key, label, sortable - defaults to on, formatter - defaults to none 
        { "id", "Id", 1, "YAHOO.widget.DataTable.formatNumber" }, 
        { "name", "Name" } 
    } %> 

That creates a DataTable with keys, headers, formatting and it dynamically retrieves the data from the given URL. However, my problem is that YUI is so expansive in it's options I am not sure if it makes sense to wrap it. It would seem that you would have more work arounds in a wrapping then if you simply used to learn YUI itself.

Does anyone have experience with YUI and have any opinions on this matter?

Jeremy

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu