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 2010/03/18 19:40:28 UTC

[jira] Closed: (TAP5-1061) When a Zone component sends an Ajax request for a client-side update, it should pass an extra query parameter identifying the zone's client-side id

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

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

       Resolution: Fixed
    Fix Version/s: 5.2.0

> When a Zone component sends an Ajax request for a client-side update, it should pass an extra query parameter identifying the zone's client-side id
> ---------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TAP5-1061
>                 URL: https://issues.apache.org/jira/browse/TAP5-1061
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.2.0
>            Reporter: Howard M. Lewis Ship
>            Assignee: Howard M. Lewis Ship
>             Fix For: 5.2.0
>
>
> It's somewhat common to render new content that, itself, will want to be able to update the same zone, but the client-side id can't be recalculated on the server side due to the nature of rendering and id allocation. Thus, the only way for the server side to know what the client-side id is, is for the client-side to pass that information along.
> In my case, I'm working on a dynamic edit component that shows some content, with a link to switch to edit mode. Clicking the link updates the Zone with a form. Submitting the form needs to return the component back to its initial output-only state (but with the new content). At each step, the id of the Zone needs to be passed along so that the form, or output content, can render the correct content.

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