You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Don Brown (JIRA)" <ji...@apache.org> on 2007/09/03 04:03:34 UTC

[jira] Updated: (WW-1894) struts2-portlet-2.0.6 ajax example not working

     [ https://issues.apache.org/struts/browse/WW-1894?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Don Brown updated WW-1894:
--------------------------

    Fix Version/s:     (was: 2.0.10)
                   2.1.0

Moving to 2.1.0 because the ajax and portlet code have been moved into their own plugin, so the fix will be quite different and not worth doing on the 2.0.x branch, IMO.

> struts2-portlet-2.0.6 ajax example not working
> ----------------------------------------------
>
>                 Key: WW-1894
>                 URL: https://issues.apache.org/struts/browse/WW-1894
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Examples
>    Affects Versions: 2.0.6
>         Environment: WebLogic Portal Server 9.2, Windows XP, Internet Explorer 6.0, Java 1.5.0_06
>            Reporter: Bill Bruyn
>             Fix For: 2.1.0
>
>
> 1.  Tags containing 'nested' quotation marks yield some sort of "attribute not recgnized" error.  e.g.,  href="<s:url action="ajaxData"/>" is a problem, so I switched that to an EL expression as illustrated in the documentation:  
>         <s:url id="ajaxExampleAction" action="ajaxData" />
>         
>         href="%{ajaxExampleAction}"
> which seems to work, except that
>  
> 2.  The inclusion of the Ajax result on more than one place crashes my IE 6.0 browser pretty consistently (I don't have another browser to test with yet, unfortunately).  e.g.,
>         <s:div id="once" href="%{ajaxExampleAction}" ...>
>         <s:div id="twice" href="%{ajaxExampleAction}" ...>
> is a problem.  Hacked the example to include just a single ajax-enabled div and
>  
> 3.  it all seems to work, except that the portal has aggregated the content instead of allowing the browser to do it in-place.  i.e., the ajaxData.jsp content is surrounded by portal markup (title bar, window state controls, etc.)

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