http://jira.opensymphony.com/secure/ViewIssue.jspa?key=WW-79

Currently, if a ww:property tag doesn't have a body, it prints the value
of the value attribute, or "." if no value is provided. In the case of
setting a pageContext attribute (a bodyless tag), this isn't what you
want.

diff attached.

--Erik
Index: webwork/src/main/webwork/view/taglib/BasicPropertyTag.java
===================================================================
RCS file: 
/cvsroot/opensymphony/webwork/src/main/webwork/view/taglib/BasicPropertyTag.java,v
retrieving revision 1.1
diff -r1.1 BasicPropertyTag.java
97c97
<       if (!hadBody) {
---
>       if (!hadBody && id == null) {

Reply via email to