<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Provide your ADF Faces application with a central BindingContainer for generic access to application wide services</title>
	<atom:link href="http://technology.amis.nl/2007/11/12/provide-your-adf-faces-application-with-a-central-bindingcontainer-for-generic-access-to-application-wide-services/feed/" rel="self" type="application/rss+xml" />
	<link>http://technology.amis.nl/2007/11/12/provide-your-adf-faces-application-with-a-central-bindingcontainer-for-generic-access-to-application-wide-services/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=provide-your-adf-faces-application-with-a-central-bindingcontainer-for-generic-access-to-application-wide-services</link>
	<description></description>
	<lastBuildDate>Fri, 12 Apr 2013 10:04:09 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: Ed Eaglehouse</title>
		<link>http://technology.amis.nl/2007/11/12/provide-your-adf-faces-application-with-a-central-bindingcontainer-for-generic-access-to-application-wide-services/#comment-5016</link>
		<dc:creator>Ed Eaglehouse</dc:creator>
		<pubDate>Fri, 01 Aug 2008 17:15:52 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=2540#comment-5016</guid>
		<description><![CDATA[This article explains a function that would be extremely useful to me. But I&#039;m new to ADF/JSF and having some trouble implementing it in an application that does not use JHeadstart, just plain ADF Faces.

I created a FacesPageLifecycle and PhaseListener extension classes, registered the new PhaseListener in the Life Cycle section of faces-config.xml, made a genericBindings managed bean of class oracle.adf.model.binding.DCBindingContainer, overrode the prepareModel method of the FacesPageLifecycle extension class to initialize the container, and created a new Application Module exposing a SysdateView1 data control. No data is being returned from the example Sysdate data control.

I noticed my Page Definition had an ID of &quot;WEB_INF_GenericServicesPageDef&quot; instead of &quot;GenericServicesPageDef&quot; as in your article, so I changed my prepareModel() override to use the name I found, but it made no difference. Your description of initializing the generic BindingContainer was confusing to me and I didn&#039;t know what applied and what didn&#039;t. I used the prepareModel() method exactly as listed in the article. Using &quot;#{genericBindings.SysdateView1Sysdate.inputValue}&quot; from my JSP page - it&#039;s simply &quot;#{bindings.SysdateView1Sysdate.inputValue}&quot; on my GenericServices.jsp page - does not display any value.

I tried running the debugger, but my customized FacesPageLifecycle extension class doesn&#039;t seem to be called.

Can you make any suggestions as to how I can tell what&#039;s going wrong and how to fix it?]]></description>
		<content:encoded><![CDATA[<p>This article explains a function that would be extremely useful to me. But I&#8217;m new to ADF/JSF and having some trouble implementing it in an application that does not use JHeadstart, just plain ADF Faces.</p>
<p>I created a FacesPageLifecycle and PhaseListener extension classes, registered the new PhaseListener in the Life Cycle section of faces-config.xml, made a genericBindings managed bean of class oracle.adf.model.binding.DCBindingContainer, overrode the prepareModel method of the FacesPageLifecycle extension class to initialize the container, and created a new Application Module exposing a SysdateView1 data control. No data is being returned from the example Sysdate data control.</p>
<p>I noticed my Page Definition had an ID of &#8220;WEB_INF_GenericServicesPageDef&#8221; instead of &#8220;GenericServicesPageDef&#8221; as in your article, so I changed my prepareModel() override to use the name I found, but it made no difference. Your description of initializing the generic BindingContainer was confusing to me and I didn&#8217;t know what applied and what didn&#8217;t. I used the prepareModel() method exactly as listed in the article. Using &#8220;#{genericBindings.SysdateView1Sysdate.inputValue}&#8221; from my JSP page &#8211; it&#8217;s simply &#8220;#{bindings.SysdateView1Sysdate.inputValue}&#8221; on my GenericServices.jsp page &#8211; does not display any value.</p>
<p>I tried running the debugger, but my customized FacesPageLifecycle extension class doesn&#8217;t seem to be called.</p>
<p>Can you make any suggestions as to how I can tell what&#8217;s going wrong and how to fix it?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
