Level 1
Level 2
Sign in to Community
Learn more
Sign in to view all badges
Expand my Community achievements bar.
This conversation has been locked due to inactivity. Please create a new post.
So I need to do something like:Here is my message with inner_variable, ok.
inner_variable gonna be set in js and I need styles for it.
I tried something like:
.html
${'message' @ i18n, format='<span class="email-address__text"></span>'}
.xml
sling:message="Here is my message with {0}, ok."
But the span works like text and I can't set any values. Any suggestions?
Solved! Go to Solution.
Where are you defining the variable in {}.
THis does not look right. IN HTL - normally these objects are set on Java backend (ie - sling models) or JS USE API.
View solution in original post
Views
Likes
Replies