You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Jose A. Corbacho (JIRA)" <ji...@apache.org> on 2009/04/13 11:36:06 UTC
[jira] Created: (WW-3085) Action fired twice if tag inside a
div has no source
Action fired twice if <img> tag inside a div has no source
----------------------------------------------------------
Key: WW-3085
URL: https://issues.apache.org/struts/browse/WW-3085
Project: Struts 2
Issue Type: Bug
Affects Versions: 2.1.6
Environment: Ubuntu, Tomcat 6, Java 6, Firefox 3.0
Reporter: Jose A. Corbacho
Priority: Minor
An image with no source (<img src=""/>) set inside a div makes the action being fired twice.
Sample JSP:
<s:div>
<img src=""/>
</s:div>
I use this because the images are set after rendering the page. As a workaround, I'm using a blank image when the page is loaded.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (WW-3085) Action fired twice if tag inside
a div has no source
Posted by "Philip Luppens (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-3085?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45862#action_45862 ]
Philip Luppens commented on WW-3085:
------------------------------------
Isn't this the expected behaviour? If your src attribute is empty, then the current action will be hit again -> "" resolves to your current action url, so ..
> Action fired twice if <img> tag inside a div has no source
> ----------------------------------------------------------
>
> Key: WW-3085
> URL: https://issues.apache.org/struts/browse/WW-3085
> Project: Struts 2
> Issue Type: Bug
> Affects Versions: 2.1.6
> Environment: Ubuntu, Tomcat 6, Java 6, Firefox 3.0
> Reporter: Jose A. Corbacho
> Priority: Minor
>
> An image with no source (<img src=""/>) set inside a div makes the action being fired twice.
> Sample JSP:
> <s:div>
> <img src=""/>
> </s:div>
> I use this because the images are set after rendering the page. As a workaround, I'm using a blank image when the page is loaded.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (WW-3085) Action fired twice if tag inside a
div has no source
Posted by "Musachy Barroso (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-3085?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Musachy Barroso resolved WW-3085.
---------------------------------
Resolution: Not A Problem
see comments
> Action fired twice if <img> tag inside a div has no source
> ----------------------------------------------------------
>
> Key: WW-3085
> URL: https://issues.apache.org/struts/browse/WW-3085
> Project: Struts 2
> Issue Type: Bug
> Affects Versions: 2.1.6
> Environment: Ubuntu, Tomcat 6, Java 6, Firefox 3.0
> Reporter: Jose A. Corbacho
> Priority: Minor
>
> An image with no source (<img src=""/>) set inside a div makes the action being fired twice.
> Sample JSP:
> <s:div>
> <img src=""/>
> </s:div>
> I use this because the images are set after rendering the page. As a workaround, I'm using a blank image when the page is loaded.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.