<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-13481</id>
	<title>Nabble - java.net - facelets users</title>
	<updated>2009-11-26T09:04:10Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/java.net---facelets-users-f13481.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/java.net---facelets-users-f13481.html" />
	<subtitle type="html"></subtitle>
	
<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;
</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;</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-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;
</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;
</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?</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-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;</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-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;</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;
</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;</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;
</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;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-ANNOUNCE--New-JSF-Summit-sessions-and-workshops-added%21-tp25900014p25900014.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25878513</id>
	<title>Re: Customised Title bar</title>
	<published>2009-10-13T11:48:21Z</published>
	<updated>2009-10-13T11:48:21Z</updated>
	<author>
		<name>Mike_</name>
	</author>
	<content type="html">You can do it yourself with html and css or use a jsf component library, like RichFaces.&lt;div&gt;&lt;a href=&quot;http://livedemo.exadel.com/richfaces-demo/richfaces/panel.jsf&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://livedemo.exadel.com/richfaces-demo/richfaces/panel.jsf&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;- Micke&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2009/10/6 Anil Kumar Veeramalli &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25878513&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;anil.v@...&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 bgcolor=&quot;#ffffff&quot; text=&quot;#000000&quot;&gt;
Hi,&lt;br&gt;
&lt;br&gt;
This question is not related to facelets.but please help me if you know.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;img alt=&quot;&quot;&gt;&lt;br&gt;
&lt;br&gt;
I wanted to customize this Title Bar like above image. This is Oracle
format of webapplication. Please let me know if you are aware of.&lt;br&gt;
&lt;br&gt;
Thanks,&lt;br&gt;
Anil&lt;br&gt;
&lt;/div&gt;

&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Customised-Title-bar-tp25764788p25878513.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25853099</id>
	<title>RE:  generation of non-ascii characters, xhtml - html</title>
	<published>2009-10-12T02:57:11Z</published>
	<updated>2009-10-12T02:57:11Z</updated>
	<author>
		<name>putteb</name>
	</author>
	<content type="html">Declaring this DOCTYPE solves the problem with Chrome:
&lt;br&gt;&lt;br&gt;&amp;lt;!DOCTYPE html PUBLIC &amp;quot;-//W3C//DTD XHTML 1.0 Transitional//EN&amp;quot; &amp;nbsp;&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; &amp;gt; 
&lt;br&gt;&lt;br&gt;Then Chrome handles the &amp;quot;&amp; ouml;&amp;quot;.</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/generation-of-non-ascii-characters%2C-xhtml---html-tp25319115p25853099.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25764788</id>
	<title>Customised Title bar</title>
	<published>2009-10-06T01:36:49Z</published>
	<updated>2009-10-06T01:36:49Z</updated>
	<author>
		<name>Anil Kumar Veeramalli-2</name>
	</author>
	<content type="html">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&gt;
&lt;html&gt;
&lt;head&gt;
&lt;/head&gt;
&lt;body bgcolor=&quot;#ffffff&quot; text=&quot;#000000&quot;&gt;
Hi,&lt;br&gt;
&lt;br&gt;
This question is not related to facelets.but please help me if you know.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;img src=&quot;http://old.nabble.com/attachment/25764788/0/moz-screenshot.jpg&quot; alt=&quot;&quot;&gt;&lt;br&gt;
&lt;br&gt;
I wanted to customize this Title Bar like above image. This is Oracle
format of webapplication. Please let me know if you are aware of.&lt;br&gt;
&lt;br&gt;
Thanks,&lt;br&gt;
Anil&lt;br&gt;
&lt;/body&gt;
&lt;/html&gt;
&lt;br /&gt; </content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Customised-Title-bar-tp25764788p25764788.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25724638</id>
	<title>Re: Strange behaviour on &lt;h:selectOneMenu&gt; in facelet</title>
	<published>2009-10-02T17:41:15Z</published>
	<updated>2009-10-02T17:41:15Z</updated>
	<author>
		<name>Herwin Limadi</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;OK, thank you for your advise Hu. I will use it when the attribute is needed later. Right now, it seems the problem is solved.&lt;br&gt;&lt;br&gt;Rgds,&lt;br&gt;~Herwin.&lt;br&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;From:&lt;/span&gt;&lt;/b&gt; liumin HU &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25724638&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lhu@...&lt;/a&gt;&amp;gt;&lt;br&gt;&lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;To:&lt;/span&gt;&lt;/b&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25724638&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;Sent:&lt;/span&gt;&lt;/b&gt; Monday, 21 September 2009 5:45:54&lt;br&gt;&lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Subject:&lt;/span&gt;&lt;/b&gt; Re: Strange behaviour on &amp;lt;h:selectOneMenu&amp;gt; in facelet&lt;br&gt;&lt;/font&gt;&lt;br&gt;﻿

 



&lt;div&gt;&lt;font face=&quot;Arial&quot; size=&quot;2&quot;&gt;I&amp;nbsp;am using c:choose...when...otherwise for 
this kind problem.&lt;/font&gt;&lt;/div&gt;
&lt;blockquote style=&quot;border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;&quot;&gt;
  &lt;div style=&quot;font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none;&quot;&gt;----- Original Message ----- &lt;/div&gt;
  &lt;div style=&quot;background: rgb(228, 228, 228) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none;&quot;&gt;&lt;b&gt;From:&lt;/b&gt; 
  &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25724638&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;exedraone@...&lt;/a&gt; &lt;/div&gt;
  &lt;div style=&quot;font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none;&quot;&gt;&lt;b&gt;To:&lt;/b&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25724638&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt; 
  &lt;/div&gt;
  &lt;div style=&quot;font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none;&quot;&gt;&lt;b&gt;Sent:&lt;/b&gt; Saturday, September 19, 2009 8:32 
  AM&lt;/div&gt;
  &lt;div style=&quot;font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none;&quot;&gt;&lt;b&gt;Subject:&lt;/b&gt; Re: Strange behaviour on 
  &amp;lt;h:selectOneMenu&amp;gt; in facelet&lt;/div&gt;
  &lt;div&gt;&lt;br&gt;&lt;/div&gt;
  &lt;div style=&quot;font-size: 12pt; font-family: times new roman,new york,times,serif;&quot;&gt;
  &lt;div&gt;Hi Hu,&lt;br&gt;&lt;br&gt;You are right. Just now I removed the attribute 
  binding=&quot;#{comboBinding}&quot; from the component and it works fine now. But I've 
  got problem that on some pages I need the attribute and not on some others. 
  &lt;br&gt;&lt;br&gt;I've never tried if the binding attribute works fine. I just prepare 
  it, becasue it will used later in the project.&amp;nbsp; &lt;br&gt;&lt;br&gt;Is it a special 
  case or not? Can't the attributes on a facelet component be null? Or should I 
  make separate component base on the needed attributes?&lt;br&gt;&lt;br&gt;Anyway, thank 
  you for your enlightment. I've got heavy headache about the problem for almost 
  a week.&lt;br&gt;&lt;br&gt;Rgds,&lt;br&gt;&amp;nbsp;Herwin&lt;br&gt;&lt;/div&gt;
  &lt;div style=&quot;font-size: 12pt; font-family: times new roman,new york,times,serif;&quot;&gt;&lt;br&gt;
  &lt;div style=&quot;font-size: 12pt; font-family: times new roman,new york,times,serif;&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;From:&lt;/span&gt;&lt;/b&gt; liumin HU 
  &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25724638&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lhu@...&lt;/a&gt;&amp;gt;&lt;br&gt;&lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;To:&lt;/span&gt;&lt;/b&gt; 
  &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25724638&amp;i=5&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;Sent:&lt;/span&gt;&lt;/b&gt; Tuesday, 15 September 2009 
  8:45:56&lt;br&gt;&lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Subject:&lt;/span&gt;&lt;/b&gt; Re: Strange 
  behaviour on &amp;lt;h:selectOneMenu&amp;gt; in facelet&lt;br&gt;&lt;/font&gt;&lt;br&gt;
  

  &lt;div&gt;&lt;font face=&quot;Arial&quot; size=&quot;2&quot;&gt;for me, binding is null&amp;nbsp;is 
  strange.&lt;/font&gt;&lt;/div&gt;
  &lt;div&gt;&lt;font face=&quot;Arial&quot; size=&quot;2&quot;&gt;&lt;/font&gt;&amp;nbsp;&lt;/div&gt;
  &lt;div&gt;&lt;font face=&quot;Arial&quot; size=&quot;2&quot;&gt;hope this help.&lt;/font&gt;&lt;/div&gt;
  &lt;blockquote style=&quot;border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;&quot;&gt;
    &lt;div style=&quot;font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; -x-system-font: none; font-size-adjust: none; font-stretch: normal;&quot;&gt;----- 
    Original Message ----- &lt;/div&gt;
    &lt;div style=&quot;background: rgb(228, 228, 228) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; -x-system-font: none; font-size-adjust: none; font-stretch: normal;&quot;&gt;&lt;b&gt;From:&lt;/b&gt; 
    &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25724638&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;exedraone@...&lt;/a&gt; &lt;/div&gt;
    &lt;div style=&quot;font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; -x-system-font: none; font-size-adjust: none; font-stretch: normal;&quot;&gt;&lt;b&gt;To:&lt;/b&gt; 
    &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25724638&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt; 
    &lt;/div&gt;
    &lt;div style=&quot;font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; -x-system-font: none; font-size-adjust: none; font-stretch: normal;&quot;&gt;&lt;b&gt;Sent:&lt;/b&gt; 
    Thursday, September 10, 2009 12:01 PM&lt;/div&gt;
    &lt;div style=&quot;font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; -x-system-font: none; font-size-adjust: none; font-stretch: normal;&quot;&gt;&lt;b&gt;Subject:&lt;/b&gt; 
    Re: Strange behaviour on &amp;lt;h:selectOneMenu&amp;gt; in facelet&lt;/div&gt;
    &lt;div&gt;&lt;br&gt;&lt;/div&gt;
    &lt;div style=&quot;font-size: 12pt; font-family: times new roman,new york,times,serif;&quot;&gt;
    &lt;div&gt;Hi Mike,&lt;/div&gt;
    &lt;div&gt;None of them working, the results are the same. Is there any posibility 
    that facelet has a bug on it?&lt;/div&gt;
    &lt;div&gt;Rgds,&lt;br&gt;~Herwin&lt;br&gt;&lt;/div&gt;
    &lt;div style=&quot;font-size: 12pt; font-family: times new roman,new york,times,serif;&quot;&gt;
    &lt;div style=&quot;font-size: 13px; font-family: arial,helvetica,sans-serif;&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;From:&lt;/span&gt;&lt;/b&gt; Mike Kienenberger &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25724638&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mkienenb@...&lt;/a&gt;&amp;gt;&lt;br&gt;&lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;To:&lt;/span&gt;&lt;/b&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25724638&amp;i=9&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;Sent:&lt;/span&gt;&lt;/b&gt; Wednesday, 9 September 2009 
    4:36:52&lt;br&gt;&lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Subject:&lt;/span&gt;&lt;/b&gt; Re: 
    Strange behaviour on &amp;lt;h:selectOneMenu&amp;gt; in facelet&lt;br&gt;&lt;/font&gt;&lt;br&gt;I 
    suspect it might be the id, but I'm not sure.&lt;br&gt;&lt;br&gt;What happens if you 
    remove&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; id=&quot;#{comboId}&quot;&lt;br&gt;from your 
    ui:component?&lt;br&gt;&lt;br&gt;&lt;br&gt;Another possibility if that doesn't change anything 
    might be to do this:&lt;br&gt;&lt;br&gt;&amp;lt;f:subview id=&quot;abc1Subview&quot;&amp;gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; 
    &amp;nbsp; &amp;lt;camsf:labelCombo 
    labelText=&quot;#{par['agree.label.feeType']}&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; 
    labelWidth=&quot;45&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; 
    comboValue=&quot;#{bindings.AdmFeeDisbType.inputValue}&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; 
    comboItems=&quot;#{camsParameter.valueTypes}&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; 
    comboId=&quot;abc1&quot; /&amp;gt;&lt;br&gt;&amp;lt;/f:subview&amp;gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;On Tue, Sep 8, 2009 at 
    12:03 AM, Herwin Limadi&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25724638&amp;i=10&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;exedraone@...&lt;/a&gt;&amp;gt; 
    wrote:&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Dear Sir,&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; I&amp;nbsp;tried to make component from 
    &amp;lt;h:outputLabel&amp;gt; and &amp;lt;h:selectOneMenu&amp;gt; the&lt;br&gt;&amp;gt; snippet 
    is:&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; .&lt;br&gt;&amp;gt; .&lt;br&gt;&amp;gt; &amp;lt;ui:component&amp;gt;&lt;br&gt;&amp;gt; 
    &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;f:loadBundle 
    basename=&quot;resources/rb_component&quot; var=&quot;component&quot;/&amp;gt;&lt;br&gt;&amp;gt; 
    &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;h:panelGrid columns=&quot;2&quot; 
    &amp;gt;&lt;br&gt;&amp;gt; 
    &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
    &amp;lt;h:panelGrid columns=&quot;2&quot;&amp;gt;&lt;br&gt;&amp;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;lt;h:panelGrid columns=&quot;1&quot; width=&quot;#{labelWidth}&quot; &amp;gt;&lt;br&gt;&amp;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;lt;h:panelGrid columns=&quot;2&quot;&amp;gt;&lt;br&gt;&amp;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;lt;h:outputLabel value=&quot;#{labelText}&quot;&lt;br&gt;&amp;gt; 
    styleClass=&quot;jsfOutputLabel&quot;/&amp;gt;&lt;br&gt;&amp;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;lt;h:outputLabel&lt;br&gt;&amp;gt; 
    value=&quot;#{component['label.mandatoryFieldMarking']}&quot; styleClass=&quot;red&quot;&lt;br&gt;&amp;gt; 
    rendered=&quot;#{mandatory}&quot; /&amp;gt;&lt;br&gt;&amp;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;lt;/h:panelGrid&amp;gt;&lt;br&gt;&amp;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;lt;/h:panelGrid&amp;gt;&lt;br&gt;&amp;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;lt;h:panelGrid columns=&quot;1&quot; width=&quot;1&quot; &amp;gt;&lt;br&gt;&amp;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;lt;h:outputLabel value=&quot;:&quot; styleClass=&quot;jsfOutputLabel&quot; /&amp;gt;&lt;br&gt;&amp;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;lt;/h:panelGrid&amp;gt;&lt;br&gt;&amp;gt; 
    &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
    &amp;lt;/h:panelGrid&amp;gt;&lt;br&gt;&amp;gt; 
    &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
    &amp;lt;h:selectOneMenu value=&quot;#{comboValue}&quot; required=&quot;#{mandatory}&quot;&lt;br&gt;&amp;gt; 
    binding=&quot;#{comboBinding}&quot; id=&quot;#{comboId}&quot; &amp;gt;&lt;br&gt;&amp;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;lt;f:selectItems value=&quot;#{comboItems}&quot; /&amp;gt;&lt;br&gt;&amp;gt; 
    &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
    &amp;lt;/h:selectOneMenu&amp;gt;&lt;br&gt;&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
    &amp;lt;/h:panelGrid&amp;gt;&lt;br&gt;&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; 
    &amp;lt;/ui:component&amp;gt;&lt;br&gt;&amp;gt; .&lt;br&gt;&amp;gt; .&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; Then on&amp;nbsp;the 
    other&amp;nbsp;page I use the component with the snippet:&lt;br&gt;&amp;gt; .&lt;br&gt;&amp;gt; 
    .&lt;br&gt;&amp;gt; &amp;lt;camsf:labelCombo 
    labelText=&quot;#{par['agree.label.feeType']}&quot;&lt;br&gt;&amp;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; 
    labelWidth=&quot;45&quot;&lt;br&gt;&amp;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; 
    comboValue=&quot;#{bindings.AdmFeeDisbType.inputValue}&quot;&lt;br&gt;&amp;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; 
    comboItems=&quot;#{camsParameter.valueTypes}&quot;&lt;br&gt;&amp;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; 
    comboId=&quot;abc1&quot; /&amp;gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;lt;camsf:labelCombo 
    labelText=&quot;#{par['agree.label.feeStatusChange']}&quot;&lt;br&gt;&amp;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; 
    labelWidth=&quot;75&quot;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; 
    comboValue=&quot;#{bindings.AdmFeeDisbChargeType.inputValue}&quot;&lt;br&gt;&amp;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; 
    comboItems=&quot;#{camsParameter.feeStatusTypes}&quot;&lt;br&gt;&amp;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; 
    comboId=&quot;abd2&quot; /&amp;gt;&lt;br&gt;&amp;gt; .&lt;br&gt;&amp;gt; .&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; But the result all 
    the list item from the all combo are inside one combo&lt;br&gt;&amp;gt; just like 
    &quot;Using Facelet Component Tag..JPG&quot; in the attachment. What I&lt;br&gt;&amp;gt; expect 
    is like &quot;Not Using Facelet.JPG&quot;.&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; So, any clue where I make 
    mistake.&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; Rgds,&lt;br&gt;&amp;gt; ~Herwin&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; 
    ________________________________&lt;br&gt;&amp;gt; New Email names for you!&lt;br&gt;&amp;gt; 
    Get the Email name you've always wanted on the new @ymail and 
    @rocketmail.&lt;br&gt;&amp;gt; Hurry before someone else does!&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=25724638&amp;i=11&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=25724638&amp;i=12&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&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=25724638&amp;i=13&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=25724638&amp;i=14&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br&gt;
    &lt;hr size=&quot;1&quot;&gt;
    Yahoo! Toolbar is now powered with Search Assist. &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://sg..rd.yahoo.com/search/toolbar/mail/signature/*http://sg.toolbar.yahoo.com/&quot;&gt;Download it now! &amp;lt; 
  body&amp;gt;&lt;/a&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br&gt;
  &lt;hr size=&quot;1&quot;&gt;
  &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://sg.rd.yahoo.com/sg/mail/domainchoice/mail/signature/*http://mail.promotions.yahoo.com/newdomains/sg/&quot;&gt;New 
  Email names for you! &lt;/a&gt;&lt;br&gt;Get the Email name you've always wanted on the 
  new @ymail and @rocketmail.&lt;br&gt;Hurry before someone else 
