Hi there,
I have requirement to use <C:OUT inside value="" of my custom tag.
something like below.
<wda:input type="text"
name="directDebit"
value="<c:out value="${requestScope.VB.directDebit}"/>"
</wda:input>
but it give me exception
Attribute ${requestScope.VB.directDebit} has no value]
However when use same in normal input tag its working fine.
Please note that I am encoding the attribute contents in my tld if content doesn't start and ends with # I am returning the same content back. for e.g. if value="aaa" then same will be set in value attribute & value="#somekey#" then different value would be set.
Ideally speaking my tld should return back the current content which is "<c:out value="${requestScope.VB.directDebit}"/>" since it doesn't starts with # and the same should be taken care by JSTL.
I tried debugging but it's not even reaching my TLD code.
I am not sure what I am doing is correct, but I guess it should work somehow.
Please give my your inputs in fixing this problem
[ July 04, 2008: Message edited by: Bear Bibeault ]
I have requirement to use <C:OUT inside value="" of my custom tag.
something like below.
<wda:input type="text"
name="directDebit"
value="<c:out value="${requestScope.VB.directDebit}"/>"
</wda:input>
but it give me exception
Attribute ${requestScope.VB.directDebit} has no value]
However when use same in normal input tag its working fine.
Please note that I am encoding the attribute contents in my tld if content doesn't start and ends with # I am returning the same content back. for e.g. if value="aaa" then same will be set in value attribute & value="#somekey#" then different value would be set.
Ideally speaking my tld should return back the current content which is "<c:out value="${requestScope.VB.directDebit}"/>" since it doesn't starts with # and the same should be taken care by JSTL.
I tried debugging but it's not even reaching my TLD code.
I am not sure what I am doing is correct, but I guess it should work somehow.
Please give my your inputs in fixing this problem
[ July 04, 2008: Message edited by: Bear Bibeault ]