<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-13477</id>
	<title>Nabble - java.net - Facelets</title>
	<updated>2009-12-17T04:33:34Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/java.net---Facelets-f13477.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/java.net---Facelets-f13477.html" />
	<subtitle type="html">The web community is eagerly seeking a framework like Tapestry, backed by JavaServer Faces as the industry standard. While JavaServer Faces and JSP are meant to be aligned,Facelets steps outside of the JSP spec and provides a highly performant, JSF-centric view technology. Anyone who has created a JSP page will be able to do the same with Facelets. The difference is under the hood where all the burden of the JSP Vendor API is removed to more greatly enhance JSF performance and provide easy plug-and-go development. Even though Facelets is being developed open source under Sun's guidance, it can work with any JSF 1.2 compliant implementation or MyFaces. java.net - Facelets home is &lt;a href=&quot;http://facelets.dev.java.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26827358</id>
	<title>AW:  Re: Bug in c:forEach ?</title>
	<published>2009-12-17T04:33:34Z</published>
	<updated>2009-12-17T04:33:34Z</updated>
	<author>
		<name>Jan Ziegler</name>
	</author>
	<content type="html">OK,here´s my complete class which compiled withour problem for me:
&lt;br&gt;&lt;br&gt;---------------
&lt;br&gt;&lt;br&gt;package com.sun.facelets.tag.jstl.core;
&lt;br&gt;&lt;br&gt;import java.io.Serializable;
&lt;br&gt;&lt;br&gt;public final class IterationStatus implements Serializable {
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; private static final long serialVersionUID = 1L;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; private final int index;
&lt;br&gt;&amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; private final boolean first;
&lt;br&gt;&amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; private final boolean last;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; private final boolean even;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; private final Integer begin;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; private final Integer end;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; private final Integer step;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; public IterationStatus(boolean first, boolean last, int index, Integer begin, Integer end, Integer step) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.index = index;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.begin = begin;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.end = end;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.step = step;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.first = first;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.last = last;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Bugfix - taken from Mojarra 2.01 implementation (otherwise Nullpointer in c:forEach with using varStatus and not setting begin &amp; end)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int iBegin = ((begin != null) ? begin : 0);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int iStep = ((step != null) ? step : 1);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.even = ((index - iBegin) / iStep) % 2 == 0;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //this.even = (index - begin.intValue() / step.intValue()) % 2 == 0;
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; public boolean isFirst() {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return this.first;
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; public boolean isLast() {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return this.last;
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; public boolean isEven() {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return even;
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; public boolean isOdd() {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return !even;
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; public Integer getBegin() {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return begin;
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; public Integer getEnd() {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return end;
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; public int getIndex() {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return index;
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; public Integer getStep() {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return step;
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;}
&lt;br&gt;&lt;br&gt;---------------
&lt;br&gt;&lt;br&gt;&lt;br&gt;-----Ursprüngliche Nachricht-----
&lt;br&gt;Von: Wessel van Norel [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26827358&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;delgurth@...&lt;/a&gt;] 
&lt;br&gt;Gesendet: Donnerstag, 17. Dezember 2009 12:27
&lt;br&gt;An: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26827358&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt;
&lt;br&gt;Betreff: Re: Bug in c:forEach ?
&lt;br&gt;&lt;br&gt;P.s.
&lt;br&gt;&lt;br&gt;With your fix copy/pasted I'm getting compile errors.
&lt;br&gt;&lt;br&gt;Guess it should be
&lt;br&gt;&lt;br&gt;int iBegin = ((begin != null) ? begin.intValue() : 0);
&lt;br&gt;int iStep = ((step != null) ? step.intValue() : 1);
&lt;br&gt;this.even = ((index - iBegin) / iStep) % 2 == 0;
&lt;br&gt;&lt;br&gt;compile:
&lt;br&gt;&amp;nbsp; &amp;nbsp; [javac] Compiling 149 source files to build\classes
&lt;br&gt;&amp;nbsp; &amp;nbsp; [javac] src\java\com\sun\facelets\tag\jstl\core\IterationStatus.java:54:
&lt;br&gt;incompatible types for ?: neither is a subtype of the other
&lt;br&gt;&amp;nbsp; &amp;nbsp; [javac] second operand: java.lang.Integer
&lt;br&gt;&amp;nbsp; &amp;nbsp; [javac] third operand : int
&lt;br&gt;&amp;nbsp; &amp;nbsp; [javac] &amp;nbsp; &amp;nbsp; int iBegin = ((begin != null) ? begin : 0);
&lt;br&gt;&amp;nbsp; &amp;nbsp; [javac] &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ^
&lt;br&gt;&amp;nbsp; &amp;nbsp; [javac] src\java\com\sun\facelets\tag\jstl\core\IterationStatus.java:55:
&lt;br&gt;incompatible types for ?: neither is a subtype of the other
&lt;br&gt;&amp;nbsp; &amp;nbsp; [javac] second operand: java.lang.Integer
&lt;br&gt;&amp;nbsp; &amp;nbsp; [javac] third operand : int
&lt;br&gt;&amp;nbsp; &amp;nbsp; [javac] &amp;nbsp; &amp;nbsp; int iStep = ((step != null) ? step : 1);
&lt;br&gt;&amp;nbsp; &amp;nbsp; [javac] &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ^
&lt;br&gt;&amp;nbsp; &amp;nbsp; [javac] Note: Some input files use or override a deprecated API.
&lt;br&gt;&amp;nbsp; &amp;nbsp; [javac] Note: Recompile with -Xlint:deprecation for details.
&lt;br&gt;&amp;nbsp; &amp;nbsp; [javac] 2 errors
&lt;br&gt;&lt;br&gt;On Thu, Dec 17, 2009 at 9:56 AM, Jan Ziegler &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26827358&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jan.ziegler@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Yes seems to be a bug,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I had the same problem. Whenever no begin-value is given on c:forEach - the nullpointer occurs.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Therefore I took the source code and changed the line
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; this.even = (index - begin.intValue() / step.intValue()) % 2 == 0;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; to this:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; int iBegin = ((begin != null) ? begin : 0);
&lt;br&gt;&amp;gt; int iStep = ((step != null) ? step : 1);
&lt;br&gt;&amp;gt; this.even = ((index - iBegin) / iStep) % 2 == 0;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Now you have defaults. By the way this is taken from the JSF Mojarra 2.01 implementation. They already fixed this bug (in Myfaces 2.0 alpha is also hasn´t been fixed yet).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Quite confusing at the moment having 3 &amp;quot;branches&amp;quot; of facelets like facelets-1.1.15jsf1.2 / mojarra 2 / myfaces 2...hope this all gets clearer soon...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Greetz
&lt;br&gt;&amp;gt; jan
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -----Ursprüngliche Nachricht-----
&lt;br&gt;&amp;gt; Von: Wessel van Norel [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26827358&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;delgurth@...&lt;/a&gt;]
&lt;br&gt;&amp;gt; Gesendet: Mittwoch, 16. Dezember 2009 15:11
&lt;br&gt;&amp;gt; An: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26827358&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Betreff: Bug in c:forEach ?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Dear List,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; We recently upgraded from facelets-1.1.14 to facelets-1.1.15-jsf1.2
&lt;br&gt;&amp;gt; and we are getting NullPointerExceptions on IterationStatus on our
&lt;br&gt;&amp;gt; c:forEach tags.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The exception occurs when you don't set begin and step, because these
&lt;br&gt;&amp;gt; 2 parameters are Integers, but are not checked for null values on line
&lt;br&gt;&amp;gt; 54[1]:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; this.even = (index - begin.intValue() / step.intValue()) % 2 == 0;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Perhaps this line should contain defaults for begin (0) and step (1)?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The involved part from the stacktrace:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; java.lang.NullPointerException
&lt;br&gt;&amp;gt;        at com.sun.facelets.tag.jstl.core.IterationStatus.&amp;lt;init&amp;gt;(IterationStatus.java:54)
&lt;br&gt;&amp;gt;        at com.sun.facelets.tag.jstl.core.ForEachHandler.apply(ForEachHandler.java:165)
&lt;br&gt;&amp;gt;        at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:360)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt; Wessel van Norel
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; [1] &lt;a href=&quot;https://facelets.dev.java.net/source/browse/facelets/src/java/com/sun/facelets/tag/jstl/core/IterationStatus.java?annotate=1.5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://facelets.dev.java.net/source/browse/facelets/src/java/com/sun/facelets/tag/jstl/core/IterationStatus.java?annotate=1.5&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26827358&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26827358&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26827358&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26827358&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26827358&amp;i=9&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26827358&amp;i=10&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26827358&amp;i=11&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26827358&amp;i=12&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/java.net---facelets-users-f13481.html&quot; embed=&quot;fixTarget[13481]&quot; target=&quot;_top&quot; &gt;java.net - facelets users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Bug-in-c%3AforEach---tp26811654p26827358.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26826645</id>
	<title>Re: Bug in c:forEach ?</title>
	<published>2009-12-17T03:27:10Z</published>
	<updated>2009-12-17T03:27:10Z</updated>
	<author>
		<name>DelGurth</name>
	</author>
	<content type="html">P.s.
&lt;br&gt;&lt;br&gt;With your fix copy/pasted I'm getting compile errors.
&lt;br&gt;&lt;br&gt;Guess it should be
&lt;br&gt;&lt;br&gt;int iBegin = ((begin != null) ? begin.intValue() : 0);
&lt;br&gt;int iStep = ((step != null) ? step.intValue() : 1);
&lt;br&gt;this.even = ((index - iBegin) / iStep) % 2 == 0;
&lt;br&gt;&lt;br&gt;compile:
&lt;br&gt;&amp;nbsp; &amp;nbsp; [javac] Compiling 149 source files to build\classes
&lt;br&gt;&amp;nbsp; &amp;nbsp; [javac] src\java\com\sun\facelets\tag\jstl\core\IterationStatus.java:54:
&lt;br&gt;incompatible types for ?: neither is a subtype of the other
&lt;br&gt;&amp;nbsp; &amp;nbsp; [javac] second operand: java.lang.Integer
&lt;br&gt;&amp;nbsp; &amp;nbsp; [javac] third operand : int
&lt;br&gt;&amp;nbsp; &amp;nbsp; [javac] &amp;nbsp; &amp;nbsp; int iBegin = ((begin != null) ? begin : 0);
&lt;br&gt;&amp;nbsp; &amp;nbsp; [javac] &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ^
&lt;br&gt;&amp;nbsp; &amp;nbsp; [javac] src\java\com\sun\facelets\tag\jstl\core\IterationStatus.java:55:
&lt;br&gt;incompatible types for ?: neither is a subtype of the other
&lt;br&gt;&amp;nbsp; &amp;nbsp; [javac] second operand: java.lang.Integer
&lt;br&gt;&amp;nbsp; &amp;nbsp; [javac] third operand : int
&lt;br&gt;&amp;nbsp; &amp;nbsp; [javac] &amp;nbsp; &amp;nbsp; int iStep = ((step != null) ? step : 1);
&lt;br&gt;&amp;nbsp; &amp;nbsp; [javac] &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ^
&lt;br&gt;&amp;nbsp; &amp;nbsp; [javac] Note: Some input files use or override a deprecated API.
&lt;br&gt;&amp;nbsp; &amp;nbsp; [javac] Note: Recompile with -Xlint:deprecation for details.
&lt;br&gt;&amp;nbsp; &amp;nbsp; [javac] 2 errors
&lt;br&gt;&lt;br&gt;On Thu, Dec 17, 2009 at 9:56 AM, Jan Ziegler &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26826645&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jan.ziegler@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Yes seems to be a bug,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I had the same problem. Whenever no begin-value is given on c:forEach - the nullpointer occurs.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Therefore I took the source code and changed the line
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; this.even = (index - begin.intValue() / step.intValue()) % 2 == 0;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; to this:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; int iBegin = ((begin != null) ? begin : 0);
&lt;br&gt;&amp;gt; int iStep = ((step != null) ? step : 1);
&lt;br&gt;&amp;gt; this.even = ((index - iBegin) / iStep) % 2 == 0;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Now you have defaults. By the way this is taken from the JSF Mojarra 2.01 implementation. They already fixed this bug (in Myfaces 2.0 alpha is also hasn´t been fixed yet).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Quite confusing at the moment having 3 &amp;quot;branches&amp;quot; of facelets like facelets-1.1.15jsf1.2 / mojarra 2 / myfaces 2...hope this all gets clearer soon...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Greetz
&lt;br&gt;&amp;gt; jan
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -----Ursprüngliche Nachricht-----
&lt;br&gt;&amp;gt; Von: Wessel van Norel [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26826645&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;delgurth@...&lt;/a&gt;]
&lt;br&gt;&amp;gt; Gesendet: Mittwoch, 16. Dezember 2009 15:11
&lt;br&gt;&amp;gt; An: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26826645&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Betreff: Bug in c:forEach ?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Dear List,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; We recently upgraded from facelets-1.1.14 to facelets-1.1.15-jsf1.2
&lt;br&gt;&amp;gt; and we are getting NullPointerExceptions on IterationStatus on our
&lt;br&gt;&amp;gt; c:forEach tags.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The exception occurs when you don't set begin and step, because these
&lt;br&gt;&amp;gt; 2 parameters are Integers, but are not checked for null values on line
&lt;br&gt;&amp;gt; 54[1]:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; this.even = (index - begin.intValue() / step.intValue()) % 2 == 0;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Perhaps this line should contain defaults for begin (0) and step (1)?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The involved part from the stacktrace:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; java.lang.NullPointerException
&lt;br&gt;&amp;gt;        at com.sun.facelets.tag.jstl.core.IterationStatus.&amp;lt;init&amp;gt;(IterationStatus.java:54)
&lt;br&gt;&amp;gt;        at com.sun.facelets.tag.jstl.core.ForEachHandler.apply(ForEachHandler.java:165)
&lt;br&gt;&amp;gt;        at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:360)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt; Wessel van Norel
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; [1] &lt;a href=&quot;https://facelets.dev.java.net/source/browse/facelets/src/java/com/sun/facelets/tag/jstl/core/IterationStatus.java?annotate=1.5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://facelets.dev.java.net/source/browse/facelets/src/java/com/sun/facelets/tag/jstl/core/IterationStatus.java?annotate=1.5&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26826645&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26826645&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26826645&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26826645&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26826645&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26826645&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/java.net---facelets-users-f13481.html&quot; embed=&quot;fixTarget[13481]&quot; target=&quot;_top&quot; &gt;java.net - facelets users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Bug-in-c%3AforEach---tp26811654p26826645.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26826431</id>
	<title>Re: Bug in c:forEach ?</title>
	<published>2009-12-17T03:07:29Z</published>
	<updated>2009-12-17T03:07:29Z</updated>
	<author>
		<name>DelGurth</name>
	</author>
	<content type="html">Hello Jan,
&lt;br&gt;&lt;br&gt;Thanks for the fix. Guess I should download the source for
&lt;br&gt;facelets-1.1.15jsf1.2 and build my own jar with your fix in it.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Wessel
&lt;br&gt;&lt;br&gt;On Thu, Dec 17, 2009 at 9:56 AM, Jan Ziegler &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26826431&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jan.ziegler@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Yes seems to be a bug,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I had the same problem. Whenever no begin-value is given on c:forEach - the nullpointer occurs.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Therefore I took the source code and changed the line
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; this.even = (index - begin.intValue() / step.intValue()) % 2 == 0;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; to this:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; int iBegin = ((begin != null) ? begin : 0);
&lt;br&gt;&amp;gt; int iStep = ((step != null) ? step : 1);
&lt;br&gt;&amp;gt; this.even = ((index - iBegin) / iStep) % 2 == 0;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Now you have defaults. By the way this is taken from the JSF Mojarra 2.01 implementation. They already fixed this bug (in Myfaces 2.0 alpha is also hasn´t been fixed yet).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Quite confusing at the moment having 3 &amp;quot;branches&amp;quot; of facelets like facelets-1.1.15jsf1.2 / mojarra 2 / myfaces 2...hope this all gets clearer soon...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Greetz
&lt;br&gt;&amp;gt; jan
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -----Ursprüngliche Nachricht-----
&lt;br&gt;&amp;gt; Von: Wessel van Norel [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26826431&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;delgurth@...&lt;/a&gt;]
&lt;br&gt;&amp;gt; Gesendet: Mittwoch, 16. Dezember 2009 15:11
&lt;br&gt;&amp;gt; An: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26826431&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Betreff: Bug in c:forEach ?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Dear List,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; We recently upgraded from facelets-1.1.14 to facelets-1.1.15-jsf1.2
&lt;br&gt;&amp;gt; and we are getting NullPointerExceptions on IterationStatus on our
&lt;br&gt;&amp;gt; c:forEach tags.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The exception occurs when you don't set begin and step, because these
&lt;br&gt;&amp;gt; 2 parameters are Integers, but are not checked for null values on line
&lt;br&gt;&amp;gt; 54[1]:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; this.even = (index - begin.intValue() / step.intValue()) % 2 == 0;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Perhaps this line should contain defaults for begin (0) and step (1)?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The involved part from the stacktrace:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; java.lang.NullPointerException
&lt;br&gt;&amp;gt;        at com.sun.facelets.tag.jstl.core.IterationStatus.&amp;lt;init&amp;gt;(IterationStatus.java:54)
&lt;br&gt;&amp;gt;        at com.sun.facelets.tag.jstl.core.ForEachHandler.apply(ForEachHandler.java:165)
&lt;br&gt;&amp;gt;        at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:360)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt; Wessel van Norel
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; [1] &lt;a href=&quot;https://facelets.dev.java.net/source/browse/facelets/src/java/com/sun/facelets/tag/jstl/core/IterationStatus.java?annotate=1.5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://facelets.dev.java.net/source/browse/facelets/src/java/com/sun/facelets/tag/jstl/core/IterationStatus.java?annotate=1.5&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26826431&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26826431&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26826431&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26826431&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26826431&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26826431&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/java.net---facelets-users-f13481.html&quot; embed=&quot;fixTarget[13481]&quot; target=&quot;_top&quot; &gt;java.net - facelets users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Bug-in-c%3AforEach---tp26811654p26826431.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26825011</id>
	<title>AW:  Bug in c:forEach ?</title>
	<published>2009-12-17T00:56:41Z</published>
	<updated>2009-12-17T00:56:41Z</updated>
	<author>
		<name>Jan Ziegler</name>
	</author>
	<content type="html">Yes seems to be a bug,
&lt;br&gt;&lt;br&gt;I had the same problem. Whenever no begin-value is given on c:forEach - the nullpointer occurs.
&lt;br&gt;&lt;br&gt;Therefore I took the source code and changed the line 
&lt;br&gt;&lt;br&gt;this.even = (index - begin.intValue() / step.intValue()) % 2 == 0;
&lt;br&gt;&lt;br&gt;to this:
&lt;br&gt;&lt;br&gt;int iBegin = ((begin != null) ? begin : 0);
&lt;br&gt;int iStep = ((step != null) ? step : 1);
&lt;br&gt;this.even = ((index - iBegin) / iStep) % 2 == 0;
&lt;br&gt;&lt;br&gt;Now you have defaults. By the way this is taken from the JSF Mojarra 2.01 implementation. They already fixed this bug (in Myfaces 2.0 alpha is also hasn´t been fixed yet).
&lt;br&gt;&lt;br&gt;Quite confusing at the moment having 3 &amp;quot;branches&amp;quot; of facelets like facelets-1.1.15jsf1.2 / mojarra 2 / myfaces 2...hope this all gets clearer soon...
&lt;br&gt;&lt;br&gt;&lt;br&gt;Greetz
&lt;br&gt;jan
&lt;br&gt;&lt;br&gt;-----Ursprüngliche Nachricht-----
&lt;br&gt;Von: Wessel van Norel [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26825011&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;delgurth@...&lt;/a&gt;] 
&lt;br&gt;Gesendet: Mittwoch, 16. Dezember 2009 15:11
&lt;br&gt;An: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26825011&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt;
&lt;br&gt;Betreff: Bug in c:forEach ?
&lt;br&gt;&lt;br&gt;Dear List,
&lt;br&gt;&lt;br&gt;We recently upgraded from facelets-1.1.14 to facelets-1.1.15-jsf1.2
&lt;br&gt;and we are getting NullPointerExceptions on IterationStatus on our
&lt;br&gt;c:forEach tags.
&lt;br&gt;&lt;br&gt;The exception occurs when you don't set begin and step, because these
&lt;br&gt;2 parameters are Integers, but are not checked for null values on line
&lt;br&gt;54[1]:
&lt;br&gt;&lt;br&gt;this.even = (index - begin.intValue() / step.intValue()) % 2 == 0;
&lt;br&gt;&lt;br&gt;Perhaps this line should contain defaults for begin (0) and step (1)?
&lt;br&gt;&lt;br&gt;The involved part from the stacktrace:
&lt;br&gt;&lt;br&gt;java.lang.NullPointerException
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.sun.facelets.tag.jstl.core.IterationStatus.&amp;lt;init&amp;gt;(IterationStatus.java:54)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.sun.facelets.tag.jstl.core.ForEachHandler.apply(ForEachHandler.java:165)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:360)
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Wessel van Norel
&lt;br&gt;&lt;br&gt;[1] &lt;a href=&quot;https://facelets.dev.java.net/source/browse/facelets/src/java/com/sun/facelets/tag/jstl/core/IterationStatus.java?annotate=1.5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://facelets.dev.java.net/source/browse/facelets/src/java/com/sun/facelets/tag/jstl/core/IterationStatus.java?annotate=1.5&lt;/a&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26825011&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26825011&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26825011&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26825011&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/java.net---facelets-users-f13481.html&quot; embed=&quot;fixTarget[13481]&quot; target=&quot;_top&quot; &gt;java.net - facelets users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Bug-in-c%3AforEach---tp26811654p26825011.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26811654</id>
	<title>Bug in c:forEach ?</title>
	<published>2009-12-16T06:11:23Z</published>
	<updated>2009-12-16T06:11:23Z</updated>
	<author>
		<name>DelGurth</name>
	</author>
	<content type="html">Dear List,
&lt;br&gt;&lt;br&gt;We recently upgraded from facelets-1.1.14 to facelets-1.1.15-jsf1.2
&lt;br&gt;and we are getting NullPointerExceptions on IterationStatus on our
&lt;br&gt;c:forEach tags.
&lt;br&gt;&lt;br&gt;The exception occurs when you don't set begin and step, because these
&lt;br&gt;2 parameters are Integers, but are not checked for null values on line
&lt;br&gt;54[1]:
&lt;br&gt;&lt;br&gt;this.even = (index - begin.intValue() / step.intValue()) % 2 == 0;
&lt;br&gt;&lt;br&gt;Perhaps this line should contain defaults for begin (0) and step (1)?
&lt;br&gt;&lt;br&gt;The involved part from the stacktrace:
&lt;br&gt;&lt;br&gt;java.lang.NullPointerException
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.sun.facelets.tag.jstl.core.IterationStatus.&amp;lt;init&amp;gt;(IterationStatus.java:54)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.sun.facelets.tag.jstl.core.ForEachHandler.apply(ForEachHandler.java:165)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:360)
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Wessel van Norel
&lt;br&gt;&lt;br&gt;[1] &lt;a href=&quot;https://facelets.dev.java.net/source/browse/facelets/src/java/com/sun/facelets/tag/jstl/core/IterationStatus.java?annotate=1.5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://facelets.dev.java.net/source/browse/facelets/src/java/com/sun/facelets/tag/jstl/core/IterationStatus.java?annotate=1.5&lt;/a&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26811654&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26811654&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/java.net---facelets-users-f13481.html&quot; embed=&quot;fixTarget[13481]&quot; target=&quot;_top&quot; &gt;java.net - facelets users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Bug-in-c%3AforEach---tp26811654p26811654.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26782987</id>
	<title>Re: Pass method binding to a template - Attribute should be optional</title>
	<published>2009-12-14T11:05:06Z</published>
	<updated>2009-12-14T11:05:06Z</updated>
	<author>
		<name>Mike Kienenberger</name>
	</author>
	<content type="html">Maybe something like this might work if you are able to provide a
&lt;br&gt;default value rather than no value.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;c:if test=&amp;quot;${empty allowNew}&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;c:set var=&amp;quot;allowNew&amp;quot; value=&amp;quot;${true}&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/c:if&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Thu, Dec 10, 2009 at 8:12 AM, Michael Hunziker
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26782987&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Michael.Hunziker@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Dear all!
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I just found a solution in the facelet FAQ on how to pass method binding
&lt;br&gt;&amp;gt; to a template
&lt;br&gt;&amp;gt; (&lt;a href=&quot;http://wiki.java.net/bin/view/Projects/FaceletsFAQ#Can_I_pass_a_MethodB&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wiki.java.net/bin/view/Projects/FaceletsFAQ#Can_I_pass_a_MethodB&lt;/a&gt;&lt;br&gt;&amp;gt; inding_to_a).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I adapted this solution to my code:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; TEMPLATE of MyDataScroller:
&lt;br&gt;&amp;gt; &amp;lt;t:dataScroller actionListener=&amp;quot;#{backingBean[action]}&amp;quot;
&lt;br&gt;&amp;gt; for=&amp;quot;#{forTable}&amp;quot; .../&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; TEMPLATE-CALL:
&lt;br&gt;&amp;gt; &amp;lt;a:MyDataScroller backingBean=&amp;quot;#{MyBean}&amp;quot; action=&amp;quot;someAction&amp;quot;
&lt;br&gt;&amp;gt; forTable=&amp;quot;#{table}&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The above template call works perfectly! BUT, let's assume that I want't
&lt;br&gt;&amp;gt; the actionListener attribute of the dataScroller to be optional.
&lt;br&gt;&amp;gt; Currently it is mandatory because if i wrote the template call like
&lt;br&gt;&amp;gt; this, it would fail saying that backingBean is not defined:
&lt;br&gt;&amp;gt; &amp;lt;a:MyDataScroller forTable =&amp;quot;#{table}&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I tried coding something like this within the template (check if
&lt;br&gt;&amp;gt; backingBean is null, if so, set actionListener to null):
&lt;br&gt;&amp;gt; &amp;lt;t:dataScroller actionListener=&amp;quot;#{backingBean ==
&lt;br&gt;&amp;gt; null?backingBean[action]:null}&amp;quot; for=&amp;quot;#{forTable}&amp;quot; .../&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; As you can see, I'm a Java beginner and I'd really appreciate your help!
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Best regards!
&lt;br&gt;&amp;gt; Michael
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26782987&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26782987&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26782987&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26782987&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/java.net---facelets-users-f13481.html&quot; embed=&quot;fixTarget[13481]&quot; target=&quot;_top&quot; &gt;java.net - facelets users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Pass-method-binding-to-a-template---Attribute-should-be-optional-tp26726967p26782987.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26736754</id>
	<title>Re: Inlining text - Security</title>
	<published>2009-12-10T16:10:09Z</published>
	<updated>2009-12-10T16:10:09Z</updated>
	<author>
		<name>Jacob Hookom</name>
	</author>
	<content type="html">It's been a while, but I thought we switched to escaping by default for 
&lt;br&gt;inline EL. This means if you want it unescaped, you'd have to use an 
&lt;br&gt;h:outputText
&lt;br&gt;&lt;br&gt;Mark Collette wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Correct me if I'm wrong, but there are two ways of having inline text, 
&lt;br&gt;&amp;gt; one is text right in the xhtml markup, which won't be escaped, and the 
&lt;br&gt;&amp;gt; second is to use an inline EL expression, which will be escaped.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; - Mark Collette
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Raymond K. DeCampo wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Text output with &amp;lt;h:outputText&amp;gt; will be escaped for HTML (unless 
&lt;br&gt;&amp;gt;&amp;gt; overridden with escape=”false”). Text output inline will not be 
&lt;br&gt;&amp;gt;&amp;gt; escaped. If you are outputting user-generated content (even names), 
&lt;br&gt;&amp;gt;&amp;gt; failing to escape the output can lead to cross-site scripting and 
&lt;br&gt;&amp;gt;&amp;gt; other attacks.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ------------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; *From:* Nicole Schweighardt [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26736754&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nicole.schweighardt@...&lt;/a&gt;]
&lt;br&gt;&amp;gt;&amp;gt; *Sent:* Tuesday, December 01, 2009 3:08 AM
&lt;br&gt;&amp;gt;&amp;gt; *To:* &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26736754&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; *Subject:* Inlining text - Security
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I have got questions belonging to „Inlining Text”.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Is there an security problem if I use text without the 
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt;h:outputText&amp;gt;-Tag? I read sth. about that in an article.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; What is the difference between using text without the tag or with the 
&lt;br&gt;&amp;gt;&amp;gt; tag?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; If there is no difference, the &amp;lt;h:outputText&amp;gt;-Tag is needless now?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I need it for my diploma.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Thanks very much for your answers.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Nicole Schweighardt
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26736754&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26736754&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; No virus found in this incoming message.
&lt;br&gt;&amp;gt; Checked by AVG - www.avg.com 
&lt;br&gt;&amp;gt; Version: 8.5.426 / Virus Database: 270.14.102/2556 - Release Date: 12/10/09 07:36:00
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26736754&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26736754&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/java.net---facelets-users-f13481.html&quot; embed=&quot;fixTarget[13481]&quot; target=&quot;_top&quot; &gt;java.net - facelets users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Inlining-text---Security-tp26587996p26736754.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26735163</id>
	<title>Re: Inlining text - Security</title>
	<published>2009-12-10T13:50:20Z</published>
	<updated>2009-12-10T13:50:20Z</updated>
	<author>
		<name>Mark Collette</name>
	</author>
	<content type="html">Correct me if I'm wrong, but there are two ways of having inline text, 
&lt;br&gt;one is text right in the xhtml markup, which won't be escaped, and the 
&lt;br&gt;second is to use an inline EL expression, which will be escaped.
&lt;br&gt;&lt;br&gt;- Mark Collette
&lt;br&gt;&lt;br&gt;&lt;br&gt;Raymond K. DeCampo wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Text output with &amp;lt;h:outputText&amp;gt; will be escaped for HTML (unless 
&lt;br&gt;&amp;gt; overridden with escape=”false”). Text output inline will not be 
&lt;br&gt;&amp;gt; escaped. If you are outputting user-generated content (even names), 
&lt;br&gt;&amp;gt; failing to escape the output can lead to cross-site scripting and 
&lt;br&gt;&amp;gt; other attacks.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; *From:* Nicole Schweighardt [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26735163&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nicole.schweighardt@...&lt;/a&gt;]
&lt;br&gt;&amp;gt; *Sent:* Tuesday, December 01, 2009 3:08 AM
&lt;br&gt;&amp;gt; *To:* &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26735163&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; *Subject:* Inlining text - Security
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I have got questions belonging to „Inlining Text”.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Is there an security problem if I use text without the 
&lt;br&gt;&amp;gt; &amp;lt;h:outputText&amp;gt;-Tag? I read sth. about that in an article.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; What is the difference between using text without the tag or with the tag?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If there is no difference, the &amp;lt;h:outputText&amp;gt;-Tag is needless now?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I need it for my diploma.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks very much for your answers.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Nicole Schweighardt
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26735163&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26735163&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/java.net---facelets-users-f13481.html&quot; embed=&quot;fixTarget[13481]&quot; target=&quot;_top&quot; &gt;java.net - facelets users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Inlining-text---Security-tp26587996p26735163.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26735131</id>
	<title>Re: Need help with using HashMap in facelets</title>
	<published>2009-12-10T13:47:48Z</published>
	<updated>2009-12-10T13:47:48Z</updated>
	<author>
		<name>Mark Collette</name>
	</author>
	<content type="html">If you have an accessor method called getFileContentMap(), then your EL 
&lt;br&gt;should be &amp;nbsp;#{readFile.fileContentMap} &amp;nbsp;not &amp;nbsp;
&lt;br&gt;#{readFile.getFileContentMap}. &amp;nbsp;Also, c:forEach needs a datastructure 
&lt;br&gt;that has an ordering to it, which Map doesn't provide. &amp;nbsp;As well, how 
&lt;br&gt;would the name property resolve to the Map key? &amp;nbsp;Instead, maybe make 
&lt;br&gt;your own class that holds the file name and the StringBuilder, and then 
&lt;br&gt;just have an ArrayList of that class.
&lt;br&gt;&lt;br&gt;- Mark Collette
&lt;br&gt;&lt;br&gt;&lt;br&gt;beginner_prithvi wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;Hi,
&lt;br&gt;&amp;gt;I am a newbie and learning facelets and JSF. I am writing a small
&lt;br&gt;&amp;gt;application which will read files from a specific folder and will display
&lt;br&gt;&amp;gt;each file in separate tab in page.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Presently I am saving filenames as a key in a hashmap and corresponding file
&lt;br&gt;&amp;gt;contents I am saving as value for that key. For saving filecontents in
&lt;br&gt;&amp;gt;managed bean, I am using StringBuilder. So the scenario is:
&lt;br&gt;&amp;gt;filename is a key in a hash map and filecontent is a StringBuilder object
&lt;br&gt;&amp;gt;saved as value for that key.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Below is the code for the same:
&lt;br&gt;&amp;gt;Note: Here aFile is a file object array which holds references to the files
&lt;br&gt;&amp;gt;in the specific folder. fileContentMap is a HashMap.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;************************************
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;public class ReadFileClass {
&lt;br&gt;&amp;gt;.................
&lt;br&gt;&amp;gt;..................
&lt;br&gt;&amp;gt;	Map&amp;lt;String, StringBuilder&amp;gt; fileContentMap = new HashMap&amp;lt;String,
&lt;br&gt;&amp;gt;StringBuilder&amp;gt;();
&lt;br&gt;&amp;gt;.................
&lt;br&gt;&amp;gt;.................
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;public Map&amp;lt;String, StringBuilder&amp;gt; getFileContentMap() {
&lt;br&gt;&amp;gt;		return fileContentMap;
&lt;br&gt;&amp;gt;	}
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;..................
&lt;br&gt;&amp;gt;..................
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;//Logic to store data in HashMap
&lt;br&gt;&amp;gt;		if (aFile.length &amp;gt; 0) {
&lt;br&gt;&amp;gt;			StringBuilder contents = null;
&lt;br&gt;&amp;gt;			fileContentMap.clear();
&lt;br&gt;&amp;gt;			for (int i = 0; i &amp;lt; aFile.length; i++) {
&lt;br&gt;&amp;gt;				if (aFile
&lt;br&gt;&amp;gt;.isFile()) {
&lt;br&gt;&amp;gt;					try {
&lt;br&gt;&amp;gt;						contents = new StringBuilder();
&lt;br&gt;&amp;gt;						BufferedReader input = new BufferedReader(
&lt;br&gt;&amp;gt;								new FileReader(aFile
&lt;br&gt;&amp;gt;));
&lt;br&gt;&amp;gt;						try {
&lt;br&gt;&amp;gt;							String line = &amp;quot;&amp;quot;; // not declared within while
&lt;br&gt;&amp;gt;												// loop
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;							while ((line = input.readLine()) != null) {
&lt;br&gt;&amp;gt;								contents.append(line);
&lt;br&gt;&amp;gt;								contents.append(System
&lt;br&gt;&amp;gt;										.getProperty(&amp;quot;line.separator&amp;quot;));
&lt;br&gt;&amp;gt;							}
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;							
&lt;br&gt;&amp;gt;							fileContentMap.put(aFile
&lt;br&gt;&amp;gt;.getName(),contents);
&lt;br&gt;&amp;gt;						} finally {
&lt;br&gt;&amp;gt;							input.close();
&lt;br&gt;&amp;gt;						}
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;					} catch (IOException ex) {
&lt;br&gt;&amp;gt;						System.out.println(&amp;quot;IOExcpetion occured&amp;quot;);
&lt;br&gt;&amp;gt;						ex.printStackTrace();
&lt;br&gt;&amp;gt;						return &amp;quot;error&amp;quot;;
&lt;br&gt;&amp;gt;					}
&lt;br&gt;&amp;gt;				}
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;			}
&lt;br&gt;&amp;gt;			
&lt;br&gt;&amp;gt;		}
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;.................
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;}
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;*********************************
&lt;br&gt;&amp;gt;I think I need to tell you what I am going to do with this HashMap.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;I am planning to create a dynamic tabbed pane.
&lt;br&gt;&amp;gt;It will have number of tabs as equal to number of files. Each tab lable will
&lt;br&gt;&amp;gt;be the name of the file. And inside that tab i will display the
&lt;br&gt;&amp;gt;corresponding file.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;I think it will help you to think in that direction.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;I need a way to access that hashmap in my facelet.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Can someone guide me properly for doing it?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Presently I am trying to access HashMap in this way:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;		&amp;lt;rich:tabPanel id=&amp;quot;myTabs&amp;quot; switchType=&amp;quot;client&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt;			&amp;lt;c:forEach items=&amp;quot;#{readFile.getFileContentMap}&amp;quot; var=&amp;quot;x&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt;				&amp;lt;rich:tab label=&amp;quot;#{x.name}&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt;				&amp;lt;/rich:tab&amp;gt;
&lt;br&gt;&amp;gt;			&amp;lt;/c:forEach&amp;gt;
&lt;br&gt;&amp;gt;		&amp;lt;/rich:tabPanel&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;But I am getting exception as:
&lt;br&gt;&amp;gt;Nov 19, 2009 4:37:19 PM com.sun.facelets.FaceletViewHandler
&lt;br&gt;&amp;gt;handleRenderException
&lt;br&gt;&amp;gt;SEVERE: Error Rendering View[/logDisplay.xhtml]
&lt;br&gt;&amp;gt;javax.el.ELException: /logDisplay.xhtml: Property 'getFileContentMap' not
&lt;br&gt;&amp;gt;found on type com.cts.ReadFileClass
&lt;br&gt;&amp;gt;	at
&lt;br&gt;&amp;gt;com.sun.facelets.compiler.AttributeInstruction.write(AttributeInstruction.java:53)
&lt;br&gt;&amp;gt;	at
&lt;br&gt;&amp;gt;com.sun.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java:39)
&lt;br&gt;&amp;gt;	at org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:280)
&lt;br&gt;&amp;gt;	at
&lt;br&gt;&amp;gt;org.ajax4jsf.renderkit.RendererBase.renderChildren(RendererBase.java:262)
&lt;br&gt;&amp;gt;	at
&lt;br&gt;&amp;gt;org.richfaces.renderkit.html.TabPanelRenderer.doEncodeChildren(TabPanelRenderer.java:266)
&lt;br&gt;&amp;gt;	at
&lt;br&gt;&amp;gt;org.richfaces.renderkit.html.TabPanelRenderer.doEncodeChildren(TabPanelRenderer.java:261)
&lt;br&gt;&amp;gt;	at
&lt;br&gt;&amp;gt;org.ajax4jsf.renderkit.RendererBase.encodeChildren(RendererBase.java:121)
&lt;br&gt;&amp;gt;	at
&lt;br&gt;&amp;gt;javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:809)
&lt;br&gt;&amp;gt;	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:886)
&lt;br&gt;&amp;gt;	at javax.faces.render.Renderer.encodeChildren(Renderer.java:137)
&lt;br&gt;&amp;gt;	at
&lt;br&gt;&amp;gt;javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:809)
&lt;br&gt;&amp;gt;	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:886)
&lt;br&gt;&amp;gt;	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:892)
&lt;br&gt;&amp;gt;	at
&lt;br&gt;&amp;gt;com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:592)
&lt;br&gt;&amp;gt;	at
&lt;br&gt;&amp;gt;org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
&lt;br&gt;&amp;gt;	at
&lt;br&gt;&amp;gt;org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:216)
&lt;br&gt;&amp;gt;	at
&lt;br&gt;&amp;gt;com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
&lt;br&gt;&amp;gt;	at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
&lt;br&gt;&amp;gt;	at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
&lt;br&gt;&amp;gt;	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
&lt;br&gt;&amp;gt;	at
&lt;br&gt;&amp;gt;org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
&lt;br&gt;&amp;gt;	at
&lt;br&gt;&amp;gt;org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
&lt;br&gt;&amp;gt;	at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
&lt;br&gt;&amp;gt;	at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
&lt;br&gt;&amp;gt;	at
&lt;br&gt;&amp;gt;org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
&lt;br&gt;&amp;gt;	at
&lt;br&gt;&amp;gt;org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
&lt;br&gt;&amp;gt;	at
&lt;br&gt;&amp;gt;org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
&lt;br&gt;&amp;gt;	at
&lt;br&gt;&amp;gt;org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
&lt;br&gt;&amp;gt;	at
&lt;br&gt;&amp;gt;org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
&lt;br&gt;&amp;gt;	at
&lt;br&gt;&amp;gt;org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
&lt;br&gt;&amp;gt;	at
&lt;br&gt;&amp;gt;org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
&lt;br&gt;&amp;gt;	at
&lt;br&gt;&amp;gt;org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
&lt;br&gt;&amp;gt;	at
&lt;br&gt;&amp;gt;org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
&lt;br&gt;&amp;gt;	at
&lt;br&gt;&amp;gt;org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
&lt;br&gt;&amp;gt;	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
&lt;br&gt;&amp;gt;	at java.lang.Thread.run(Unknown Source)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Whats wrong here?
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26735131&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26735131&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/java.net---facelets-users-f13481.html&quot; embed=&quot;fixTarget[13481]&quot; target=&quot;_top&quot; &gt;java.net - facelets users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Need-help-with-using-HashMap-in-facelets-tp26421286p26735131.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26726967</id>
	<title>Pass method binding to a template - Attribute should be optional</title>
	<published>2009-12-10T05:12:50Z</published>
	<updated>2009-12-10T05:12:50Z</updated>
	<author>
		<name>Michael Hunziker</name>
	</author>
	<content type="html">Dear all!
