You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bo...@apache.org on 2008/02/09 09:27:47 UTC
svn commit: r620088 - in /myfaces/tobago/trunk/theme/scarborough/src/main:
java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/
resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/script/
Author: bommel
Date: Sat Feb 9 00:27:46 2008
New Revision: 620088
URL: http://svn.apache.org/viewvc?rev=620088&view=rev
Log:
(TOBAGO-619) Avoid usages of javascript:false in iframe src attribute
Modified:
myfaces/tobago/trunk/theme/scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/ObjectRenderer.java
myfaces/tobago/trunk/theme/scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/script/tobago-menu.js
Modified: myfaces/tobago/trunk/theme/scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/ObjectRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/theme/scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/ObjectRenderer.java?rev=620088&r1=620087&r2=620088&view=diff
==============================================================================
--- myfaces/tobago/trunk/theme/scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/ObjectRenderer.java (original)
+++ myfaces/tobago/trunk/theme/scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/ObjectRenderer.java Sat Feb 9 00:27:46 2008
@@ -40,7 +40,6 @@
if (src != null) {
writer.writeAttribute(HtmlAttributes.SRC, String.valueOf(src), true);
} else {
- //writer.writeAttribute(HtmlAttributes.SRC, "javascript:false;", false);
writer.writeAttribute(HtmlAttributes.SRC, ResourceManagerUtil.getBlankPage(facesContext), false);
}
writer.writeClassAttribute();
Modified: myfaces/tobago/trunk/theme/scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/script/tobago-menu.js
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/theme/scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/script/tobago-menu.js?rev=620088&r1=620087&r2=620088&view=diff
==============================================================================
--- myfaces/tobago/trunk/theme/scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/script/tobago-menu.js (original)
+++ myfaces/tobago/trunk/theme/scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/script/tobago-menu.js Sat Feb 9 00:27:46 2008
@@ -158,7 +158,7 @@
html += '<iframe'
+ ' id="' + this.id + Tobago.SUB_COMPONENT_SEP + 'iframe"'
+ ' class="tobago-menuBar-subitem-iframe" '
- + ' src="javascript:false;" '
+ + ' src="/org/apache/myfaces/tobago/renderkit/html/standard/blank.html" '
//+ ' style="display: none; "'
+ ' style="visibility: hidden;"'
+ ' frameborder="0" scrolling="no" ></iframe>';