Taglib Addendum | April 14th, 2007
I just wanted to quickly point out a small difference between the new taglib we introduced last week and our regular, non-jsp tags. Most of the tags look the same, but for unbound Grids and ComboBoxes, the data elements are a bit different. For the taglib, instead of specifying data as attributes, there is a single data attribute that takes a JSON object. For example, the <e> element looks like this in the taglib:
<n:e data="{'xi' : '0',
'a' : 'Mick Jones',
'b' : 'Topper Headon',
'c' : 'Joe Strummer',
'd' : 'Paul Simonon'}"></n:e>
And for those who are interested, there are new articles in the KB describing how to set up a databound Grid in Struts 1 and Struts 2.
April 15th, 2007 at 9:20 pm
[...] Taglib Addendum (tags: nitobi taglib java ajax struts) [...]