&lt;br&gt;&lt;br&gt;I just found a solution in the facelet FAQ on how to pass method binding
&lt;br&gt;to a template
&lt;br&gt;(&lt;a href=&quot;http://wiki.java.net/bin/view/Projects/FaceletsFAQ#Can_I_pass_a_MethodB&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wiki.java.net/bin/view/Projects/FaceletsFAQ#Can_I_pass_a_MethodB&lt;/a&gt;&lt;br&gt;inding_to_a).
&lt;br&gt;&lt;br&gt;I adapted this solution to my code:
&lt;br&gt;&amp;nbsp;
&lt;br&gt;TEMPLATE of MyDataScroller:
&lt;br&gt;&amp;lt;t:dataScroller actionListener=&amp;quot;#{backingBean[action]}&amp;quot;
&lt;br&gt;for=&amp;quot;#{forTable}&amp;quot; .../&amp;gt;
&lt;br&gt;&lt;br&gt;TEMPLATE-CALL:
&lt;br&gt;&amp;lt;a:MyDataScroller backingBean=&amp;quot;#{MyBean}&amp;quot; action=&amp;quot;someAction&amp;quot;
&lt;br&gt;forTable=&amp;quot;#{table}&amp;quot;/&amp;gt;
&lt;br&gt;&lt;br&gt;The above template call works perfectly! BUT, let's assume that I want't
&lt;br&gt;the actionListener attribute of the dataScroller to be optional.
&lt;br&gt;Currently it is mandatory because if i wrote the template call like
&lt;br&gt;this, it would fail saying that backingBean is not defined:
&lt;br&gt;&amp;lt;a:MyDataScroller forTable =&amp;quot;#{table}&amp;quot;/&amp;gt;
&lt;br&gt;&lt;br&gt;I tried coding something like this within the template (check if
&lt;br&gt;backingBean is null, if so, set actionListener to null):
&lt;br&gt;&amp;lt;t:dataScroller actionListener=&amp;quot;#{backingBean ==
&lt;br&gt;null?backingBean[action]:null}&amp;quot; for=&amp;quot;#{forTable}&amp;quot; .../&amp;gt;
&lt;br&gt;&lt;br&gt;As you can see, I'm a Java beginner and I'd really appreciate your help!
&lt;br&gt;&lt;br&gt;&lt;br&gt;Best regards!
&lt;br&gt;Michael
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26726967&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26726967&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/java.net---facelets-users-f13481.html&quot; embed=&quot;fixTarget[13481]&quot; target=&quot;_top&quot; &gt;java.net - facelets users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Pass-method-binding-to-a-template---Attribute-should-be-optional-tp26726967p26726967.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26593184</id>
	<title>RE:  Inlining text - Security</title>
	<published>2009-12-01T06:56:55Z</published>
	<updated>2009-12-01T06:56:55Z</updated>
	<author>
		<name>Raymond K. DeCampo</name>
	</author>
	<content type="html">&lt;html xmlns:v=&quot;urn:schemas-microsoft-com:vml&quot; xmlns:o=&quot;urn:schemas-microsoft-com:office:office&quot; xmlns:w=&quot;urn:schemas-microsoft-com:office:word&quot; xmlns:st1=&quot;urn:schemas-microsoft-com:office:smarttags&quot; xmlns=&quot;http://www.w3.org/TR/REC-html40&quot;&gt;

