You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "David Lee (JIRA)" <ji...@apache.org> on 2008/12/29 22:48:46 UTC

[jira] Issue Comment Edited: (TAP5-426) one letter property name breaks page or component classes

    [ https://issues.apache.org/jira/browse/TAP5-426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12659662#action_12659662 ] 

dlee edited comment on TAP5-426 at 12/29/08 1:47 PM:
----------------------------------------------------------

TAP5-426

      was (Author: dlee):
    duplicate of 426
  
> 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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org