You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2003/05/08 21:20:56 UTC
DO NOT REPLY [Bug 19773] New: -
Empty tag fails if only name given and bean is not found in context
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19773>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19773
Empty tag fails if only name given and bean is not found in context
Summary: Empty tag fails if only name given and bean is not found
in context
Product: Struts
Version: 1.1 RC1
Platform: All
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: Custom Tags
AssignedTo: struts-dev@jakarta.apache.org
ReportedBy: Stefan.Kuehnel@frontis.com
If one only provides the name of a bean but no property, the empty tag throws an
exception that the bean is not found. This is because the condition method
uncoditionally does
Object value =
RequestUtils.lookup(pageContext, name, property, scope);
while it should call RequestUtils.lookup(pageContext, name, scope); if property
is not defined.
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org