&lt;head&gt;
&lt;META HTTP-EQUIV=&quot;Content-Type&quot; CONTENT=&quot;text/html; charset=us-ascii&quot;&gt;
&lt;meta name=Generator content=&quot;Microsoft Word 11 (filtered medium)&quot;&gt;
&lt;!--[if !mso]&gt;
&lt;style&gt;
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
&lt;/style&gt;
&lt;![endif]--&gt;&lt;o:SmartTagType namespaceuri=&quot;urn:schemas-microsoft-com:office:smarttags&quot; name=&quot;PersonName&quot; /&gt;
&lt;!--[if !mso]&gt;
&lt;style&gt;
st1\:*{behavior:url(#default#ieooui) }
&lt;/style&gt;
&lt;![endif]--&gt;

&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapedefaults v:ext=&quot;edit&quot; spidmax=&quot;1026&quot; /&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapelayout v:ext=&quot;edit&quot;&gt;
  &lt;o:idmap v:ext=&quot;edit&quot; data=&quot;1&quot; /&gt;
 &lt;/o:shapelayout&gt;&lt;/xml&gt;&lt;![endif]--&gt;
&lt;/head&gt;

&lt;body lang=EN-US link=blue vlink=purple&gt;

&lt;div class=Section1&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 color=maroon face=Arial&gt;&lt;span style='font-size:
10.0pt;line-height:120%;font-family:Arial;color:maroon'&gt;Text output with
&amp;lt;h:outputText&amp;gt; will be escaped for HTML (unless overridden with escape=&amp;#8221;false&amp;#8221;).&amp;nbsp;
Text output inline will not be escaped.&amp;nbsp; If you are outputting user-generated
content (even names), failing to escape the output can lead to cross-site
scripting and other attacks.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 color=maroon face=Arial&gt;&lt;span style='font-size:
10.0pt;line-height:120%;font-family:Arial;color:maroon'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;div&gt;

&lt;div class=MsoNormal align=center style='text-align:center;line-height:normal'&gt;&lt;font size=3 face=&quot;Times New Roman&quot;&gt;&lt;span style='font-size:12.0pt;font-family:&quot;Times New Roman&quot;'&gt;

&lt;hr size=2 width=&quot;100%&quot; align=center tabindex=-1&gt;

&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;

&lt;p class=MsoNormal style='line-height:normal'&gt;&lt;b&gt;&lt;font size=2 face=Tahoma&gt;&lt;span style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'&gt;From:&lt;/span&gt;&lt;/font&gt;&lt;/b&gt;&lt;font face=Tahoma&gt;&lt;span style='font-family:Tahoma'&gt; Nicole Schweighardt
[mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26593184&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nicole.schweighardt@...&lt;/a&gt;] &lt;br&gt;
&lt;b&gt;&lt;span style='font-weight:bold'&gt;Sent:&lt;/span&gt;&lt;/b&gt; Tuesday, December 01, 2009
3:08 AM&lt;br&gt;
&lt;b&gt;&lt;span style='font-weight:bold'&gt;To:&lt;/span&gt;&lt;/b&gt; &lt;st1:PersonName w:st=&quot;on&quot;&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26593184&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt;&lt;/st1:PersonName&gt;&lt;br&gt;
&lt;b&gt;&lt;span style='font-weight:bold'&gt;Subject:&lt;/span&gt;&lt;/b&gt; Inlining text - Security&lt;/span&gt;&lt;/font&gt;&lt;font size=3 face=&quot;Times New Roman&quot;&gt;&lt;span style='font-size:12.0pt;font-family:&quot;Times New Roman&quot;'&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Verdana&gt;&lt;span style='font-size:10.0pt;
line-height:120%'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span lang=EN-GB style='font-size:
10.0pt;line-height:120%;font-family:Arial'&gt;Hi,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span lang=EN-GB style='font-size:
10.0pt;line-height:120%;font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span lang=EN-GB style='font-size:
10.0pt;line-height:120%;font-family:Arial'&gt;I have got questions belonging to
&amp;#8222;Inlining Text&amp;#8221;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span lang=EN-GB style='font-size:
10.0pt;line-height:120%;font-family:Arial'&gt;Is there an security problem if I
use text without the &amp;lt;h:outputText&amp;gt;-Tag? I read sth. about that in an
article.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span lang=EN-GB style='font-size:
10.0pt;line-height:120%;font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span lang=EN-GB style='font-size:
10.0pt;line-height:120%;font-family:Arial'&gt;What is the difference between using
text without the tag or with the tag?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span lang=EN-GB style='font-size:
10.0pt;line-height:120%;font-family:Arial'&gt;If there is no difference, the
&amp;lt;h:outputText&amp;gt;-Tag is needless now?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span lang=EN-GB style='font-size:
10.0pt;line-height:120%;font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span lang=EN-GB style='font-size:
10.0pt;line-height:120%;font-family:Arial'&gt;I need it for my diploma.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span lang=EN-GB style='font-size:
10.0pt;line-height:120%;font-family:Arial'&gt;Thanks very much for your answers.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span lang=EN-GB style='font-size:
10.0pt;line-height:120%;font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span lang=EN-GB style='font-size:
10.0pt;line-height:120%;font-family:Arial'&gt;Nicole Schweighardt&lt;/span&gt;&lt;/font&gt;&lt;span lang=EN-GB&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Verdana&gt;&lt;span lang=EN-GB style='font-size:
10.0pt;line-height:120%'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/body&gt;

&lt;/html&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/java.net---facelets-users-f13481.html&quot; embed=&quot;fixTarget[13481]&quot; target=&quot;_top&quot; &gt;java.net - facelets users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Inlining-text---Security-tp26587996p26593184.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26587996</id>
	<title>Inlining text - Security</title>
	<published>2009-12-01T00:07:40Z</published>
	<updated>2009-12-01T00:07:40Z</updated>
	<author>
		<name>NSchweig</name>
	</author>
	<content type="html">&lt;html xmlns:v=&quot;urn:schemas-microsoft-com:vml&quot; xmlns:o=&quot;urn:schemas-microsoft-com:office:office&quot; xmlns:w=&quot;urn:schemas-microsoft-com:office:word&quot; xmlns=&quot;http://www.w3.org/TR/REC-html40&quot;&gt;

&lt;head&gt;
&lt;meta http-equiv=Content-Type content=&quot;text/html; charset=us-ascii&quot;&gt;
&lt;meta name=Generator content=&quot;Microsoft Word 11 (filtered medium)&quot;&gt;

&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapedefaults v:ext=&quot;edit&quot; spidmax=&quot;1026&quot; /&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapelayout v:ext=&quot;edit&quot;&gt;
  &lt;o:idmap v:ext=&quot;edit&quot; data=&quot;1&quot; /&gt;
 &lt;/o:shapelayout&gt;&lt;/xml&gt;&lt;![endif]--&gt;
&lt;/head&gt;

&lt;body lang=DE link=blue vlink=purple&gt;

&lt;div class=Section1&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span lang=EN-GB style='font-size:
10.0pt;line-height:120%;font-family:Arial'&gt;Hi,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span lang=EN-GB style='font-size:
10.0pt;line-height:120%;font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span lang=EN-GB style='font-size:
10.0pt;line-height:120%;font-family:Arial'&gt;I have got questions belonging to &amp;#8222;Inlining
Text&amp;#8221;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span lang=EN-GB style='font-size:
10.0pt;line-height:120%;font-family:Arial'&gt;Is there an security problem if I
use text without the &amp;lt;h:outputText&amp;gt;-Tag? I read sth. about that in an
article.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span lang=EN-GB style='font-size:
10.0pt;line-height:120%;font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span lang=EN-GB style='font-size:
10.0pt;line-height:120%;font-family:Arial'&gt;What is the difference between using
text without the tag or with the tag?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span lang=EN-GB style='font-size:
10.0pt;line-height:120%;font-family:Arial'&gt;If there is no difference, the &amp;lt;h:outputText&amp;gt;-Tag
is needless now?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span lang=EN-GB style='font-size:
10.0pt;line-height:120%;font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span lang=EN-GB style='font-size:
10.0pt;line-height:120%;font-family:Arial'&gt;I need it for my diploma.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span lang=EN-GB style='font-size:
10.0pt;line-height:120%;font-family:Arial'&gt;Thanks very much for your answers.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span lang=EN-GB style='font-size:
10.0pt;line-height:120%;font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span lang=EN-GB style='font-size:
10.0pt;line-height:120%;font-family:Arial'&gt;Nicole Schweighardt&lt;/span&gt;&lt;/font&gt;&lt;span lang=EN-GB&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span lang=EN-GB&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/body&gt;

&lt;/html&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/java.net---facelets-users-f13481.html&quot; embed=&quot;fixTarget[13481]&quot; target=&quot;_top&quot; &gt;java.net - facelets users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Inlining-text---Security-tp26587996p26587996.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26546145</id>
	<title>Re: Re : producting javascript file with facelets</title>
	<published>2009-11-27T10:22:07Z</published>
	<updated>2009-11-27T10:22:07Z</updated>
	<author>
		<name>PabloS</name>
	</author>
	<content type="html">Fair enough. Glad it worked.&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Regards.&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2009/11/27 Adrian Gonzalez &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26546145&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;adr_gonzalez@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;
&lt;div&gt;&lt;div style=&quot;font-family:times new roman,new york,times,serif;font-size:12pt&quot;&gt;&lt;div&gt;Thanks !&lt;br&gt;&lt;br&gt;I&amp;#39;ve added f:verbatim and it works.&lt;br&gt;&lt;br&gt;P.S.1 : &amp;lt;quote&amp;gt;Besides, you won&amp;#39;t need an f:view tag when using facelets.&amp;lt;/quote&amp;gt;&lt;br&gt;
-&amp;gt; I&amp;#39;ve used f:view to return the HTTP header : Content-Type : &lt;code&gt;text/javascript;charset=UTF-8&lt;br&gt;&lt;/code&gt;P.S.2 : &amp;lt;quote&amp;gt;Are you using the xhtml namespace?&amp;lt;/quote&amp;gt;&lt;br&gt;-&amp;gt; No xhtml namespace since I&amp;#39;m producing a javascript fiel and not an xhtml file.&lt;br&gt;

&lt;br&gt;&lt;br&gt;&lt;code&gt;Here&amp;#39;s the working xhtml file (javascript file) :&lt;div class=&quot;im&quot;&gt;&lt;br&gt;&lt;br&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot; ?&amp;gt;&lt;br&gt;&lt;/div&gt;&amp;lt;ui:composition&lt;div class=&quot;im&quot;&gt;&lt;br&gt;&lt;span&gt;    xmlns:ui=&amp;quot;&lt;a href=&quot;http://java.sun.com/jsf/facelets&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://java.sun.com/jsf/facelets&lt;/a&gt;&amp;quot;&lt;/span&gt;&lt;br&gt;
&lt;span&gt;    xmlns:f=&amp;quot;&lt;a href=&quot;http://java.sun.com/jsf/core&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://java.sun.com/jsf/core&lt;/a&gt;&amp;quot;&lt;/span&gt;&lt;br&gt;    version=&amp;quot;2.0&amp;quot;&amp;gt;&lt;br&gt;&amp;lt;f:view contentType=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br&gt;
&lt;/div&gt;&amp;lt;f:verbatim&amp;gt;&lt;br&gt;// &amp;lt;![CDATA[ &lt;br&gt;for(i=0; i &amp;lt;2; i++){&lt;br&gt;    alert(&amp;#39;ok&amp;#39;+i);&lt;br&gt;}&lt;br&gt;// ]]&amp;gt;&lt;br&gt;&amp;lt;/f:verbatim&amp;gt;&lt;br&gt;&amp;lt;/f:view&amp;gt;&lt;br&gt;&amp;lt;/ui:composition&amp;gt;&lt;br&gt;&lt;/code&gt;&lt;/div&gt;&lt;div style=&quot;font-family:times new roman,new york,times,serif;font-size:12pt&quot;&gt;
&lt;br&gt;&lt;div style=&quot;font-family:times new roman,new york,times,serif;font-size:12pt&quot;&gt;&lt;font face=&quot;Tahoma&quot; size=&quot;2&quot;&gt;&lt;hr size=&quot;1&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-weight:bold&quot;&gt;De
 :&lt;/span&gt;&lt;/b&gt; Pablo Saavedra &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26546145&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pablo.a.saavedra@...&lt;/a&gt;&amp;gt;&lt;br&gt;&lt;b&gt;&lt;span style=&quot;font-weight:bold&quot;&gt;À :&lt;/span&gt;&lt;/b&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26546145&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt;&lt;br&gt;
&lt;b&gt;&lt;span style=&quot;font-weight:bold&quot;&gt;Envoyé le :&lt;/span&gt;&lt;/b&gt; Jeu 26 Novembre 2009, 18 h 04 min 10 s&lt;br&gt;&lt;b&gt;&lt;span style=&quot;font-weight:bold&quot;&gt;Objet :&lt;/span&gt;&lt;/b&gt; Re: producting javascript file with facelets&lt;br&gt;&lt;/font&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;
&lt;div class=&quot;h5&quot;&gt;&lt;br&gt;Are you using the xhtml namespace? If so, you should be able to use &amp;lt;script&amp;gt; tags and put the javascript in there (like a regular html page). Besides, you won&amp;#39;t need an f:view tag when using facelets.&lt;div&gt;
&lt;br&gt;&lt;/div&gt;
&lt;div&gt;Another thing you can try is using f:verbatim tags.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Regards.&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2009/11/26 Adrian Gonzalez &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26546145&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;adr_gonzalez@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;

&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex&quot;&gt;&lt;div&gt;&lt;div style=&quot;font-family:times new roman,new york,times,serif;font-size:12pt&quot;&gt;&lt;div&gt;Hello, &lt;br&gt;
&lt;br&gt;I&amp;#39;m trying to produce a javascript file with facelets, but facelets encodes encodes the xml special characters.&lt;br&gt;
&lt;pre&gt;&amp;#39;for(i=0; i &amp;lt;1; i++){&amp;#39;  is changed to &amp;#39;for(i=0; i &amp;amp;lt;1; i++){&amp;#39;&lt;br&gt;&lt;/pre&gt;
&lt;br&gt;I&amp;#39;m using jsf-facelets-1.1.15.B1.jar.&lt;br&gt;&lt;br&gt;Here&amp;#39;s my javascript file :&lt;br&gt;&lt;br&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot; ?&amp;gt;&lt;br&gt;&lt;span&gt;&lt;/span&gt;&lt;br&gt;&lt;span&gt;    xmlns:ui=&amp;quot;&lt;a rel=&quot;nofollow&quot; href=&quot;http://java.sun.com/jsf/facelets&quot; target=&quot;_blank&quot;&gt;http://java.sun.com/jsf/facelets&lt;/a&gt;&amp;quot;&lt;/span&gt;&lt;br&gt;

&lt;span&gt;    xmlns:f=&amp;quot;&lt;a rel=&quot;nofollow&quot; href=&quot;http://java.sun.com/jsf/core&quot; target=&quot;_blank&quot;&gt;http://java.sun.com/jsf/core&lt;/a&gt;&amp;quot;&lt;/span&gt;&lt;br&gt;    version=&amp;quot;2.0&amp;quot;&amp;gt;&lt;br&gt;&lt;br&gt;    &amp;lt;f:view contentType=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br&gt;

    // &amp;lt;![CDATA[&lt;br&gt;        for(i=0; i &amp;lt;1; i++){&lt;br&gt;            alert(&amp;#39;ok&amp;#39;);&lt;br&gt;        }&lt;br&gt;    // ]]&amp;gt;&lt;br&gt;   
 &amp;lt;/f:view&amp;gt;&lt;br&gt;&amp;lt;/ui:composition&amp;gt;&lt;br&gt;&lt;br&gt;And I see in firebug to following code :&lt;br&gt;&lt;pre&gt;&lt;code&gt;	// &amp;lt;![CDATA[&lt;br&gt;&lt;/code&gt;&lt;code&gt;		for(i=0; i &amp;amp;lt;1; i++){&lt;br&gt;&lt;/code&gt;&lt;code&gt;			alert(&amp;#39;ok&amp;#39;);&lt;br&gt;&lt;/code&gt;&lt;code&gt;		}&lt;br&gt;

&lt;/code&gt;&lt;code&gt;	// ]]&amp;gt;&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;Do you know what I should do ?&lt;br&gt;&lt;br&gt;Thanks very much &lt;br&gt;&lt;/div&gt;

&lt;/div&gt;&lt;br&gt;




      &lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;

&lt;/div&gt;&lt;br&gt;




      &lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/java.net---facelets-users-f13481.html&quot; embed=&quot;fixTarget[13481]&quot; target=&quot;_top&quot; &gt;java.net - facelets users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/producting-javascript-file-with-facelets-tp26531529p26546145.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26546113</id>
	<title>Re : producting javascript file with facelets</title>
	<published>2009-11-27T10:19:07Z</published>
	<updated>2009-11-27T10:19:07Z</updated>
	<author>
		<name>gonzalad</name>
	</author>
	<content type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;&lt;div style=&quot;font-family:times new roman,new york,times,serif;font-size:12pt&quot;&gt;&lt;div&gt;Thanks !&lt;br&gt;&lt;br&gt;I've added f:verbatim and it works.&lt;br&gt;&lt;br&gt;P.S.1 : &amp;lt;quote&amp;gt;Besides, you won't need an f:view tag when using facelets.&amp;lt;/quote&amp;gt;&lt;br&gt;-&amp;gt; I've used f:view to return the HTTP header : Content-Type : &lt;code class=&quot; &quot;&gt;text/javascript;charset=UTF-8&lt;br&gt;&lt;/code&gt;P.S.2 : &amp;lt;quote&amp;gt;Are you using the xhtml namespace?&amp;lt;/quote&amp;gt;&lt;br&gt;-&amp;gt; No xhtml namespace since I'm producing a javascript fiel and not an xhtml file.&lt;br&gt;
&lt;br&gt;&lt;br&gt;&lt;code class=&quot; &quot;&gt;Here's the working xhtml file (javascript file) :&lt;br&gt;&lt;br&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; ?&amp;gt;&lt;br&gt;&amp;lt;ui:composition&lt;br&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:ui=&quot;&lt;a target=&quot;_blank&quot; href=&quot;http://java.sun.com/jsf/facelets&quot; rel=&quot;nofollow&quot;&gt;http://java.sun.com/jsf/facelets&lt;/a&gt;&quot;&lt;/span&gt;&lt;br&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:f=&quot;&lt;a target=&quot;_blank&quot; href=&quot;http://java.sun.com/jsf/core&quot; rel=&quot;nofollow&quot;&gt;http://java.sun.com/jsf/core&lt;/a&gt;&quot;&lt;/span&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; version=&quot;2.0&quot;&amp;gt;&lt;br&gt;&amp;lt;f:view contentType=&quot;text/javascript&quot;&amp;gt;&lt;br&gt;&amp;lt;f:verbatim&amp;gt;&lt;br&gt;// &amp;lt;![CDATA[ &lt;br&gt;for(i=0; i &amp;lt;2; i++){&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; alert('ok'+i);&lt;br&gt;}&lt;br&gt;// ]]&amp;gt;&lt;br&gt;&amp;lt;/f:verbatim&amp;gt;&lt;br&gt;&amp;lt;/f:view&amp;gt;&lt;br&gt;&amp;lt;/ui:composition&amp;gt;&lt;br&gt;&lt;/code&gt;&lt;/div&gt;&lt;div style=&quot;font-family: times new roman,new york,times,serif; font-size: 12pt;&quot;&gt;&lt;br&gt;&lt;div style=&quot;font-family: times new roman,new york,times,serif; font-size: 12pt;&quot;&gt;&lt;font face=&quot;Tahoma&quot; size=&quot;2&quot;&gt;&lt;hr size=&quot;1&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;De
 :&lt;/span&gt;&lt;/b&gt; Pablo Saavedra &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26546113&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pablo.a.saavedra@...&lt;/a&gt;&amp;gt;&lt;br&gt;&lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;À :&lt;/span&gt;&lt;/b&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26546113&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt;&lt;br&gt;&lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Envoyé le :&lt;/span&gt;&lt;/b&gt; Jeu 26 Novembre 2009, 18 h 04 min 10 s&lt;br&gt;&lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Objet&amp;nbsp;:&lt;/span&gt;&lt;/b&gt; Re: producting javascript file with facelets&lt;br&gt;&lt;/font&gt;&lt;br&gt;Are you using the xhtml namespace? If so, you should be able to use &amp;lt;script&amp;gt; tags and put the javascript in there (like a regular html page). Besides, you won't need an f:view tag when using facelets.&lt;div&gt;&lt;br&gt;&lt;/div&gt;
&lt;div&gt;Another thing you can try is using f:verbatim tags.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Regards.&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2009/11/26 Adrian Gonzalez &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26546113&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;adr_gonzalez@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;&lt;div&gt;&lt;div style=&quot;font-family: times new roman,new york,times,serif; font-size: 12pt;&quot;&gt;&lt;div&gt;Hello, &lt;br&gt;&lt;br&gt;I'm trying to produce a javascript file with facelets, but facelets encodes encodes the xml special characters.&lt;br&gt;
&lt;pre&gt;'for(i=0; i &amp;lt;1; i++){'  is changed to 'for(i=0; i &amp;amp;lt;1; i++){'&lt;br&gt;&lt;/pre&gt;
&lt;br&gt;I'm using jsf-facelets-1.1.15.B1.jar.&lt;br&gt;&lt;br&gt;Here's my javascript file :&lt;br&gt;&lt;br&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; ?&amp;gt;&lt;br&gt;&lt;span&gt;&lt;/span&gt;&lt;br&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:ui=&quot;&lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://java.sun.com/jsf/facelets&quot;&gt;http://java.sun.com/jsf/facelets&lt;/a&gt;&quot;&lt;/span&gt;&lt;br&gt;
&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:f=&quot;&lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://java.sun.com/jsf/core&quot;&gt;http://java.sun.com/jsf/core&lt;/a&gt;&quot;&lt;/span&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; version=&quot;2.0&quot;&amp;gt;&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;f:view contentType=&quot;text/javascript&quot;&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; // &amp;lt;![CDATA[&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; for(i=0; i &amp;lt;1; i++){&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; alert('ok');&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // ]]&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
 &amp;lt;/f:view&amp;gt;&lt;br&gt;&amp;lt;/ui:composition&amp;gt;&lt;br&gt;&lt;br&gt;And I see in firebug to following code :&lt;br&gt;&lt;pre&gt;&lt;code&gt;	// &amp;lt;![CDATA[&lt;br&gt;&lt;/code&gt;&lt;code&gt;		for(i=0; i &amp;amp;lt;1; i++){&lt;br&gt;&lt;/code&gt;&lt;code&gt;			alert('ok');&lt;br&gt;&lt;/code&gt;&lt;code&gt;		}&lt;br&gt;
&lt;/code&gt;&lt;code&gt;	// ]]&amp;gt;&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;Do you know what I should do ?&lt;br&gt;&lt;br&gt;Thanks very much &lt;br&gt;&lt;/div&gt;

&lt;/div&gt;&lt;br&gt;




      &lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;!-- cg29.c41.mail.ird.yahoo.com compressed/chunked Fri Nov 27 09:54:04 PST 2009 --&gt;
&lt;/div&gt;&lt;br&gt;




      &lt;/body&gt;&lt;/html&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/java.net---facelets-users-f13481.html&quot; embed=&quot;fixTarget[13481]&quot; target=&quot;_top&quot; &gt;java.net - facelets users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/producting-javascript-file-with-facelets-tp26531529p26546113.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26532324</id>
	<title>Re: producting javascript file with facelets</title>
	<published>2009-11-26T09:04:10Z</published>
	<updated>2009-11-26T09:04:10Z</updated>
	<author>
		<name>PabloS</name>
	</author>
	<content type="html">Are you using the xhtml namespace? If so, you should be able to use &amp;lt;script&amp;gt; tags and put the javascript in there (like a regular html page). Besides, you won&amp;#39;t need an f:view tag when using facelets.&lt;div&gt;&lt;br&gt;&lt;/div&gt;
&lt;div&gt;Another thing you can try is using f:verbatim tags.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Regards.&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2009/11/26 Adrian Gonzalez &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26532324&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;adr_gonzalez@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;&lt;div&gt;&lt;div style=&quot;font-family:times new roman,new york,times,serif;font-size:12pt&quot;&gt;&lt;div&gt;Hello, &lt;br&gt;&lt;br&gt;I&amp;#39;m trying to produce a javascript file with facelets, but facelets encodes encodes the xml special characters.&lt;br&gt;
&lt;pre&gt;&amp;#39;for(i=0; i &amp;lt;1; i++){&amp;#39;  is changed to &amp;#39;for(i=0; i &amp;amp;lt;1; i++){&amp;#39;&lt;br&gt;&lt;/pre&gt;
&lt;br&gt;I&amp;#39;m using jsf-facelets-1.1.15.B1.jar.&lt;br&gt;&lt;br&gt;Here&amp;#39;s my javascript file :&lt;br&gt;&lt;br&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot; ?&amp;gt;&lt;br&gt;&lt;span&gt;&lt;/span&gt;&lt;br&gt;&lt;span&gt;    xmlns:ui=&amp;quot;&lt;a href=&quot;http://java.sun.com/jsf/facelets&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://java.sun.com/jsf/facelets&lt;/a&gt;&amp;quot;&lt;/span&gt;&lt;br&gt;
&lt;span&gt;    xmlns:f=&amp;quot;&lt;a href=&quot;http://java.sun.com/jsf/core&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://java.sun.com/jsf/core&lt;/a&gt;&amp;quot;&lt;/span&gt;&lt;br&gt;    version=&amp;quot;2.0&amp;quot;&amp;gt;&lt;br&gt;&lt;br&gt;    &amp;lt;f:view contentType=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br&gt;
    // &amp;lt;![CDATA[&lt;br&gt;        for(i=0; i &amp;lt;1; i++){&lt;br&gt;            alert(&amp;#39;ok&amp;#39;);&lt;br&gt;        }&lt;br&gt;    // ]]&amp;gt;&lt;br&gt;   
 &amp;lt;/f:view&amp;gt;&lt;br&gt;&amp;lt;/ui:composition&amp;gt;&lt;br&gt;&lt;br&gt;And I see in firebug to following code :&lt;br&gt;&lt;pre&gt;&lt;code&gt;	// &amp;lt;![CDATA[&lt;br&gt;&lt;/code&gt;&lt;code&gt;		for(i=0; i &amp;amp;lt;1; i++){&lt;br&gt;&lt;/code&gt;&lt;code&gt;			alert(&amp;#39;ok&amp;#39;);&lt;br&gt;&lt;/code&gt;&lt;code&gt;		}&lt;br&gt;
&lt;/code&gt;&lt;code&gt;	// ]]&amp;gt;&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;Do you know what I should do ?&lt;br&gt;&lt;br&gt;Thanks very much &lt;br&gt;&lt;/div&gt;

&lt;/div&gt;&lt;br&gt;




      &lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/java.net---facelets-users-f13481.html&quot; embed=&quot;fixTarget[13481]&quot; target=&quot;_top&quot; &gt;java.net - facelets users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/producting-javascript-file-with-facelets-tp26531529p26532324.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26531529</id>
	<title>producting javascript file with facelets</title>
	<published>2009-11-26T08:06:36Z</published>
	<updated>2009-11-26T08:06:36Z</updated>
	<author>
		<name>gonzalad</name>
	</author>
	<content type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;&lt;div style=&quot;font-family:times new roman,new york,times,serif;font-size:12pt&quot;&gt;&lt;div&gt;Hello, &lt;br&gt;&lt;br&gt;I'm trying to produce a javascript file with facelets, but facelets encodes encodes the xml special characters.&lt;br&gt;&lt;pre&gt;'for(i=0; i &amp;lt;1; i++){'  is changed to 'for(i=0; i &amp;amp;lt;1; i++){'&lt;br&gt;&lt;/pre&gt;
&lt;br&gt;I'm using jsf-facelets-1.1.15.B1.jar.&lt;br&gt;&lt;br&gt;Here's my javascript file :&lt;br&gt;&lt;br&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; ?&amp;gt;&lt;br&gt;&lt;span&gt;&lt;ui:composition xmlns=&quot;&amp;lt;a target='_blank' href='http://www.w3.org/1999/xhtml'&amp;gt;http://www.w3.org/1999/xhtml&amp;lt;/a&amp;gt;&quot;&gt;&lt;/ui:composition&gt;&lt;/span&gt;&lt;br&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:ui=&quot;&lt;a target=&quot;_blank&quot; href=&quot;http://java.sun.com/jsf/facelets&quot; rel=&quot;nofollow&quot;&gt;http://java.sun.com/jsf/facelets&lt;/a&gt;&quot;&lt;/span&gt;&lt;br&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:f=&quot;&lt;a target=&quot;_blank&quot; href=&quot;http://java.sun.com/jsf/core&quot; rel=&quot;nofollow&quot;&gt;http://java.sun.com/jsf/core&lt;/a&gt;&quot;&lt;/span&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; version=&quot;2.0&quot;&amp;gt;&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;f:view contentType=&quot;text/javascript&quot;&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // &amp;lt;![CDATA[&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; for(i=0; i &amp;lt;1; i++){&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; alert('ok');&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // ]]&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
 &amp;lt;/f:view&amp;gt;&lt;br&gt;&amp;lt;/ui:composition&amp;gt;&lt;br&gt;&lt;br&gt;And I see in firebug to following code :&lt;br&gt;&lt;pre&gt;&lt;code&gt;	// &amp;lt;![CDATA[&lt;br&gt;&lt;/code&gt;&lt;code&gt;		for(i=0; i &amp;amp;lt;1; i++){&lt;br&gt;&lt;/code&gt;&lt;code&gt;			alert('ok');&lt;br&gt;&lt;/code&gt;&lt;code&gt;		}&lt;br&gt;&lt;/code&gt;&lt;code&gt;	// ]]&amp;gt;&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;Do you know what I should do ?&lt;br&gt;&lt;br&gt;Thanks very much &lt;br&gt;&lt;/div&gt;
&lt;!-- cg14.c41.mail.ird.yahoo.com compressed/chunked Wed Nov 25 10:02:06 PST 2009 --&gt;
&lt;/div&gt;&lt;br&gt;




      &lt;/body&gt;&lt;/html&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/java.net---facelets-users-f13481.html&quot; embed=&quot;fixTarget[13481]&quot; target=&quot;_top&quot; &gt;java.net - facelets users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/producting-javascript-file-with-facelets-tp26531529p26531529.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26508823</id>
	<title>Re: duplicate Id for a component feature_reques</title>
	<published>2009-11-25T00:05:24Z</published>
	<updated>2009-11-25T00:05:24Z</updated>
	<author>
		<name>Svetlio Kapralov</name>
	</author>
	<content type="html">Sorry for that mail. I found the problem... I had 2 links with same IDs... Have a nice day ;)&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Wed, Nov 25, 2009 at 9:43 AM, Svetlio Kapralov &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26508823&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;svetliokapralov@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;&lt;span&gt;I am using JSF 1.2, RichFaces 3.3.2 and facelets 1.1.15 (I have
tried 1.1.14 and I get the same exception). When I try to open a page I
see this:&lt;br&gt;&lt;br&gt;&lt;/span&gt;&lt;pre&gt;SEVERE: Error Rendering View[/pages/about.xhtml]&lt;br&gt;java.lang.IllegalStateException: duplicate Id for a component feature_request&lt;br&gt;	at org.ajax4jsf.application.TreeStructureNode.apply(TreeStructureNode.java:68)&lt;br&gt;

	at org.ajax4jsf.application.TreeStructureNode.apply(TreeStructureNode.java:92)&lt;br&gt;	at org.ajax4jsf.application.AjaxStateManager.getTreeStructureToSave(AjaxStateManager.java:187)&lt;br&gt;	at org.ajax4jsf.application.AjaxStateManager.buildViewState(AjaxStateManager.java:498)&lt;br&gt;

	at org.ajax4jsf.application.AjaxStateManager.saveSerializedView(AjaxStateManager.java:451)&lt;br&gt;	at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:617)&lt;br&gt;	at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)&lt;br&gt;

	at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176)&lt;br&gt;	at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)&lt;br&gt;	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)&lt;br&gt;

	at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)&lt;br&gt;	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)&lt;br&gt;	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290&lt;br&gt;

)&lt;br&gt;	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)&lt;br&gt;	at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)&lt;br&gt;	at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)&lt;br&gt;

	at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)&lt;br&gt;	at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)&lt;br&gt;	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235&lt;br&gt;

)&lt;br&gt;	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)&lt;br&gt;	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)&lt;br&gt;	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)&lt;br&gt;

	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)&lt;br&gt;	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)&lt;br&gt;	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)&lt;br&gt;

	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)&lt;br&gt;	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)&lt;br&gt;	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)&lt;br&gt;

