Subject: Re: Ajax recommendations for use with Struts1.1 2007-10-03 - By Ted Husted
Back I actually did a lot of work with the DataTable. Again, what I liked best is that I could follow the source, and extend it. For example, we created a composite Find/List/Edit/View widget that let us set a list of fields, field-types, labels, and validators in the JavaScript, and get a complete CRUD widget in return. There's an early version here:
* http://yazaar.org/examples/dataform/tutorial-tabview.html
There's no hard-coding of HTML forms here at all, just some settings in the JavaScript
* http://yazaar.org/examples/dataform/tutorial-data.js
The example includes static data, but, of course, in production, we get it from the database. Same difference though. We just pass back a list via JSON in the same format.
My team is on hiatus now, but when we get back, I'd like to update the example with the final version.
-Ted.
On 10/3/07, Rick Reumann <rick.reumann@(protected)> wrote: > On 10/3/07, Rick Reumann <rick.reumann@(protected)> wrote: > > > > > > Going to check out YUI now. > > So far I haven't been too impressed with their data table models (they > seem pretty basic, not bad but I don't scrollable tables, movable > columns, etc, but maybe I'm missing it): > http://developer.yahoo.com/yui/examples/datatable/index.html > > Compared to what you get with extjs. For example, I really like this grid > > http://extjs.com/deploy/ext/examples/grid/paging.html > > You can see more of the examples here > http://extjs.com/deploy/ext/docs/index.html > > -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ > To unsubscribe, e-mail: user-unsubscribe@(protected) > For additional commands, e-mail: user-help@(protected) > >
-- HTH, Ted <http://www.husted.com/ted/blog/>
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: user-unsubscribe@(protected) For additional commands, e-mail: user-help@(protected)
|
|