<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Fan&#039;s blog &#187; JSF</title>
	<atom:link href="http://www.fkpwolf.net/category/jsf/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.fkpwolf.net</link>
	<description>无为而无不为</description>
	<lastBuildDate>Mon, 30 Aug 2010 09:48:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>JSF Custom Compoment development tips</title>
		<link>http://www.fkpwolf.net/2008/07/03/jsf-custom-compoment-development-tips/</link>
		<comments>http://www.fkpwolf.net/2008/07/03/jsf-custom-compoment-development-tips/#comments</comments>
		<pubDate>Thu, 03 Jul 2008 13:55:00 +0000</pubDate>
		<dc:creator>Fan Fan</dc:creator>
				<category><![CDATA[JSF]]></category>

		<guid isPermaLink="false">http://www.fkpwolf.net/2008/07/03/jsf-custom-compoment-development-tips/</guid>
		<description><![CDATA[1. JSP taglibIn JSF, the scriplet like &#8220;#{RequestBean1.name}&#8221; is treated as a ValueExpression field in tab class. The corresponding tab lib definition file should nests the attribute type with deferred-value. And also in tld file, jsp-version 2.1 element should be included. If this scriplet is missed, some container like Tomcat 6.0.16 will take this tag [...]]]></description>
			<content:encoded><![CDATA[<p>1. JSP taglib<br />In JSF, the scriplet like &#8220;#{RequestBean1.name}&#8221; is treated as a <span style="font-style: italic;">ValueExpression</span> field in tab class. The corresponding tab lib definition file should nests the attribute type with <span style="font-style: italic;">deferred-value</span>.</p>
<p>And also in tld file, <span style="font-style: italic;">jsp-version 2.1</span> element should be included. If this scriplet is missed, some container like Tomcat 6.0.16 will take this tag as generial tag and if we invoke <span style="font-style: italic;">isLiteralText</span>() on the <span style="font-style: italic;">ValueExpression</span> object, <span style="font-style: italic;">true </span>will return. It was not excepted. But the GlassFish V2 ignored this and took 2.1 as default.</p>
<p>2. Why setProperties() in tag handler java is not invoked?<br />You should define all property of jsf component java in faces-config.xml. Sometimes it looks like that a attribute is defined twice: one in tld, one in faces-config.xml. <a href="https://jsftemplating.dev.java.net/">JSF Template</a> can make these things easy by generating all configuration file. In order to archive this, it introduces some anonations.</p>
<p>3. Why did some data shown on page disappear after re-loading the page?<br />implement the <span style="font-style: italic;">saveState/restoreState</span> method.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fkpwolf.net/2008/07/03/jsf-custom-compoment-development-tips/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>在Netbeans 6.1中使用dojo开发自定义的JSF组件</title>
		<link>http://www.fkpwolf.net/2008/04/12/%e5%9c%a8netbeans-6-1%e4%b8%ad%e4%bd%bf%e7%94%a8dojo%e5%bc%80%e5%8f%91%e8%87%aa%e5%ae%9a%e4%b9%89%e7%9a%84jsf%e7%bb%84%e4%bb%b6/</link>
		<comments>http://www.fkpwolf.net/2008/04/12/%e5%9c%a8netbeans-6-1%e4%b8%ad%e4%bd%bf%e7%94%a8dojo%e5%bc%80%e5%8f%91%e8%87%aa%e5%ae%9a%e4%b9%89%e7%9a%84jsf%e7%bb%84%e4%bb%b6/#comments</comments>
		<pubDate>Sun, 13 Apr 2008 02:18:00 +0000</pubDate>
		<dc:creator>Fan Fan</dc:creator>
				<category><![CDATA[JSF]]></category>

		<guid isPermaLink="false">http://www.fkpwolf.net/2008/04/12/%e5%9c%a8netbeans-6-1%e4%b8%ad%e4%bd%bf%e7%94%a8dojo%e5%bc%80%e5%8f%91%e8%87%aa%e5%ae%9a%e4%b9%89%e7%9a%84jsf%e7%bb%84%e4%bb%b6/</guid>
		<description><![CDATA[前提：netbeans 6.1 beta。 目的：开发一个功能最简的JSF woodstock组件。 准备：Firefox + FireBug插件 原文在这里。压根儿拷贝不过来，又一个信息孤岛。]]></description>
			<content:encoded><![CDATA[<p>前提：netbeans 6.1 beta。</p>
<p>目的：开发一个功能最简的JSF woodstock组件。</p>
<p>准备：Firefox + FireBug插件</p>
<p>原文在<a href="http://fkpwolf.javaeye.com/admin/blogs/177308">这里</a>。压根儿拷贝不过来，又一个信息孤岛。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fkpwolf.net/2008/04/12/%e5%9c%a8netbeans-6-1%e4%b8%ad%e4%bd%bf%e7%94%a8dojo%e5%bc%80%e5%8f%91%e8%87%aa%e5%ae%9a%e4%b9%89%e7%9a%84jsf%e7%bb%84%e4%bb%b6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
