Hi Team,
I have a requirement, where I have to construct the RTE data which is table information in Sling model with some data from third party service. Is it a good approach to concat the table html as a string and use that to display in sightly.
I don't think, I need any jsoup parser for this approach. Please share your thoughts.
regards,
Archana.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @ArchR
Sure, go ahead with Jsoup, we also did something , reading RTE data from text node and converted into Table Model
org.jsoup.Jsoup;
org.jsoup.nodes.Element;
Actually, we have to construct the table html from backend java and send it to the frontend.. That is the reason, i was confused if i need a parser like jsoup or will be able to achieve with String builder to store the html String under the jcr:content text property. which can then be rendered by text component
Views
Likes
Replies