&lt;br&gt;	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)&lt;br&gt;	at java.lang.Thread.run(Thread.java:619)&lt;br&gt;	&lt;/pre&gt;Regards,&lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;Svetlio&lt;br&gt;
&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/java.net---facelets-issues-f13480.html&quot; embed=&quot;fixTarget[13480]&quot; target=&quot;_top&quot; &gt;java.net - facelets issues&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/duplicate-Id-for-a-component-feature_reques-tp26508639p26508823.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26508639</id>
	<title>duplicate Id for a component feature_reques</title>
	<published>2009-11-24T23:43:02Z</published>
	<updated>2009-11-24T23:43:02Z</updated>
	<author>
		<name>Svetlio Kapralov</name>
	</author>
	<content type="html">&lt;span class=&quot;postbody&quot;&gt;I am using JSF 1.2, RichFaces 3.3.2 and facelets 1.1.15 (I have
tried 1.1.14 and I get the same exception). When I try to open a page I
see this:&lt;br&gt;&lt;br&gt;&lt;/span&gt;&lt;pre&gt;SEVERE: Error Rendering View[/pages/about.xhtml]&lt;br&gt;java.lang.IllegalStateException: duplicate Id for a component feature_request&lt;br&gt;	at org.ajax4jsf.application.TreeStructureNode.apply(TreeStructureNode.java:68)&lt;br&gt;
	at org.ajax4jsf.application.TreeStructureNode.apply(TreeStructureNode.java:92)&lt;br&gt;	at org.ajax4jsf.application.AjaxStateManager.getTreeStructureToSave(AjaxStateManager.java:187)&lt;br&gt;	at org.ajax4jsf.application.AjaxStateManager.buildViewState(AjaxStateManager.java:498)&lt;br&gt;
	at org.ajax4jsf.application.AjaxStateManager.saveSerializedView(AjaxStateManager.java:451)&lt;br&gt;	at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:617)&lt;br&gt;	at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)&lt;br&gt;
	at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176)&lt;br&gt;	at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)&lt;br&gt;	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)&lt;br&gt;
	at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)&lt;br&gt;	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)&lt;br&gt;	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290&lt;br&gt;
)&lt;br&gt;	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)&lt;br&gt;	at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)&lt;br&gt;	at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)&lt;br&gt;
	at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)&lt;br&gt;	at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)&lt;br&gt;	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235&lt;br&gt;
)&lt;br&gt;	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)&lt;br&gt;	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)&lt;br&gt;	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)&lt;br&gt;
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)&lt;br&gt;	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)&lt;br&gt;	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)&lt;br&gt;
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)&lt;br&gt;	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)&lt;br&gt;	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)&lt;br&gt;
&lt;br&gt;	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)&lt;br&gt;	at java.lang.Thread.run(Thread.java:619)&lt;br&gt;	&lt;/pre&gt;Regards,&lt;br&gt;Svetlio&lt;br&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/java.net---facelets-issues-f13480.html&quot; embed=&quot;fixTarget[13480]&quot; target=&quot;_top&quot; &gt;java.net - facelets issues&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/duplicate-Id-for-a-component-feature_reques-tp26508639p26508639.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26440636</id>
	<title>PhaseListener and ViewHandler</title>
	<published>2009-11-20T01:40:48Z</published>
	<updated>2009-11-20T01:40:48Z</updated>
	<author>
		<name>Frederik Mortensen</name>
	</author>
	<content type="html">&lt;div&gt;Hi guys.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I am just having a look at enterprise.jsf_jpa_war, a JSF/JPA example for NetBeans. And I am trying to find&lt;/div&gt;&lt;div&gt;a good way to take care of session handling in my JSF webapp. I know that there can be a session timeout&lt;/div&gt;
