You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org> on 2006/08/13 19:51:14 UTC

[jira] Resolved: (TAPESTRY-1052) EventListener - cannot update an Insert component that 'raw' parameter was set to true

     [ http://issues.apache.org/jira/browse/TAPESTRY-1052?page=all ]

Jesse Kuhnert resolved TAPESTRY-1052.
-------------------------------------

    Resolution: Cannot Reproduce

I can't reproduce this. Tried the exact same thing and it worked fine.  

You aren't calling render(writer, cycle) on a component directly are you? If you are, you need to call cycle.getResponseBuilder().render(component, writer, cycle) instead.

> EventListener -  cannot update an Insert component that 'raw' parameter was set to true
> ---------------------------------------------------------------------------------------
>
>                 Key: TAPESTRY-1052
>                 URL: http://issues.apache.org/jira/browse/TAPESTRY-1052
>             Project: Tapestry
>          Issue Type: Bug
>          Components: Annotations
>    Affects Versions: 4.1.1
>         Environment: os: Solaris
> snapshot: tapestry-annotations-4.1.1-20060808.024719-11
>            Reporter: dinh anh khoa
>         Assigned To: Jesse Kuhnert
>
> *  I create two components A & B
> *  When click on a button on A, the EventListener will be invoke and generate a html text, and update B
> *  Inside B, I used Insert component to output the raw html text. So, I set the raw parameter of Insert component to true.
> * Proplemt is that EventListener was invoked on A, the html text was generated, but B  is rerender with nothing change
> * When I set 'raw' parameter of Insert component to false, then the html text is filter  and output on the screen (but all of '<' characters is replace by '&lt', '>' is replace by '&gt' ...) 
> Lookat the implementation of Insert component I see that there is a printRaw() method to out put the raw text to the screen.  May be the ResponseBuilder did not call it.

-- 
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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org