Why not for both? (In a specified order.)
Regards:
Norbi
andyhot wrote:
I just can't decide over the naming in cases such as
@InjectState
public Manager getManagerData()
Should it look for the "managerData"
or for the "manager-data" ASO ?
We use the latter in the Message annotation.
Andreas Andreou (JIRA) wrote:
Allow InjectState and InjectStateFlag to 'guess' the name of the ASO
---------------------------------------------------------------------
Key: TAPESTRY-1103
URL: http://issues.apache.org/jira/browse/TAPESTRY-1103
Project: Tapestry
Issue Type: Improvement
Components: Annotations
Affects Versions: 4.0, 4.0.1, 4.0.2
Reporter: Andreas Andreou
Assigned To: Andreas Andreou
Priority: Minor
Fix For: 4.1.1
@InjectState and @InjectState("visit") will be equivalent if the method in
question is getVisit()
also
@InjectStateFlag and @InjectStateFlag("visit") will be equivalent if the method
in question is getVisitExists()
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]