&lt;div&gt;set in the web.xml. But I also want to check the valid session and user credentials with every request. So&lt;/div&gt;&lt;div&gt;I thought it could be a good idea to use PhaseListeners. And it would even work in JSF. But because I am&lt;/div&gt;
&lt;div&gt;using Facelets, I am experiencing some trouble right now. Instead of the &lt;b&gt;javax.faces.application.viewHandler&lt;/b&gt;&lt;/div&gt;&lt;div&gt;I am using &lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: bold; &quot;&gt;com.sun.facelets.tag.jsf.core.ViewHandler&lt;/span&gt;. And so my example code breaks:&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;My idea would be something like this:&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Application application = facesContext.getApplication();&lt;/div&gt;&lt;div&gt;ViewHandler viewHandler = application.getViewHandler();&lt;/div&gt;&lt;div&gt;
UIViewRoot view;&lt;/div&gt;&lt;div&gt;        &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;&lt;/div&gt;&lt;div&gt;if (request.getRequestURL().toString().endsWith(&amp;quot;sessionTimeout.xhtml&amp;quot;))&lt;/div&gt;&lt;div&gt;{&lt;/div&gt;&lt;div&gt;view = viewHandler.createView(facesContext, &amp;quot;/index.xhtml&amp;quot;);&lt;/div&gt;
&lt;div&gt;}&lt;/div&gt;&lt;div&gt;else&lt;/div&gt;&lt;div&gt;{&lt;/div&gt;&lt;div&gt;view = viewHandler.createView(facesContext, &amp;quot;/pages/sessionTimeout.xhtml&amp;quot;);&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;facesContext.setViewRoot(view);&lt;/div&gt;&lt;div&gt;facesContext.renderResponse();&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;But using the default viewHandler instead of the Facelets ViewHandler lets to the result that my Richfaces-Buttons&lt;/div&gt;&lt;div&gt;arent rendered anymore. Anyone got an Idea about this?&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/java.net---facelets-users-f13481.html&quot; embed=&quot;fixTarget[13481]&quot; target=&quot;_top&quot; &gt;java.net - facelets users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/PhaseListener-and-ViewHandler-tp26440636p26440636.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26425447</id>
	<title>Re: Need help with using HashMap in facelets</title>
	<published>2009-11-19T04:33:58Z</published>
	<updated>2009-11-19T04:33:58Z</updated>
	<author>
		<name>Paulo Pinto</name>
	</author>
	<content type="html">Hi ,&lt;br&gt;&lt;br&gt;your EL expression is wrong.&lt;br&gt;&lt;br&gt;You should have written:&lt;br&gt;&lt;br&gt;&amp;quot;#{readFile.fileContentMap}&amp;quot;&lt;br&gt;&lt;br&gt;The EL uses the same notation as JavaBeans for the getter/setters.&lt;br&gt;&lt;br&gt;-&lt;br&gt;Paulo&lt;br&gt;&lt;br&gt;&lt;br&gt;
&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Thu, Nov 19, 2009 at 12:21 PM, beginner_prithvi &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26425447&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;heartbeats1@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;br&gt;
Hi,&lt;br&gt;
I am a newbie and learning facelets and JSF. I am writing a small&lt;br&gt;
application which will read files from a specific folder and will display&lt;br&gt;
each file in separate tab in page.&lt;br&gt;
&lt;br&gt;
Presently I am saving filenames as a key in a hashmap and corresponding file&lt;br&gt;
contents I am saving as value for that key. For saving filecontents in&lt;br&gt;
managed bean, I am using StringBuilder. So the scenario is:&lt;br&gt;
filename is a key in a hash map and filecontent is a StringBuilder object&lt;br&gt;
saved as value for that key.&lt;br&gt;
&lt;br&gt;
Below is the code for the same:&lt;br&gt;
Note: Here aFile is a file object array which holds references to the files&lt;br&gt;
in the specific folder. fileContentMap is a HashMap.&lt;br&gt;
&lt;br&gt;
************************************&lt;br&gt;
&lt;br&gt;
public class ReadFileClass {&lt;br&gt;
.................&lt;br&gt;
..................&lt;br&gt;
        Map&amp;lt;String, StringBuilder&amp;gt; fileContentMap = new HashMap&amp;lt;String,&lt;br&gt;
StringBuilder&amp;gt;();&lt;br&gt;
.................&lt;br&gt;
.................&lt;br&gt;
&lt;br&gt;
        public Map&amp;lt;String, StringBuilder&amp;gt; getFileContentMap() {&lt;br&gt;
                return fileContentMap;&lt;br&gt;
        }&lt;br&gt;
&lt;br&gt;
..................&lt;br&gt;
..................&lt;br&gt;
&lt;br&gt;
//Logic to store data in HashMap&lt;br&gt;
                if (aFile.length &amp;gt; 0) {&lt;br&gt;
                        StringBuilder contents = null;&lt;br&gt;
                        fileContentMap.clear();&lt;br&gt;
                        for (int i = 0; i &amp;lt; aFile.length; i++) {&lt;br&gt;
                                if (aFile&lt;br&gt;
.isFile()) {&lt;br&gt;
                                        try {&lt;br&gt;
                                                contents = new StringBuilder();&lt;br&gt;
                                                BufferedReader input = new BufferedReader(&lt;br&gt;
                                                                new FileReader(aFile&lt;br&gt;
));&lt;br&gt;
                                                try {&lt;br&gt;
                                                        String line = &amp;quot;&amp;quot;; // not declared within while&lt;br&gt;
                                                                                                // loop&lt;br&gt;
&lt;br&gt;
                                                        while ((line = input.readLine()) != null) {&lt;br&gt;
                                                                contents.append(line);&lt;br&gt;
                                                                contents.append(System&lt;br&gt;
                                                                                .getProperty(&amp;quot;line.separator&amp;quot;));&lt;br&gt;
                                                        }&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
                                                        fileContentMap.put(aFile&lt;br&gt;
.getName(),contents);&lt;br&gt;
                                                } finally {&lt;br&gt;
                                                        input.close();&lt;br&gt;
                                                }&lt;br&gt;
&lt;br&gt;
                                        } catch (IOException ex) {&lt;br&gt;
                                                System.out.println(&amp;quot;IOExcpetion occured&amp;quot;);&lt;br&gt;
                                                ex.printStackTrace();&lt;br&gt;
                                                return &amp;quot;error&amp;quot;;&lt;br&gt;
                                        }&lt;br&gt;
                                }&lt;br&gt;
&lt;br&gt;
                        }&lt;br&gt;
&lt;br&gt;
                }&lt;br&gt;
&lt;br&gt;
.................&lt;br&gt;
&lt;br&gt;
}&lt;br&gt;
&lt;br&gt;
*********************************&lt;br&gt;
I think I need to tell you what I am going to do with this HashMap.&lt;br&gt;
&lt;br&gt;
I am planning to create a dynamic tabbed pane.&lt;br&gt;
It will have number of tabs as equal to number of files. Each tab lable will&lt;br&gt;
be the name of the file. And inside that tab i will display the&lt;br&gt;
corresponding file.&lt;br&gt;
&lt;br&gt;
I think it will help you to think in that direction.&lt;br&gt;
&lt;br&gt;
I need a way to access that hashmap in my facelet.&lt;br&gt;
&lt;br&gt;
Can someone guide me properly for doing it?&lt;br&gt;
&lt;br&gt;
Presently I am trying to access HashMap in this way:&lt;br&gt;
&lt;br&gt;
                &amp;lt;rich:tabPanel id=&amp;quot;myTabs&amp;quot; switchType=&amp;quot;client&amp;quot;&amp;gt;&lt;br&gt;
                        &amp;lt;c:forEach items=&amp;quot;#{readFile.getFileContentMap}&amp;quot; var=&amp;quot;x&amp;quot;&amp;gt;&lt;br&gt;
                                &amp;lt;rich:tab label=&amp;quot;#{&lt;a href=&quot;http://x.name&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;x.name&lt;/a&gt;}&amp;quot;&amp;gt;&lt;br&gt;
                                &amp;lt;/rich:tab&amp;gt;&lt;br&gt;
                        &amp;lt;/c:forEach&amp;gt;&lt;br&gt;
                &amp;lt;/rich:tabPanel&amp;gt;&lt;br&gt;
&lt;br&gt;
But I am getting exception as:&lt;br&gt;
Nov 19, 2009 4:37:19 PM com.sun.facelets.FaceletViewHandler&lt;br&gt;
handleRenderException&lt;br&gt;
SEVERE: Error Rendering View[/logDisplay.xhtml]&lt;br&gt;
javax.el.ELException: /logDisplay.xhtml: Property &amp;#39;getFileContentMap&amp;#39; not&lt;br&gt;
found on type com.cts.ReadFileClass&lt;br&gt;
        at&lt;br&gt;
com.sun.facelets.compiler.AttributeInstruction.write(AttributeInstruction.java:53)&lt;br&gt;
        at&lt;br&gt;
com.sun.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java:39)&lt;br&gt;
        at org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:280)&lt;br&gt;
        at&lt;br&gt;
org.ajax4jsf.renderkit.RendererBase.renderChildren(RendererBase.java:262)&lt;br&gt;
        at&lt;br&gt;
org.richfaces.renderkit.html.TabPanelRenderer.doEncodeChildren(TabPanelRenderer.java:266)&lt;br&gt;
        at&lt;br&gt;
org.richfaces.renderkit.html.TabPanelRenderer.doEncodeChildren(TabPanelRenderer.java:261)&lt;br&gt;
        at&lt;br&gt;
org.ajax4jsf.renderkit.RendererBase.encodeChildren(RendererBase.java:121)&lt;br&gt;
        at&lt;br&gt;
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:809)&lt;br&gt;
        at javax.faces.component.UIComponent.encodeAll(UIComponent.java:886)&lt;br&gt;
        at javax.faces.render.Renderer.encodeChildren(Renderer.java:137)&lt;br&gt;
        at&lt;br&gt;
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:809)&lt;br&gt;
        at javax.faces.component.UIComponent.encodeAll(UIComponent.java:886)&lt;br&gt;
        at javax.faces.component.UIComponent.encodeAll(UIComponent.java:892)&lt;br&gt;
        at&lt;br&gt;
com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:592)&lt;br&gt;
        at&lt;br&gt;
org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)&lt;br&gt;
        at&lt;br&gt;
org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:216)&lt;br&gt;
        at&lt;br&gt;
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)&lt;br&gt;
        at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)&lt;br&gt;
        at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)&lt;br&gt;
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)&lt;br&gt;
        at&lt;br&gt;
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)&lt;br&gt;
        at&lt;br&gt;
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)&lt;br&gt;
        at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)&lt;br&gt;
        at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)&lt;br&gt;
        at&lt;br&gt;
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)&lt;br&gt;
        at&lt;br&gt;
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)&lt;br&gt;
        at&lt;br&gt;
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)&lt;br&gt;
        at&lt;br&gt;
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)&lt;br&gt;
        at&lt;br&gt;
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)&lt;br&gt;
        at&lt;br&gt;
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)&lt;br&gt;
        at&lt;br&gt;
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)&lt;br&gt;
        at&lt;br&gt;
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)&lt;br&gt;
        at&lt;br&gt;
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)&lt;br&gt;
        at&lt;br&gt;
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)&lt;br&gt;
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)&lt;br&gt;
        at java.lang.Thread.run(Unknown Source)&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Whats wrong here?&lt;br&gt;
&lt;font color=&quot;#888888&quot;&gt;--&lt;br&gt;
View this message in context: &lt;a href=&quot;http://old.nabble.com/Need-help-with-using-HashMap-in-facelets-tp26421286p26421286.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/Need-help-with-using-HashMap-in-facelets-tp26421286p26421286.html&lt;/a&gt;&lt;br&gt;

Sent from the &lt;a href=&quot;http://java.net&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;java.net&lt;/a&gt; - facelets users mailing list archive at Nabble.com.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
---------------------------------------------------------------------&lt;br&gt;
To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26425447&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;&lt;br&gt;
For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26425447&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/java.net---facelets-users-f13481.html&quot; embed=&quot;fixTarget[13481]&quot; target=&quot;_top&quot; &gt;java.net - facelets users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Need-help-with-using-HashMap-in-facelets-tp26421286p26425447.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26421286</id>
	<title>Need help with using HashMap in facelets</title>
	<published>2009-11-19T03:21:20Z</published>
	<updated>2009-11-19T03:21:20Z</updated>
	<author>
		<name>beginner_prithvi</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;I am a newbie and learning facelets and JSF. I am writing a small application which will read files from a specific folder and will display each file in separate tab in page.
