[
https://issues.apache.org/jira/browse/MYFACES-1807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12567158#action_12567158
]
Boris Lavva commented on MYFACES-1807:
--------------------------------------
Hi,
We experience the same problem in 1.2.2 final & in the latest snapshot.
Our environment is Windows XP, JDK 1.6.03, Jetty 6.1.7 / JSP 2.1, Tomahawk 1.1.6
Boris
> The attribute forceID="true" is not working in included subviews
> ----------------------------------------------------------------
>
> Key: MYFACES-1807
> URL: https://issues.apache.org/jira/browse/MYFACES-1807
> Project: MyFaces Core
> Issue Type: Bug
> Affects Versions: 1.2.1
> Environment: Ubuntu 7.10, JDK 1.6.03, Apache Tomcat 6.0.14, Apache
> Tomahawk 1.1.6
> Reporter: Ertan Toker
>
> HI,
> i find out, that the forceId="true" attribute is not working with included
> subviews in MyFaces 1.2.1 SNAPSHOTS.
> Is works fine with MyFaces 1.2.0.
> SourceCode: login.jsp
> <t:documentBody>
> <!-- Begin Header -->
> <jsp:include page="/misc/header.jsp" />
> <!-- End Header -->
>
> <!-- Begin HeaderMenu-->
> <jsp:include page="/misc/headerMenu.jsp" />
> <!-- End HeaderMenu-->
>
> <!-- Begin Content -->
> <t:div forceId="true" id="content">
>
> <jsp:include page="/misc/loginFragment.jsp" />
>
> <!-- Begin Links -->
> <jsp:include page="/misc/links.jsp" />
> <!-- End Links-->
> <t:div style="clear: both;">
> <f:verbatim> </f:verbatim>
> </t:div>
> </t:div>
> <!-- End Content -->
>
> <!-- Begin Footer -->
> <jsp:include page="/misc/footer.jsp" />
> <!-- End Footer -->
> </t:documentBody>
> Source Code header.jsp:
> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
> <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
> <%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t" %>
> <f:subview id="header_view">
> <t:div forceId="true" id="header">
> <f:verbatim><h1>CV Creator V1.0</h1>
> <h2>Free CV Creator Application</h2>
> </f:verbatim>
> </t:div>
> </f:subview>
> Generated HTML Code with MyFaces 1.2.0:
> <html><head>
> <title>MyApplication Title</title>
> <link rel="stylesheet" type="text/css"
> href="/myapplication/css/default.css" /></head><body>
> <!-- Begin Header -->
> <div id="header"><h1>MyApplication</h1>
> <h2>MyApplication</h2>
> </div>
> <!-- End Header -->
> Generated HTML Code with MyFaces 1.2.1-SNAPSHOTS:
> <html><head>
> <title>MyApplication Title</title>
> <link rel="stylesheet" type="text/css"
> href="/myapplication/css/default.css" /></head><body>
> <!-- Begin Header -->
> <div id="headerj_id_1"><h1>MyApplication</h1>
> <h2>MyApplication</h2>
> </div>
> <!-- End Header -->
> In the version 1.2.0 the ID of the div tag is "header" and with the SNAPSHOTS
> it is "headerj_id_1".
> Regards
> ETO
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.