<c:set var="typeTitle" value="${acctType}${openParen}${req}${closeParen}"/>
display:column title="${typeTitle}">
...................
.................
Would like to put (*) in red.
i.e
${acctType} in default color but
${openParen}${req}${closeParen}" in red.
how to do this?
Thanks.umm, not quite sure what language that is, but I'd assume you could do this:
${acctType}
<span style="color: #CC0000">${openParen}${req}${closeParen}</span>using JSTL and displaytag.
yah I tried using the span in the value in cut tag but didn't work. can this be done using javascript? I am not sure how to call the js func from JSTL.What was the resulting output when you used the span? Maybe you need to escape the brackets.what do I have to do to escape the bracket?
I am seeing as a comlipation error. IDE shows it as a undetermined <c:set> tag.
is this what you mean by escape?
<c:set var="typeTitle" value="${acctType}"<span style="color: #CC0000">"${openParen}${req}${closeParen}</span>"/>
Thanks.Maybe \< and \>. Oh, I just noticed the quotes. Have you tried like so?
<c:set var="typeTitle" value="${acctType}<span style='color: #CC0000'>${openParen}${req}${closeParen}</span>"/>
Otherwise try.
<c:set var="typeTitle" value="${acctType}\<span style='color: #CC0000'\>${openParen}${req}${closeParen}\</span\>"/>
I'm just guessing though. I do Java/JSPs but no experience with that tag.thank you for responding. but, that didn't work either.
Any other suggessions?
Thanks.got the solution finally
<c:set var="spanred" value="<span style='color: #CC0000'>"/>
<c:set var="spanend" value="</span>"/>
<display:column title="${acctTypeTitle}${spanred}${openParen}${req}${closeParen}${spanend}">
Thank you all for responding.
display:column title="${typeTitle}">
...................
.................
Would like to put (*) in red.
i.e
${acctType} in default color but
${openParen}${req}${closeParen}" in red.
how to do this?
Thanks.umm, not quite sure what language that is, but I'd assume you could do this:
${acctType}
<span style="color: #CC0000">${openParen}${req}${closeParen}</span>using JSTL and displaytag.
yah I tried using the span in the value in cut tag but didn't work. can this be done using javascript? I am not sure how to call the js func from JSTL.What was the resulting output when you used the span? Maybe you need to escape the brackets.what do I have to do to escape the bracket?
I am seeing as a comlipation error. IDE shows it as a undetermined <c:set> tag.
is this what you mean by escape?
<c:set var="typeTitle" value="${acctType}"<span style="color: #CC0000">"${openParen}${req}${closeParen}</span>"/>
Thanks.Maybe \< and \>. Oh, I just noticed the quotes. Have you tried like so?
<c:set var="typeTitle" value="${acctType}<span style='color: #CC0000'>${openParen}${req}${closeParen}</span>"/>
Otherwise try.
<c:set var="typeTitle" value="${acctType}\<span style='color: #CC0000'\>${openParen}${req}${closeParen}\</span\>"/>
I'm just guessing though. I do Java/JSPs but no experience with that tag.thank you for responding. but, that didn't work either.
Any other suggessions?
Thanks.got the solution finally
<c:set var="spanred" value="<span style='color: #CC0000'>"/>
<c:set var="spanend" value="</span>"/>
<display:column title="${acctTypeTitle}${spanred}${openParen}${req}${closeParen}${spanend}">
Thank you all for responding.