&lt;br&gt;&lt;br&gt;Presently I am saving filenames as a key in a hashmap and corresponding file contents I am saving as value for that key. For saving filecontents in managed bean, I am using StringBuilder. So the scenario is:
&lt;br&gt;filename is a key in a hash map and filecontent is a StringBuilder object saved as value for that key.
&lt;br&gt;&lt;br&gt;Below is the code for the same:
&lt;br&gt;Note: Here aFile is a file object array which holds references to the files in the specific folder. fileContentMap is a HashMap.
&lt;br&gt;&lt;br&gt;************************************
&lt;br&gt;&lt;br&gt;public class ReadFileClass {
&lt;br&gt;.................
&lt;br&gt;..................
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Map&amp;lt;String, StringBuilder&amp;gt; fileContentMap = new HashMap&amp;lt;String, StringBuilder&amp;gt;();
&lt;br&gt;.................
&lt;br&gt;.................
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public Map&amp;lt;String, StringBuilder&amp;gt; getFileContentMap() {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return fileContentMap;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;..................
&lt;br&gt;..................
&lt;br&gt;&lt;br&gt;//Logic to store data in HashMap
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (aFile.length &amp;gt; 0) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; StringBuilder contents = null;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fileContentMap.clear();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; for (int i = 0; i &amp;lt; aFile.length; i++) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (aFile
&lt;br&gt;.isFile()) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; try {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; contents = new StringBuilder();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; BufferedReader input = new BufferedReader(
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; new FileReader(aFile
&lt;br&gt;));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; try {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String line = &amp;quot;&amp;quot;; // not declared within while
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // loop
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; while ((line = input.readLine()) != null) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; contents.append(line);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; contents.append(System
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .getProperty(&amp;quot;line.separator&amp;quot;));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fileContentMap.put(aFile
&lt;br&gt;.getName(),contents);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } finally {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; input.close();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } catch (IOException ex) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println(&amp;quot;IOExcpetion occured&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ex.printStackTrace();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return &amp;quot;error&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;.................
&lt;br&gt;&lt;br&gt;}
&lt;br&gt;&lt;br&gt;*********************************
&lt;br&gt;I think I need to tell you what I am going to do with this HashMap.
&lt;br&gt;&lt;br&gt;I am planning to create a dynamic tabbed pane.
&lt;br&gt;It will have number of tabs as equal to number of files. Each tab lable will be the name of the file. And inside that tab i will display the corresponding file.
&lt;br&gt;&lt;br&gt;I think it will help you to think in that direction.
&lt;br&gt;&lt;br&gt;I need a way to access that hashmap in my facelet.
&lt;br&gt;&lt;br&gt;Can someone guide me properly for doing it?
&lt;br&gt;&lt;br&gt;Presently I am trying to access HashMap in this way:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;rich:tabPanel id=&amp;quot;myTabs&amp;quot; switchType=&amp;quot;client&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;c:forEach items=&amp;quot;#{readFile.getFileContentMap}&amp;quot; var=&amp;quot;x&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;rich:tab label=&amp;quot;#{x.name}&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/rich:tab&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/c:forEach&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/rich:tabPanel&amp;gt;
&lt;br&gt;&lt;br&gt;But I am getting exception as:
&lt;br&gt;Nov 19, 2009 4:37:19 PM com.sun.facelets.FaceletViewHandler handleRenderException
&lt;br&gt;SEVERE: Error Rendering View[/logDisplay.xhtml]
&lt;br&gt;javax.el.ELException: /logDisplay.xhtml: Property 'getFileContentMap' not found on type com.cts.ReadFileClass
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.sun.facelets.compiler.AttributeInstruction.write(AttributeInstruction.java:53)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.sun.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java:39)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:280)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.ajax4jsf.renderkit.RendererBase.renderChildren(RendererBase.java:262)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.richfaces.renderkit.html.TabPanelRenderer.doEncodeChildren(TabPanelRenderer.java:266)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.richfaces.renderkit.html.TabPanelRenderer.doEncodeChildren(TabPanelRenderer.java:261)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.ajax4jsf.renderkit.RendererBase.encodeChildren(RendererBase.java:121)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:809)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at javax.faces.component.UIComponent.encodeAll(UIComponent.java:886)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at javax.faces.render.Renderer.encodeChildren(Renderer.java:137)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:809)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at javax.faces.component.UIComponent.encodeAll(UIComponent.java:886)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at javax.faces.component.UIComponent.encodeAll(UIComponent.java:892)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:592)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:216)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.lang.Thread.run(Unknown Source)
&lt;br&gt;&lt;br&gt;&lt;br&gt;Whats wrong here?&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/java.net---facelets-users-f13481.html&quot; embed=&quot;fixTarget[13481]&quot; target=&quot;_top&quot; &gt;java.net - facelets users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Need-help-with-using-HashMap-in-facelets-tp26421286p26421286.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26395660</id>
	<title>[Issue 347]  TagValueExpression.equals does not work properly</title>
	<published>2009-11-17T11:07:20Z</published>
	<updated>2009-11-17T11:07:20Z</updated>
	<author>
		<name>igor_ti</name>
	</author>
	<content type="html">&lt;a href=&quot;https://facelets.dev.java.net/issues/show_bug.cgi?id=347&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://facelets.dev.java.net/issues/show_bug.cgi?id=347&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------- Additional comments from &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26395660&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;igor_ti@...&lt;/a&gt; Tue Nov 17 19:07:19 +0000 2009 -------
&lt;br&gt;Today I reviewed this issue and realized that I posted the current facelets
&lt;br&gt;source code incorrectly (with the fix applied), then follow down the source of
&lt;br&gt;the current class TagValueExpression that makes the comparison unfair manner.
&lt;br&gt;&lt;br&gt;public boolean equals(Object obj) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return this.orig.equals(obj);
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;This method remains the same on the current 1.1.15 draft release.
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26395660&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;issues-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26395660&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;issues-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/java.net---facelets-issues-f13480.html&quot; embed=&quot;fixTarget[13480]&quot; target=&quot;_top&quot; &gt;java.net - facelets issues&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Issue-347--New---TagValueExpression.equals-does-not-work-properly-tp22709767p26395660.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26315919</id>
	<title>[Issue 360]  c:forEach: duplicated ID when component removed and then added back</title>
	<published>2009-11-12T01:44:28Z</published>
	<updated>2009-11-12T01:44:28Z</updated>
	<author>
		<name>ishaikovsky</name>
	</author>
	<content type="html">&lt;a href=&quot;https://facelets.dev.java.net/issues/show_bug.cgi?id=360&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://facelets.dev.java.net/issues/show_bug.cgi?id=360&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;User ishaikovsky changed the following:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; What &amp;nbsp; &amp;nbsp;|Old value &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |New value
&lt;br&gt;================================================================================
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; CC|'nick_belaevski' &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|'lfryc,nick_belaevski'
&lt;br&gt;--------------------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------- Additional comments from &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26315919&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ishaikovsky@...&lt;/a&gt; Thu Nov 12 09:44:27 +0000 2009 -------
&lt;br&gt;RF QE engineer added to CC.
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26315919&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;issues-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26315919&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;issues-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/java.net---facelets-issues-f13480.html&quot; embed=&quot;fixTarget[13480]&quot; target=&quot;_top&quot; &gt;java.net - facelets issues&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Issue-360--New---c%3AforEach%3A-duplicated-ID-when-component-removed-and-then-added-back-tp26197665p26315919.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26268605</id>
	<title>[Issue 361] New - 321 bug fix has potential problems. Better fix suggested here.</title>
	<published>2009-11-09T07:47:01Z</published>
	<updated>2009-11-09T07:47:01Z</updated>
	<author>
		<name>plaudit</name>
	</author>
	<content type="html">&lt;a href=&quot;https://facelets.dev.java.net/issues/show_bug.cgi?id=361&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://facelets.dev.java.net/issues/show_bug.cgi?id=361&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue #|361
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Summary|321 bug fix has potential problems. Better fix suggest
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |ed here.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Component|facelets
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Version|ALL
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Platform|All
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; OS/Version|All
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL|&lt;a href=&quot;https://facelets.dev.java.net/issues/show_bug.cgi?id=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://facelets.dev.java.net/issues/show_bug.cgi?id=3&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |21
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Status|NEW
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Status whiteboard|
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Keywords|
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Resolution|
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue type|DEFECT
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Priority|P3
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Subcomponent|impl
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assigned to|issues@facelets
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reported by|plaudit
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------- Additional comments from &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26268605&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;plaudit@...&lt;/a&gt; Mon Nov &amp;nbsp;9 15:46:59 +0000 2009 -------
&lt;br&gt;The fix on this bug is not the best option:
&lt;br&gt;&lt;a href=&quot;https://facelets.dev.java.net/issues/show_bug.cgi?id=321&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://facelets.dev.java.net/issues/show_bug.cgi?id=321&lt;/a&gt;&lt;br&gt;&lt;br&gt;The reasons this is not the best is:
&lt;br&gt;- Garbage collection will constantly clear the weakhashmap since a String is
&lt;br&gt;used as the key.
&lt;br&gt;- If facelets is shared between multiple webapps (ignoring my first point) and
&lt;br&gt;when you redploy a webapp, previous metadatarulsets will remain in the map
&lt;br&gt;causing a small memory leak.
&lt;br&gt;&lt;br&gt;I believe a better solution is to use the actual Class as the key. This is the
&lt;br&gt;same approach that java.beans.Introspector takes.
&lt;br&gt;&lt;br&gt;In addition to fixing the originally 321 bug and solving the above concerns it
&lt;br&gt;saves memory since we aren't creating another object to be used as the key -- we
&lt;br&gt;are using something already in memory.
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26268605&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;issues-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26268605&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;issues-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/java.net---facelets-issues-f13480.html&quot; embed=&quot;fixTarget[13480]&quot; target=&quot;_top&quot; &gt;java.net - facelets issues&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Issue-361--New---321-bug-fix-has-potential-problems.-Better-fix-suggested-here.-tp26268605p26268605.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26197715</id>
	<title>[Issue 360]  c:forEach: duplicated ID when component removed and then added back</title>
	<published>2009-11-04T06:57:01Z</published>
	<updated>2009-11-04T06:57:01Z</updated>
	<author>
		<name>ishaikovsky</name>
	</author>
	<content type="html">&lt;a href=&quot;https://facelets.dev.java.net/issues/show_bug.cgi?id=360&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://facelets.dev.java.net/issues/show_bug.cgi?id=360&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------- Additional comments from &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26197715&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ishaikovsky@...&lt;/a&gt; Wed Nov &amp;nbsp;4 14:57:01 +0000 2009 -------
&lt;br&gt;Created an attachment (id=143)
&lt;br&gt;maven based source project
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26197715&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;issues-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26197715&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;issues-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/java.net---facelets-issues-f13480.html&quot; embed=&quot;fixTarget[13480]&quot; target=&quot;_top&quot; &gt;java.net - facelets issues&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Issue-360--New---c%3AforEach%3A-duplicated-ID-when-component-removed-and-then-added-back-tp26197665p26197715.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26197665</id>
	<title>[Issue 360] New - c:forEach: duplicated ID when component removed and then added back</title>
	<published>2009-11-04T06:53:28Z</published>
	<updated>2009-11-04T06:53:28Z</updated>
	<author>
		<name>ishaikovsky</name>
	</author>
	<content type="html">&lt;a href=&quot;https://facelets.dev.java.net/issues/show_bug.cgi?id=360&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://facelets.dev.java.net/issues/show_bug.cgi?id=360&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue #|360
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Summary|c:forEach: duplicated ID when component removed and th
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |en added back
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Component|facelets
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Version|1.1.14
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Platform|All
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; OS/Version|All
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL|
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Status|NEW
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Status whiteboard|
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Keywords|
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Resolution|
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue type|DEFECT
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Priority|P3
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Subcomponent|impl
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assigned to|issues@facelets
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reported by|ishaikovsky
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------- Additional comments from &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26197665&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ishaikovsky@...&lt;/a&gt; Wed Nov &amp;nbsp;4 14:53:27 +0000 2009 -------
&lt;br&gt;The issue originally not related to id's I just simplified https://
&lt;br&gt;jira.jboss.org/jira/browse/RF-7962 case.
&lt;br&gt;&lt;br&gt;Test case war attached.
&lt;br&gt;&lt;br&gt;Related Code
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;h:form&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;h:inputText value=&amp;quot;#{bean.number}&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;h:commandButton value=&amp;quot;Add&amp;quot; action=&amp;quot;#{bean.add}&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;h:commandButton value=&amp;quot;Remove&amp;quot; action=&amp;quot;#{bean.remove}&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/h:form&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;h:panelGrid&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;c:forEach items=&amp;quot;#{bean.tabs}&amp;quot; var=&amp;quot;number&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;h:outputText id=&amp;quot;tab#{number}&amp;quot; value=&amp;quot;#{number}&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/c:forEach&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/h:panelGrid&amp;gt;
&lt;br&gt;Bean contains ArrayList of Strings. We removing String &amp;quot;2&amp;quot;. And getting &amp;quot;1&amp;quot; and 
&lt;br&gt;&amp;quot;3&amp;quot; fine rendered. BUT: &amp;lt;ui:debug/&amp;gt; shows us that there are still three 
&lt;br&gt;outputText components in tree. And after we trying to add &amp;quot;2&amp;quot; back - duplicated 
&lt;br&gt;id exception risen.
&lt;br&gt;If after removing but before adding we will refresh the page - this issue will 
&lt;br&gt;not appears. Also the problem not reproduced if we removing last imtem from 
&lt;br&gt;list instead of second.
&lt;br&gt;&lt;br&gt;We investigated the case and found out that seems when forEach handler invoked 
&lt;br&gt;on build view - component handler doesn't process last component because of the 
&lt;br&gt;collection new length.
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26197665&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;issues-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26197665&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;issues-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/java.net---facelets-issues-f13480.html&quot; embed=&quot;fixTarget[13480]&quot; target=&quot;_top&quot; &gt;java.net - facelets issues&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Issue-360--New---c%3AforEach%3A-duplicated-ID-when-component-removed-and-then-added-back-tp26197665p26197665.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26192611</id>
	<title>IE blocks Cookies in iFrame</title>
	<published>2009-11-04T00:28:51Z</published>
	<updated>2009-11-04T00:28:51Z</updated>
	<author>
		<name>taiba</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;I made an application which is using the technologies like myfaces, richfaces and facelets.
&lt;br&gt;I have to implement a SSO for another website in &amp;lt;iframe&amp;gt; and for that matter I added the user information in the src of &amp;lt;iframe&amp;gt; in queryString. Everything works fine in Firefox and Chrome but when I tested in IE then its not letting it login. After searching I came to know that IE blocks the third party cookies. As I am accessing another website which is deployed on another server, IE takes the cookies from this site as third party cookies. After googling, I came across the p3p header thing, which needs to be added in each response like
&lt;br&gt;&lt;br&gt;HttpServletResponse resp = (HttpServletResponse) response;
&lt;br&gt;resp.addHeader(“p3p”,“CP=\”IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT\”“);
&lt;br&gt;&lt;br&gt;but after adding this with each response, still IE is blocking the cookies and didnt let the &amp;lt;iframe&amp;gt; src to complete the login request. Can anybody tell me any solution how to enable the cookies of &amp;lt;iframe&amp;gt; in IE?
&lt;br&gt;I will really greatful. 
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/java.net---facelets-users-f13481.html&quot; embed=&quot;fixTarget[13481]&quot; target=&quot;_top&quot; &gt;java.net - facelets users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/IE-blocks-Cookies-in-iFrame-tp26192611p26192611.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26189439</id>
	<title>[Issue 359] New - Error in initialization sequence</title>
	<published>2009-11-03T17:00:25Z</published>
	<updated>2009-11-03T17:00:25Z</updated>
	<author>
		<name>kdeanddd</name>
	</author>
	<content type="html">&lt;a href=&quot;https://facelets.dev.java.net/issues/show_bug.cgi?id=359&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://facelets.dev.java.net/issues/show_bug.cgi?id=359&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue #|359
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Summary|Error in initialization sequence
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Component|facelets
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Version|1.1.14
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Platform|All
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; OS/Version|All
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL|
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Status|NEW
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Status whiteboard|
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Keywords|
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Resolution|
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue type|DEFECT
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Priority|P3
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Subcomponent|impl
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assigned to|issues@facelets
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reported by|kdeanddd
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------- Additional comments from &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26189439&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kdeanddd@...&lt;/a&gt; Wed Nov &amp;nbsp;4 01:00:24 +0000 2009 -------
&lt;br&gt;In com.sun.facelets.FaceletViewHandler.restoreView(), lines 315-321:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (!this.buildBeforeRestore || !handledByFacelets(viewId)) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return this.parent.restoreView(context, viewId);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (this.faceletFactory == null) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.initialize(context);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;The buildBeforeRestoreProperty is dependent on proper initialization. &amp;nbsp;The 
&lt;br&gt;sequence of these lines should be:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (this.faceletFactory == null) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.initialize(context);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (!this.buildBeforeRestore || !handledByFacelets(viewId)) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return this.parent.restoreView(context, viewId);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26189439&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;issues-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26189439&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;issues-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/java.net---facelets-issues-f13480.html&quot; embed=&quot;fixTarget[13480]&quot; target=&quot;_top&quot; &gt;java.net - facelets issues&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Issue-359--New---Error-in-initialization-sequence-tp26189439p26189439.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26174725</id>
	<title>Is it possible to get Facelets 1.1.14 uploaded to Maven Central?</title>
	<published>2009-11-02T20:19:14Z</published>
	<updated>2009-11-02T20:19:14Z</updated>
	<author>
		<name>Matt Raible-3</name>
	</author>
	<content type="html">Hello Facelets developers,
