Skip to Navigation | Skip to Content



Complete UI JSP Taglib | April 5th, 2007

We’ve had a number of customers request a JSP Taglib for our components and we can finally say here it is in all its fabulous glory - thanks to the great work of Mike. A nice thing with the taglib is you don’t have to worry about including the required javascript and stylesheet files, which I hope will be a boon for those using templates. The tag will automatically add the needed scripts and styles to your page (but you can use the toolkitjsurl, componentjsurl, and componentcssurl attributes to change where to find them). Plus, you don’t have to worry about forgetting the namespace declaration - shock horror! And of course, in Eclipse (and no doubt other IDEs) you get good ol’ code completion for free. Huzzah.

Like any other taglib, just put the jar file in your WEB-INF/lib and include it in your web.xml file, like so:

<jsp-config>
  <taglib>
    <taglib-uri>http://www.nitobi.com</taglib-uri>
    <taglib-location>/WEB-INF/lib/nitobi-cui-taglib.jar</taglib-location>
  </taglib>
</jsp-config>

Suggestions are, of course, very welcome. So pipe up if you’ve got some in the comments below or on the forum! We’d love any sort of feedback about the taglib and more generally how you think we can improve our components for use in a Java EE environment.

Next in the pipeline is integration with Eclipse and Netbeans and we’ll also have some tutorials detailing how to use our components in Struts and Spring real soon.

Posted in AJAX, Components, Declarative Programming, Web, completeui, jsp | 5 Comments » | Add to Delicious | Digg It

This entry was posted on Thursday, April 5th, 2007 at 5:38 pm and is filed under AJAX, Components, Declarative Programming, Web, completeui, jsp. 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.

5 Responses to “Complete UI JSP Taglib”

  1. Andre Charland Says:

    nice work Mike!

  2. Mike@Nitobi » Blog Archive » Taglib Addendum Says:

    [...] 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: [...]

  3. Neil Says:

    Hi, great you have a tag lib now, I am struggling to get this to work though, I have put the web.xml entries in and the tag lib declaration in a jsp page and the code completion picks up the help. When I run the app (netbeans and tomcat 5) I get a script error “nitobi” is undefined. any pointers for me for this would be most welcome.

    Do I need anything else other than the tag lib jar file?

  4. Dave Johnson Says:

    I will check with Mike about this one!

  5. Marc Logemann Says:

    Your product looks promising, but i really hesitate to even try it without documentation where i can get an overview how everything plays together. We Java guys are always some kind of sceptic when it comes to cross platform (meaning cross programming language) UI libraries.

Leave a Reply


Search Posts

Archives

Categories