Skip to content
Advertisement

Tag: href

Multiple links in a tag liferay

in the database I have links, which are a property of an entity, saved on a string, separated only by a comma. Example: “www.test.com, www.test.com, www.test.com”. I can see them with this code but they are not clickable links <liferay-ui:search-container-column-text name=”Links” orderable=”<%=false%>” value=”<%=entity.getLinks() %>”/> Can I display them to be clickable in a <liferay-ui: search-container-column-text tag? Answer Try somethings like

Is there a way to convert an element link to XPath

I have written a Jsoup class file to scrape a page and grab the hrefs for every element on the page. What I would like to do from there is to extract the Xpath for each of the elements from their hrefs. Is there a way to do this in JSoup? If not is what is the best way to

Advertisement