ResponseBuilder doesn't update part unless you specify an id in the template
----------------------------------------------------------------------------
Key: TAPESTRY-1194
URL: http://issues.apache.org/jira/browse/TAPESTRY-1194
Project: Tapestry
Issue Type: Bug
Components: XHR/dhtml/Ajax
Affects Versions: 4.1
Environment: 4.1.1 - snapshot
Reporter: alex d
To begin with , i'm not sure whether is a bug or is just the way it should work.
In the html template i declared a component
<span kwcid="@MyComp" />
which , upon a trigger , should update itself through JSON reponse.
In the method getUpdateComponents() i wrote : comps.add(getId()); //the id
would be $MyComp
In render() (ReponseBuilder) this id is compared with the peekClientId() ,
which returns MyComp , as id.
So because $MyComp != MyComp no respone is returned back to the client.
On the other hand , if in my template i specify <span jwcid="[EMAIL
PROTECTED]" /> , both , getId() and peekClientId() return the same thing
(anId) an everything works as expected.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]