does!&lt;/blockquote&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br&gt;
      &lt;hr size=1&gt; &lt;a href=&quot;http://sg.rd.yahoo.com/sg/mail/domainchoice/mail/signature/*http://mail.promotions.yahoo.com/newdomains/sg/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt; New Email names for you! &lt;/a&gt; &lt;br&gt;
Get the Email name you&amp;#39;ve always wanted on the new @ymail and @rocketmail.&lt;br&gt;
Hurry before someone else does!&lt;/body&gt;&lt;/html&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Strange-behaviour-on-%3Ch%3AselectOneMenu%3E-in-facelet-tp25339671p25724638.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25657141</id>
	<title>Re: custom component problem</title>
	<published>2009-09-28T22:28:06Z</published>
	<updated>2009-09-28T22:28:06Z</updated>
	<author>
		<name>Fırat KÜÇÜK</name>
	</author>
	<content type="html">thanks a lot.&lt;br&gt;excellent blog post.&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;28 Eylül 2009 18:10 tarihinde Joel Weight &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25657141&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;digitaljoel@...&lt;/a&gt;&amp;gt;&lt;/span&gt; yazdı:&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;
Funny, I wrote a blog entry about this just a couple weeks ago ( &lt;a href=&quot;http://digitaljoel.wordpress.com/2009/08/25/passing-action-methods-in-facelets-using-array-notation/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://digitaljoel.wordpress.com/2009/08/25/passing-action-methods-in-facelets-using-array-notation/&lt;/a&gt; )  &lt;br&gt;

&lt;br&gt;The gist of it is, you can pass the action method separately from the bean.&lt;br&gt;&lt;br&gt;For instance, to use your component, you would call&lt;br&gt;&amp;lt;my:newButton bean=&amp;quot;#{bean}&amp;quot; myAction=&amp;quot;New&amp;quot; /&amp;gt;&lt;br&gt;&lt;br&gt;

Then, in your component, you can have&lt;br&gt;&amp;lt;h:commandLink styleClass=&amp;quot;button&amp;quot; action=&amp;quot;#{bean[myAction]}&amp;quot; /&amp;gt;&lt;br&gt;&lt;br&gt;Joel&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2009/9/28 Fırat KÜÇÜK &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25657141&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;firatkucuk@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;div&gt;
&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&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;Hi i want to use a cutom component with action.&lt;br&gt;&lt;br&gt;this is my custom button component:&lt;br&gt;

&lt;br&gt;-----------------------------&lt;br&gt;&amp;lt;?xml version=&amp;#39;1.0&amp;#39; encoding=&amp;#39;UTF-8&amp;#39; ?&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;ui:composition xmlns:h=&amp;quot;&lt;a href=&quot;http://java.sun.com/jsf/html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://java.sun.com/jsf/html&lt;/a&gt;&amp;quot;&lt;br&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;&amp;gt;&lt;br&gt;    &amp;lt;h:commandLink styleClass=&amp;quot;button&amp;quot; action=&amp;quot;#{action}&amp;quot;&amp;gt;&lt;br&gt;

    &amp;lt;img src=&amp;quot;/img/icons/add.png&amp;quot; alt=&amp;quot;&amp;quot; /&amp;gt;&lt;br&gt;
    &amp;lt;h:outputText value=&amp;quot;#{_.buttonNew}&amp;quot; escape=&amp;quot;false&amp;quot; /&amp;gt;&lt;br&gt;  &amp;lt;/h:commandLink&amp;gt;&lt;br&gt;&amp;lt;/ui:composition&amp;gt;&lt;br&gt;-----------------------------&lt;br&gt;&lt;br&gt;and i cannot use this component like this;&lt;br&gt;


&amp;lt;my:newButton action=&amp;quot;#{bean.New}&amp;quot; /&amp;gt;&lt;br&gt;&lt;br&gt;how can i transfer action?&lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;-- &lt;br&gt;FIRAT KÜÇÜK&lt;br&gt;
&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;FIRAT KÜÇÜK&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/custom-component-problem-tp25645258p25657141.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25647280</id>
	<title>Re: custom component problem</title>
	<published>2009-09-28T08:10:01Z</published>
	<updated>2009-09-28T08:10:01Z</updated>
	<author>
		<name>Joel Weight</name>
	</author>
	<content type="html">Funny, I wrote a blog entry about this just a couple weeks ago ( &lt;a href=&quot;http://digitaljoel.wordpress.com/2009/08/25/passing-action-methods-in-facelets-using-array-notation/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://digitaljoel.wordpress.com/2009/08/25/passing-action-methods-in-facelets-using-array-notation/&lt;/a&gt; )  &lt;br&gt;
&lt;br&gt;The gist of it is, you can pass the action method separately from the bean.&lt;br&gt;&lt;br&gt;For instance, to use your component, you would call&lt;br&gt;&amp;lt;my:newButton bean=&amp;quot;#{bean}&amp;quot; myAction=&amp;quot;New&amp;quot; /&amp;gt;&lt;br&gt;&lt;br&gt;
Then, in your component, you can have&lt;br&gt;&amp;lt;h:commandLink styleClass=&amp;quot;button&amp;quot; action=&amp;quot;#{bean[myAction]}&amp;quot; /&amp;gt;&lt;br&gt;&lt;br&gt;Joel&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2009/9/28 Fırat KÜÇÜK &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25647280&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;firatkucuk@...&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;Hi i want to use a cutom component with action.&lt;br&gt;&lt;br&gt;this is my custom button component:&lt;br&gt;
&lt;br&gt;-----------------------------&lt;br&gt;&amp;lt;?xml version=&amp;#39;1.0&amp;#39; encoding=&amp;#39;UTF-8&amp;#39; ?&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;ui:composition xmlns:h=&amp;quot;&lt;a href=&quot;http://java.sun.com/jsf/html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://java.sun.com/jsf/html&lt;/a&gt;&amp;quot;&lt;br&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;&amp;gt;&lt;br&gt;    &amp;lt;h:commandLink styleClass=&amp;quot;button&amp;quot; action=&amp;quot;#{action}&amp;quot;&amp;gt;&lt;br&gt;
    &amp;lt;img src=&amp;quot;/img/icons/add.png&amp;quot; alt=&amp;quot;&amp;quot; /&amp;gt;&lt;br&gt;
    &amp;lt;h:outputText value=&amp;quot;#{_.buttonNew}&amp;quot; escape=&amp;quot;false&amp;quot; /&amp;gt;&lt;br&gt;  &amp;lt;/h:commandLink&amp;gt;&lt;br&gt;&amp;lt;/ui:composition&amp;gt;&lt;br&gt;-----------------------------&lt;br&gt;&lt;br&gt;and i cannot use this component like this;&lt;br&gt;

&amp;lt;my:newButton action=&amp;quot;#{bean.New}&amp;quot; /&amp;gt;&lt;br&gt;&lt;br&gt;how can i transfer action?&lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;-- &lt;br&gt;FIRAT KÜÇÜK&lt;br&gt;
&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/custom-component-problem-tp25645258p25647280.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25645258</id>
	<title>custom component problem</title>
	<published>2009-09-28T06:03:44Z</published>
	<updated>2009-09-28T06:03:44Z</updated>
	<author>
		<name>Fırat KÜÇÜK</name>
	</author>
	<content type="html">Hi i want to use a cutom component with action.&lt;br&gt;&lt;br&gt;this is my custom button component:&lt;br&gt;&lt;br&gt;-----------------------------&lt;br&gt;&amp;lt;?xml version=&amp;#39;1.0&amp;#39; encoding=&amp;#39;UTF-8&amp;#39; ?&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;ui:composition xmlns:h=&amp;quot;&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;&amp;quot;&lt;br&gt;
                xmlns:ui=&amp;quot;&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;&amp;quot;&amp;gt;&lt;br&gt;    &amp;lt;h:commandLink styleClass=&amp;quot;button&amp;quot; action=&amp;quot;#{action}&amp;quot;&amp;gt;&lt;br&gt;    &amp;lt;img src=&amp;quot;/img/icons/add.png&amp;quot; alt=&amp;quot;&amp;quot; /&amp;gt;&lt;br&gt;
    &amp;lt;h:outputText value=&amp;quot;#{_.buttonNew}&amp;quot; escape=&amp;quot;false&amp;quot; /&amp;gt;&lt;br&gt;  &amp;lt;/h:commandLink&amp;gt;&lt;br&gt;&amp;lt;/ui:composition&amp;gt;&lt;br&gt;-----------------------------&lt;br&gt;&lt;br&gt;and i cannot use this component like this;&lt;br&gt;
&amp;lt;my:newButton action=&amp;quot;#{bean.New}&amp;quot; /&amp;gt;&lt;br&gt;&lt;br&gt;how can i transfer action?&lt;br&gt;&lt;br&gt;-- &lt;br&gt;FIRAT KÜÇÜK&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/custom-component-problem-tp25645258p25645258.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25541233</id>
	<title>Re: Strange behaviour on &lt;h:selectOneMenu&gt; in facelet</title>
	<published>2009-09-21T02:45:54Z</published>
	<updated>2009-09-21T02:45:54Z</updated>
	<author>
		<name>Liumin Hu</name>
	</author>
	<content type="html">﻿&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt;
&lt;HTML&gt;&lt;HEAD&gt;
&lt;META http-equiv=Content-Type content=&quot;text/html; charset=utf-8&quot;&gt;


&lt;META content=&quot;MSHTML 6.00.2900.2853&quot; name=GENERATOR&gt;&lt;/HEAD&gt;
&lt;BODY bgColor=#ffffff&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;I&amp;nbsp;am using c:choose...when...otherwise for 
this kind problem.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;BLOCKQUOTE style=&quot;PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px&quot;&gt;
  &lt;DIV style=&quot;FONT: 10pt arial&quot;&gt;----- Original Message ----- &lt;/DIV&gt;
  &lt;DIV style=&quot;BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black&quot;&gt;&lt;B&gt;From:&lt;/B&gt; 
  &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25541233&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;exedraone@...&lt;/a&gt; &lt;/DIV&gt;
  &lt;DIV style=&quot;FONT: 10pt arial&quot;&gt;&lt;B&gt;To:&lt;/B&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25541233&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt; 
  &lt;/DIV&gt;
  &lt;DIV style=&quot;FONT: 10pt arial&quot;&gt;&lt;B&gt;Sent:&lt;/B&gt; Saturday, September 19, 2009 8:32 
  AM&lt;/DIV&gt;
  &lt;DIV style=&quot;FONT: 10pt arial&quot;&gt;&lt;B&gt;Subject:&lt;/B&gt; Re: Strange behaviour on 
  &amp;lt;h:selectOneMenu&amp;gt; in facelet&lt;/DIV&gt;
  &lt;DIV&gt;&lt;BR&gt;&lt;/DIV&gt;
  &lt;DIV style=&quot;FONT-SIZE: 12pt; FONT-FAMILY: times new roman,new york,times,serif&quot;&gt;
  &lt;DIV&gt;Hi Hu,&lt;BR&gt;&lt;BR&gt;You are right. Just now I removed the attribute 
  binding=&quot;#{comboBinding}&quot; from the component and it works fine now. But I've 
  got problem that on some pages I need the attribute and not on some others. 
  &lt;BR&gt;&lt;BR&gt;I've never tried if the binding attribute works fine. I just prepare 
  it, becasue it will used later in the project.&amp;nbsp; &lt;BR&gt;&lt;BR&gt;Is it a special 
  case or not? Can't the attributes on a facelet component be null? Or should I 
  make separate component base on the needed attributes?&lt;BR&gt;&lt;BR&gt;Anyway, thank 
  you for your enlightment. I've got heavy headache about the problem for almost 
  a week.&lt;BR&gt;&lt;BR&gt;Rgds,&lt;BR&gt;&amp;nbsp;Herwin&lt;BR&gt;&lt;/DIV&gt;
  &lt;DIV style=&quot;FONT-SIZE: 12pt; FONT-FAMILY: times new roman,new york,times,serif&quot;&gt;&lt;BR&gt;
  &lt;DIV style=&quot;FONT-SIZE: 12pt; FONT-FAMILY: times new roman,new york,times,serif&quot;&gt;&lt;FONT face=Tahoma size=2&gt;
  &lt;HR SIZE=1&gt;
  &lt;B&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold&quot;&gt;From:&lt;/SPAN&gt;&lt;/B&gt; liumin HU 
  &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25541233&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lhu@...&lt;/a&gt;&amp;gt;&lt;BR&gt;&lt;B&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold&quot;&gt;To:&lt;/SPAN&gt;&lt;/B&gt; 
  &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25541233&amp;i=3&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;Sent:&lt;/SPAN&gt;&lt;/B&gt; Tuesday, 15 September 2009 
  8:45:56&lt;BR&gt;&lt;B&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold&quot;&gt;Subject:&lt;/SPAN&gt;&lt;/B&gt; Re: Strange 
  behaviour on &amp;lt;h:selectOneMenu&amp;gt; in facelet&lt;BR&gt;&lt;/FONT&gt;&lt;BR&gt;
  

  &lt;DIV&gt;&lt;FONT face=Arial size=2&gt;for me, binding is null&amp;nbsp;is 
  strange.&lt;/FONT&gt;&lt;/DIV&gt;
  &lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
  &lt;DIV&gt;&lt;FONT face=Arial size=2&gt;hope this help.&lt;/FONT&gt;&lt;/DIV&gt;
  &lt;BLOCKQUOTE style=&quot;PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(0,0,0) 2px solid; MARGIN-RIGHT: 0px&quot;&gt;
    &lt;DIV style=&quot;FONT: 10pt arial; font-size-adjust: none; font-stretch: normal; x-system-font: none&quot;&gt;----- 
    Original Message ----- &lt;/DIV&gt;
    &lt;DIV style=&quot;BACKGROUND: rgb(228,228,228); FONT: 10pt arial; font-size-adjust: none; font-stretch: normal; x-system-font: none; moz-background-clip: border; moz-background-origin: padding; moz-background-inline-policy: continuous&quot;&gt;&lt;B&gt;From:&lt;/B&gt; 
    &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25541233&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;exedraone@...&lt;/a&gt; &lt;/DIV&gt;
    &lt;DIV style=&quot;FONT: 10pt arial; font-size-adjust: none; font-stretch: normal; x-system-font: none&quot;&gt;&lt;B&gt;To:&lt;/B&gt; 
    &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25541233&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt; 
    &lt;/DIV&gt;
    &lt;DIV style=&quot;FONT: 10pt arial; font-size-adjust: none; font-stretch: normal; x-system-font: none&quot;&gt;&lt;B&gt;Sent:&lt;/B&gt; 
    Thursday, September 10, 2009 12:01 PM&lt;/DIV&gt;
    &lt;DIV style=&quot;FONT: 10pt arial; font-size-adjust: none; font-stretch: normal; x-system-font: none&quot;&gt;&lt;B&gt;Subject:&lt;/B&gt; 
    Re: Strange behaviour on &amp;lt;h:selectOneMenu&amp;gt; in facelet&lt;/DIV&gt;
    &lt;DIV&gt;&lt;BR&gt;&lt;/DIV&gt;
    &lt;DIV style=&quot;FONT-SIZE: 12pt; FONT-FAMILY: times new roman,new york,times,serif&quot;&gt;
    &lt;DIV&gt;Hi Mike,&lt;/DIV&gt;
    &lt;DIV&gt;None of them working, the results are the same. Is there any posibility 
    that facelet has a bug on it?&lt;/DIV&gt;
    &lt;DIV&gt;Rgds,&lt;BR&gt;~Herwin&lt;BR&gt;&lt;/DIV&gt;
    &lt;DIV style=&quot;FONT-SIZE: 12pt; FONT-FAMILY: times new roman,new york,times,serif&quot;&gt;
    &lt;DIV style=&quot;FONT-SIZE: 13px; FONT-FAMILY: arial,helvetica,sans-serif&quot;&gt;&lt;FONT face=Tahoma size=2&gt;
    &lt;HR SIZE=1&gt;
    &lt;B&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold&quot;&gt;From:&lt;/SPAN&gt;&lt;/B&gt; Mike Kienenberger &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25541233&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mkienenb@...&lt;/a&gt;&amp;gt;&lt;BR&gt;&lt;B&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold&quot;&gt;To:&lt;/SPAN&gt;&lt;/B&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25541233&amp;i=7&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;Sent:&lt;/SPAN&gt;&lt;/B&gt; Wednesday, 9 September 2009 
    4:36:52&lt;BR&gt;&lt;B&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold&quot;&gt;Subject:&lt;/SPAN&gt;&lt;/B&gt; Re: 
    Strange behaviour on &amp;lt;h:selectOneMenu&amp;gt; in facelet&lt;BR&gt;&lt;/FONT&gt;&lt;BR&gt;I 
    suspect it might be the id, but I'm not sure.&lt;BR&gt;&lt;BR&gt;What happens if you 
    remove&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; id=&quot;#{comboId}&quot;&lt;BR&gt;from your 
    ui:component?&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;Another possibility if that doesn't change anything 
    might be to do this:&lt;BR&gt;&lt;BR&gt;&amp;lt;f:subview id=&quot;abc1Subview&quot;&amp;gt;&lt;BR&gt;&lt;BR&gt;&amp;nbsp; 
    &amp;nbsp; &amp;lt;camsf:labelCombo 
    labelText=&quot;#{par['agree.label.feeType']}&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; 
    labelWidth=&quot;45&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; 
    comboValue=&quot;#{bindings.AdmFeeDisbType.inputValue}&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; 
    comboItems=&quot;#{camsParameter.valueTypes}&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; 
    comboId=&quot;abc1&quot; /&amp;gt;&lt;BR&gt;&amp;lt;/f:subview&amp;gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;On Tue, Sep 8, 2009 at 
    12:03 AM, Herwin Limadi&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25541233&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;exedraone@...&lt;/a&gt;&amp;gt; 
    wrote:&lt;div class='shrinkable-quote'&gt;&lt;BR&gt;&amp;gt; Dear Sir,&lt;BR&gt;&amp;gt;&lt;BR&gt;&amp;gt; I&amp;nbsp;tried to make component from 
    &amp;lt;h:outputLabel&amp;gt; and &amp;lt;h:selectOneMenu&amp;gt; the&lt;BR&gt;&amp;gt; snippet 
    is:&lt;BR&gt;&amp;gt;&lt;BR&gt;&amp;gt; .&lt;BR&gt;&amp;gt; .&lt;BR&gt;&amp;gt; &amp;lt;ui:component&amp;gt;&lt;BR&gt;&amp;gt; 
    &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;f:loadBundle 
    basename=&quot;resources/rb_component&quot; var=&quot;component&quot;/&amp;gt;&lt;BR&gt;&amp;gt; 
    &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;h:panelGrid columns=&quot;2&quot; 
    &amp;gt;&lt;BR&gt;&amp;gt; 
    &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
    &amp;lt;h:panelGrid columns=&quot;2&quot;&amp;gt;&lt;BR&gt;&amp;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;lt;h:panelGrid columns=&quot;1&quot; width=&quot;#{labelWidth}&quot; &amp;gt;&lt;BR&gt;&amp;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;lt;h:panelGrid columns=&quot;2&quot;&amp;gt;&lt;BR&gt;&amp;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;lt;h:outputLabel value=&quot;#{labelText}&quot;&lt;BR&gt;&amp;gt; 
    styleClass=&quot;jsfOutputLabel&quot;/&amp;gt;&lt;BR&gt;&amp;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;lt;h:outputLabel&lt;BR&gt;&amp;gt; 
    value=&quot;#{component['label.mandatoryFieldMarking']}&quot; styleClass=&quot;red&quot;&lt;BR&gt;&amp;gt; 
    rendered=&quot;#{mandatory}&quot; /&amp;gt;&lt;BR&gt;&amp;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;lt;/h:panelGrid&amp;gt;&lt;BR&gt;&amp;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;lt;/h:panelGrid&amp;gt;&lt;BR&gt;&amp;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;lt;h:panelGrid columns=&quot;1&quot; width=&quot;1&quot; &amp;gt;&lt;BR&gt;&amp;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;lt;h:outputLabel value=&quot;:&quot; styleClass=&quot;jsfOutputLabel&quot; /&amp;gt;&lt;BR&gt;&amp;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;lt;/h:panelGrid&amp;gt;&lt;BR&gt;&amp;gt; 
    &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
    &amp;lt;/h:panelGrid&amp;gt;&lt;BR&gt;&amp;gt; 
    &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
    &amp;lt;h:selectOneMenu value=&quot;#{comboValue}&quot; required=&quot;#{mandatory}&quot;&lt;BR&gt;&amp;gt; 
    binding=&quot;#{comboBinding}&quot; id=&quot;#{comboId}&quot; &amp;gt;&lt;BR&gt;&amp;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;lt;f:selectItems value=&quot;#{comboItems}&quot; /&amp;gt;&lt;BR&gt;&amp;gt; 
    &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
    &amp;lt;/h:selectOneMenu&amp;gt;&lt;BR&gt;&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
    &amp;lt;/h:panelGrid&amp;gt;&lt;BR&gt;&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; 
    &amp;lt;/ui:component&amp;gt;&lt;BR&gt;&amp;gt; .&lt;BR&gt;&amp;gt; .&lt;BR&gt;&amp;gt;&lt;BR&gt;&amp;gt; Then on&amp;nbsp;the 
    other&amp;nbsp;page I use the component with the snippet:&lt;BR&gt;&amp;gt; .&lt;BR&gt;&amp;gt; 
    .&lt;BR&gt;&amp;gt; &amp;lt;camsf:labelCombo 
    labelText=&quot;#{par['agree.label.feeType']}&quot;&lt;BR&gt;&amp;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; 
    labelWidth=&quot;45&quot;&lt;BR&gt;&amp;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; 
    comboValue=&quot;#{bindings.AdmFeeDisbType.inputValue}&quot;&lt;BR&gt;&amp;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; 
    comboItems=&quot;#{camsParameter.valueTypes}&quot;&lt;BR&gt;&amp;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; 
    comboId=&quot;abc1&quot; /&amp;gt;&lt;BR&gt;&amp;gt;&lt;BR&gt;&amp;gt; &amp;lt;camsf:labelCombo 
    labelText=&quot;#{par['agree.label.feeStatusChange']}&quot;&lt;BR&gt;&amp;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; 
    labelWidth=&quot;75&quot;&lt;BR&gt;&amp;gt;&lt;BR&gt;&amp;gt; 
    comboValue=&quot;#{bindings.AdmFeeDisbChargeType.inputValue}&quot;&lt;BR&gt;&amp;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; 
    comboItems=&quot;#{camsParameter.feeStatusTypes}&quot;&lt;BR&gt;&amp;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; 
    comboId=&quot;abd2&quot; /&amp;gt;&lt;BR&gt;&amp;gt; .&lt;BR&gt;&amp;gt; .&lt;BR&gt;&amp;gt;&lt;BR&gt;&amp;gt; But the result all 
    the list item from the all combo are inside one combo&lt;BR&gt;&amp;gt; just like 
    &quot;Using Facelet Component Tag..JPG&quot; in the attachment. What I&lt;BR&gt;&amp;gt; expect 
    is like &quot;Not Using Facelet.JPG&quot;.&lt;BR&gt;&amp;gt;&lt;BR&gt;&amp;gt; So, any clue where I make 
    mistake.&lt;BR&gt;&amp;gt;&lt;BR&gt;&amp;gt; Rgds,&lt;BR&gt;&amp;gt; ~Herwin&lt;BR&gt;&amp;gt;&lt;BR&gt;&amp;gt; 
    ________________________________&lt;BR&gt;&amp;gt; New Email names for you!&lt;BR&gt;&amp;gt; 
    Get the Email name you've always wanted on the new @ymail and 
    @rocketmail.&lt;BR&gt;&amp;gt; Hurry before someone else does!&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=25541233&amp;i=9&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=25541233&amp;i=10&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&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=25541233&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=25541233&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;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;BR&gt;
    &lt;HR SIZE=1&gt;
    Yahoo! Toolbar is now powered with Search Assist. &lt;A href=&quot;http://sg.rd.yahoo.com/search/toolbar/mail/signature/*http://sg.toolbar.yahoo.com/&quot; target=_blank rel=&quot;nofollow&quot;&gt;Download it now! &amp;lt; 
  body&amp;gt;&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;BR&gt;
  &lt;HR SIZE=1&gt;
  &lt;A href=&quot;http://sg.rd.yahoo.com/sg/mail/domainchoice/mail/signature/*http://mail.promotions.yahoo.com/newdomains/sg/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;New 
  Email names for you! &lt;/A&gt;&lt;BR&gt;Get the Email name you've always wanted on the 
  new @ymail and @rocketmail.&lt;BR&gt;Hurry before someone else 
does!&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Strange-behaviour-on-%3Ch%3AselectOneMenu%3E-in-facelet-tp25339671p25541233.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25519036</id>
	<title>Re: Strange behaviour on &lt;h:selectOneMenu&gt; in facelet</title>
	<published>2009-09-18T23:32:59Z</published>
	<updated>2009-09-18T23:32:59Z</updated>
	<author>
		<name>Herwin Limadi</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;Hi Hu,&lt;br&gt;&lt;br&gt;You are right. Just now I removed the attribute binding=&quot;#{comboBinding}&quot; from the component and it works fine now. But I've got problem that on some pages I need the attribute and not on some others. &lt;br&gt;&lt;br&gt;I've never tried if the binding attribute works fine. I just prepare it, becasue it will used later in the project.&amp;nbsp; &lt;br&gt;&lt;br&gt;Is it a special case or not? Can't the attributes on a facelet component be null? Or should I make separate component base on the needed attributes?&lt;br&gt;&lt;br&gt;Anyway, thank you for your enlightment. I've got heavy headache about the problem for almost a week.&lt;br&gt;&lt;br&gt;Rgds,&lt;br&gt;&amp;nbsp;Herwin&lt;br&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;From:&lt;/span&gt;&lt;/b&gt; liumin HU &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25519036&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lhu@...&lt;/a&gt;&amp;gt;&lt;br&gt;&lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;To:&lt;/span&gt;&lt;/b&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25519036&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;Sent:&lt;/span&gt;&lt;/b&gt; Tuesday, 15 September 2009 8:45:56&lt;br&gt;&lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Subject:&lt;/span&gt;&lt;/b&gt; Re: Strange behaviour on &amp;lt;h:selectOneMenu&amp;gt; in facelet&lt;br&gt;&lt;/font&gt;&lt;br&gt;

 



&lt;div&gt;&lt;font face=&quot;Arial&quot; size=&quot;2&quot;&gt;for me, binding is null&amp;nbsp;is 
strange.&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face=&quot;Arial&quot; size=&quot;2&quot;&gt;&lt;/font&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&lt;font face=&quot;Arial&quot; size=&quot;2&quot;&gt;hope this help.&lt;/font&gt;&lt;/div&gt;
&lt;blockquote style=&quot;border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;&quot;&gt;
  &lt;div style=&quot;font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none;&quot;&gt;----- Original Message ----- &lt;/div&gt;
  &lt;div style=&quot;background: rgb(228, 228, 228) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none;&quot;&gt;&lt;b&gt;From:&lt;/b&gt; 
  &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25519036&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;exedraone@...&lt;/a&gt; &lt;/div&gt;
  &lt;div style=&quot;font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none;&quot;&gt;&lt;b&gt;To:&lt;/b&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25519036&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt; 
  &lt;/div&gt;
  &lt;div style=&quot;font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none;&quot;&gt;&lt;b&gt;Sent:&lt;/b&gt; Thursday, September 10, 2009 12:01 
  PM&lt;/div&gt;
  &lt;div style=&quot;font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none;&quot;&gt;&lt;b&gt;Subject:&lt;/b&gt; Re: Strange behaviour on 
  &amp;lt;h:selectOneMenu&amp;gt; in facelet&lt;/div&gt;
  &lt;div&gt;&lt;br&gt;&lt;/div&gt;
  &lt;div style=&quot;font-size: 12pt; font-family: times new roman,new york,times,serif;&quot;&gt;
  &lt;div&gt;Hi Mike,&lt;/div&gt;
  &lt;div&gt;None of them working, the results are the same. Is there any posibility 
  that facelet has a bug on it?&lt;/div&gt;
  &lt;div&gt;Rgds,&lt;br&gt;~Herwin&lt;br&gt;&lt;/div&gt;
  &lt;div style=&quot;font-size: 12pt; font-family: times new roman,new york,times,serif;&quot;&gt;
  &lt;div style=&quot;font-size: 13px; font-family: arial,helvetica,sans-serif;&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;From:&lt;/span&gt;&lt;/b&gt; Mike Kienenberger &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25519036&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mkienenb@...&lt;/a&gt;&amp;gt;&lt;br&gt;&lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;To:&lt;/span&gt;&lt;/b&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25519036&amp;i=5&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;Sent:&lt;/span&gt;&lt;/b&gt; Wednesday, 9 September 2009 
  4:36:52&lt;br&gt;&lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Subject:&lt;/span&gt;&lt;/b&gt; Re: Strange 
  behaviour on &amp;lt;h:selectOneMenu&amp;gt; in facelet&lt;br&gt;&lt;/font&gt;&lt;br&gt;I suspect it 
  might be the id, but I'm not sure.&lt;br&gt;&lt;br&gt;What happens if you remove&lt;br&gt;&amp;nbsp; 
  &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; id=&quot;#{comboId}&quot;&lt;br&gt;from your 
  ui:component?&lt;br&gt;&lt;br&gt;&lt;br&gt;Another possibility if that doesn't change anything 
  might be to do this:&lt;br&gt;&lt;br&gt;&amp;lt;f:subview id=&quot;abc1Subview&quot;&amp;gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; 
  &amp;nbsp; &amp;lt;camsf:labelCombo 
  labelText=&quot;#{par['agree.label.feeType']}&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; 
  labelWidth=&quot;45&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; 
  comboValue=&quot;#{bindings.AdmFeeDisbType.inputValue}&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; 
  comboItems=&quot;#{camsParameter.valueTypes}&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; comboId=&quot;abc1&quot; 
  /&amp;gt;&lt;br&gt;&amp;lt;/f:subview&amp;gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;On Tue, Sep 8, 2009 at 12:03 AM, Herwin 
  Limadi&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25519036&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;exedraone@...&lt;/a&gt;&amp;gt; 
  wrote:&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Dear Sir,&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; I&amp;nbsp;tried to make component from 
  &amp;lt;h:outputLabel&amp;gt; and &amp;lt;h:selectOneMenu&amp;gt; the&lt;br&gt;&amp;gt; snippet 
  is:&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; .&lt;br&gt;&amp;gt; .&lt;br&gt;&amp;gt; &amp;lt;ui:component&amp;gt;&lt;br&gt;&amp;gt; 
  &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;f:loadBundle 
  basename=&quot;resources/rb_component&quot; var=&quot;component&quot;/&amp;gt;&lt;br&gt;&amp;gt; 
  &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;h:panelGrid columns=&quot;2&quot; 
  &amp;gt;&lt;br&gt;&amp;gt; 
  &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
  &amp;lt;h:panelGrid columns=&quot;2&quot;&amp;gt;&lt;br&gt;&amp;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;lt;h:panelGrid columns=&quot;1&quot; width=&quot;#{labelWidth}&quot; &amp;gt;&lt;br&gt;&amp;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;lt;h:panelGrid columns=&quot;2&quot;&amp;gt;&lt;br&gt;&amp;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;lt;h:outputLabel value=&quot;#{labelText}&quot;&lt;br&gt;&amp;gt; 
  styleClass=&quot;jsfOutputLabel&quot;/&amp;gt;&lt;br&gt;&amp;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;lt;h:outputLabel&lt;br&gt;&amp;gt; value=&quot;#{component['label.mandatoryFieldMarking']}&quot; 
  styleClass=&quot;red&quot;&lt;br&gt;&amp;gt; rendered=&quot;#{mandatory}&quot; /&amp;gt;&lt;br&gt;&amp;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;lt;/h:panelGrid&amp;gt;&lt;br&gt;&amp;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;lt;/h:panelGrid&amp;gt;&lt;br&gt;&amp;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;lt;h:panelGrid columns=&quot;1&quot; width=&quot;1&quot; &amp;gt;&lt;br&gt;&amp;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;lt;h:outputLabel value=&quot;:&quot; styleClass=&quot;jsfOutputLabel&quot; /&amp;gt;&lt;br&gt;&amp;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;lt;/h:panelGrid&amp;gt;&lt;br&gt;&amp;gt; 
  &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
  &amp;lt;/h:panelGrid&amp;gt;&lt;br&gt;&amp;gt; 
  &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
  &amp;lt;h:selectOneMenu value=&quot;#{comboValue}&quot; required=&quot;#{mandatory}&quot;&lt;br&gt;&amp;gt; 
  binding=&quot;#{comboBinding}&quot; id=&quot;#{comboId}&quot; &amp;gt;&lt;br&gt;&amp;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;lt;f:selectItems value=&quot;#{comboItems}&quot; /&amp;gt;&lt;br&gt;&amp;gt; 
  &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
  &amp;lt;/h:selectOneMenu&amp;gt;&lt;br&gt;&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
  &amp;lt;/h:panelGrid&amp;gt;&lt;br&gt;&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/ui:component&amp;gt;&lt;br&gt;&amp;gt; 
  .&lt;br&gt;&amp;gt; .&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; Then on&amp;nbsp;the other&amp;nbsp;page I use the 
  component with the snippet:&lt;br&gt;&amp;gt; .&lt;br&gt;&amp;gt; .&lt;br&gt;&amp;gt; &amp;lt;camsf:labelCombo 
  labelText=&quot;#{par['agree.label.feeType']}&quot;&lt;br&gt;&amp;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; 
  labelWidth=&quot;45&quot;&lt;br&gt;&amp;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; 
  comboValue=&quot;#{bindings.AdmFeeDisbType.inputValue}&quot;&lt;br&gt;&amp;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; 
  comboItems=&quot;#{camsParameter.valueTypes}&quot;&lt;br&gt;&amp;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; 
  comboId=&quot;abc1&quot; /&amp;gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; &amp;lt;camsf:labelCombo 
  labelText=&quot;#{par['agree.label.feeStatusChange']}&quot;&lt;br&gt;&amp;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; 
  labelWidth=&quot;75&quot;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; 
  comboValue=&quot;#{bindings.AdmFeeDisbChargeType.inputValue}&quot;&lt;br&gt;&amp;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; 
  comboItems=&quot;#{camsParameter.feeStatusTypes}&quot;&lt;br&gt;&amp;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; 
  comboId=&quot;abd2&quot; /&amp;gt;&lt;br&gt;&amp;gt; .&lt;br&gt;&amp;gt; .&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; But the result all 
  the list item from the all combo are inside one combo&lt;br&gt;&amp;gt; just like &quot;Using 
  Facelet Component Tag..JPG&quot; in the attachment. What I&lt;br&gt;&amp;gt; expect is like 
  &quot;Not Using Facelet.JPG&quot;.&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; So, any clue where I make 
  mistake.&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; Rgds,&lt;br&gt;&amp;gt; ~Herwin&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; 
  ________________________________&lt;br&gt;&amp;gt; New Email names for you!&lt;br&gt;&amp;gt; Get 
  the Email name you've always wanted on the new @ymail and @rocketmail.&lt;br&gt;&amp;gt; 
  Hurry before someone else does!&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=25519036&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=25519036&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&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=25519036&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=25519036&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;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br&gt;
  &lt;hr size=&quot;1&quot;&gt;
  Yahoo! Toolbar is now powered with Search Assist. &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://sg.rd.yahoo.com/search/toolbar/mail/signature/*http://sg.toolbar.yahoo.com/&quot;&gt;Download 
  it now! &amp;lt; body&amp;gt;&lt;/a&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br&gt;
      &lt;hr size=1&gt; &lt;a href=&quot;http://sg.rd.yahoo.com/sg/mail/domainchoice/mail/signature/*http://mail.promotions.yahoo.com/newdomains/sg/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt; New Email names for you! &lt;/a&gt; &lt;br&gt;
Get the Email name you&amp;#39;ve always wanted on the new @ymail and @rocketmail.&lt;br&gt;
Hurry before someone else does!&lt;/body&gt;&lt;/html&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Strange-behaviour-on-%3Ch%3AselectOneMenu%3E-in-facelet-tp25339671p25519036.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25473977</id>
	<title>Re: nesting facelet tag's body in a tag definition</title>
	<published>2009-09-16T07:44:43Z</published>
	<updated>2009-09-16T07:44:43Z</updated>
	<author>
		<name>Wojciech Ciesielski-4</name>
	</author>
	<content type="html">On Wed, Sep 16, 2009 at 4:36 PM, Joel Weight &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25473977&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;digitaljoel@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; We are using a component like this
&lt;br&gt;...
&lt;br&gt;&amp;gt; If you need to define more than one insert, then you should probably look at
&lt;br&gt;&amp;gt; the ui:decorate tag.  It's great for... decorating stuff, like decorating
&lt;br&gt;&amp;gt; your fancyDataTable with a fancyPanel without causing the fancyDataTable to
&lt;br&gt;&amp;gt; know that it's decorated at all.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Joel
&lt;br&gt;&lt;br&gt;Great, that's what I was looking for :-) Thanks a lot
&lt;br&gt;&lt;br&gt;Wojtek
&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=25473977&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=25473977&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/nesting-facelet-tag%27s-body-in-a-tag-definition-tp25469326p25473977.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25473822</id>
	<title>Re: nesting facelet tag's body in a tag definition</title>
	<published>2009-09-16T07:36:37Z</published>
	<updated>2009-09-16T07:36:37Z</updated>
	<author>
		<name>Joel Weight</name>
	</author>
	<content type="html">We are using a component like this&lt;br&gt;&lt;br&gt;comp.xhtml&lt;br&gt;&amp;lt;ui:composition&amp;gt;&lt;br&gt;&amp;lt;div&amp;gt;&lt;br&gt;    &amp;lt;ui:repeat value=&amp;quot;#{asdf}&amp;quot; var=&amp;quot;cur&amp;quot;&amp;gt;&lt;br&gt;        ...other ui code...&lt;br&gt;        &amp;lt;ui:insert /&amp;gt;&lt;br&gt;
    &amp;lt;/ui:repeat&amp;gt;&lt;br&gt;&amp;lt;/div&amp;gt;&lt;br&gt;&amp;lt;/ui:composition&amp;gt;&lt;br&gt;&lt;br&gt;Then, in other files, we do something like this&lt;br&gt;&amp;lt;div&amp;gt;&lt;br&gt;    &amp;lt;my:comp asdf=&amp;quot;#{someBean.getlist}&amp;quot;&amp;gt;&lt;br&gt;        &amp;lt;h:outputText value=&amp;quot;#{&lt;a href=&quot;http://cur.name&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cur.name&lt;/a&gt;}&amp;quot; title=&amp;quot;#{cur.key}&amp;quot; /&amp;gt;&lt;br&gt;
    &amp;lt;/my:comp&amp;gt;&lt;br&gt;&amp;lt;/div&amp;gt;&lt;br&gt;&lt;br&gt;The body of the my:comp tag is placed wherever the ui:insert is within the composition.  The insert has no name, and I am not defining anything.  I&amp;#39;m not sure this is in any documentation I&amp;#39;ve read, I just tried it once, hoping it would work, and got lucky.  Is this kind of what you are looking for?&lt;br&gt;
&lt;br&gt;If you need to define more than one insert, then you should probably look at the ui:decorate tag.  It&amp;#39;s great for... decorating stuff, like decorating your fancyDataTable with a fancyPanel without causing the fancyDataTable to know that it&amp;#39;s decorated at all.&lt;br&gt;
&lt;br&gt;Joel&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Wed, Sep 16, 2009 at 4:37 AM, Wojciech Ciesielski &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25473822&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;wciesielski@...&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;
Hi, I know about both templating and basic source-based tag&lt;br&gt;
creation... What I don&amp;#39;t know is how to use tag&amp;#39;s body (passed while&lt;br&gt;
using a tag on a page) inside tag definition source file... If it&amp;#39;s&lt;br&gt;
possible at all...&lt;br&gt;
&lt;br&gt;
Templating requires a component to call explicitly it&amp;#39;s template...&lt;br&gt;
It&amp;#39;s a bottom up approach (component needs to select template) - I&lt;br&gt;
need a top-up - be able to wrap certain part of a component tree in my&lt;br&gt;
tags/components...&lt;br&gt;
&lt;br&gt;
Let&amp;#39;s say we have a structure like this:&lt;br&gt;
page-template.xhtml:&lt;br&gt;
&lt;br&gt;
&amp;lt;ui:composition&amp;gt;&lt;br&gt;
....&lt;br&gt;
  &amp;lt;ui:insert /&amp;gt;&lt;br&gt;
&amp;lt;/ui:composition&amp;gt;&lt;br&gt;
&lt;br&gt;
mypage.xhtml:&lt;br&gt;
&lt;br&gt;
&amp;lt;ui:composition template=&amp;quot;page-template.xhtml&amp;quot;&amp;gt;&lt;br&gt;
  &amp;lt;ui:define&amp;gt;&lt;br&gt;
       ... page contents ...&lt;br&gt;
     &amp;lt;my:fancyDataTable &amp;gt;&lt;br&gt;
        &amp;lt;!-- some data display component --&amp;gt;&lt;br&gt;
     &amp;lt;/my:fancyDataTable &amp;gt;&lt;br&gt;
&lt;br&gt;
  &amp;lt;/ui:define&amp;gt;&lt;br&gt;
&amp;lt;/ui:composition&amp;gt;&lt;br&gt;
&lt;br&gt;
I am preparing a library of UI components - toggle panels, animated,&lt;br&gt;
fancy, sexy ;-) etc. So I need to be able to use a custom tag&lt;br&gt;
(my:fancyPanel) to wrap given components without wrapped component&lt;br&gt;
knowing about this... So while compiled the page would look like this:&lt;br&gt;
&lt;br&gt;
&amp;lt;ui:composition template=&amp;quot;page-template.xhtml&amp;quot;&amp;gt;&lt;br&gt;
  &amp;lt;ui:define&amp;gt;&lt;br&gt;
       ... page contents ...&lt;br&gt;
     &amp;lt;my:fancyPanel&amp;gt;&lt;br&gt;
       &amp;lt;my:fancyDataTable &amp;gt;&lt;br&gt;
          &amp;lt;!-- some data display component #1 --&amp;gt;&lt;br&gt;
       &amp;lt;/my:fancyDataTable &amp;gt;&lt;br&gt;
     &amp;lt;/my:fancyPanel&amp;gt;&lt;br&gt;
