You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

101 lines
5.2 KiB

<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
Document : Dummy
Created on : Oct 6, 2008, 10:43:13 AM
Author : lluis
-->
<jsp:root version="2.1" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:webuijsf="http://www.sun.com/webui/webuijsf">
<jsp:directive.page contentType="text/html;charset=ISO-8859-1" pageEncoding="ISO-8859-1"/>
<f:view>
<webuijsf:page id="page1">
<webuijsf:html id="html1">
<webuijsf:head id="head1">
<webuijsf:link id="link1" url="/resources/stylesheet.css"/>
<style>
.gridCol10{
width: 10%;
}
.gridCol20{
width: 20%;
}
.gridCol80{
width: 80%;
}
.gridCol90{
width: 90%;
}
</style>
<script>
function goToAnchor()
{
location.href="#plano";
//document.getElementById("form1:calendario").focus();
}
function expand(lnk)
{
var id = lnk.id;
var idnr = getIdNr(id);
var container = document.getElementById("form1:gridContainer" + idnr);
if(container != null)
{
var className = container.className;
if(className == 'hidden')
{
container.className = 'visible';
}
else
{
container.className = 'hidden';
}
}
}
function getIdNr(id)
{
var nr = '';
var i = id.lastIndexOf(":");
while(true)
{
var ch = id.charAt(i);
if(ch == '0' || ch == '1' || ch == '2' || ch == '3' || ch == '4' || ch == '5' || ch == '6' || ch == '7' || ch == '8' || ch == '9' )
{
nr += ch;
}
i++;
if(i == id.length)
{
break;
}
}
return nr;
}
</script>
</webuijsf:head>
<webuijsf:body id="body1" onLoad="goToAnchor()" style="-rave-layout: grid">
<webuijsf:form id="form1">
<webuijsf:staticText escape="false" id="staticText1" style="left: 216px; top: 240px; position: absolute" text="&amp;nbsp;"/>
<webuijsf:hyperlink binding="#{Dummy.hyperlink1}" id="hyperlink1" style="left: 744px; top: 216px; position: absolute" text="Hyperlink"/>
<h:panelGrid columns="1" id="gridPanel1" style="height: 24px; left: 96px; top: 48px; position: relative; width: 100%">
<webuijsf:staticText id="lnkArea1" onClick="expand(this);" onMouseOut="this.style.textDecoration = &quot;none&quot;"
onMouseOver="this.style.textDecoration = &quot;underline&quot;" styleClass="fakeLink" text="Area aaaa"/>
<h:panelGrid id="gridContainer1" style="height: 24px" styleClass="hidden" width="480">
<webuijsf:staticText id="staticText3" style="color: #dc0f0f" text="Conteudo"/>
</h:panelGrid>
<webuijsf:button id="button1" text="Button"/>
<webuijsf:button id="button2" text="Button"/>
</h:panelGrid>
<h:panelGrid columns="1" id="gridAncora" style="height: 24px; left: 216px; top: 1536px; position: absolute" width="504">
<f:verbatim>
<a name="plano"></a>
</f:verbatim>
<webuijsf:anchor id="ancora" target="ancora"/>
<webuijsf:staticText id="staticText2" text="AAAAAAAAA"/>
</h:panelGrid>
<webuijsf:hyperlink binding="#{Dummy.link}" id="link" style="position: absolute; left: 240px; top: 1224px" text="Hyperlink"/>
</webuijsf:form>
</webuijsf:body>
</webuijsf:html>
</webuijsf:page>
</f:view>
</jsp:root>