incubator-adffaces-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rigel Freden (JIRA)" <>
Subject [jira] Created: (ADFFACES-8) issue with af:document and afh:html
Date Fri, 12 May 2006 20:48:46 GMT
issue with af:document and afh:html

         Key: ADFFACES-8
     Project: MyFaces ADF-Faces
        Type: Bug

 Environment: debian linux, tomcat 5.5.17, java 1.5, adf faces version ea20-SNAPSHOT
    Reporter: Rigel Freden

the following code generates the html further down the page
output text is rendered above input text, and even above the html tag
this same behavior is observed when af:document is replaced with afh:html, afh:head and afh:body
my workaround was to use plain vanilla html tags <html> <head> and <body>

jsp source page:

<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>

<%@ taglib uri="" prefix="f"%>
<%@ taglib uri="" prefix="af"%>
<%@ taglib uri="" prefix="afh"%>

    <af:document title="af:document fails">
            <af:inputText label="input label" value="x" />
        <af:outputText>output text</af:outputText>

client side html:

        output text
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" ""><html
dir="ltr" lang="en-US"><head><title>af:document fails</title><meta
name="generator" content="Oracle ADF Faces"><link rel="stylesheet" charset="UTF-8" type="text/css"
_AdfWindowOpenError='A popup window blocker has been detected in your browser. Popup blockers
interfere with the operation of this application. Please disable your popup blocker or allow
popups from this site.';</script><script src="/compiere-webapp/adf/jsLibs/Commonea20.js"></script><script>_defaultTZ()</script></head><body
onload="_checkLoad(event)" onunload="_checkUnload(event)"><iframe id="_pprIFrame" name="_pprIFrame"
frameborder="0" longdesc="#" title="" src="about:blank" style="position:absolute;top:-100px;visibility:hidden"
width="0" height="0"></iframe><div id="_pprBlockingDiv" onclick="return _pprConsumeClick(event);"
style="position:absolute;left:0;top:0;width:0;height:0;cursor:wait;" onkeydown="return false;"
onkeyup="return false;" onmousedown="return false;" onmouseup="return false;" onkeypress="return
false;"></div><script>var _cachedLibs;</script><a name="top"></a><noscript>This
page uses JavaScript and requires a JavaScript enabled browser.Your browser is not JavaScript
enabled.</noscript><table summary="" border="0" cellspacing="0" cellpadding="0"><tr
id="_idJsp2__xc_"><td class="xc" nowrap><span class="xa"><label for="_idJsp2">input
label</label></span></td><td width="12"><img src="/compiere-webapp/adf/images/t.gif"
alt="" width="12"></td><td valign="top" nowrap><input id="_idJsp2" name="_idJsp2"
class="x6" size="30" type="text" value="x"></td></tr></table><!--

<script type="text/javascript"><!--
function getScrolling() {
    var x = 0; var y = 0;
    if (self.pageXOffset || self.pageYOffset) {
        x = self.pageXOffset;
        y = self.pageYOffset;
    } else if ((document.documentElement && document.documentElement.scrollLeft)||(document.documentElement
&& document.documentElement.scrollTop)) {
        x = document.documentElement.scrollLeft;
        y = document.documentElement.scrollTop;
    } else if (document.body) {
        x = document.body.scrollLeft;
        y = document.body.scrollTop;
    return x + "," + y;


</body><!-- Created by Oracle ADF Faces (ADF JavaServer Faces API - ea20-SNAPSHOT/ADF
JavaServer Faces Impl - ea20-SNAPSHOT), skin:minimal.desktop (minimal) -->

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message