[ 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to