Thank you for the response.
Hmm. What would you put into the property file?
I created a component to handle redundancy. The html content stored in the database and it has a unique id like: footerContent. Admin can modify the html content in change mode.
I use the HtmlElement.setInnerHtml(String htmlString) method to fill the content from the database.
It is not very nice solution, but it can be easily maintain by Admin users.
Is it possible to set the innerHtml content and than manipulte the content of it through HtmlElement classes?
Please note that: htmlString is more complicated and this link is inside of it.
String htmlString = "<Lots of html content ><tag_x id='myLink' ref='XY'>Create_Customer_Message_Link</tag_x> <lots of html content>";
htmlElement.setInnerHtml(htmlString);
I want to change the Create_Customer_Message_Link innerText to the language dependent label.
I tried this:
A,
HtmlElement link = new HtmlElement(page, "myLink");
link.setInnerText("Language dependent label");
-> Jaxcent Error: Element with ID "myLink" was not found
Ohh ok... the Id was wrong. I can do it...
Jaxcent is Coool!