&lt;br&gt;
     &amp;lt;my:fancyPanel&amp;gt;&lt;br&gt;
       &amp;lt;my:fancyDataTable &amp;gt;&lt;br&gt;
          &amp;lt;!-- some data display component #2 --&amp;gt;&lt;br&gt;
       &amp;lt;/my:fancyDataTable &amp;gt;&lt;br&gt;
     &amp;lt;/my:fancyPanel&amp;gt;&lt;br&gt;
&lt;br&gt;
    .... etc ...&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
  &amp;lt;/ui:define&amp;gt;&lt;br&gt;
&amp;lt;/ui:composition&amp;gt;&lt;br&gt;
&lt;br&gt;
I don&amp;#39;t have an idea how to accomplish this with templating... I could&lt;br&gt;
try to pass a template name as an argument to a fancyDataTable but&lt;br&gt;
even if it works it&amp;#39;s ugly - I&amp;#39;m causing a child to be aware of being&lt;br&gt;
wrapped....&lt;br&gt;
&lt;br&gt;
It would be perfect if facelets have a magic tag like &amp;lt;ui:putBodyHere&lt;br&gt;
/&amp;gt; that could be used within tag&amp;#39;s source .xhtml. But I am afraid it&lt;br&gt;
does not exist (feature request maybe? ;-) )&lt;br&gt;
&lt;br&gt;
Thanks,&lt;br&gt;
Wojtek&lt;br&gt;
&lt;div class=&quot;im&quot;&gt;&lt;br&gt;
&lt;br&gt;
On Wed, Sep 16, 2009 at 12:22 PM, Paulo Pinto &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25473822&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pjmlp@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&amp;gt; Why aren&amp;#39;t you using Facelets templating mechanism?&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &lt;a href=&quot;https://facelets.dev.java.net/nonav/docs/dev/docbook.html#gettingstarted-view-template&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://facelets.dev.java.net/nonav/docs/dev/docbook.html#gettingstarted-view-template&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;Cause I want to define wrapping of  some content from outside of this&lt;br&gt;
content, not inside... Let&amp;#39;s say I have my own data display tag&lt;br&gt;
my:fancyTable&lt;br&gt;
&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Or if you want, you can create a Facelets tag:&lt;br&gt;
&amp;gt; &lt;a href=&quot;https://facelets.dev.java.net/nonav/docs/dev/docbook.html#taglib-create&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://facelets.dev.java.net/nonav/docs/dev/docbook.html#taglib-create&lt;/a&gt;&lt;br&gt;
&amp;gt; (Look for 3.5.5. Tag (Source) Files)&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Cheers,&lt;br&gt;
&amp;gt; Paulo&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; On Wed, Sep 16, 2009 at 11:55 AM, Wojciech Ciesielski&lt;br&gt;
&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25473822&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;wciesielski@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; Hi there,&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; I would like to create simple UI component for decorating content (for&lt;br&gt;
&amp;gt;&amp;gt; example some fancy javascript-decorated panel for some content). It&lt;br&gt;
&amp;gt;&amp;gt; would be best to be able to create a tag like my:fancyPanel, with a&lt;br&gt;
&amp;gt;&amp;gt; standard .xhtml based definition (via source attribute in tag&amp;#39;s&lt;br&gt;
&amp;gt;&amp;gt; definition), like&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; &amp;lt;ui:component&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;  &amp;lt;div .... fancy panel styles, JS functions etc&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;     &amp;lt;!-- WHAT TO DO HERE? to include tag&amp;#39;s body? --&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;  &amp;lt;/div&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; &amp;lt;/ui:component&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; Is this possible to reference tags body in a definition like above? So&lt;br&gt;
&amp;gt;&amp;gt; when I use my tag like this:&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; &amp;lt;my:fancyPanel&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;   &amp;lt;!-- some custom code I&amp;#39;d like to be nested within fancy panel, like:&lt;br&gt;
&amp;gt;&amp;gt; --&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;  &amp;lt;h:form&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;    ...&lt;br&gt;
&amp;gt;&amp;gt;   &amp;lt;/h:form&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; &amp;lt;/my:fancyPanel&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; Any ideas? If that&amp;#39;s not possible easily via some code inserted in&lt;br&gt;
&amp;gt;&amp;gt; fancyPanel .xhtml file - how can I achieve this without creating&lt;br&gt;
&amp;gt;&amp;gt; java-based component rendering code to the response ? I&amp;#39;d like to keep&lt;br&gt;
&amp;gt;&amp;gt; fancyPanel&amp;#39;s code in an easily editable .xhtml file, not java&lt;br&gt;
&amp;gt;&amp;gt; prints...&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; I would greatly appreciate any ideas how to accomplish this.&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; TIA&lt;br&gt;
&amp;gt;&amp;gt; Wojtek&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; ---------------------------------------------------------------------&lt;br&gt;
&amp;gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25473822&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;&lt;br&gt;
&amp;gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25473822&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&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=25473822&amp;i=5&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=25473822&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/nesting-facelet-tag%27s-body-in-a-tag-definition-tp25469326p25473822.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25473645</id>
	<title>RE:  nesting facelet tag's body in a tag definition</title>
	<published>2009-09-16T07:28:30Z</published>
	<updated>2009-09-16T07:28:30Z</updated>
	<author>
		<name>Raymond K. DeCampo</name>
	</author>
	<content type="html">Check out the documentation:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;https://facelets.dev.java.net/nonav/docs/dev/docbook.html#taglib-create-&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://facelets.dev.java.net/nonav/docs/dev/docbook.html#taglib-create-&lt;/a&gt;&lt;br&gt;source
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;https://facelets.dev.java.net/nonav/docs/dev/docbook.html#template-inser&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://facelets.dev.java.net/nonav/docs/dev/docbook.html#template-inser&lt;/a&gt;&lt;br&gt;t
&lt;br&gt;&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: Wojciech Ciesielski [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25473645&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;wciesielski@...&lt;/a&gt;] 
&lt;br&gt;Sent: Wednesday, September 16, 2009 5:55 AM
&lt;br&gt;To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25473645&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt;
&lt;br&gt;Subject: nesting facelet tag's body in a tag definition
&lt;br&gt;&lt;br&gt;Hi there,
&lt;br&gt;&lt;br&gt;I would like to create simple UI component for decorating content (for
&lt;br&gt;example some fancy javascript-decorated panel for some content). It
&lt;br&gt;would be best to be able to create a tag like my:fancyPanel, with a
&lt;br&gt;standard .xhtml based definition (via source attribute in tag's
&lt;br&gt;definition), like
&lt;br&gt;&lt;br&gt;&amp;lt;ui:component&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;div .... fancy panel styles, JS functions etc&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;!-- WHAT TO DO HERE? to include tag's body? --&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;/div&amp;gt;
&lt;br&gt;&amp;lt;/ui:component&amp;gt;
&lt;br&gt;&lt;br&gt;Is this possible to reference tags body in a definition like above? So
&lt;br&gt;when I use my tag like this:
&lt;br&gt;&lt;br&gt;&amp;lt;my:fancyPanel&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp;&amp;lt;!-- some custom code I'd like to be nested within fancy panel, like:
&lt;br&gt;--&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;h:form&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; ...
&lt;br&gt;&amp;nbsp; &amp;nbsp;&amp;lt;/h:form&amp;gt;
&lt;br&gt;&amp;lt;/my:fancyPanel&amp;gt;
&lt;br&gt;&lt;br&gt;Any ideas? If that's not possible easily via some code inserted in
&lt;br&gt;fancyPanel .xhtml file - how can I achieve this without creating
&lt;br&gt;java-based component rendering code to the response ? I'd like to keep
&lt;br&gt;fancyPanel's code in an easily editable .xhtml file, not java
&lt;br&gt;prints...
&lt;br&gt;&lt;br&gt;I would greatly appreciate any ideas how to accomplish this.
&lt;br&gt;&lt;br&gt;TIA
&lt;br&gt;Wojtek
&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=25473645&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=25473645&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=25473645&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=25473645&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/nesting-facelet-tag%27s-body-in-a-tag-definition-tp25469326p25473645.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25469863</id>
	<title>Re: nesting facelet tag's body in a tag definition</title>
	<published>2009-09-16T03:37:00Z</published>
	<updated>2009-09-16T03:37:00Z</updated>
	<author>
		<name>Wojciech Ciesielski-4</name>
	</author>
	<content type="html">Hi, I know about both templating and basic source-based tag