&lt;br&gt;&lt;br&gt;Is it possible for someone to approve the following request to get the
&lt;br&gt;latest Facelets release uploaded to Maven Central?
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://jira.codehaus.org/browse/MAVENUPLOAD-2649&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/browse/MAVENUPLOAD-2649&lt;/a&gt;&lt;br&gt;&lt;br&gt;I believe if you add a comment approving this, that should be sufficient.
&lt;br&gt;&lt;br&gt;Thanks!
&lt;br&gt;&lt;br&gt;Matt
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26174725&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26174725&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/java.net---facelets-dev-f13478.html&quot; embed=&quot;fixTarget[13478]&quot; target=&quot;_top&quot; &gt;java.net - facelets dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Is-it-possible-to-get-Facelets-1.1.14-uploaded-to-Maven-Central--tp26174725p26174725.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26107937</id>
	<title>[Issue 358] New - Custom component with children - Child component added  dynamically at end appears as first child when rendered &lt;full source code included&gt;</title>
	<published>2009-10-29T00:26:01Z</published>
	<updated>2009-10-29T00:26:01Z</updated>
	<author>
		<name>kpkeerthi</name>
	</author>
	<content type="html">&lt;a href=&quot;https://facelets.dev.java.net/issues/show_bug.cgi?id=358&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://facelets.dev.java.net/issues/show_bug.cgi?id=358&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue #|358
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Summary|Custom component with children - Child component added
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp;dynamically at end appears as first child when rende
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |red &amp;lt;full source code included&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Component|facelets
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Version|ALL
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Platform|All
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; OS/Version|All
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL|
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Status|NEW
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Status whiteboard|
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Keywords|
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Resolution|
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue type|DEFECT
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Priority|P1
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Subcomponent|jsf
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assigned to|issues@facelets
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reported by|kpkeerthi
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------- Additional comments from &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26107937&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kpkeerthi@...&lt;/a&gt; Thu Oct 29 07:26:00 +0000 2009 -------
&lt;br&gt;Here is a highly simplified case of the problem (source included):
&lt;br&gt;&lt;br&gt;The custom component 'repeat' will simply iterate through its children and
&lt;br&gt;renders them. 
&lt;br&gt;&lt;br&gt;Usage:
&lt;br&gt;&lt;br&gt;&amp;lt;custom:repeat binding=&amp;quot;#{testBean.htmlRepeat}&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;h:outputText value=&amp;quot;Child-1&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;h:outputText value=&amp;quot;Child-2&amp;quot;/&amp;gt;
&lt;br&gt;&amp;lt;/custom:repeat&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;Below is how the component renders:
&lt;br&gt;&lt;br&gt;[begin - Child-1Child-2 - end] 
&lt;br&gt;&lt;br&gt;&lt;br&gt;BackingBean:
&lt;br&gt;&lt;br&gt;The repeat component is bounded to a backing bean like so:
&lt;br&gt;&lt;br&gt;public class TestBean {
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; private HtmlRepeat htmlRepeat;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public HtmlRepeat getHtmlRepeat() {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return null;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public void setHtmlRepeat(HtmlRepeat htmlRepeat) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.htmlRepeat = htmlRepeat;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // -- action method
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public String formSubmitted() {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println(&amp;quot;formSubmitted()&amp;quot;);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Application application = FacesContext.getCurrentInstance().getApplication();
&lt;br&gt;&lt;br&gt;// Create a new child and add it to the parent
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; HtmlOutputText child = (HtmlOutputText)
&lt;br&gt;application.createComponent(HtmlOutputText.COMPONENT_TYPE);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; child.setValue(&amp;quot;Child-3&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; htmlRepeat.getChildren().add(child);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return null;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;and the form is submitted using &amp;lt;h:commandButton value=&amp;quot;Submit&amp;quot;
&lt;br&gt;action=&amp;quot;#{testBean.formSubmitted}&amp;quot;/&amp;gt;
&lt;br&gt;&lt;br&gt;The formSubmitted() method simply adds a child to htmlRepeat using
&lt;br&gt;htmlRepeat.getChildren().add(child). Note that the child is added as the last
&lt;br&gt;child to the children list. But when the response is rendered, the newly added
&lt;br&gt;child appears at the beginning.
&lt;br&gt;&lt;br&gt;Expected Output:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [begin - Child-1Child-2Child-3 - end] 
&lt;br&gt;&lt;br&gt;Actual Output:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [begin - Child-3Child-1Child-2 - end] 
&lt;br&gt;&lt;br&gt;Attachments:
&lt;br&gt;&lt;br&gt;1. jsf-repeat.jar - Deployable JSF component packaged as jar (contains .java
&lt;br&gt;files, faces-config.xml and facelet taglib).
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Download &amp;gt;&amp;gt; &lt;a href=&quot;http://keerthi.linux.googlepages.com/jsf-repeat.jar&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://keerthi.linux.googlepages.com/jsf-repeat.jar&lt;/a&gt;&lt;br&gt;&lt;br&gt;2. TestRepeat.xhtml - Facelet view using the &amp;lt;netx:repeat/&amp;gt; custom component
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Download &amp;gt;&amp;gt; &lt;a href=&quot;http://keerthi.linux.googlepages.com/TestRepeat.xhtml&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://keerthi.linux.googlepages.com/TestRepeat.xhtml&lt;/a&gt;&amp;nbsp;(Use Save
&lt;br&gt;target as, otherwise you will get only a blank page)
&lt;br&gt;&lt;br&gt;Note: Tested on myfaces1.2.6/Tomcat 6.20/Facelets .14 &amp; .15
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26107937&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;issues-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26107937&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;issues-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/java.net---facelets-issues-f13480.html&quot; embed=&quot;fixTarget[13480]&quot; target=&quot;_top&quot; &gt;java.net - facelets issues&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Issue-358--New---Custom-component-with-children---Child-component-added--dynamically-at-end-appears-as-first-child-when-rendered-%3Cfull-source-code-included%3E-tp26107937p26107937.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26088569</id>
	<title>Re: Problem with XHTML, Facelets and Chrome</title>
	<published>2009-10-27T19:56:27Z</published>
	<updated>2009-10-27T19:56:27Z</updated>
	<author>
		<name>Andrew Robinson-5</name>
	</author>
	<content type="html">&amp;lt;h:outputText value=&amp;quot;Endere&amp;#231;o&amp;quot; escape=&amp;quot;false&amp;quot; /&amp;gt;
&lt;br&gt;&lt;br&gt;2009/10/27 João Bosco Monteiro &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26088569&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;joaobmonteiro@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt; &amp;lt;h:outputText value=&amp;quot;Endere&amp;#231;o&amp;quot; /&amp;gt;
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26088569&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26088569&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/java.net---facelets-users-f13481.html&quot; embed=&quot;fixTarget[13481]&quot; target=&quot;_top&quot; &gt;java.net - facelets users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problem-with-XHTML%2C-Facelets-and-Chrome-tp26088529p26088569.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26088529</id>
	<title>Problem with XHTML, Facelets and Chrome</title>
	<published>2009-10-27T19:50:08Z</published>
	<updated>2009-10-27T19:50:08Z</updated>
	<author>
		<name>Joao Monteiro</name>
	</author>
	<content type="html">&lt;div&gt;Hi guys,&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;I am facing an issue while working with XHTML, Facelets, Chrome and ISO-8859-1. When I have a special character like &amp;#39;ç&amp;#39; it is rendered to &lt;span style=&quot;WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: medium &amp;#39;Times New Roman&amp;#39;; WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px&quot; class=&quot;Apple-style-span&quot;&gt;&lt;span style=&quot;FONT-FAMILY: monospace; WHITE-SPACE: pre; FONT-SIZE: 12px&quot; class=&quot;Apple-style-span&quot;&gt;&amp;#39;&amp;amp;ccedil;&amp;#39; and because of that Chrome (and other browsers that uses webkit&amp;#39;s engine like Safari) complains about&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;

&lt;div&gt;&lt;span style=&quot;WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: medium &amp;#39;Times New Roman&amp;#39;; WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px&quot; class=&quot;Apple-style-span&quot;&gt;&lt;span style=&quot;FONT-FAMILY: monospace; WHITE-SPACE: pre; FONT-SIZE: 12px&quot; class=&quot;Apple-style-span&quot;&gt;&amp;quot;&lt;span style=&quot;WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: medium &amp;#39;Times New Roman&amp;#39;; WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px&quot; class=&quot;Apple-style-span&quot;&gt;&lt;span style=&quot;FONT-FAMILY: monospace; WHITE-SPACE: pre; FONT-SIZE: 12px&quot; class=&quot;Apple-style-span&quot;&gt;Entity &amp;#39;ccedil&amp;#39; not defined&amp;quot;. After some &amp;quot;googling&amp;quot; I found that occurs because Webkit is very strict about XML Entities. &amp;#39;&amp;amp;ccedil;&amp;#39; should be coded as &amp;#39;&amp;amp;#231;&amp;#39;. So i have changed every &amp;#39;ç&amp;#39; to &amp;#39;&amp;amp;#231;&amp;#39; in my xhtml files but when &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;

&lt;div&gt;&lt;span style=&quot;WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: medium &amp;#39;Times New Roman&amp;#39;; WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px&quot; class=&quot;Apple-style-span&quot;&gt;&lt;span style=&quot;FONT-FAMILY: monospace; WHITE-SPACE: pre; FONT-SIZE: 12px&quot; class=&quot;Apple-style-span&quot;&gt;&lt;span style=&quot;WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: medium &amp;#39;Times New Roman&amp;#39;; WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px&quot; class=&quot;Apple-style-span&quot;&gt;&lt;span style=&quot;FONT-FAMILY: monospace; WHITE-SPACE: pre; FONT-SIZE: 12px&quot; class=&quot;Apple-style-span&quot;&gt;I run it &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: medium &amp;#39;Times New Roman&amp;#39;; WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px&quot; class=&quot;Apple-style-span&quot;&gt;&lt;span style=&quot;FONT-FAMILY: monospace; WHITE-SPACE: pre; FONT-SIZE: 12px&quot; class=&quot;Apple-style-span&quot;&gt;&lt;span style=&quot;WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: medium &amp;#39;Times New Roman&amp;#39;; WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px&quot; class=&quot;Apple-style-span&quot;&gt;&lt;span style=&quot;FONT-FAMILY: monospace; WHITE-SPACE: pre; FONT-SIZE: 12px&quot; class=&quot;Apple-style-span&quot;&gt;on Tomcat, &amp;#39;&amp;amp;#231;&amp;#39; is rendered back to &amp;#39;&amp;amp;ccedil;&amp;#39;. If I open the same xhtml directly pointing Chrome to &lt;a href=&quot;file:///somefile.xhtml&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;file:///somefile.xhtml&lt;/a&gt; it is parsed without erros on encoding.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;

&lt;div&gt;&lt;span style=&quot;WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: medium &amp;#39;Times New Roman&amp;#39;; WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px&quot; class=&quot;Apple-style-span&quot;&gt;&lt;span style=&quot;FONT-FAMILY: monospace; WHITE-SPACE: pre; FONT-SIZE: 12px&quot; class=&quot;Apple-style-span&quot;&gt;&lt;span style=&quot;WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: medium &amp;#39;Times New Roman&amp;#39;; WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px&quot; class=&quot;Apple-style-span&quot;&gt;&lt;span style=&quot;FONT-FAMILY: monospace; WHITE-SPACE: pre; FONT-SIZE: 12px&quot; class=&quot;Apple-style-span&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/div&gt;

&lt;div&gt;&lt;span style=&quot;WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: medium &amp;#39;Times New Roman&amp;#39;; WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px&quot; class=&quot;Apple-style-span&quot;&gt;&lt;span style=&quot;FONT-FAMILY: monospace; WHITE-SPACE: pre; FONT-SIZE: 12px&quot; class=&quot;Apple-style-span&quot;&gt;&lt;span style=&quot;WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: medium &amp;#39;Times New Roman&amp;#39;; WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px&quot; class=&quot;Apple-style-span&quot;&gt;&lt;span style=&quot;FONT-FAMILY: monospace; WHITE-SPACE: pre; FONT-SIZE: 12px&quot; class=&quot;Apple-style-span&quot;&gt;This make me believe that Facelet is changing my character codes.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;

&lt;div&gt;&lt;span style=&quot;WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: medium &amp;#39;Times New Roman&amp;#39;; WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px&quot; class=&quot;Apple-style-span&quot;&gt;&lt;span style=&quot;FONT-FAMILY: monospace; WHITE-SPACE: pre; FONT-SIZE: 12px&quot; class=&quot;Apple-style-span&quot;&gt;&lt;span style=&quot;WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: medium &amp;#39;Times New Roman&amp;#39;; WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px&quot; class=&quot;Apple-style-span&quot;&gt;&lt;span style=&quot;FONT-FAMILY: monospace; WHITE-SPACE: pre; FONT-SIZE: 12px&quot; class=&quot;Apple-style-span&quot;&gt;Is it right?  How can I solve this problem? I really want to understand this!&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;

&lt;div&gt;&lt;span style=&quot;WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: medium &amp;#39;Times New Roman&amp;#39;; WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px&quot; class=&quot;Apple-style-span&quot;&gt;&lt;span style=&quot;FONT-FAMILY: monospace; WHITE-SPACE: pre; FONT-SIZE: 12px&quot; class=&quot;Apple-style-span&quot;&gt;&lt;span style=&quot;WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: medium &amp;#39;Times New Roman&amp;#39;; WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px&quot; class=&quot;Apple-style-span&quot;&gt;&lt;span style=&quot;FONT-FAMILY: monospace; WHITE-SPACE: pre; FONT-SIZE: 12px&quot; class=&quot;Apple-style-span&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/div&gt;

&lt;div&gt;&lt;span style=&quot;WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: medium &amp;#39;Times New Roman&amp;#39;; WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px&quot; class=&quot;Apple-style-span&quot;&gt;&lt;span style=&quot;FONT-FAMILY: monospace; WHITE-SPACE: pre; FONT-SIZE: 12px&quot; class=&quot;Apple-style-span&quot;&gt;&lt;span style=&quot;WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: medium &amp;#39;Times New Roman&amp;#39;; WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px&quot; class=&quot;Apple-style-span&quot;&gt;&lt;span style=&quot;FONT-FAMILY: monospace; WHITE-SPACE: pre; FONT-SIZE: 12px&quot; class=&quot;Apple-style-span&quot;&gt;Thanks!&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;

&lt;div&gt;&lt;span style=&quot;WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: medium &amp;#39;Times New Roman&amp;#39;; WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px&quot; class=&quot;Apple-style-span&quot;&gt;&lt;span style=&quot;FONT-FAMILY: monospace; WHITE-SPACE: pre; FONT-SIZE: 12px&quot; class=&quot;Apple-style-span&quot;&gt;&lt;span style=&quot;WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: medium &amp;#39;Times New Roman&amp;#39;; WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px&quot; class=&quot;Apple-style-span&quot;&gt;&lt;span style=&quot;FONT-FAMILY: monospace; WHITE-SPACE: pre; FONT-SIZE: 12px&quot; class=&quot;Apple-style-span&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/div&gt;

&lt;div&gt;&lt;span style=&quot;WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: medium &amp;#39;Times New Roman&amp;#39;; WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px&quot; class=&quot;Apple-style-span&quot;&gt;&lt;span style=&quot;FONT-FAMILY: monospace; WHITE-SPACE: pre; FONT-SIZE: 12px&quot; class=&quot;Apple-style-span&quot;&gt;&lt;span style=&quot;WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: medium &amp;#39;Times New Roman&amp;#39;; WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px&quot; class=&quot;Apple-style-span&quot;&gt;&lt;span style=&quot;FONT-FAMILY: monospace; WHITE-SPACE: pre; FONT-SIZE: 12px&quot; class=&quot;Apple-style-span&quot;&gt;My xhtml header:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;

&lt;div&gt;&lt;span style=&quot;WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: medium &amp;#39;Times New Roman&amp;#39;; WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px&quot; class=&quot;Apple-style-span&quot;&gt;&lt;span style=&quot;FONT-FAMILY: monospace; WHITE-SPACE: pre; FONT-SIZE: 12px&quot; class=&quot;Apple-style-span&quot;&gt;&lt;span style=&quot;WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: medium &amp;#39;Times New Roman&amp;#39;; WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px&quot; class=&quot;Apple-style-span&quot;&gt;&lt;span style=&quot;FONT-FAMILY: monospace; WHITE-SPACE: pre; FONT-SIZE: 12px&quot; class=&quot;Apple-style-span&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/div&gt;

&lt;div&gt;&lt;span style=&quot;WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: medium &amp;#39;Times New Roman&amp;#39;; WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px&quot; class=&quot;Apple-style-span&quot;&gt;&lt;span style=&quot;FONT-FAMILY: monospace; WHITE-SPACE: pre; FONT-SIZE: 12px&quot; class=&quot;Apple-style-span&quot;&gt;&lt;span style=&quot;WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: medium &amp;#39;Times New Roman&amp;#39;; WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px&quot; class=&quot;Apple-style-span&quot;&gt;&lt;span style=&quot;FONT-FAMILY: monospace; WHITE-SPACE: pre; FONT-SIZE: 12px&quot; class=&quot;Apple-style-span&quot;&gt;&lt;font color=&quot;#008080&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#008080&quot; size=&quot;2&quot;&gt;
&lt;p align=&quot;left&quot;&gt;&amp;lt;?&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color=&quot;#3f7f7f&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#3f7f7f&quot; size=&quot;2&quot;&gt;xml&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt; &lt;/font&gt;&lt;font color=&quot;#7f007f&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#7f007f&quot; size=&quot;2&quot;&gt;version&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt;=&lt;/font&gt;&lt;i&gt;&lt;font color=&quot;#2a00ff&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#2a00ff&quot; size=&quot;2&quot;&gt;&amp;quot;1.0&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;/i&gt;&lt;font size=&quot;2&quot;&gt; &lt;/font&gt;&lt;font color=&quot;#7f007f&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#7f007f&quot; size=&quot;2&quot;&gt;encoding&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt;=&lt;/font&gt;&lt;i&gt;&lt;font color=&quot;#2a00ff&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#2a00ff&quot; size=&quot;2&quot;&gt;&amp;quot;ISO-8859-1&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;/i&gt;&lt;font color=&quot;#008080&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#008080&quot; size=&quot;2&quot;&gt;?&amp;gt;&lt;br&gt;
&lt;/font&gt;&lt;/font&gt;&lt;font color=&quot;#008080&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#008080&quot; size=&quot;2&quot;&gt;&amp;lt;!&lt;/font&gt;&lt;/font&gt;&lt;font color=&quot;#3f7f7f&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#3f7f7f&quot; size=&quot;2&quot;&gt;DOCTYPE&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt; &lt;/font&gt;&lt;font color=&quot;#008080&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#008080&quot; size=&quot;2&quot;&gt;xhtml&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt; &lt;/font&gt;&lt;font color=&quot;#808080&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#808080&quot; size=&quot;2&quot;&gt;PUBLIC&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt; &lt;/font&gt;&lt;font color=&quot;#008080&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#008080&quot; size=&quot;2&quot;&gt;&amp;quot;-//W3C//DTD XHTML 1.0 Transitional//EN&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt; &lt;/font&gt;&lt;font color=&quot;#3f7f5f&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#3f7f5f&quot; size=&quot;2&quot;&gt;&amp;quot;&lt;a href=&quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&lt;/a&gt;&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font color=&quot;#008080&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#008080&quot; size=&quot;2&quot;&gt;&amp;gt;&lt;br&gt;
&lt;/font&gt;&lt;/font&gt;&lt;font color=&quot;#008080&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#008080&quot; size=&quot;2&quot;&gt;&amp;lt;&lt;/font&gt;&lt;/font&gt;&lt;font color=&quot;#3f7f7f&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#3f7f7f&quot; size=&quot;2&quot;&gt;ui:composition&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt; &lt;/font&gt;&lt;font color=&quot;#7f007f&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#7f007f&quot; size=&quot;2&quot;&gt;xmlns&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt;=&lt;/font&gt;&lt;i&gt;&lt;font color=&quot;#2a00ff&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#2a00ff&quot; size=&quot;2&quot;&gt;&lt;a href=&quot;http://www.w3.org/1999/xhtml&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/1999/xhtml&lt;/a&gt;&lt;br&gt;
&lt;/font&gt;&lt;/font&gt;&lt;/i&gt;&lt;font color=&quot;#7f007f&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#7f007f&quot; size=&quot;2&quot;&gt;xmlns:s&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt;=&lt;/font&gt;&lt;i&gt;&lt;font color=&quot;#2a00ff&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#2a00ff&quot; size=&quot;2&quot;&gt;&lt;a href=&quot;http://jboss.com/products/seam/taglib&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jboss.com/products/seam/taglib&lt;/a&gt;&lt;br&gt;
&lt;/font&gt;&lt;/font&gt;&lt;/i&gt;&lt;font color=&quot;#7f007f&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#7f007f&quot; size=&quot;2&quot;&gt;xmlns:ui&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt;=&lt;/font&gt;&lt;i&gt;&lt;font color=&quot;#2a00ff&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#2a00ff&quot; size=&quot;2&quot;&gt;&lt;a href=&quot;http://java.sun.com/jsf/facelets&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://java.sun.com/jsf/facelets&lt;/a&gt;&lt;br&gt;
&lt;/font&gt;&lt;/font&gt;&lt;/i&gt;&lt;font color=&quot;#7f007f&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#7f007f&quot; size=&quot;2&quot;&gt;xmlns:f&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt;=&lt;/font&gt;&lt;i&gt;&lt;font color=&quot;#2a00ff&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#2a00ff&quot; size=&quot;2&quot;&gt;&lt;a href=&quot;http://java.sun.com/jsf/core&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://java.sun.com/jsf/core&lt;/a&gt;&lt;br&gt;
&lt;/font&gt;&lt;/font&gt;&lt;/i&gt;&lt;font color=&quot;#7f007f&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#7f007f&quot; size=&quot;2&quot;&gt;xmlns:h&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt;=&lt;/font&gt;&lt;i&gt;&lt;font color=&quot;#2a00ff&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#2a00ff&quot; size=&quot;2&quot;&gt;&lt;a href=&quot;http://java.sun.com/jsf/html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://java.sun.com/jsf/html&lt;/a&gt; &lt;br&gt;
&lt;/font&gt;&lt;/font&gt;&lt;/i&gt;&lt;font color=&quot;#7f007f&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#7f007f&quot; size=&quot;2&quot;&gt;xmlns:rich&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt;=&lt;/font&gt;&lt;i&gt;&lt;font color=&quot;#2a00ff&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#2a00ff&quot; size=&quot;2&quot;&gt;&lt;a href=&quot;http://richfaces.org/rich&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://richfaces.org/rich&lt;/a&gt; &lt;br&gt;
&lt;/font&gt;&lt;/font&gt;&lt;/i&gt;&lt;font color=&quot;#7f007f&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#7f007f&quot; size=&quot;2&quot;&gt;xmlns:a4j&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt;=&lt;/font&gt;&lt;i&gt;&lt;font color=&quot;#2a00ff&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#2a00ff&quot; size=&quot;2&quot;&gt;&amp;quot;&lt;a href=&quot;http://richfaces.org/a4j&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://richfaces.org/a4j&lt;/a&gt;&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;/i&gt;&lt;font color=&quot;#008080&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#008080&quot; size=&quot;2&quot;&gt;&amp;gt;&lt;/font&gt;&lt;/font&gt;
&lt;p align=&quot;left&quot;&gt;&lt;font size=&quot;2&quot;&gt;&lt;font color=&quot;#000000&quot; size=&quot;2&quot;&gt;Short example:&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;font color=&quot;#008080&quot;&gt;&lt;font color=&quot;#008080&quot;&gt;&lt;font color=&quot;#008080&quot;&gt;&lt;font color=&quot;#008080&quot;&gt;
&lt;p&gt;&lt;font size=&quot;2&quot;&gt;&amp;lt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt;&lt;font color=&quot;#3f7f7f&quot;&gt;&lt;font color=&quot;#3f7f7f&quot;&gt;h:outputText&lt;/font&gt;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt; &lt;/font&gt;&lt;font color=&quot;#7f007f&quot;&gt;&lt;font color=&quot;#7f007f&quot;&gt;value&lt;/font&gt;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;=&lt;/font&gt;&lt;i&gt;&lt;font color=&quot;#2a00ff&quot;&gt;&lt;font color=&quot;#2a00ff&quot;&gt;&amp;quot;Endereço&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;/i&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt;&lt;font color=&quot;#000000&quot;&gt; &lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;&lt;font color=&quot;#008080&quot;&gt;/&amp;gt; or &amp;lt;&lt;font size=&quot;2&quot;&gt;&lt;font color=&quot;#3f7f7f&quot;&gt;&lt;font color=&quot;#3f7f7f&quot;&gt;h:outputText&lt;/font&gt;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt; &lt;/font&gt;&lt;font color=&quot;#7f007f&quot;&gt;&lt;font color=&quot;#7f007f&quot;&gt;value&lt;/font&gt;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#2a00ff&quot;&gt;&lt;font color=&quot;#2a00ff&quot;&gt;&lt;em&gt;&amp;quot;Endere&lt;/em&gt;&lt;span class=&quot;HTML_CHA&quot;&gt;&lt;font color=&quot;#ff0000&quot;&gt;&amp;amp;#231;&lt;/font&gt;&lt;/span&gt;&lt;em&gt;o&amp;quot;&lt;/em&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt;&lt;font color=&quot;#000000&quot;&gt; &lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;&lt;font color=&quot;#008080&quot;&gt;/&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;
&lt;p&gt;&lt;font color=&quot;#000000&quot; size=&quot;2&quot;&gt;are rendered to:&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color=&quot;#008080&quot;&gt;&lt;font color=&quot;#008080&quot; size=&quot;2&quot;&gt;Endere&lt;span class=&quot;HTML_CHA&quot;&gt;&lt;font color=&quot;#ff0000&quot;&gt;&amp;amp;ccedil;&lt;/font&gt;&lt;/span&gt;o&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color=&quot;#008080&quot;&gt;&lt;font color=&quot;#008080&quot;&gt;&lt;font color=&quot;#000000&quot; size=&quot;2&quot;&gt;and apparently it should be rendered to:&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color=&quot;#008080&quot;&gt;&lt;font color=&quot;#008080&quot;&gt;&lt;font size=&quot;2&quot;&gt;Endere&lt;span class=&quot;HTML_CHA&quot;&gt;&lt;font color=&quot;#ff0000&quot;&gt;&amp;amp;#231;&lt;/font&gt;&lt;/span&gt;o  &lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/java.net---facelets-users-f13481.html&quot; embed=&quot;fixTarget[13481]&quot; target=&quot;_top&quot; &gt;java.net - facelets users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problem-with-XHTML%2C-Facelets-and-Chrome-tp26088529p26088529.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26017994</id>
	<title>Programmatic usage of Facelets for dynamic component creation</title>
	<published>2009-10-22T15:05:19Z</published>
	<updated>2009-10-22T15:05:19Z</updated>
	<author>
		<name>Aleksei Valikov</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I am currently working on a complex JSF-based application which
&lt;br&gt;requires dynamic forms. &amp;quot;Dynamic&amp;quot; in this case means that we do not
&lt;br&gt;know in advance, how the form (or the web page) will look like, the UI
&lt;br&gt;is chosen in the runtime by the business logic.
&lt;br&gt;&lt;br&gt;I know that the topic of programmatic Facelets usage was already
&lt;br&gt;discussed a number of times, without any concrete solution. I'd like
&lt;br&gt;to present the result of my work:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://confluence.highsource.org/display/~lexi/Programmatic+usage+of+Facelets&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://confluence.highsource.org/display/~lexi/Programmatic+usage+of+Facelets&lt;/a&gt;&lt;br&gt;&lt;br&gt;I'd be grateful if someone from Facelet developers (Jacob?) would take
&lt;br&gt;a look and validate my approaches and decisions. I've solved my task,
&lt;br&gt;but it wasn't really straightforward. Am I missing something, maybe?
&lt;br&gt;&lt;br&gt;Another question is about extensibility of the current Facelet
&lt;br&gt;implementation. Would you guys object easing current final, private
&lt;br&gt;and package access to allow subclassing and overriding? This would
&lt;br&gt;ease a thing or two.
&lt;br&gt;&lt;br&gt;In any case I'll be grateful for your feedback.
&lt;br&gt;&lt;br&gt;Bye.
&lt;br&gt;/lexi
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26017994&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26017994&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/java.net---facelets-users-f13481.html&quot; embed=&quot;fixTarget[13481]&quot; target=&quot;_top&quot; &gt;java.net - facelets users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Programmatic-usage-of-Facelets-for-dynamic-component-creation-tp26017994p26017994.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25990795</id>
	<title>Re: Accessing local variables via EL in custom tag handler</title>
	<published>2009-10-21T04:31:37Z</published>
	<updated>2009-10-21T04:31:37Z</updated>
	<author>
		<name>Ignas L</name>
	</author>
	<content type="html">This link might help you or others: &lt;a href=&quot;http://www.ilikespam.com/blog/c:foreach-vs-ui:repeat-in-facelets&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ilikespam.com/blog/c:foreach-vs-ui:repeat-in-facelets&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;rajesh.jag wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Hi,
&lt;br&gt;&lt;br&gt;I'm using Facelets 1.1.13 with Seam 1.2.1 under WebLogic 10, and have
&lt;br&gt;written a custom tag handler, to implement a tag library in my
&lt;br&gt;application.
&lt;br&gt;&lt;br&gt;Here's what I do:
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public final class MyTagHandler extends TagHandler {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; private final TagAttribute value;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Some more attributes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public MyTagHandler(TagConfig config) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; super(config);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.value = this.getAttribute(&amp;quot;value&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public void apply(FaceletContext ctx, UIComponent parent)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; throws IOException, FacesException,
&lt;br&gt;FaceletException, ELException {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Some processing goes here.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Object value = getValue(ctx);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // More processing
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public Object getValue(FaceletContext ctx) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (this.value != null) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return this.value.getObject(ctx);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } else {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return null;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&lt;br&gt;This is how I set it up in the taglib.xml:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;facelet-taglib&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;namespace&amp;gt;&lt;a href=&quot;http://mydomain.net/tags&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mydomain.net/tags&lt;/a&gt;&amp;lt;/namespace&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;tag&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;tag-name&amp;gt;mytag&amp;lt;/tag-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;handler-class&amp;gt;net.mydomain.MyTagHandler&amp;lt;/handler-class&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/tag&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/facelet-taglib&amp;gt;
&lt;br&gt;&lt;br&gt;This is how the tag is used in the XHTML files:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;myprefix:mytag value=&amp;quot;somevalue&amp;quot;&amp;gt;
&lt;br&gt;&lt;br&gt;If &amp;quot;somevalue&amp;quot; is a literal, this works fine.
&lt;br&gt;If &amp;quot;somevalue&amp;quot; is an EL expression of the form &amp;quot;#{customer.name}&amp;quot; (where
&lt;br&gt;the bean &amp;quot;customer&amp;quot; has a property &amp;quot;name&amp;quot;)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; a. If &amp;quot;customer&amp;quot; is a component defined in faces-config.xml,
&lt;br&gt;then it works fine
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; b. If &amp;quot;customer&amp;quot; is outjected (using the @Out Seam annotation)
&lt;br&gt;to - say - the session scope, then this works fine
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; c. If &amp;quot;customers&amp;quot; (plural), is a component which has multiple
&lt;br&gt;customers, and I use a tag like &amp;lt;c:forEach&amp;gt; or &amp;lt;h:dataTable&amp;gt; to loop
&lt;br&gt;over each customer, like so:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;c:forEach items=&amp;quot;#{customers}&amp;quot; var=&amp;quot;customer&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;myprefix:mytag value=&amp;quot;#{customer.name}&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/c:forEach&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; then &amp;quot;getValue(ctx)&amp;quot; as written above in the &amp;quot;apply&amp;quot; method,
&lt;br&gt;evaluates to &amp;quot;null&amp;quot;.
&lt;br&gt;&lt;br&gt;If I use &amp;quot;this.value.getValue(ctx);&amp;quot; instead of
&lt;br&gt;&amp;quot;this.value.getObject(ctx);&amp;quot;, it's the same thing.
&lt;br&gt;If I use code like &amp;quot;this.value.getValueExpression(ctx,
&lt;br&gt;String.class).getValue(ctx)&amp;quot; instead, I get an empty string.
&lt;br&gt;If I use code like &amp;quot;this.value.getValueExpression(ctx,
&lt;br&gt;String.class).getType(ctx)&amp;quot; instead, I get the following exception:
&lt;br&gt;&lt;br&gt;Feb 20, 2008 8:06:37 PM com.sun.facelets.FaceletViewHandler
&lt;br&gt;handleRenderException
&lt;br&gt;SEVERE: Error Rendering View[/mypage.xhtml]
&lt;br&gt;javax.el.PropertyNotFoundException: /mypage.xhtml @97,66
&lt;br&gt;value=&amp;quot;${customer.name}&amp;quot;: Target Unreachable, identifier 'customer'
&lt;br&gt;resolved to null
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;com.sun.facelets.el.TagValueExpression.getType(TagValueExpression.java:6
&lt;br&gt;2)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;net.mydomain.MyTagHandler.getValue(DisplayStringParamTagHandler.java:122
&lt;br&gt;)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;net.mydomain.MyTagHandler.apply(DynamicDisplayStringHandler.java:81)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandl
&lt;br&gt;er.java:47)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHand
&lt;br&gt;ler.java:314)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:16
&lt;br&gt;9)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandl
&lt;br&gt;er.java:47)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHand
&lt;br&gt;ler.java:314)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:16
&lt;br&gt;9)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandl
&lt;br&gt;er.java:47)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;com.sun.facelets.tag.jsf.core.ViewHandler.apply(ViewHandler.java:109)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandl
&lt;br&gt;er.java:47)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:4
&lt;br&gt;9)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandl
&lt;br&gt;er.java:47)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;com.sun.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:95)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:50
&lt;br&gt;3)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:5
&lt;br&gt;46)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.
&lt;br&gt;java:108)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.j
&lt;br&gt;ava:229)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderRespon
&lt;br&gt;seExecutor.java:41)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:132
&lt;br&gt;)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;javax.faces.webapp.FacesServlet.service(FacesServlet.java:140)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(St
&lt;br&gt;ubSecurityHelper.java:226)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityH
&lt;br&gt;elper.java:124)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:2
&lt;br&gt;83)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:
&lt;br&gt;42)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:6
&lt;br&gt;3)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:4
&lt;br&gt;9)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57)
&lt;br&gt;&lt;br&gt;&lt;br&gt;Note that code like -
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;c:forEach items=&amp;quot;#{customers}&amp;quot; var=&amp;quot;customer&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #{customer.name}
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/c:forEach&amp;gt;
&lt;br&gt;&lt;br&gt;- works just fine.
&lt;br&gt;&lt;br&gt;I'm guessing that maybe the ELContext that the &amp;quot;customer&amp;quot; variable is
&lt;br&gt;stored to, is different than the one my tag tries to use. What I can't
&lt;br&gt;understand is &amp;quot;Why?&amp;quot;, and &amp;quot;How do I fix it?&amp;quot;
&lt;br&gt;&lt;br&gt;Any insights into this would be highly appreciated.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Rajesh
&lt;br&gt;&lt;br&gt;The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.
&lt;br&gt;&lt;br&gt;WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
&lt;br&gt;&lt;br&gt;www.wipro.com
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: users-unsubscribe@facelets.dev.java.net
&lt;br&gt;For additional commands, e-mail: users-help@facelets.dev.java.net
&lt;br&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/java.net---facelets-users-f13481.html&quot; embed=&quot;fixTarget[13481]&quot; target=&quot;_top&quot; &gt;java.net - facelets users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Accessing-local-variables-via-EL-in-custom-tag-handler-tp15590942p25990795.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25900014</id>
	<title>[ANNOUNCE] New JSF Summit sessions and workshops added!</title>
	<published>2009-10-14T15:13:04Z</published>
	<updated>2009-10-14T15:13:04Z</updated>
	<author>
		<name>kito99</name>
	</author>
	<content type="html">Hello everyone,
