Click here to Skip to main content
14,639,650 members
Rate this:
Please Sign up or sign in to vote.
See more:
I am using Thymeleaf as the templet engine.
I have a html which contains attribute th:utext


<div  th:utext="*{categoryBannarPageEnrty.value}"></div> with values as html tags as 
    <p id="logo"><img src="./cmsstatic/main_soho_logo01.jpg"/></p>
    <p id="title"><img src="./cmsstatic/main_soho_title01.jpg" /></p>
    <p id="text">Some text</p>
    <p id="link"><a href="/">Shop</a></p>



and accordingly being displayed on UI.
Now how can i assign the p tag with "logo" id to the th:utext as i
do not want the other things to be displayed on my UI.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month



CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100