&lt;br&gt;creation... What I don't know is how to use tag's body (passed while
&lt;br&gt;using a tag on a page) inside tag definition source file... If it's
&lt;br&gt;possible at all...
&lt;br&gt;&lt;br&gt;Templating requires a component to call explicitly it's template...
&lt;br&gt;It's a bottom up approach (component needs to select template) - I
&lt;br&gt;need a top-up - be able to wrap certain part of a component tree in my
&lt;br&gt;tags/components...
&lt;br&gt;&lt;br&gt;Let's say we have a structure like this:
&lt;br&gt;page-template.xhtml:
&lt;br&gt;&lt;br&gt;&amp;lt;ui:composition&amp;gt;
&lt;br&gt;....
&lt;br&gt;&amp;nbsp; &amp;lt;ui:insert /&amp;gt;
&lt;br&gt;&amp;lt;/ui:composition&amp;gt;
&lt;br&gt;&lt;br&gt;mypage.xhtml:
&lt;br&gt;&lt;br&gt;&amp;lt;ui:composition template=&amp;quot;page-template.xhtml&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;ui:define&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;... page contents ...
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;my:fancyDataTable &amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;!-- some data display component --&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/my:fancyDataTable &amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;/ui:define&amp;gt;
&lt;br&gt;&amp;lt;/ui:composition&amp;gt;
&lt;br&gt;&lt;br&gt;I am preparing a library of UI components - toggle panels, animated,
&lt;br&gt;fancy, sexy ;-) etc. So I need to be able to use a custom tag
&lt;br&gt;(my:fancyPanel) to wrap given components without wrapped component
&lt;br&gt;knowing about this... So while compiled the page would look like this:
&lt;br&gt;&lt;br&gt;&amp;lt;ui:composition template=&amp;quot;page-template.xhtml&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;ui:define&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;... page contents ...
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;my:fancyPanel&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;my:fancyDataTable &amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;!-- some data display component #1 --&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/my:fancyDataTable &amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/my:fancyPanel&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;my:fancyPanel&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;my:fancyDataTable &amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;!-- some data display component #2 --&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/my:fancyDataTable &amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/my:fancyPanel&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; .... etc ...
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;/ui:define&amp;gt;
&lt;br&gt;&amp;lt;/ui:composition&amp;gt;
&lt;br&gt;&lt;br&gt;I don't have an idea how to accomplish this with templating... I could
&lt;br&gt;try to pass a template name as an argument to a fancyDataTable but
&lt;br&gt;even if it works it's ugly - I'm causing a child to be aware of being
&lt;br&gt;wrapped....
&lt;br&gt;&lt;br&gt;It would be perfect if facelets have a magic tag like &amp;lt;ui:putBodyHere
&lt;br&gt;/&amp;gt; that could be used within tag's source .xhtml. But I am afraid it
&lt;br&gt;does not exist (feature request maybe? ;-) )
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Wojtek
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Wed, Sep 16, 2009 at 12:22 PM, Paulo Pinto &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25469863&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pjmlp@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; Why aren't you using Facelets templating mechanism?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://facelets.dev.java.net/nonav/docs/dev/docbook.html#gettingstarted-view-template&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://facelets.dev.java.net/nonav/docs/dev/docbook.html#gettingstarted-view-template&lt;/a&gt;&lt;br&gt;&lt;br&gt;Cause I want to define wrapping of &amp;nbsp;some content from outside of this
&lt;br&gt;content, not inside... Let's say I have my own data display tag
&lt;br&gt;my:fancyTable
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Or if you want, you can create a Facelets tag:
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://facelets.dev.java.net/nonav/docs/dev/docbook.html#taglib-create&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://facelets.dev.java.net/nonav/docs/dev/docbook.html#taglib-create&lt;/a&gt;&lt;br&gt;&amp;gt; (Look for 3.5.5. Tag (Source) Files)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Cheers,
&lt;br&gt;&amp;gt; Paulo
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Wed, Sep 16, 2009 at 11:55 AM, Wojciech Ciesielski
&lt;br&gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25469863&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;wciesielski@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Hi there,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I would like to create simple UI component for decorating content (for
&lt;br&gt;&amp;gt;&amp;gt; example some fancy javascript-decorated panel for some content). It
&lt;br&gt;&amp;gt;&amp;gt; would be best to be able to create a tag like my:fancyPanel, with a
&lt;br&gt;&amp;gt;&amp;gt; standard .xhtml based definition (via source attribute in tag's
&lt;br&gt;&amp;gt;&amp;gt; definition), like
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt;ui:component&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;  &amp;lt;div .... fancy panel styles, JS functions etc&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;     &amp;lt;!-- WHAT TO DO HERE? to include tag's body? --&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;  &amp;lt;/div&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt;/ui:component&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Is this possible to reference tags body in a definition like above? So
&lt;br&gt;&amp;gt;&amp;gt; when I use my tag like this:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt;my:fancyPanel&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;   &amp;lt;!-- some custom code I'd like to be nested within fancy panel, like:
&lt;br&gt;&amp;gt;&amp;gt; --&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;  &amp;lt;h:form&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;    ...
&lt;br&gt;&amp;gt;&amp;gt;   &amp;lt;/h:form&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt;/my:fancyPanel&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Any ideas? If that's not possible easily via some code inserted in
&lt;br&gt;&amp;gt;&amp;gt; fancyPanel .xhtml file - how can I achieve this without creating
&lt;br&gt;&amp;gt;&amp;gt; java-based component rendering code to the response ? I'd like to keep
&lt;br&gt;&amp;gt;&amp;gt; fancyPanel's code in an easily editable .xhtml file, not java
&lt;br&gt;&amp;gt;&amp;gt; prints...
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I would greatly appreciate any ideas how to accomplish this.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; TIA
&lt;br&gt;&amp;gt;&amp;gt; Wojtek
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25469863&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25469863&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;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=25469863&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=25469863&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/nesting-facelet-tag%27s-body-in-a-tag-definition-tp25469326p25469863.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25469666</id>
	<title>Re: nesting facelet tag's body in a tag definition</title>
	<published>2009-09-16T03:22:52Z</published>
	<updated>2009-09-16T03:22:52Z</updated>
	<author>
		<name>Paulo Pinto</name>
	</author>
	<content type="html">Why aren&amp;#39;t you using Facelets templating mechanism?&lt;br&gt;&lt;br&gt;&lt;a href=&quot;https://facelets.dev.java.net/nonav/docs/dev/docbook.html#gettingstarted-view-template&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://facelets.dev.java.net/nonav/docs/dev/docbook.html#gettingstarted-view-template&lt;/a&gt;&lt;br&gt;
