All of us know how to evaluate a memory scope attribute using a dot notation syntax of the expression language.
Example: to access a request scope attribute, we use this syntax.
However, this syntax fails if the key has a dot (.) in its name. To overcome this limitation, expression language offers the string argument notation.
Example: to access a request scope attribute which has a (.) in its name, we use this syntax.
A backing bean is a special case of managed bean that has a one-to-one relationship to a single JSF page, and it exposes setter and getter methods for the components contained on the page. In Jdeveloper you can automatically expose UI components in a new bean when you create a new page by setting the Automatically Expose New UI Components in a New Managed Bean option as shown in the figure below.
Automatically Expose New UI Components in a New Managed Bean option
But imagine you forget to set this option and later you decided to create a Backing Bean, do you need to explicitly bind each component to the backing bean?
Fortunately, you don’t need to bind the components manually, all you need is to open the page in the visual editor and choose Design | Page Properties from the Jdeveloper menu bar as shown in the figure below:
Click on the page properties and then select the Component Binding tab from the page properties window, set the Auto Bind option, and create or select an existing managed bean.
Today, I took the Oracle Application Development Framework 11g Essentials exam (1Z0-554). Fortunately I passed it, and I am now an Application Development Framework Implementation specialist.
The WordPress.com stats helper monkeys prepared a 2012 annual report for this blog.
Here’s an excerpt:
4,329 films were submitted to the 2012 Cannes Film Festival. This blog had 50,000 views in 2012. If each view were a film, this blog would power 12 Film Festivals
Click here to see the complete report.
Environment (JDeveloper, ADF BC, ADF Faces)
When you work with large application which contains more than one Model/one ViewController projects, you need to set the project dependency between the model and the view controller project., failing to do this you may face this exception.
oracle.jbo.ConfigException: JBO-33001: Configuration file /model/common/bc4j.xcfg is not found in the classpath.
To solve the problem, double click the viewController project to open project properties dialog, and select the the Dependencies node and click the Edit Dependecies icon to add a dependency on the build output path or on one or more deployment archives.
Hope this will help someone faced the same problem.
Environment (JDeveloper 22.214.171.124.0,ADF Faces)
Sometimes you need to force the user to enter upperCase or lowerCase or capitalize letters for input text component. fortunately, there is an easy way to do this by setting contentStyle of the input text.
- To enforce the user to enter upperCase text use this style:
<af:inputText label="Label 1" id="it1" contentStyle="text-transform:uppercase;"/>
- To enforce the user to enter lowerCase text use this style:
<af:inputText label="Label 1" id="it1" contentStyle="text-transform:lowercase;"/>
- To enforce the user to enter capitalize (InitCap) text use this style:
<af:inputText label="Label 1" id="it1" contentStyle="text-transform:capitalize;"/>