Message expression the name of a fragment

classic Classic list List threaded Threaded
1 message Options
Els
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Message expression the name of a fragment

Els
Hi,


Does anyone know if this is possible in some way?

<div  th:id="#{messagesList.elementId}" th:fragment="#{messagesList.elementId}" >

In the following code fragment I use a message expression for the id and fragment tag. In the id tag, this s working, but not in the fragment tag.   The rest of my code can not resolve the fragment anymore.
Is this a bug in Thymeleaf?  Or is there another way to achieve this goal?

Loading...