blob: b72a11c0da73cdf7f703bbd6bb9cba704c95d31e [file] [log] [blame]
<?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.
-->
<!-- XXX This is an old page. Content might not be up to date. Needs to be refactored, or just deleted. -->
<f:view
xmlns:tc="http://myfaces.apache.org/tobago/component"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:f="http://java.sun.com/jsf/core">
<tc:page id="page">
<f:facet name="layout">
<tc:gridLayout columns="6fr 9fr 13fr 2fr" rows="4fr 11fr 10fr 5fr"/>
</f:facet>
<!-- <tc:gridLayoutConstraint width="315px" height="315px"/> -->
<tc:image id="image-0" value="pidgeon-point.jpg"/>
<tc:image id="image-1" value="pidgeon-point.jpg">
<!-- <tc:gridLayoutConstraint rowSpan="2"/> -->
</tc:image>
<tc:image id="image-2" value="pidgeon-point.jpg">
<!-- <tc:gridLayoutConstraint columnSpan="2"/> -->
</tc:image>
<tc:image id="image-3" value="pidgeon-point.jpg"/>
<tc:image id="image-4" value="pidgeon-point.jpg">
<!-- <tc:gridLayoutConstraint rowSpan="2"/> -->
</tc:image>
<tc:image id="image-5" value="pidgeon-point.jpg"/>
<tc:image id="image-6" value="pidgeon-point.jpg">
<!-- <tc:gridLayoutConstraint columnSpan="2"/> -->
</tc:image>
<tc:image id="image-7" value="pidgeon-point.jpg">
<!-- <tc:gridLayoutConstraint rowSpan="2"/> -->
</tc:image>
<tc:image id="image-8" value="pidgeon-point.jpg"/>
<tc:image id="image-9" value="pidgeon-point.jpg">
<!-- <tc:gridLayoutConstraint columnSpan="2"/> -->
</tc:image>
<tc:script file="script/tobago-assert.js"/>
<!--todo-->
<tc:script onload="TobagoAssert.assertLayout('page:image-0', 0, 0, 60, 40);"/>
<tc:script onload="TobagoAssert.assertLayout('page:image-1', 65, 0, 90, 155);"/>
<tc:script onload="TobagoAssert.assertLayout('page:image-2', 160, 0, 155, 40);"/>
<tc:script onload="TobagoAssert.assertLayout('page:image-3', 0, 45, 60, 110);"/>
<tc:script onload="TobagoAssert.assertLayout('page:image-4', 160, 45, 130, 215);"/>
<tc:script onload="TobagoAssert.assertLayout('page:image-5', 295, 45, 20, 110);"/>
<tc:script onload="TobagoAssert.assertLayout('page:image-6', 0, 160, 155, 100);"/>
<tc:script onload="TobagoAssert.assertLayout('page:image-7', 295, 160, 20, 155);"/>
<tc:script onload="TobagoAssert.assertLayout('page:image-8', 0, 265, 60, 50);"/>
<tc:script onload="TobagoAssert.assertLayout('page:image-9', 65, 265, 225, 50);"/>
</tc:page>
</f:view>