&lt;br&gt;Or if you want, you can create a Facelets tag:&lt;br&gt;&lt;a href=&quot;https://facelets.dev.java.net/nonav/docs/dev/docbook.html#taglib-create&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://facelets.dev.java.net/nonav/docs/dev/docbook.html#taglib-create&lt;/a&gt; (Look for 3.5.5. Tag (Source) Files)&lt;br&gt;
&lt;br&gt;Cheers,&lt;br&gt;Paulo&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Wed, Sep 16, 2009 at 11:55 AM, Wojciech Ciesielski &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25469666&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;wciesielski@...&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;
Hi there,&lt;br&gt;
&lt;br&gt;
I would like to create simple UI component for decorating content (for&lt;br&gt;
example some fancy javascript-decorated panel for some content). It&lt;br&gt;
would be best to be able to create a tag like my:fancyPanel, with a&lt;br&gt;
standard .xhtml based definition (via source attribute in tag&amp;#39;s&lt;br&gt;
definition), like&lt;br&gt;
&lt;br&gt;
&amp;lt;ui:component&amp;gt;&lt;br&gt;
  &amp;lt;div .... fancy panel styles, JS functions etc&amp;gt;&lt;br&gt;
     &amp;lt;!-- WHAT TO DO HERE? to include tag&amp;#39;s body? --&amp;gt;&lt;br&gt;
  &amp;lt;/div&amp;gt;&lt;br&gt;
&amp;lt;/ui:component&amp;gt;&lt;br&gt;
&lt;br&gt;
Is this possible to reference tags body in a definition like above? So&lt;br&gt;
when I use my tag like this:&lt;br&gt;
&lt;br&gt;
&amp;lt;my:fancyPanel&amp;gt;&lt;br&gt;
   &amp;lt;!-- some custom code I&amp;#39;d like to be nested within fancy panel, like: --&amp;gt;&lt;br&gt;
  &amp;lt;h:form&amp;gt;&lt;br&gt;
    ...&lt;br&gt;
   &amp;lt;/h:form&amp;gt;&lt;br&gt;
&amp;lt;/my:fancyPanel&amp;gt;&lt;br&gt;
&lt;br&gt;
Any ideas? If that&amp;#39;s not possible easily via some code inserted in&lt;br&gt;
fancyPanel .xhtml file - how can I achieve this without creating&lt;br&gt;
java-based component rendering code to the response ? I&amp;#39;d like to keep&lt;br&gt;
fancyPanel&amp;#39;s code in an easily editable .xhtml file, not java&lt;br&gt;
prints...&lt;br&gt;
&lt;br&gt;
I would greatly appreciate any ideas how to accomplish this.&lt;br&gt;
&lt;br&gt;
TIA&lt;br&gt;
Wojtek&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=25469666&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=25469666&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;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/nesting-facelet-tag%27s-body-in-a-tag-definition-tp25469326p25469666.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25469326</id>
	<title>nesting facelet tag's body in a tag definition</title>
	<published>2009-09-16T02:55:26Z</published>
	<updated>2009-09-16T02:55:26Z</updated>
	<author>
		<name>Wojciech Ciesielski-4</name>
	</author>
	<content type="html">Hi there,
&lt;br&gt;&lt;br&gt;I would like to create simple UI component for decorating content (for
&lt;br&gt;example some fancy javascript-decorated panel for some content). It
&lt;br&gt;would be best to be able to create a tag like my:fancyPanel, with a
&lt;br&gt;standard .xhtml based definition (via source attribute in tag's
&lt;br&gt;definition), like
&lt;br&gt;&lt;br&gt;&amp;lt;ui:component&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;div .... fancy panel styles, JS functions etc&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;!-- WHAT TO DO HERE? to include tag's body? --&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;/div&amp;gt;
&lt;br&gt;&amp;lt;/ui:component&amp;gt;
&lt;br&gt;&lt;br&gt;Is this possible to reference tags body in a definition like above? So
&lt;br&gt;when I use my tag like this:
&lt;br&gt;&lt;br&gt;&amp;lt;my:fancyPanel&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp;&amp;lt;!-- some custom code I'd like to be nested within fancy panel, like: --&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;h:form&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; ...
&lt;br&gt;&amp;nbsp; &amp;nbsp;&amp;lt;/h:form&amp;gt;
&lt;br&gt;&amp;lt;/my:fancyPanel&amp;gt;
&lt;br&gt;&lt;br&gt;Any ideas? If that's not possible easily via some code inserted in
&lt;br&gt;fancyPanel .xhtml file - how can I achieve this without creating
&lt;br&gt;java-based component rendering code to the response ? I'd like to keep
&lt;br&gt;fancyPanel's code in an easily editable .xhtml file, not java
&lt;br&gt;prints...
&lt;br&gt;&lt;br&gt;I would greatly appreciate any ideas how to accomplish this.
&lt;br&gt;&lt;br&gt;TIA
&lt;br&gt;Wojtek
&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=25469326&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=25469326&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/nesting-facelet-tag%27s-body-in-a-tag-definition-tp25469326p25469326.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25453355</id>
	<title>Re: Strange behaviour on &lt;h:selectOneMenu&gt; in facelet</title>
	<published>2009-09-15T05:45:56Z</published>
	<updated>2009-09-15T05:45:56Z</updated>
	<author>
		<name>Liumin Hu</name>
	</author>
	<content type="html">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt;
&lt;HTML&gt;&lt;HEAD&gt;
&lt;META http-equiv=Content-Type content=&quot;text/html; charset=iso-8859-1&quot;&gt;


