You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org> on 2009/01/24 02:01:59 UTC

[jira] Closed: (TAP5-15) Tapestry will ignore a normal property if an indexed property with the same name exists

     [ https://issues.apache.org/jira/browse/TAP5-15?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship closed TAP5-15.
------------------------------------

    Resolution: Won't Fix

Just don't do this (use indexed properties); the JavaBeans API makes it hard (if not impossible) to distinguish.

> Tapestry will ignore a normal property if an indexed property with the same name exists
> ---------------------------------------------------------------------------------------
>
>                 Key: TAP5-15
>                 URL: https://issues.apache.org/jira/browse/TAP5-15
>             Project: Tapestry 5
>          Issue Type: Bug
>    Affects Versions: 5.0.15
>         Environment: java version "1.6.0_03"
> Linux penfold 2.6.22-14-generic #1 SMP Tue Feb 12 07:42:25 UTC 2008 i686 GNU/Linux
> Tapestry 5.0.11-SNAPSHOT
>            Reporter: Adriaan Joubert
>            Priority: Minor
>
> If a class contains 2 methods
> public final PortfolioData getPortfolioData()
> public final PortfolioData getPortfolioData(int pId)
> the property access in the .tml file (an instance is retrieved through getData() in the page class)
>  ${data.portfoliodata.name}
> fails with 
> Could not convert 'data.portfoliodata.name' into a component parameter binding
> Removing the second method (public final PortfolioData getPortfolioData(int pId)) solves the problem. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.