You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ta...@jakarta.apache.org> on 2005/09/22 21:10:28 UTC
[jira] Updated: (TAPESTRY-660) Injecting meta data generates incorrect code for boolean properties
[ http://issues.apache.org/jira/browse/TAPESTRY-660?page=all ]
Howard M. Lewis Ship updated TAPESTRY-660:
------------------------------------------
Component: Framework
(was: Annotations)
Summary: Injecting meta data generates incorrect code for boolean properties (was: InjectMeta annotation generates incorrect code for boolean properties)
> Injecting meta data generates incorrect code for boolean properties
> -------------------------------------------------------------------
>
> Key: TAPESTRY-660
> URL: http://issues.apache.org/jira/browse/TAPESTRY-660
> Project: Tapestry
> Type: Bug
> Components: Framework
> Versions: 4.0
> Environment: 4.0-beta-7
> Reporter: Howard M. Lewis Ship
> Assignee: Howard M. Lewis Ship
> Priority: Minor
>
> @InjectMeta("non-user-accessible")
> public abstract boolean getNonUserAccessible();
> Is converted into:
> public boolean getNonUserAccessible()
> {
> java.lang.String meta = _$componentPropertySource.getComponentProperty(this, "non-user-accessible");
> return java.lang.Boolean.valueOf(meta);
> }
> Boolean.valueOf() returns a java.lang.Boolean, not a boolean.
> We should be using parseBoolean() for boolean (primitive) types.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org