tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jochen Kemnade (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (TAP5-2233) AjaxFormLoop: rowvalue missing when removeRowLink is not plain text
Date Sun, 27 Apr 2014 08:48:15 GMT

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

Jochen Kemnade closed TAP5-2233.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 5.4

> AjaxFormLoop: rowvalue missing when removeRowLink is not plain text
> -------------------------------------------------------------------
>
>                 Key: TAP5-2233
>                 URL: https://issues.apache.org/jira/browse/TAP5-2233
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.4
>            Reporter: Felix Gonschorek
>            Assignee: Jochen Kemnade
>            Priority: Minor
>             Fix For: 5.4
>
>
> Component: RemoveRowLink
> Version: 5.4 alpha 25
> Browser: Chrome Win 8
> <t:removeRowLink>
> <img src="${asset:remove.png}" />
> </t:removeRowLink>
> ajaxformloop.js searches for the "data-afl-row-value" attribute on the element that has
been clicked. the data attribute is rendered on the link. the element that emits the click
event is the image. 
> result: "rowvalue" is missing => exception.
> Intermediate solution: use text only as body for RemoveRowLink component. the event will
be emitted from the <a /> element and the data attributes will be present.
> Regression: this bug was introduced in tapestry < 5.4, in 5.3.x it worked for us.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message