How to write tagx (JSPX tag libraries without java)

7.7k Views Asked by At

I can't find good documentation on how to write modern tag libraries without Java in JSPX?

Spring Roo provides lots of examples (and seems to be only project that uses tagx extensively).

I may make this another question but every time I want to not repeat myself in JSPX (DRY) I feel like have to sacrifice valuable time and go create a tag library because there are no inline macros.

I feel like I must be missing something in JSP/X.

3

There are 3 best solutions below

0
On

I stumbled on your question searching for something different.

I wrote a post about it at http://stories.stefanocazzola.it/2012/07/placing-your-custom-tags-inside-jar.html

Stefano

1
On

The best resource I could find on JSP Tag libraries is from the horses mouth: http://download.oracle.com/javaee/5/tutorial/doc/bnalj.html

You have to mentally convert the JSP code to JSPX.

0
On

I'm trying the same technology now. I've found this tutorial which explains the question using an understandable example: Spring MVC: from JSP and Tiles to Thymeleaf

Hope this helps :)