JDeveloper and ADF


valueChangeListener not firing for af:inputFile


Hi,The use case , I want to upload the file using ADF UI and save it to the database as a blob.I have a af:inputFile in a .jsff page and have defined value change listener in the bean for this page, but value change listener is not firing in my page, the method associated with the VCL is not at all executed. This is the component in jsf page:This is the method in backing bean:at run time this method is not executed wherein other method present in the bean is executed:I tried all the suggestions already available in the forum and included- vc.getComponent().processUpdates(FacesContext.getCurrentInstance()); as well but this also didn't helped. The scope of the bean in set at backing bean level at the task flow: My Jdev version is 11.1.1.4
Your jdev version is quite old.If your valueChangeListner isn't called adding processUpdates doesn't help.put a system.out.println statement into the valeuChangeListener (as first statement) to make sure it's not called. The you can try to change the scope of hte bean to viewScope. Timo
Did you put a debugger and tried whether control is coming in a value change listener or not.? You can increase bean scope to view and try. You can also make use of value attribute of file upload and get access to uploaded object Check this Andrejus Baranovskis Blog: Multiple Files Upload - Unlimited Files Upload in ADF 11g PS6 for reference. Ajay
Thanks Timo, Changing the scope to view worked for me, though I had to try it many times with different combination, may be some issue with Jdev.Clearing cache/temporary file deletion also helped. One more thing I wanted to understand the difference between bean scope at adfc-config and  bean scope at user defined task flow. If you suggest me some reading that will be great. Thanks in Advance!!!

Related Links

af:validateRegExp
How to Implement ADF BC Session in 11g
Accessing file outside document root?
Connection - HTTP Status 500 error
ADF 11g + getting the user details in ADF BC layer
How to set datasource value to jbo.server.internal_connection in bc4j file
How to disable copy-paste operation in af:inputText
Jdeveloper 11g namespace error
CreateInsert row in table refetches dropdown data
How to cache the data of a view?
How to use inlineStyle with % size in graphs
commandMenuItem action not firing within forEach loop - JDev 10.1.3.3.0
data format problem in SQL based view object
patching JDEV 11 errors out
Setting a row in page controller causes JBO-35007 error
Deploying application with Customizations

Categories

ORACLE DEV
Database
iSQL*Plus [ARCHIVE]
Oracle Application Exp...
Learning Management
Real Application Clusters
Other Languages
Backup & Recovery (Kor...
Oracle Clusterware
Communications Service...
Essbase
Industrial Manufacturing
Configurator
Hyperion Developer Net...
SCM - Asset Lifecycle ...
Coherence
Oracle Fusion Middlewa...
LCM: Oracle iSetup
On Demand: SaaS and Ma...
Application Integratio...
Packaged Applications
MessageQ
Communications Presence
weblogic.developer.int...
weblogic.developer.int...
weblogic.developer.int...
I(18)N & Localization
aqualogic.bpm.runtime
JSR 168 & WSRP
Pages
BEA Guardian Newsgroups
weblogic.network.gatek...
liquid.developer.inter...
WebLogic Server - Mana...
Primavera Portfolio Ma...
ADF UI Patterns & Best...
技术专区
dev2dev Bugs Report ((...
LCM: Oracle Applicatio...
Tutor
Communications Data Model
ORDS, SODA & JSON in t...
Java EE (Java Enterpri...
Java Applet Development
Solaris Zones
Java ME SDK
Clustering
Sun Update Connection
Identity Management - ...
ONE Application Server 6
Vdbench
Talent Management
Webservice(SOA) (Korean)
Java Embedded MOOC
Oracle Mobile Security...
Architecture - General...
Java Sessions
Software-as-a-Service
Portuguese
Oracle Instantis User ...
Friday Fun
Utah Eloqua Users
CX Central
Eloqua Share & Learn
Cloud Component Beta C...
Eloqua Experience 2013
SalesMastermind
SRM/Eloqua users
Computershare
SQL
Oracle Marketing Cloud...
Oracle SuperCluster
Manufacture and Maintain
Warehouse Management
JAI
Java SE [ARCHIVE]
Digital Learning
General Discussion
Español
Oracle Learning Library
Home of Oracle Certifi...
Oracle Application Bui...
Adopt OpenJDK
Uruguay
OTN Women in Technology
Oracle Cloud Machine
Oracle Insurance Polic...
Oracle Systems Manager...
Java Puzzle Ball
Tajikistan Oracle User...
Modern Marketing Eloqu...
Enterprise Resource Pl...
Financials
Business Intelligence ...
Database and Applicati...
Database Security - Ge...
Technologies ((Korean))
WebLogic Server - General
Archived Newsgroups
北京 User Group
Java Programming
OTNカフェ
Endeca Information Dis...
Technical Questions
Oracle Cloud - General...
OTN Garage
BICS Upgrades

Resources

Encrypt Message



code
soft
python
ios
c
html
jquery
cloud
mobile