I have a custom tag declared in my view as such:
<wd:documentTypeList id="document.type" selectedType="<s:property
value="%{document.type}" />" showNoneOption="true" />

The problem is it then throws an exception with the message "Unterminated
&lt;wd:documentTypeList tag".

Obviously there's a problem with the tag thinking it is being closed at the
<s:property value=" quotation mark, but my question is how can I pass a
Struts property to a custom tag attribute? I can't seem to find anything
online that provides a relevant solution. I've tried single and double-quote
combinations and it still has the issue, and if I take the selectedType
attribute completely out of the tag (it is an optional attribute) then the
tag works great.

Thanks,
Ryan
-- 
View this message in context: 
http://www.nabble.com/Custom-tag-attribute-as-struts-property--tp22042279p22042279.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to