Quantcast
Channel: Ashish Awasthi's Blog
Browsing all 165 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Send eMail and attachement from any SMTP server using JavaMail in Oracle ADF

The JavaMail API provides a platform-independent and protocol-independent framework to build mail and messaging applications- JavaMail APIThis post is about sending eMail and attachments from any SMTP...

View Article


Image may be NSFW.
Clik here to view.

Setting view object bind variable (Override bindParametersForCollection,...

Hello All,This post is about a very basic question- How to set bind variable of a view object ?and there are multiple posts about it that describes multiple ways to do thisUsing...

View Article


Image may be NSFW.
Clik here to view.

Show uploaded file (pdf/text/html/xml/image) content on page -Oracle ADF

Hello allIn previous postUploading and downloading files from absolute server path in Oracle ADF (12.1.3) we saw that how can we upload any file to absolute server path and download same from...

View Article

Image may be NSFW.
Clik here to view.

ADF Basics: Set multiple LOV's on attribute and conditionally switch using...

This post is about a very basic and common use caseSuppose we have to show different values in our List depending on some condition but all values must be stored in same attribute so for this type of...

View Article

Image may be NSFW.
Clik here to view.

Better UI for data collection using af:listView, Enable selection in ADF...

af:listView is a new component introduced in Jdev 12C to show tabular data (rows of a collection), it uses same configuration as af:tableIn this post i will be describing- how to create af:listView...

View Article


Image may be NSFW.
Clik here to view.

Custom selection listener for af:listView, Invoke selectionListener...

In the last post (Better UI for data collection using af:listView, Enable selection in ADF Faces List component ) about af:listView, we saw that how can we present data collection in a better way using...

View Article

Image may be NSFW.
Clik here to view.

Working with af:iterator and af:forEach programmatically (Populate values...

This is another post about Working programmatically with ADF (populating af:iterator and af:forEach programmatically )previously i have posted about populating af:iterator and af:forEach using ADF BC...

View Article

Image may be NSFW.
Clik here to view.

Working with af:iterator and af:forEach programmatically (Add and delete...

In previous post Working with af:iterator and af:forEach programmatically (Populate values using POJO from Managed Bean) we saw that how can we populate record from a List to af:iterator and af:forEach...

View Article


Image may be NSFW.
Clik here to view.

Disable(Override) browser back button functionality in ADF Application using...

This is another JavaScript trick to disable browser back button functionalityIn this example i am using two jspx pages - Page1 and Page2Added two buttons in both pages to navigate between pagesSource...

View Article


Image may be NSFW.
Clik here to view.

Searching pivotTable using dvt:pivotFilterBar in Oracle ADF

dvt:pivotTable-From Oracle docs- The Pivot Table supports the display of multiple nested attributes on a row and column header. In addition, the Pivot Table supports the ability to dynamically change...

View Article

Image may be NSFW.
Clik here to view.

ADF Basics: Disable user input in af:inputListOfValues

Sometimes we need to disable user input in input Lov as there is requirement of selecting value only from Lov popupBy default af:inputListOfValues provides feature to select value from popup or type a...

View Article

Java Database Connectivity- JDBC Tutorial, PreparedStatement, ResultSet

JDBC is java based API or technology to access data from database and use in Java Desktop or Enterprize application. In short we can say JDBC is an interface between Java and Database, using JDBC you...

View Article

Image may be NSFW.
Clik here to view.

ADF Basics: Apply and Change WHERE Clause of ViewObject at runtime...

This post is about applying or changing WHERE clause of ViewObject programmatically, it can be also used in case we need a specific data(row) from database, suppose you are using Department table of HR...

View Article


Image may be NSFW.
Clik here to view.

Stretch ADF Faces Components to fit browser width (Show as row-column layout-...

Recently i have seen a thread in OTN about layout of components (How to use components to show a particular layout)ADF layout for showing email recipientsRequirement was simple, user want to show...

View Article

Image may be NSFW.
Clik here to view.

Better UI -Show jQuery notification message (for error, warning, info) in...

Hello all,Another post about using jQuery with ADF Faces , this post is about showing a notification message using jQuery in your ADF ApplicationNormally we use default FacesMesage to show error,...

View Article


Image may be NSFW.
Clik here to view.

Build selectOneChoice to show hierarchical (tree style) data programmatically...

This post is based on an old article from Frank Nimphius How - to build a select one choice displaying hierarchical selection dataThis article is about showing tree structure data in af:selectOneChoice...

View Article

Image may be NSFW.
Clik here to view.

ADF Skinning : Remove "search" or "more" link from...

Hello all,This post is about a small CSS trick that may be useful sometimes we often use af:inputComboboxListOfValues to show large amount of data as List of ValuesFrom Oracle Docs-The...

View Article


Image may be NSFW.
Clik here to view.

ADF Skinning : Change color and style of af:query buttons in ADF Faces (Jdev...

Hello All,This is another post about ADF Skinning , in this post i am going to show you that how can we change button's style in af:query componentActually this is very easy , if we define some styles...

View Article

Image may be NSFW.
Clik here to view.

Get Value from programmatically created components , Iterate over parent...

Sometimes we need to create and add ADF Faces components at runtime , we can do it programmatically I have posted about this beforeCreating dynamic layout (form and UI Component) using ADF Faces Now...

View Article

Image may be NSFW.
Clik here to view.

Apply ActionListener to programmatically created buttons/link in ADF

This post is next in series of "Working with ADF Faces Components programmatically"Previous posts are-Creating dynamic layout (form and UI Component) using ADF FacesGet Value from programmatically...

View Article
Browsing all 165 articles
Browse latest View live


Latest Images