tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Lee (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (TAP5-426) one letter property name breaks page or component classes
Date Mon, 29 Dec 2008 21:48:46 GMT

    [ 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:48 PM:
----------------------------------------------------------

TAP5-425

      was (Author: dlee):
    TAP5-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


Mime
View raw message