You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2012/03/13 17:41:22 UTC
svn commit: r1300230 - in
/myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp:
image/feather-leaf.png test/image/ test/image/alphaBlendingBug.xhtml
Author: lofwyr
Date: Tue Mar 13 16:41:22 2012
New Revision: 1300230
URL: http://svn.apache.org/viewvc?rev=1300230&view=rev
Log:
sample for bug TOBAGO-69
Added:
myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/image/feather-leaf.png
- copied unchanged from r1297367, myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/image/feather-leaf.png
myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/test/image/
myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/test/image/alphaBlendingBug.xhtml
Added: myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/test/image/alphaBlendingBug.xhtml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/test/image/alphaBlendingBug.xhtml?rev=1300230&view=auto
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/test/image/alphaBlendingBug.xhtml (added)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/test/image/alphaBlendingBug.xhtml Tue Mar 13 16:41:22 2012
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+-->
+
+<f:view
+ xmlns:tc="http://myfaces.apache.org/tobago/component"
+ xmlns:tx="http://myfaces.apache.org/tobago/extension"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core">
+
+ <tc:page>
+ <tc:gridLayoutConstraint width="400px" height="400px"/>
+ <f:facet name="layout">
+ <tc:gridLayout columns="*;*" />
+ </f:facet>
+
+ <tc:panel>
+ <f:facet name="layout">
+ <tc:gridLayout rows="*;*;auto"/>
+ </f:facet>
+
+ <tc:image value="image/feather-leaf.png"/>
+
+ <tc:out value="The part of the image, where is no feather should be grey like the background. (There is a Bug in old IE.)"/>
+
+ <tc:button label="full reload"/>
+ </tc:panel>
+
+ <tc:panel id="ajax">
+ <f:facet name="layout">
+ <tc:gridLayout rows="*;*;auto"/>
+ </f:facet>
+
+ <tc:image value="image/feather-leaf.png"/>
+
+ <tc:out value="Images loaded with AJAX must also be fixed."/>
+
+ <tc:button label="partial reload (right)" renderedPartially="ajax"/>
+ </tc:panel>
+
+ </tc:page>
+</f:view>