Hi Dave,

Thanks for your reply.

Here is what I'm doing.

....................
<%@ taglib prefix="sx" uri="/struts-dojo-tags" %>       
....................
<sx:head debug="true" cache="false" compressed="false" />
............
............    
        <div class="sectionPanel">
        <div class="heading">
                        .........
                        .........
                        <table>
                        <th>
                                <@s.url id="sort" 
namespace="${parameters.nameSpace}" action="Sort">
                                        <@s.param name="id" 
value="${tmpIdVal}"/>
                                </@s.url>
                                <@sx.a href="${sort}" key="app.sort" 
targets="content">
                                        <img src="<@s.url 
value="/images/icon_delete.gif"/>" alt="<@s.text name="app.sort"/>" 
title="<@s.text name="app.sort"/>" border="0" width="14" height="15"/>
                                </@sx.a>
                        </th>
                        <th>xxx</th>
                        <tr>
                        <td>
                        .........
                        .........
                        .........
                        </td>
                        </tr>
                        <tr>
                        <td>
                        .........
                        .........
                        .........
                        </td>
                        </tr>
                        </table>
                        .........
        </div>
        <div id="content">
                <jsp:include page="localizationAjax.jsp"/>
        </div>
    </div>
        ........
        ........
        ........

But when I do the above and when I click on the sort image on the table header, 
it should go to the action and update the content div part with the jsp. 
It is indeed going to the action, but in the content div part I'm getting 
"undefined" text in IE 7. But the same is working in Mozilla 2.

I'm using Struts 2.1.6.

Thank you.
Regards,
Kishan.G
 
Team Leader.
www.spansystems.com



-----Original Message-----
From: Dave Newton [mailto:newton.d...@yahoo.com] 
Sent: Thursday, July 02, 2009 3:02 PM
To: Struts Users Mailing List
Subject: Re: Struts2 - dojo anchor error

Kishan G. Chellap Paandy wrote:
> Referring to: http://struts.apache.org/2.1.6/docs/dojo-anchor.html
> 
> "There's a bug in IE6/IE7 which makes impossible to use the target's
> attribute with a parent Div, because such Div's content's are
> overwritten with the tag's loadingText. Resulting in an "undefined"
> message in the content's, instead of the result of the request.
> 
> One possible alternative is to set showLoadingText="false" and set
> the indicator attribute to an element showing the desired loading
> text or image (outside the div)."
> 
> The alternative mentioned above is also not working.
> 
> Is there is any solution for this apart from the mentioned
> alternative?

What specific issue are you having? AFAIK the anchor tag works.

Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to