How to write tagx (JSPX tag libraries without java)

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

Spring Roo provides many examples (and it seems to be just a project that uses tagx extensively).

I can ask this one more question, but every time I do not want to repeat myself in JSPX (DRY), I feel that I have to sacrifice valuable time and create a tag library because there are no built-in macros.

I feel like I'm missing something in JSP / X.

+6
source share
3 answers

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

You must mentally convert the JSP code to JSPX.

+3
source

I'm trying to use the same technology now. I found this tutorial that explains the question using a clear example: Spring MVC: from JSP and Tiles to Thymeleaf

Hope this helps :)

+1
source

I stumbled upon your question looking for something else.

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

Stefano

0
source

Source: https://habr.com/ru/post/886486/


All Articles