&lt;META content=&quot;MSHTML 6.00.2900.2853&quot; name=GENERATOR&gt;&lt;/HEAD&gt;
&lt;BODY bgColor=#ffffff&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;for me, binding is null&amp;nbsp;is 
strange.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;hope this help.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;BLOCKQUOTE style=&quot;PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px&quot;&gt;
  &lt;DIV style=&quot;FONT: 10pt arial&quot;&gt;----- Original Message ----- &lt;/DIV&gt;
  &lt;DIV style=&quot;BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black&quot;&gt;&lt;B&gt;From:&lt;/B&gt; 
  &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25453355&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;exedraone@...&lt;/a&gt; &lt;/DIV&gt;
  &lt;DIV style=&quot;FONT: 10pt arial&quot;&gt;&lt;B&gt;To:&lt;/B&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25453355&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt; 
  &lt;/DIV&gt;
  &lt;DIV style=&quot;FONT: 10pt arial&quot;&gt;&lt;B&gt;Sent:&lt;/B&gt; Thursday, September 10, 2009 12:01 
  PM&lt;/DIV&gt;
  &lt;DIV style=&quot;FONT: 10pt arial&quot;&gt;&lt;B&gt;Subject:&lt;/B&gt; Re: Strange behaviour on 
  &amp;lt;h:selectOneMenu&amp;gt; in facelet&lt;/DIV&gt;
  &lt;DIV&gt;&lt;BR&gt;&lt;/DIV&gt;
  &lt;DIV style=&quot;FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif&quot;&gt;
  &lt;DIV&gt;Hi Mike,&lt;/DIV&gt;
  &lt;DIV&gt;None of them working, the results are the same. Is there any posibility 
  that facelet has a bug on it?&lt;/DIV&gt;
  &lt;DIV&gt;Rgds,&lt;BR&gt;~Herwin&lt;BR&gt;&lt;/DIV&gt;
  &lt;DIV style=&quot;FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif&quot;&gt;
  &lt;DIV style=&quot;FONT-SIZE: 13px; FONT-FAMILY: arial, helvetica, sans-serif&quot;&gt;&lt;FONT face=Tahoma size=2&gt;
  &lt;HR SIZE=1&gt;
  &lt;B&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold&quot;&gt;From:&lt;/SPAN&gt;&lt;/B&gt; Mike Kienenberger &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25453355&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mkienenb@...&lt;/a&gt;&amp;gt;&lt;BR&gt;&lt;B&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold&quot;&gt;To:&lt;/SPAN&gt;&lt;/B&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25453355&amp;i=3&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;Sent:&lt;/SPAN&gt;&lt;/B&gt; Wednesday, 9 September 2009 
  4:36:52&lt;BR&gt;&lt;B&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold&quot;&gt;Subject:&lt;/SPAN&gt;&lt;/B&gt; Re: Strange 
  behaviour on &amp;lt;h:selectOneMenu&amp;gt; in facelet&lt;BR&gt;&lt;/FONT&gt;&lt;BR&gt;I suspect it 
  might be the id, but I'm not sure.&lt;BR&gt;&lt;BR&gt;What happens if you remove&lt;BR&gt;&amp;nbsp; 
  &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; id=&quot;#{comboId}&quot;&lt;BR&gt;from your 
  ui:component?&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;Another possibility if that doesn't change anything 
  might be to do this:&lt;BR&gt;&lt;BR&gt;&amp;lt;f:subview id=&quot;abc1Subview&quot;&amp;gt;&lt;BR&gt;&lt;BR&gt;&amp;nbsp; 
  &amp;nbsp; &amp;lt;camsf:labelCombo 
  labelText=&quot;#{par['agree.label.feeType']}&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; 
  labelWidth=&quot;45&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; 
  comboValue=&quot;#{bindings.AdmFeeDisbType.inputValue}&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; 
  comboItems=&quot;#{camsParameter.valueTypes}&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; comboId=&quot;abc1&quot; 
  /&amp;gt;&lt;BR&gt;&amp;lt;/f:subview&amp;gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;On Tue, Sep 8, 2009 at 12:03 AM, Herwin 
  Limadi&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25453355&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;exedraone@...&lt;/a&gt;&amp;gt; 
  wrote:&lt;div class='shrinkable-quote'&gt;&lt;BR&gt;&amp;gt; Dear Sir,&lt;BR&gt;&amp;gt;&lt;BR&gt;&amp;gt; I&amp;nbsp;tried to make component from 
  &amp;lt;h:outputLabel&amp;gt; and &amp;lt;h:selectOneMenu&amp;gt; the&lt;BR&gt;&amp;gt; snippet 
  is:&lt;BR&gt;&amp;gt;&lt;BR&gt;&amp;gt; .&lt;BR&gt;&amp;gt; .&lt;BR&gt;&amp;gt; &amp;lt;ui:component&amp;gt;&lt;BR&gt;&amp;gt; 
  &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;f:loadBundle 
  basename=&quot;resources/rb_component&quot; var=&quot;component&quot;/&amp;gt;&lt;BR&gt;&amp;gt; 
  &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;h:panelGrid columns=&quot;2&quot; 
  &amp;gt;&lt;BR&gt;&amp;gt; 
  &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
  &amp;lt;h:panelGrid columns=&quot;2&quot;&amp;gt;&lt;BR&gt;&amp;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;lt;h:panelGrid columns=&quot;1&quot; width=&quot;#{labelWidth}&quot; &amp;gt;&lt;BR&gt;&amp;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;lt;h:panelGrid columns=&quot;2&quot;&amp;gt;&lt;BR&gt;&amp;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;lt;h:outputLabel value=&quot;#{labelText}&quot;&lt;BR&gt;&amp;gt; 
  styleClass=&quot;jsfOutputLabel&quot;/&amp;gt;&lt;BR&gt;&amp;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;lt;h:outputLabel&lt;BR&gt;&amp;gt; value=&quot;#{component['label.mandatoryFieldMarking']}&quot; 
  styleClass=&quot;red&quot;&lt;BR&gt;&amp;gt; rendered=&quot;#{mandatory}&quot; /&amp;gt;&lt;BR&gt;&amp;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;lt;/h:panelGrid&amp;gt;&lt;BR&gt;&amp;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;lt;/h:panelGrid&amp;gt;&lt;BR&gt;&amp;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;lt;h:panelGrid columns=&quot;1&quot; width=&quot;1&quot; &amp;gt;&lt;BR&gt;&amp;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;lt;h:outputLabel value=&quot;:&quot; styleClass=&quot;jsfOutputLabel&quot; /&amp;gt;&lt;BR&gt;&amp;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;lt;/h:panelGrid&amp;gt;&lt;BR&gt;&amp;gt; 
  &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
  &amp;lt;/h:panelGrid&amp;gt;&lt;BR&gt;&amp;gt; 
  &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
  &amp;lt;h:selectOneMenu value=&quot;#{comboValue}&quot; required=&quot;#{mandatory}&quot;&lt;BR&gt;&amp;gt; 
  binding=&quot;#{comboBinding}&quot; id=&quot;#{comboId}&quot; &amp;gt;&lt;BR&gt;&amp;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;lt;f:selectItems value=&quot;#{comboItems}&quot; /&amp;gt;&lt;BR&gt;&amp;gt; 
  &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
  &amp;lt;/h:selectOneMenu&amp;gt;&lt;BR&gt;&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
  &amp;lt;/h:panelGrid&amp;gt;&lt;BR&gt;&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/ui:component&amp;gt;&lt;BR&gt;&amp;gt; 
  .&lt;BR&gt;&amp;gt; .&lt;BR&gt;&amp;gt;&lt;BR&gt;&amp;gt; Then on&amp;nbsp;the other&amp;nbsp;page I use the 
  component with the snippet:&lt;BR&gt;&amp;gt; .&lt;BR&gt;&amp;gt; .&lt;BR&gt;&amp;gt; &amp;lt;camsf:labelCombo 
  labelText=&quot;#{par['agree.label.feeType']}&quot;&lt;BR&gt;&amp;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; 
  labelWidth=&quot;45&quot;&lt;BR&gt;&amp;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; 
  comboValue=&quot;#{bindings.AdmFeeDisbType.inputValue}&quot;&lt;BR&gt;&amp;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; 
  comboItems=&quot;#{camsParameter.valueTypes}&quot;&lt;BR&gt;&amp;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; 
  comboId=&quot;abc1&quot; /&amp;gt;&lt;BR&gt;&amp;gt;&lt;BR&gt;&amp;gt; &amp;lt;camsf:labelCombo 
  labelText=&quot;#{par['agree.label.feeStatusChange']}&quot;&lt;BR&gt;&amp;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; 
  labelWidth=&quot;75&quot;&lt;BR&gt;&amp;gt;&lt;BR&gt;&amp;gt; 
  comboValue=&quot;#{bindings.AdmFeeDisbChargeType.inputValue}&quot;&lt;BR&gt;&amp;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; 
  comboItems=&quot;#{camsParameter.feeStatusTypes}&quot;&lt;BR&gt;&amp;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; 
  comboId=&quot;abd2&quot; /&amp;gt;&lt;BR&gt;&amp;gt; .&lt;BR&gt;&amp;gt; .&lt;BR&gt;&amp;gt;&lt;BR&gt;&amp;gt; But the result all 
  the list item from the all combo are inside one combo&lt;BR&gt;&amp;gt; just like &quot;Using 
  Facelet Component Tag..JPG&quot; in the attachment. What I&lt;BR&gt;&amp;gt; expect is like 
  &quot;Not Using Facelet.JPG&quot;.&lt;BR&gt;&amp;gt;&lt;BR&gt;&amp;gt; So, any clue where I make 
  mistake.&lt;BR&gt;&amp;gt;&lt;BR&gt;&amp;gt; Rgds,&lt;BR&gt;&amp;gt; ~Herwin&lt;BR&gt;&amp;gt;&lt;BR&gt;&amp;gt; 
  ________________________________&lt;BR&gt;&amp;gt; New Email names for you!&lt;BR&gt;&amp;gt; Get 
  the Email name you've always wanted on the new @ymail and @rocketmail.&lt;BR&gt;&amp;gt; 
  Hurry before someone else does!&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=25453355&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=25453355&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&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=25453355&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=25453355&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;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;BR&gt;
  &lt;HR SIZE=1&gt;
  Yahoo! Toolbar is now powered with Search Assist. &lt;A href=&quot;http://sg.rd.yahoo.com/search/toolbar/mail/signature/*http://sg.toolbar.yahoo.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Download 
  it now! &lt;/A&lt; body&gt;&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Strange-behaviour-on-%3Ch%3AselectOneMenu%3E-in-facelet-tp25339671p25453355.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25412279</id>
	<title>Re: AjaxViewRoot does not work the same way with Facelets as with JSP  pages</title>
	<published>2009-09-12T00:42:28Z</published>
	<updated>2009-09-12T00:42:28Z</updated>
	<author>
		<name>Paulo Pinto</name>
	</author>
	<content type="html">Hi,&lt;br&gt;&lt;br&gt;thanks for replying to my problem. That is a quite old issue, and I solved it exactly as you&lt;br&gt;suggested. I had to change the phase when the listener gets called.&lt;br&gt;&lt;br&gt;Thanks anyway,&lt;br&gt;Paulo&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;
On Tue, Sep 8, 2009 at 9:17 PM, Werner Punz &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25412279&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;werner.punz@...&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;
Paulo Pinto schrieb:&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&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;
Hi eveyone,&lt;br&gt;
&lt;br&gt;
I have a PhaseListener that used to work in a JSP based application but it fails to work when the&lt;br&gt;
view technology is Facelets.&lt;br&gt;
&lt;br&gt;
The the JSP version of the page, the PhaseListener was able to get hold of the AjaxViewRoot and&lt;br&gt;
navigate the component tree to get hold of the required components for its task.&lt;br&gt;
&lt;br&gt;
Now with Facelets, the AjaxViewRoot instance always returns the information that it doesn&amp;#39;t have&lt;br&gt;
any children.&lt;br&gt;
&lt;br&gt;
Is this a known behavior?&lt;br&gt;
&lt;br&gt;
Thanks in Advance,&lt;br&gt;
Paulo&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;/div&gt;
I assume this is an issue of the underlying component framework&lt;br&gt;
(a4j I assume) there might have been some phase shifting going on,&lt;br&gt;
what you could try is to move your phase listener to a later phase (possibly prerender) if that does not help, rich faces/a4j has its own forum you might get a better answer there from the developers.&lt;br&gt;
While facelets does a lot, I assume it is innocent in this case, a4j probably is to blame here.&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=25412279&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=25412279&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;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/AjaxViewRoot-does-not-work-the-same-way-with-Facelets-as-with-JSP--pages-tp24220112p25412279.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25381480</id>
	<title>Re: Strange behaviour on &lt;h:selectOneMenu&gt; in facelet</title>
	<published>2009-09-10T03:01:33Z</published>
	<updated>2009-09-10T03:01:33Z</updated>
	<author>
		<name>Herwin Limadi</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;Hi Mike,&lt;/DIV&gt;
