You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Vasiliy Kiryanov (JIRA)" <de...@myfaces.apache.org> on 2006/06/14 10:20:29 UTC

[jira] Created: (MYFACES-1336) wrong html code generation

wrong html code generation
--------------------------

         Key: MYFACES-1336
         URL: http://issues.apache.org/jira/browse/MYFACES-1336
     Project: MyFaces Core
        Type: Bug

  Components: General  
    Versions: 1.1.3    
 Environment: java5 update7,  tomcat 5.5.17
    Reporter: Vasiliy Kiryanov
    Priority: Critical


incorrect html code generation:

please, look on myfaces code and then on incorrect html code:

1) double html tag, second 6 lines after first one.
2) a part of  table (3 lines) before HEAD tag 
3) closed HTML tag 

myfaces code:
---------------------------------------------------------------------------------------------------------------------------------
<%@ page contentType="text/html; charset=ISO-8859-1" %>

<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>

<html>
<link href="css/ie.css" rel="stylesheet" />

<body bgcolor="#FFFFFF" text="#000000" topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">

<f:view>

<table cellpadding="0" cellspacing="0" style=" height: 100%;">
<tr style="height: 55px;">
	<td><%@include file="logo_part.html"%></td>
	<td style="background-color: #cccccc; width: 100%;"><%@include file="header_part.jsp"%></td>
</tr>

<tr>
	<td style="background-color: #cccccc; vertical-align: top;"><%@include file="monthly_reporting_part.jsp" %> </td>
.....
------------------------------------------------------------------------------------------------------------------------------------------------

generated html code:

<html>
<link href="css/ie.css" rel="stylesheet" />

<body bgcolor="#FFFFFF" text="#000000" topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">

<table cellpadding="0" cellspacing="0" style=" height: 100%;">
     <tr style="height: 55px;">
	<td><html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body bgcolor="#FFFFFF" text="#000000" topmargin="0" leftmargin="0" bottommargin="0" rightmargin="0" marginheight="0" marginwidth="0">
<img src="images/p_head.gif" width="163" height="55" border="0">
</body>
</html>
</td>
.....


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (MYFACES-1336) wrong html code generation

Posted by "Vasiliy Kiryanov (JIRA)" <de...@myfaces.apache.org>.
     [ http://issues.apache.org/jira/browse/MYFACES-1336?page=all ]
     
Vasiliy Kiryanov resolved MYFACES-1336:
---------------------------------------

    Fix Version: 1.1.3
     Resolution: Invalid

created by mistake.

> wrong html code generation
> --------------------------
>
>          Key: MYFACES-1336
>          URL: http://issues.apache.org/jira/browse/MYFACES-1336
>      Project: MyFaces Core
>         Type: Bug

>   Components: General
>     Versions: 1.1.3
>  Environment: java5 update7,  tomcat 5.5.17
>     Reporter: Vasiliy Kiryanov
>     Priority: Critical
>      Fix For: 1.1.3

>
> incorrect html code generation:
> please, look on myfaces code and then on incorrect html code:
> 1) double html tag, second 6 lines after first one.
> 2) a part of  table (3 lines) before HEAD tag 
> 3) closed HTML tag 
> myfaces code:
> ---------------------------------------------------------------------------------------------------------------------------------
> <%@ page contentType="text/html; charset=ISO-8859-1" %>
> <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
> <html>
> <link href="css/ie.css" rel="stylesheet" />
> <body bgcolor="#FFFFFF" text="#000000" topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">
> <f:view>
> <table cellpadding="0" cellspacing="0" style=" height: 100%;">
> <tr style="height: 55px;">
> 	<td><%@include file="logo_part.html"%></td>
> 	<td style="background-color: #cccccc; width: 100%;"><%@include file="header_part.jsp"%></td>
> </tr>
> <tr>
> 	<td style="background-color: #cccccc; vertical-align: top;"><%@include file="monthly_reporting_part.jsp" %> </td>
> .....
> ------------------------------------------------------------------------------------------------------------------------------------------------
> generated html code:
> <html>
> <link href="css/ie.css" rel="stylesheet" />
> <body bgcolor="#FFFFFF" text="#000000" topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">
> <table cellpadding="0" cellspacing="0" style=" height: 100%;">
>      <tr style="height: 55px;">
> 	<td><html>
> <head>
> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
> </head>
> <body bgcolor="#FFFFFF" text="#000000" topmargin="0" leftmargin="0" bottommargin="0" rightmargin="0" marginheight="0" marginwidth="0">
> <img src="images/p_head.gif" width="163" height="55" border="0">
> </body>
> </html>
> </td>
> .....

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (MYFACES-1336) wrong html code generation

Posted by "Vasiliy Kiryanov (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/MYFACES-1336?page=comments#action_12416136 ] 

Vasiliy Kiryanov commented on MYFACES-1336:
-------------------------------------------

sorry guys, it's my fault ... please, close this bug..

> wrong html code generation
> --------------------------
>
>          Key: MYFACES-1336
>          URL: http://issues.apache.org/jira/browse/MYFACES-1336
>      Project: MyFaces Core
>         Type: Bug

>   Components: General
>     Versions: 1.1.3
>  Environment: java5 update7,  tomcat 5.5.17
>     Reporter: Vasiliy Kiryanov
>     Priority: Critical

>
> incorrect html code generation:
> please, look on myfaces code and then on incorrect html code:
> 1) double html tag, second 6 lines after first one.
> 2) a part of  table (3 lines) before HEAD tag 
> 3) closed HTML tag 
> myfaces code:
> ---------------------------------------------------------------------------------------------------------------------------------
> <%@ page contentType="text/html; charset=ISO-8859-1" %>
> <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
> <html>
> <link href="css/ie.css" rel="stylesheet" />
> <body bgcolor="#FFFFFF" text="#000000" topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">
> <f:view>
> <table cellpadding="0" cellspacing="0" style=" height: 100%;">
> <tr style="height: 55px;">
> 	<td><%@include file="logo_part.html"%></td>
> 	<td style="background-color: #cccccc; width: 100%;"><%@include file="header_part.jsp"%></td>
> </tr>
> <tr>
> 	<td style="background-color: #cccccc; vertical-align: top;"><%@include file="monthly_reporting_part.jsp" %> </td>
> .....
> ------------------------------------------------------------------------------------------------------------------------------------------------
> generated html code:
> <html>
> <link href="css/ie.css" rel="stylesheet" />
> <body bgcolor="#FFFFFF" text="#000000" topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">
> <table cellpadding="0" cellspacing="0" style=" height: 100%;">
>      <tr style="height: 55px;">
> 	<td><html>
> <head>
> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
> </head>
> <body bgcolor="#FFFFFF" text="#000000" topmargin="0" leftmargin="0" bottommargin="0" rightmargin="0" marginheight="0" marginwidth="0">
> <img src="images/p_head.gif" width="163" height="55" border="0">
> </body>
> </html>
> </td>
> .....

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira