It should not be possible for component classes to be directly instantiated
----------------------------------------------------------------------------
Key: TAPESTRY-2528
URL:
https://issues.apache.org/jira/browse/TAPESTRY-2528 Project: Tapestry
Issue Type: Bug
Components: tapestry-core
Affects Versions: 5.0.13
Reporter: Howard M. Lewis Ship
Assignee: Howard M. Lewis Ship
A common beginner idiom is:
Object onAction() { return new OtherPage(); }
When they should inject OtherPage.
Currently, this code works and produces odd effects.
An explicit error message is needed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail:
dev-unsubscribe@...
For additional commands, e-mail:
dev-help@...