one letter property name breaks page or component classes
---------------------------------------------------------

                 Key: TAP5-426
                 URL: https://issues.apache.org/jira/browse/TAP5-426
             Project: Tapestry 5
          Issue Type: Bug
          Components: tapestry-core
    Affects Versions: 5.1.0.0
            Reporter: David Lee


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.



-- 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to