Skip to Navigation | Skip to Content



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.

Posted in java | 1 Comment » | Add to Delicious | Digg It

This entry was posted on Saturday, April 14th, 2007 at 10:01 pm and is filed under java. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

One Response to “Taglib Addendum”

  1. Andre’s Blog » Blog Archive » links for 2007-04-16 Says:

    [...] Taglib Addendum (tags: nitobi taglib java ajax struts) [...]

Leave a Reply


Search Posts


My ideal work culture:
[See my summary] [What's yours?]

Archives

Categories