&lt;br&gt;&lt;br&gt;I just wanted to let you know that we added several new sessions for
&lt;br&gt;the JSF Summit conference this December 1st-4th in warm, sunny
&lt;br&gt;Orlando, FL.
&lt;br&gt;&lt;br&gt;We already have an all-star lineup of speakers such as Ed Burns,
&lt;br&gt;Matthias Wessendorf, Dan Allen, Ted Goddard, Keith Donald, David Geary
&lt;br&gt;and several others, covering every aspect of JSF 2.0 plus JSF 1.x,
&lt;br&gt;Seam, MyFaces, ICEfaces, Trinidad, Spring/JSF integration, Facelets,
&lt;br&gt;Comet, Portlets, JSR 299, testing, and more.
&lt;br&gt;&lt;br&gt;But Jay Zimmerman and I wanted to make the show even better, so I'm
&lt;br&gt;happy to announce full day workshops on JSF 1.x and Seam, plus new
&lt;br&gt;sessions covering RichFaces, Spring integration, reporting,
&lt;br&gt;PrettyFaces, PrimeFaces, and JSR-299.
&lt;br&gt;&lt;br&gt;Think of this show as the US version of JSF Days (an excellent show,
&lt;br&gt;by the way).
&lt;br&gt;&lt;br&gt;Read more here:
&lt;br&gt;&lt;a href=&quot;http://weblogs.java.net/blog/kito75/archive/2009/10/13/jsf-summit-2009-new-workshops-and-sessions&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://weblogs.java.net/blog/kito75/archive/2009/10/13/jsf-summit-2009-new-workshops-and-sessions&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;Attendes also get free access to over 50 Rich Web Experience sessions,
&lt;br&gt;covering every aspect of Ajax and RIAs.
&lt;br&gt;&lt;br&gt;I hope to see you at the show!
&lt;br&gt;&lt;br&gt;---
&lt;br&gt;Kito D. Mann | twitter: kito99 | Author, JSF in Action
&lt;br&gt;Virtua, Inc. | &lt;a href=&quot;http://www.virtua.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.virtua.com&lt;/a&gt;&amp;nbsp;| JSF/Java EE training and consulting
&lt;br&gt;&lt;a href=&quot;http://www.JSFCentral.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.JSFCentral.com&lt;/a&gt;&amp;nbsp;- JavaServer Faces FAQ, news, and info |
&lt;br&gt;twitter: jsfcentral
&lt;br&gt;+1 203-404-4848 x3
&lt;br&gt;&lt;br&gt;JSF Summit Conference Dec 1st-4th in Orlando: &lt;a href=&quot;http://www.jsfsummit.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.jsfsummit.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25900014&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25900014&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/java.net---facelets-users-f13481.html&quot; embed=&quot;fixTarget[13481]&quot; target=&quot;_top&quot; &gt;java.net - facelets users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-ANNOUNCE--New-JSF-Summit-sessions-and-workshops-added%21-tp25900014p25900014.html" />
</entry>

</feed>
