javascaript does no rerender in inner component
-----------------------------------------------

                 Key: TAPESTRY-2766
                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2766
             Project: Tapestry
          Issue Type: Bug
    Affects Versions: 4.1.6, 4.1.2
            Reporter: Andrey


I have page and Component inside it with Component.script included. Component 
first state is hidden, by if around it, ajax call change state of if and 
rerenders it but script is not on the page(bodyscript)

Code Example
Page(show initial value is false, onRefresh change it to true and vice versa)
<span jwcid="d...@any"> 
      <span jwcid="@If" condition="ognl:show">
                        <span jwcid="@Component" 
updateComponents="ognl:{'some'}" renderTag="false"/>
      </span>
 </span>

<a jwcid="@DirectLink" listener="listener:onRefresh" async="ognl:true" 
updateComponents="ognl:{'div'}">Refresh</a>

Component:

<span script="Component.script" jwcid="compon...@script"  
type="text/javascript"/>
use script from Component script


        

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

Reply via email to