struts2.1.3 sx:head debug
-------------------------

                 Key: WW-2792
                 URL: https://issues.apache.org/struts/browse/WW-2792
             Project: Struts 2
          Issue Type: Bug
          Components: Plugin - Dojo Tags
    Affects Versions: 2.1.3
         Environment: Eclipse3.2 Tomcat6
            Reporter: YE Daniel


I set a sx:div in index.jsp,and link a jsp. 

<sx:head cache="true" parseContent="true"  />

<s:url var="a1" action="list" />

<img id="indicator" 
src="${pageContext.request.contextPath}/images/indicator.gif" 
style="display:none" />
<sx:div id="d1"
        href="%{a1}"
        indicator="indicator"
        showLoadingText="false"
        listenTopics="/refresh">
</sx:div>

in returned jsp, I write
                <s:url var="test" action="toNextPage"/>
                <sx:a href="%{#test}" notifyTopics="/refresh" >Next Page</sx:a> 
but the toNextPage method can't be invoked when i click it

BUT even I add debug="true" in sx:head in index.jsp,  it can work.
<sx:head cache="true" parseContent="true" debug="true" /> (THAT <SX:A> CAN WORK 
)


-- 
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