Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
5.1.0.0
-
None
-
None
Description
if you have a 1 letter getter in your code and you attempt to use that getter in your tml file, things will break.
Example:
public boolean getK() {
return true;
}
and then in your tml
<t:if test="K">
hello world!!!
</t:if>
outcome:
Could not convert 'K' into a component parameter binding: Node <unexpected: [@-1,0:0='<no text>',<-1>,0:-1], resync=null> (within expression 'K') was type <invalid>, but was expected to be (one of) IDENTIFIER, INVOKE, LIST, RANGEOP.
Attachments
Issue Links
- duplicates
-
TAP5-425 When attempting to reference a property whose name is a single letter, Tapestry fails with a wierd exception
- Closed