&lt;DIV&gt;None of them working, the results are the same. Is there any posibility that facelet has a bug on it?&lt;/DIV&gt;
&lt;DIV&gt;Rgds,&lt;BR&gt;~Herwin&lt;BR&gt;&lt;/DIV&gt;
&lt;DIV style=&quot;FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif&quot;&gt;
&lt;DIV style=&quot;FONT-SIZE: 13px; FONT-FAMILY: arial, helvetica, sans-serif&quot;&gt;&lt;FONT face=Tahoma size=2&gt;
&lt;HR SIZE=1&gt;
&lt;B&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold&quot;&gt;From:&lt;/SPAN&gt;&lt;/B&gt; Mike Kienenberger &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25381480&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mkienenb@...&lt;/a&gt;&amp;gt;&lt;BR&gt;&lt;B&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold&quot;&gt;To:&lt;/SPAN&gt;&lt;/B&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25381480&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;Sent:&lt;/SPAN&gt;&lt;/B&gt; Wednesday, 9 September 2009 4:36:52&lt;BR&gt;&lt;B&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold&quot;&gt;Subject:&lt;/SPAN&gt;&lt;/B&gt; Re: Strange behaviour on &amp;lt;h:selectOneMenu&amp;gt; in facelet&lt;BR&gt;&lt;/FONT&gt;&lt;BR&gt;I suspect it might be the id, but I'm not sure.&lt;BR&gt;&lt;BR&gt;What happens if you remove&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; id=&quot;#{comboId}&quot;&lt;BR&gt;from your ui:component?&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;Another possibility if that doesn't change anything might be to do this:&lt;BR&gt;&lt;BR&gt;&amp;lt;f:subview id=&quot;abc1Subview&quot;&amp;gt;&lt;BR&gt;&lt;BR&gt;&amp;nbsp; &amp;nbsp; &amp;lt;camsf:labelCombo labelText=&quot;#{par['agree.label.feeType']}&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; labelWidth=&quot;45&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; comboValue=&quot;#{bindings.AdmFeeDisbType.inputValue}&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; comboItems=&quot;#{camsParameter.valueTypes}&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; comboId=&quot;abc1&quot; /&amp;gt;&lt;BR&gt;&amp;lt;/f:subview&amp;gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;On Tue, Sep 8, 2009 at 12:03 AM, Herwin Limadi&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25381480&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;exedraone@...&lt;/a&gt;&amp;gt; wrote:&lt;div class='shrinkable-quote'&gt;&lt;BR&gt;&amp;gt; Dear Sir,&lt;BR&gt;&amp;gt;&lt;BR&gt;&amp;gt; I&amp;nbsp;tried to make component from &amp;lt;h:outputLabel&amp;gt; and &amp;lt;h:selectOneMenu&amp;gt; the&lt;BR&gt;&amp;gt; snippet is:&lt;BR&gt;&amp;gt;&lt;BR&gt;&amp;gt; .&lt;BR&gt;&amp;gt; .&lt;BR&gt;&amp;gt; &amp;lt;ui:component&amp;gt;&lt;BR&gt;&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;f:loadBundle basename=&quot;resources/rb_component&quot; var=&quot;component&quot;/&amp;gt;&lt;BR&gt;&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;h:panelGrid columns=&quot;2&quot; &amp;gt;&lt;BR&gt;&amp;gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;h:panelGrid columns=&quot;2&quot;&amp;gt;&lt;BR&gt;&amp;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;lt;h:panelGrid columns=&quot;1&quot; width=&quot;#{labelWidth}&quot; &amp;gt;&lt;BR&gt;&amp;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;lt;h:panelGrid columns=&quot;2&quot;&amp;gt;&lt;BR&gt;&amp;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;lt;h:outputLabel value=&quot;#{labelText}&quot;&lt;BR&gt;&amp;gt; styleClass=&quot;jsfOutputLabel&quot;/&amp;gt;&lt;BR&gt;&amp;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;lt;h:outputLabel&lt;BR&gt;&amp;gt; value=&quot;#{component['label.mandatoryFieldMarking']}&quot; styleClass=&quot;red&quot;&lt;BR&gt;&amp;gt; rendered=&quot;#{mandatory}&quot; /&amp;gt;&lt;BR&gt;&amp;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;lt;/h:panelGrid&amp;gt;&lt;BR&gt;&amp;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;lt;/h:panelGrid&amp;gt;&lt;BR&gt;&amp;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;lt;h:panelGrid columns=&quot;1&quot; width=&quot;1&quot; &amp;gt;&lt;BR&gt;&amp;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;lt;h:outputLabel value=&quot;:&quot; styleClass=&quot;jsfOutputLabel&quot; /&amp;gt;&lt;BR&gt;&amp;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;lt;/h:panelGrid&amp;gt;&lt;BR&gt;&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/h:panelGrid&amp;gt;&lt;BR&gt;&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;h:selectOneMenu value=&quot;#{comboValue}&quot; required=&quot;#{mandatory}&quot;&lt;BR&gt;&amp;gt;
 binding=&quot;#{comboBinding}&quot; id=&quot;#{comboId}&quot; &amp;gt;&lt;BR&gt;&amp;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;lt;f:selectItems value=&quot;#{comboItems}&quot; /&amp;gt;&lt;BR&gt;&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/h:selectOneMenu&amp;gt;&lt;BR&gt;&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/h:panelGrid&amp;gt;&lt;BR&gt;&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/ui:component&amp;gt;&lt;BR&gt;&amp;gt; .&lt;BR&gt;&amp;gt; .&lt;BR&gt;&amp;gt;&lt;BR&gt;&amp;gt; Then on&amp;nbsp;the other&amp;nbsp;page I use the component with the snippet:&lt;BR&gt;&amp;gt; .&lt;BR&gt;&amp;gt; .&lt;BR&gt;&amp;gt; &amp;lt;camsf:labelCombo labelText=&quot;#{par['agree.label.feeType']}&quot;&lt;BR&gt;&amp;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; labelWidth=&quot;45&quot;&lt;BR&gt;&amp;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;
 comboValue=&quot;#{bindings.AdmFeeDisbType.inputValue}&quot;&lt;BR&gt;&amp;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; comboItems=&quot;#{camsParameter.valueTypes}&quot;&lt;BR&gt;&amp;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; comboId=&quot;abc1&quot; /&amp;gt;&lt;BR&gt;&amp;gt;&lt;BR&gt;&amp;gt; &amp;lt;camsf:labelCombo labelText=&quot;#{par['agree.label.feeStatusChange']}&quot;&lt;BR&gt;&amp;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; labelWidth=&quot;75&quot;&lt;BR&gt;&amp;gt;&lt;BR&gt;&amp;gt; comboValue=&quot;#{bindings.AdmFeeDisbChargeType.inputValue}&quot;&lt;BR&gt;&amp;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;
 comboItems=&quot;#{camsParameter.feeStatusTypes}&quot;&lt;BR&gt;&amp;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; comboId=&quot;abd2&quot; /&amp;gt;&lt;BR&gt;&amp;gt; .&lt;BR&gt;&amp;gt; .&lt;BR&gt;&amp;gt;&lt;BR&gt;&amp;gt; But the result all the list item from the all combo are inside one combo&lt;BR&gt;&amp;gt; just like &quot;Using Facelet Component Tag..JPG&quot; in the attachment. What I&lt;BR&gt;&amp;gt; expect is like &quot;Not Using Facelet.JPG&quot;.&lt;BR&gt;&amp;gt;&lt;BR&gt;&amp;gt; So, any clue where I make mistake.&lt;BR&gt;&amp;gt;&lt;BR&gt;&amp;gt; Rgds,&lt;BR&gt;&amp;gt; ~Herwin&lt;BR&gt;&amp;gt;&lt;BR&gt;&amp;gt; ________________________________&lt;BR&gt;&amp;gt; New Email names for you!&lt;BR&gt;&amp;gt; Get the Email name you've always wanted on the new @ymail and @rocketmail.&lt;BR&gt;&amp;gt; Hurry before someone else does!&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=25381480&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=25381480&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&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=25381480&amp;i=5&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=25381480&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;&lt;BR&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/div&gt;&lt;br&gt;
      &lt;hr size=1&gt; Yahoo! Toolbar is now powered with Search Assist. &lt;a href=&quot;http://sg.rd.yahoo.com/search/toolbar/mail/signature/*http://sg.toolbar.yahoo.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;  Download it now! &lt;/a&lt;/body&gt;&lt;/html&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Strange-behaviour-on-%3Ch%3AselectOneMenu%3E-in-facelet-tp25339671p25381480.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25358883</id>
	<title>Re: h:commandButton escape xml problem</title>
	<published>2009-09-08T22:38:17Z</published>
	<updated>2009-09-08T22:38:17Z</updated>
	<author>
		<name>Fırat KÜÇÜK</name>
	</author>
	<content type="html">Hi,&lt;br&gt;this sould be a solution:&lt;br&gt;&amp;lt;h:commandButton value=&amp;quot;#{fn:escapeXml(bean.property)}&amp;quot; /&amp;gt;&lt;br&gt;&lt;br&gt;and the other one: simple facelets tag:&lt;br&gt;&lt;br&gt;&amp;lt;new:commandButton value=&amp;quot;#{bean.property}&amp;quot; escape=&amp;quot;true&amp;quot; /&amp;gt;&lt;br&gt;
&lt;br&gt;-------------------------------&lt;br&gt;&lt;br&gt;&amp;lt;?xml version = &amp;#39;1.0&amp;#39; encoding = &amp;#39;UTF-8&amp;#39;?&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;ui:composition xmlns:h=&amp;quot;&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;&amp;quot;&lt;br&gt;
                xmlns:ui=&amp;quot;&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;&amp;quot;&amp;gt;&lt;br&gt;  &amp;lt;h:commandButton value=&amp;quot;#{escape ? fn:escapeXml(value) : value}&amp;quot; /&amp;gt;&lt;br&gt;&amp;lt;/ui:composition&amp;gt;&lt;br&gt;
&lt;br&gt;i guess  there should be a way to extend h:commandButton.&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;08 Eylül 2009 22:25 tarihinde Werner Punz &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25358883&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;werner.punz@...&lt;/a&gt;&amp;gt;&lt;/span&gt; yazdı:&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;Fırat KÜÇÜK schrieb:&lt;div class=&quot;im&quot;&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;
Hi,&lt;br&gt;
how we can escape xml from h:commandButton?&lt;br&gt;
&lt;br&gt;
we may use this on h:commandLink&lt;br&gt;
&lt;br&gt;
&amp;lt;h:commandLink id=&amp;quot;loginSubmit&amp;quot;&amp;gt;&lt;br&gt;
  &amp;lt;h:outputText value=&amp;quot;${resource.loginTitle}&amp;quot; escape=&amp;quot;false&amp;quot;/&amp;gt;&lt;br&gt;
&amp;lt;/h:commandLink&amp;gt;&lt;br&gt;
&lt;br&gt;
and h:commandLink does not have an escape attribute.&lt;br&gt;
&lt;br&gt;
thanks.&lt;br&gt;
&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;
From your code I assume you meant not escaping, aka embedding&lt;br&gt;
xml or html code natively instead of escaping the chars.&lt;br&gt;
&lt;br&gt;
Sorry there is no way to do that on a commandButton, have in mind that commandbutton maps to a html button and the tag itself is limited by what a html button can do and you cannot embed xml or html in a sane way in the text part of those controls. So you cannot replicate what you do&lt;br&gt;

with the escape=&amp;quot;false&amp;quot; for your embedded output text on the commandButton.&lt;br&gt;
&lt;br&gt;
JSF in this case is innocent, HTML itself in all its gory glory sets the limits there.&lt;br&gt;
&lt;br&gt;
&lt;br&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=25358883&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=25358883&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;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;FIRAT KÜÇÜK&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/h%3AcommandButton-escape-xml-problem-tp23831746p25358883.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25353731</id>
	<title>Re: Strange behaviour on &lt;h:selectOneMenu&gt; in facelet</title>
	<published>2009-09-08T13:36:52Z</published>
	<updated>2009-09-08T13:36:52Z</updated>
	<author>
		<name>Mike Kienenberger</name>
	</author>
	<content type="html">I suspect it might be the id, but I'm not sure.
&lt;br&gt;&lt;br&gt;What happens if you remove
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; id=&amp;quot;#{comboId}&amp;quot;
&lt;br&gt;from your ui:component?
&lt;br&gt;&lt;br&gt;&lt;br&gt;Another possibility if that doesn't change anything might be to do this:
&lt;br&gt;&lt;br&gt;&amp;lt;f:subview id=&amp;quot;abc1Subview&amp;quot;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;camsf:labelCombo labelText=&amp;quot;#{par['agree.label.feeType']}&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; labelWidth=&amp;quot;45&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; comboValue=&amp;quot;#{bindings.AdmFeeDisbType.inputValue}&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; comboItems=&amp;quot;#{camsParameter.valueTypes}&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; comboId=&amp;quot;abc1&amp;quot; /&amp;gt;
&lt;br&gt;&amp;lt;/f:subview&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Tue, Sep 8, 2009 at 12:03 AM, Herwin Limadi&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25353731&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;exedraone@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Dear Sir,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I tried to make component from &amp;lt;h:outputLabel&amp;gt; and &amp;lt;h:selectOneMenu&amp;gt; the
&lt;br&gt;&amp;gt; snippet is:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; .
&lt;br&gt;&amp;gt; .
&lt;br&gt;&amp;gt; &amp;lt;ui:component&amp;gt;
&lt;br&gt;&amp;gt;         &amp;lt;f:loadBundle basename=&amp;quot;resources/rb_component&amp;quot; var=&amp;quot;component&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt;         &amp;lt;h:panelGrid columns=&amp;quot;2&amp;quot; &amp;gt;
&lt;br&gt;&amp;gt;             &amp;lt;h:panelGrid columns=&amp;quot;2&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt;                 &amp;lt;h:panelGrid columns=&amp;quot;1&amp;quot; width=&amp;quot;#{labelWidth}&amp;quot; &amp;gt;
&lt;br&gt;&amp;gt;                     &amp;lt;h:panelGrid columns=&amp;quot;2&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt;                         &amp;lt;h:outputLabel value=&amp;quot;#{labelText}&amp;quot;
&lt;br&gt;&amp;gt; styleClass=&amp;quot;jsfOutputLabel&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt;                         &amp;lt;h:outputLabel
&lt;br&gt;&amp;gt; value=&amp;quot;#{component['label.mandatoryFieldMarking']}&amp;quot; styleClass=&amp;quot;red&amp;quot;
&lt;br&gt;&amp;gt; rendered=&amp;quot;#{mandatory}&amp;quot; /&amp;gt;
&lt;br&gt;&amp;gt;                     &amp;lt;/h:panelGrid&amp;gt;
&lt;br&gt;&amp;gt;                 &amp;lt;/h:panelGrid&amp;gt;
&lt;br&gt;&amp;gt;                 &amp;lt;h:panelGrid columns=&amp;quot;1&amp;quot; width=&amp;quot;1&amp;quot; &amp;gt;
&lt;br&gt;&amp;gt;                     &amp;lt;h:outputLabel value=&amp;quot;:&amp;quot; styleClass=&amp;quot;jsfOutputLabel&amp;quot; /&amp;gt;
&lt;br&gt;&amp;gt;                 &amp;lt;/h:panelGrid&amp;gt;
&lt;br&gt;&amp;gt;             &amp;lt;/h:panelGrid&amp;gt;
&lt;br&gt;&amp;gt;             &amp;lt;h:selectOneMenu value=&amp;quot;#{comboValue}&amp;quot; required=&amp;quot;#{mandatory}&amp;quot;
&lt;br&gt;&amp;gt; binding=&amp;quot;#{comboBinding}&amp;quot; id=&amp;quot;#{comboId}&amp;quot; &amp;gt;
&lt;br&gt;&amp;gt;                 &amp;lt;f:selectItems value=&amp;quot;#{comboItems}&amp;quot; /&amp;gt;
&lt;br&gt;&amp;gt;             &amp;lt;/h:selectOneMenu&amp;gt;
&lt;br&gt;&amp;gt;         &amp;lt;/h:panelGrid&amp;gt;
&lt;br&gt;&amp;gt;     &amp;lt;/ui:component&amp;gt;
&lt;br&gt;&amp;gt; .
&lt;br&gt;&amp;gt; .
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Then on the other page I use the component with the snippet:
&lt;br&gt;&amp;gt; .
&lt;br&gt;&amp;gt; .
&lt;br&gt;&amp;gt; &amp;lt;camsf:labelCombo labelText=&amp;quot;#{par['agree.label.feeType']}&amp;quot;
&lt;br&gt;&amp;gt;                           labelWidth=&amp;quot;45&amp;quot;
&lt;br&gt;&amp;gt;                           comboValue=&amp;quot;#{bindings.AdmFeeDisbType.inputValue}&amp;quot;
&lt;br&gt;&amp;gt;                           comboItems=&amp;quot;#{camsParameter.valueTypes}&amp;quot;
&lt;br&gt;&amp;gt;                           comboId=&amp;quot;abc1&amp;quot; /&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;camsf:labelCombo labelText=&amp;quot;#{par['agree.label.feeStatusChange']}&amp;quot;
&lt;br&gt;&amp;gt;                           labelWidth=&amp;quot;75&amp;quot;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; comboValue=&amp;quot;#{bindings.AdmFeeDisbChargeType.inputValue}&amp;quot;
&lt;br&gt;&amp;gt;                           comboItems=&amp;quot;#{camsParameter.feeStatusTypes}&amp;quot;
&lt;br&gt;&amp;gt;                           comboId=&amp;quot;abd2&amp;quot; /&amp;gt;
&lt;br&gt;&amp;gt; .
&lt;br&gt;&amp;gt; .
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; But the result all the list item from the all combo are inside one combo
&lt;br&gt;&amp;gt; just like &amp;quot;Using Facelet Component Tag..JPG&amp;quot; in the attachment. What I
&lt;br&gt;&amp;gt; expect is like &amp;quot;Not Using Facelet.JPG&amp;quot;.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; So, any clue where I make mistake.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Rgds,
&lt;br&gt;&amp;gt; ~Herwin
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ________________________________
&lt;br&gt;&amp;gt; New Email names for you!
&lt;br&gt;&amp;gt; Get the Email name you've always wanted on the new @ymail and @rocketmail.
&lt;br&gt;&amp;gt; Hurry before someone else does!
&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=25353731&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=25353731&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&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=25353731&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=25353731&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Strange-behaviour-on-%3Ch%3AselectOneMenu%3E-in-facelet-tp25339671p25353731.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25352510</id>
	<title>Re: h:commandButton escape xml problem</title>
	<published>2009-09-08T12:25:21Z</published>
	<updated>2009-09-08T12:25:21Z</updated>
	<author>
		<name>Werner Punz-2</name>
	</author>
	<content type="html">Fırat KÜÇÜK schrieb:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; how we can escape xml from h:commandButton?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; we may use this on h:commandLink
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;lt;h:commandLink id=&amp;quot;loginSubmit&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;lt;h:outputText value=&amp;quot;${resource.loginTitle}&amp;quot; escape=&amp;quot;false&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/h:commandLink&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; and h:commandLink does not have an escape attribute.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; thanks.
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&amp;nbsp;From your code I assume you meant not escaping, aka embedding
&lt;br&gt;xml or html code natively instead of escaping the chars.
&lt;br&gt;&lt;br&gt;Sorry there is no way to do that on a commandButton, have in mind that 
&lt;br&gt;commandbutton maps to a html button and the tag itself is limited by 
&lt;br&gt;what a html button can do and you cannot embed xml or html in a sane way 
&lt;br&gt;in the text part of those controls. So you cannot replicate what you do
&lt;br&gt;with the escape=&amp;quot;false&amp;quot; for your embedded output text on the commandButton.
&lt;br&gt;&lt;br&gt;JSF in this case is innocent, HTML itself in all its gory glory sets the 
&lt;br&gt;limits there.
&lt;br&gt;&lt;br&gt;&lt;br&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=25352510&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=25352510&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/h%3AcommandButton-escape-xml-problem-tp23831746p25352510.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25352393</id>
	<title>Re: AjaxViewRoot does not work the same way with Facelets as with JSP    pages</title>
	<published>2009-09-08T12:17:47Z</published>
	<updated>2009-09-08T12:17:47Z</updated>
	<author>
		<name>Werner Punz-2</name>
	</author>
	<content type="html">Paulo Pinto schrieb:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi eveyone,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I have a PhaseListener that used to work in a JSP based application but 
