You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (Updated) (JIRA)" <ji...@apache.org> on 2011/10/18 00:39:13 UTC

[jira] [Updated] (TAP5-1612) Tapestry.updateZoneOnEvent() has a poorly formatted message when the element is not found

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

Howard M. Lewis Ship updated TAP5-1612:
---------------------------------------

    Assignee: Howard M. Lewis Ship
     Summary: Tapestry.updateZoneOnEvent() has a poorly formatted message when the element is not found  (was: tapestry.js has error in client-side exception message inside Tapestry.updateZoneOnEvent() )
    
> Tapestry.updateZoneOnEvent() has a poorly formatted message when the element is not found
> -----------------------------------------------------------------------------------------
>
>                 Key: TAP5-1612
>                 URL: https://issues.apache.org/jira/browse/TAP5-1612
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>            Reporter: Howard M. Lewis Ship
>            Assignee: Howard M. Lewis Ship
>            Priority: Minor
>              Labels: javascript
>             Fix For: 5.3
>
>
>     updateZoneOnEvent : function(eventName, element, zoneId, url) {
>         element = $(element);
>         $T(element).zoneUpdater = true;
>         var zoneElement = zoneId == '^' ? $(element).up('.t-zone')
>             : $(zoneId);
>         if (!zoneElement) {
>             Tapestry
>                 .error(
>                 "Could not find zone element '#{zoneId}' to update on #{eventName} of element '#{elementId}",
>                 {
>                     zoneId : zoneId,
>                     eventName : eventName,
>                     elementId : element.id
>                 });
>             return;
>         }
> There's a missing trailing apostrophe.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira