Hi everyone.I've got a dialog for a component that has been created with a slideshow. Inside of each slide there is a textarea component.The problem I'm facing is that the textarea removes any double quotes that are added. Like if you were to modify the component to add some text and this text inclu...
I changed the way I retrieve the value in the js rihno file based on what you proposed and now it works good!Thank you very much susheel for keep up with me in this, I appreciate your help.
It's the same. Regardless of the type I want to adapt the property, it is still null.Both get("maxLinks", Integer.class); and get("maxLinks", String.class); returns null.
Yes the property info.maxLinks is fine, I could print it like you mentioned and I would be able to see it. maxLinks contains a number that comes from the dialog of the component.The problems appears when trying to send it as a parameter to the java handler. I want to know if it is possible to send v...
I tried the solution susheel suggested but still I'm getting null.This is the complete snippet:HTML:<div data-sly-use.info="nc-questions-and-answers.js" data-sly-use.questions="${'LatestQuestions' @ maxLinks=info.maxLinks}" class="nc-questions-and-answers"> <h2 class="nc-questions-and-...
Hello Guys,I've got an issue in which I'm unable to pass a variable to a data-sly-use.This is a small snippet of the code I have.<div data-sly-use.info="questions-and-answers.js" data-sly-use.questions="${'LatestQuestions' @ maxLinks=info.maxLinks}" class="nc-questions-and-answers"> <h2 class="nc-...