&lt;br&gt;&amp;gt; it fails to work when the
&lt;br&gt;&amp;gt; view technology is Facelets.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The the JSP version of the page, the PhaseListener was able to get hold 
&lt;br&gt;&amp;gt; of the AjaxViewRoot and
&lt;br&gt;&amp;gt; navigate the component tree to get hold of the required components for 
&lt;br&gt;&amp;gt; its task.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Now with Facelets, the AjaxViewRoot instance always returns the 
&lt;br&gt;&amp;gt; information that it doesn't have
&lt;br&gt;&amp;gt; any children.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Is this a known behavior?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks in Advance,
&lt;br&gt;&amp;gt; Paulo
&lt;/div&gt;I assume this is an issue of the underlying component framework
&lt;br&gt;(a4j I assume) there might have been some phase shifting going on,
&lt;br&gt;what you could try is to move your phase listener to a later phase 
&lt;br&gt;(possibly prerender) if that does not help, rich faces/a4j has its own 
&lt;br&gt;forum you might get a better answer there from the developers.
&lt;br&gt;While facelets does a lot, I assume it is innocent in this case, a4j 
&lt;br&gt;probably is to blame here.
&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=25352393&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=25352393&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/AjaxViewRoot-does-not-work-the-same-way-with-Facelets-as-with-JSP--pages-tp24220112p25352393.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25344569</id>
	<title>Re: Properly expanding HTML code in Facelets</title>
	<published>2009-09-08T04:44:59Z</published>
	<updated>2009-09-08T04:44:59Z</updated>
	<author>
		<name>Paulo Pinto</name>
	</author>
	<content type="html">Thanks, it worked.&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Mon, Sep 7, 2009 at 4:18 PM, Lincoln Baxter, III &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25344569&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lincolnbaxter@...&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;
Try &amp;lt;h:outputText value=&amp;quot;#{bean.method}&amp;quot; encode=&amp;quot;false&amp;quot; &amp;gt;&lt;br&gt;
&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;&lt;br&gt;
On Mon, Sep 7, 2009 at 8:30 AM, Paulo Pinto&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25344569&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pjmlp@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&amp;gt; Hi everyone,&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I am having the following problem. If I try to use the following code&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;lt;div class=&amp;quot;some_class&amp;quot;&amp;gt;&lt;br&gt;
&amp;gt;   #{bean.method}&lt;br&gt;
&amp;gt; &amp;lt;/div&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; where bean.method() returns a HTML snippet, I want the HTML to be processed&lt;br&gt;
&amp;gt; by the browser,&lt;br&gt;
&amp;gt; instead I get a very strange behavior.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Lets say the above code gets translated into:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;lt;div class=&amp;quot;some_class&amp;quot;&amp;gt;&lt;br&gt;
&amp;gt;   &amp;lt;p&amp;gt;my own &amp;lt;b&amp;gt;snippet&amp;lt;/b&amp;gt;&amp;lt;/p&amp;gt;&lt;br&gt;
&amp;gt; &amp;lt;/div&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Now I want the elements to be properly shown in the browser, instead they&lt;br&gt;
&amp;gt; seem to be outside the DOM&lt;br&gt;
&amp;gt; tree and get shown as is.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; As anyone had a similar problem? How did you solve it? &amp;lt;ui:fragment&amp;gt; or&lt;br&gt;
&amp;gt; &amp;lt;ui:compoment&amp;gt; don&amp;#39;t seem to work.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Thanks in advance,&lt;br&gt;
&amp;gt; Paulo&lt;br&gt;
&amp;gt;&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;---------------------------------------------------------------------&lt;br&gt;
To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25344569&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=25344569&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;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Properly-expanding-HTML-code-in-Facelets-tp25329785p25344569.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25339766</id>
	<title>Re: ADF column cannot be a component</title>
	<published>2009-09-07T21:20:29Z</published>
	<updated>2009-09-07T21:20:29Z</updated>
	<author>
		<name>Herwin Limadi</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;Andrew, sorry I am late to reply&amp;nbsp;you. Just now I got time to try your advice. It seems it works well.&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR&gt;So, I want to thank you about it.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Rgds,&lt;/DIV&gt;
&lt;DIV&gt;~Herwin&lt;/DIV&gt;
&lt;DIV style=&quot;FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif&quot;&gt;&lt;BR&gt;
&lt;DIV style=&quot;FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif&quot;&gt;&lt;FONT face=Tahoma size=2&gt;
&lt;HR SIZE=1&gt;
&lt;B&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold&quot;&gt;From:&lt;/SPAN&gt;&lt;/B&gt; Andrew Robinson &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25339766&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;andrew.rw.robinson@...&lt;/a&gt;&amp;gt;&lt;BR&gt;&lt;B&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold&quot;&gt;To:&lt;/SPAN&gt;&lt;/B&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25339766&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;Sent:&lt;/SPAN&gt;&lt;/B&gt; Thursday, 3 September 2009 11:25:09&lt;BR&gt;&lt;B&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold&quot;&gt;Subject:&lt;/SPAN&gt;&lt;/B&gt; Re: ADF column cannot be a component&lt;BR&gt;&lt;/FONT&gt;&lt;BR&gt;Use ui:composition, not ui:component. ADF faces requires that the children of af:table are &amp;lt;af:column&amp;gt; when you used &amp;lt;ui:component/&amp;gt; you added an in-between component that is not valid.&lt;BR&gt;&lt;BR&gt;-Andrew&lt;BR&gt;&lt;BR&gt;
&lt;DIV class=gmail_quote&gt;On Thu, Aug 27, 2009 at 6:27 AM, Herwin Limadi &lt;SPAN dir=ltr&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25339766&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;exedraone@...&lt;/a&gt;&amp;gt;&lt;/SPAN&gt; wrote:&lt;BR&gt;
&lt;BLOCKQUOTE class=gmail_quote style=&quot;PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid&quot;&gt;
&lt;TABLE cellSpacing=0 cellPadding=0 border=0&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD style=&quot;FONT-FAMILY: inherit; font-size-adjust: inherit; font-stretch: inherit&quot; vAlign=top&gt;
&lt;DIV&gt;Hi,&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;I think there is a bug regarding to &amp;lt;ui:component&amp;gt; tag.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;I am using ADF Faces 10.1.3.3.0 and Facelet 1.1.14 as template framework. I create some component using &amp;lt;ui:component&amp;gt; tag so it will make easier the other developers. But when I make component ADF column tag, there is a fatal error. I succeeded to make some component like &amp;lt;adf:commandLink&amp;gt;, so I guess there is a bug in Facelet.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;My snippet component as labelTextString.jspx file:&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;lt;ui:component&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;af:column sortProperty=&quot;#{sortProperty}&quot; sortable=&quot;false&quot; headerText=&quot;#{headerText}&quot; headerNoWrap=&quot;true&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;lt;af:outputText value=&quot;#{value}&quot;/&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/af:column&amp;gt;&lt;BR&gt;&amp;lt;/ui:component&amp;gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Then I registered it in *..taglib.xml:&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;lt;facelet-taglib&amp;gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;lt;namespace&amp;gt;&lt;A href=&quot;http://www.mycompany.co.id/cams/facelets&quot; target=_blank rel=&quot;nofollow&quot;&gt;http://www.mycompany.co.id/cams/facelets&lt;/A&gt;&amp;lt;/namespace&amp;gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;lt;tag&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tag-name&amp;gt;labelTextString&amp;lt;/tag-name&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;source&amp;gt;components/labelTextString.jspx&amp;lt;/source&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/tag&amp;gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;lt;/facelet-taglib&amp;gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;and the application page snippet is:&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;lt;ui:composition xmlns:jsp=&quot;&lt;A href=&quot;http://java.sun.com/JSP/Page&quot; target=_blank rel=&quot;nofollow&quot;&gt;http://java.sun.com/JSP/Page&lt;/A&gt;&quot; version=&quot;2.0&quot;&lt;/DIV&gt;
&lt;DIV&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; xmlns:camsf=&quot;&lt;A href=&quot;http://www..co.id/cams/facelets&quot; target=_blank rel=&quot;nofollow&quot;&gt;http://www.&lt;FONT color=#000000&gt;mycompany&lt;/FONT&gt;.co.id/cams/facelets&lt;/A&gt;&quot;&amp;gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;lt;af:table value=&quot;#{bindings.FixedDpSchemeView.collectionModel}&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; var=&quot;row&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; selectionState=&quot;#{bindings.FixedDpSchemeView.collectionModel.selectedRow}&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;
 selectionListener=&quot;#{bindings.FixedDpSchemeView.collectionModel.makeCurrent}&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; rows=&quot;#{bindings.FixedDpSchemeView.rangeSize}&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; first=&quot;#{bindings.FixedDpSchemeView.rangeStart}&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; emptyText=&quot;#{bindings.FixedDpSchemeView.viewable ? 'No rows yet.' : 'Access
 Denied.'}&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; width=&quot;100%&quot; banding=&quot;row&quot; bandingInterval=&quot;1&quot;&amp;gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&amp;nbsp; .&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&amp;nbsp; .&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;lt;camsf:columnString sortProperty=&quot;DpSchemeName&quot; headerText=&quot;#{ec['label.DpSchemeName']}&quot; value=&quot;#{row.DpSchemeName}&quot; /&amp;gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&amp;nbsp; .&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&amp;nbsp; .&lt;/DIV&gt;
&lt;DIV&gt;&amp;lt;/af:table&amp;gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;lt;/ui:composition&amp;gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;When I run it I got error:&lt;/DIV&gt;
&lt;DIV&gt;&lt;CODE&gt;&lt;/CODE&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;CODE&gt;java.lang.ClassCastException: com.sun.facelets..tag.ui.ComponentRef cannot be cast to oracle.adf.view.faces.component.core..data.CoreColumn&lt;BR&gt;at oracle.adfinternal.view.faces.renderkit.core.xhtml.DesktopTableRenderer._renderRegularColumns(DesktopTableRenderer.java:1032)&lt;BR&gt;at oracle.adfinternal.view.faces.renderkit.core.xhtml.DesktopTableRenderer.renderSingleRow(DesktopTableRenderer.java:110)&lt;BR&gt;at oracle.adfinternal.view.faces.renderkit.core.xhtml.TableRenderer.encodeAll(TableRenderer.java:231)&lt;BR&gt;at oracle.adfinternal.view.faces.renderkit.core.xhtml.DesktopTableRenderer.encodeAll(DesktopTableRenderer.java:80)&lt;BR&gt;at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeEnd(CoreRenderer.java:169)&lt;BR&gt;at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase..java:624)&lt;BR&gt;at oracle.adf.view.faces.component.UIXCollection.encodeEnd(UIXCollection.java:456)&lt;BR&gt;at
 oracle.adfinternal.view.faces.renderkit.RenderUtils.encodeRecursive(RenderUtils.java:54)&lt;BR&gt;at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeChild(CoreRenderer.java:242)&lt;BR&gt;at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeAllChildren(CoreRenderer.java:265)&lt;BR&gt;at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer..renderContent(PanelPartialRootRenderer.java:65)&lt;BR&gt;at oracle.adfinternal.view.faces.renderkit.core.xhtml.BodyRenderer.renderContent(BodyRenderer.java:117)&lt;BR&gt;at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer.encodeAll(PanelPartialRootRenderer.java:147)&lt;BR&gt;at oracle.adfinternal.view.faces.renderkit.core.xhtml.BodyRenderer.encodeAll(BodyRenderer..java:60)&lt;BR&gt;at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeEnd(CoreRenderer.java:169)&lt;BR&gt;at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)&lt;BR&gt;at
 oracle.adfinternal.view.faces.renderkit.RenderUtils.encodeRecursive(RenderUtils.java:54)&lt;BR&gt;at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeChild(CoreRenderer.java:242)&lt;BR&gt;at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeAllChildren(CoreRenderer.java:265)&lt;BR&gt;at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer..renderContent(PanelPartialRootRenderer.java:65)&lt;BR&gt;at oracle.adfinternal.view.faces.renderkit.core.xhtml.BodyRenderer.renderContent(BodyRenderer.java:117)&lt;BR&gt;at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer.encodeAll(PanelPartialRootRenderer.java:147)&lt;BR&gt;at oracle.adfinternal.view.faces.renderkit.core.xhtml.BodyRenderer.encodeAll(BodyRenderer..java:60)&lt;BR&gt;at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeEnd(CoreRenderer.java:169)&lt;BR&gt;at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)&lt;BR&gt;at
 com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport..java:252)&lt;BR&gt;at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249)&lt;BR&gt;at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249)&lt;BR&gt;at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:594)&lt;BR&gt;at oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:157)&lt;BR&gt;at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)&lt;BR&gt;at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:216)&lt;BR&gt;at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107)&lt;BR&gt;at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)&lt;BR&gt;at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)&lt;BR&gt;at javax.faces.webapp.FacesServlet.service(FacesServlet.java:214)&lt;BR&gt;at
 com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)&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 com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)&lt;BR&gt;at id.co.sigma.cams.auth.filter.CheckLoginFilter.doFilter(CheckLoginFilter.java:39)&lt;BR&gt;at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)&lt;BR&gt;at id.co.sigma.cams.auth.filter.RefererAuthFilter.doFilter(RefererAuthFilter.java:33)&lt;BR&gt;at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)&lt;BR&gt;at id.co.sigma.cams.auth.filter.CredentialUserFilter.doFilter(CredentialUserFilter.java:32)&lt;BR&gt;at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)&lt;BR&gt;at id.co.sigma.cams.auth.filter.AuthorizationFilter.doFilter(AuthorizationFilter.java:73)&lt;BR&gt;at
 com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)&lt;BR&gt;at id.co.sigma.cams.commons.web.filters.CAMSApplicationFilter.doFilter(CAMSApplicationFilter.java:70)&lt;BR&gt;at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)&lt;BR&gt;at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228)&lt;BR&gt;at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197)&lt;BR&gt;at oracle.adfinternal.view.faces..webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)&lt;BR&gt;at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)&lt;BR&gt;at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)&lt;BR&gt;at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)&lt;BR&gt;at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)&lt;BR&gt;at
 com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)&lt;BR&gt;at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)&lt;BR&gt;at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)&lt;BR&gt;at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)&lt;BR&gt;at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)&lt;BR&gt;at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)&lt;BR&gt;at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)&lt;BR&gt;at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)&lt;BR&gt;at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)&lt;BR&gt;at
 oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)&lt;BR&gt;at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)&lt;BR&gt;at java.lang.Thread.run(Thread.java:619)&lt;BR&gt;&lt;/CODE&gt;&lt;/DIV&gt;
&lt;DIV&gt;If you please tell me&amp;nbsp;how is the work arround for this bug. We are in tight schedule for deliver the product.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thank you for your attention.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Rgds,&lt;/DIV&gt;
&lt;DIV&gt;~Herwin&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR&gt;
&lt;DIV class=hm&gt;
&lt;HR SIZE=1&gt;
&lt;A href=&quot;http://sg.rd.yahoo.com/sg/mail/domainchoice/mail/signature/*http://mail.promotions.yahoo.com/newdomains/sg/&quot; target=_blank rel=&quot;nofollow&quot;&gt;New Email addresses available on Yahoo! &lt;/A&gt;&lt;BR&gt;Get the Email name you've always wanted on the new @ymail and @rocketmail.&lt;BR&gt;Hurry before someone else does!&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/DIV&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/div&gt;&lt;br&gt;
      &lt;hr size=1&gt; &lt;a href=&quot;http://sg.rd.yahoo.com/sg/mail/domainchoice/mail/signature/*http://mail.promotions.yahoo.com/newdomains/sg/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt; Get your new Email address! &lt;/a&gt; &lt;br&gt;
Grab the Email name you&amp;#39;ve always wanted before someone else does!&lt;/body&gt;&lt;/html&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/ADF-column-cannot-be-a-component-tp25171560p25339766.html" />
</entry>

</feed>
