Pages

Saturday, October 26, 2013

"Import application error: Either this is not a valid name or an object with that name already exists. model.Model"

Intially First App as like of following Snap:



then Second App as like of following Snap:                          


Scenario:
                 while I'm importing jar in one another project. i got this warning and error message.





Resolution for the above problem is :

                 i realize that i'm having same model name and same package name and same application module name. after i rename all those things. 

Finally,
without any error jar imported successfully then it works fine.

Tuesday, October 15, 2013

af:tree on Oracle ADF

I am blogging out for whoever want to make af:tree without any code (i.e) zero line code.

Step 1: Have a ViewCriteria



Step 2: Invoke that View Criteria 
 
Finally,


Download here

Monday, October 14, 2013

How to use Oracle ADF Security on Fusion Web Application

This blog may helps out the people whoever new to this hot topic(ADF Security)
when I am new to this topic. I searched for simple document and along with an example on ADF Security. I didn't get chance have like that at that time.

This Oracle ADF Security docs which i followed. it may take little time to understand and experiment out as per the document. To avoid that i made it out a simple example.
As per my requirement(simple example on Oracle ADF Security giving little time to experiment). From the document i skipped some of the requirement steps.But i followed some core steps of ADF Security from this document.


For details:
see jazn-data.xml it will be in application resource under the application navigator.

In jazn-data.xml
go with users section      -  creating users
go with application role   -  creating roles.
go with resource grants    -  configuring access to pages.
For login credentials please check with jazn-data.xml.

Saturday, October 12, 2013

Oracle ADF Mobile Simple Tutorials with Sample

After the Completing the Guidance Start to learn the Simple Oracle Tutorials.
while deploying you can see the Deployment Log it takes much time for deployment to avoid that read this


Oracle ADF Mobile for Beginners Guidance

After a long time I got a chance to write a blog.

For Oracle ADF Mobile Beginner right origin to start learning. Please take a look on it.


Oracle ADF Mobile Intro

Oracle ADF Mobile Glance at once

Oracle ADF Mobile Top to Bottom[cover to cover for a developer]



Saturday, June 1, 2013

About Jdeveloper Pallette

Based On Otn Forum, I came up with this Post,
Unfortunately if you lost the palette from the jdeveloper tool means it would be like



Step 1:
Go Window It would be Present Top of the pane.



Step 2:
Choose Reset Windows to Factory Settings. Finally it would like this


Saturday, June 16, 2012

Checking Application Module Dirtiness


 While Building An Application , Developer should consider the end-user actions. 

Say As Example :

If the End-user enter some data without saving the data skip or closing page means Prompt the end user to Save The Data's which you have entered. It's quite Natural,

But in This Application Development Framework ,Component itself can able to handled as such this things.
<af:checkUncommittedDataBehavior/> this is the Component which i means.However sometimes it will not meets our requirements

From My Experience, if you are using UncommittedDataBehavior tag in your jspx page means Prompt an Alert when you are closing the Browser tab without Commiting the data's

In Many of Times Business Requirement May be Like this While Switching tab, navigating pages/regions,
have to prompt the end user to Commit Data's

I would like to come up with HR-Employee table to do my Requirement

Step1: you can see there is no data's on Action Comment



Step 2: if i entered some data's.if i hit the button named check am dirty are not? yes if some changes found out on Application Module means will prompt a message, with an option
if i go with yes means noticed changes will commit into database



Step 3: now you can see the commit data's



  Step4: if i go with no means noticed changes get rollbacked.




Step 5: You cant see the changes, Since It's Rollbacked


 


Step 6: Now am going to hit the Same Button  for checking any dirtiness in Application Module. Nothing have been Noticed.


Download here

Wednesday, March 28, 2012

Visible/Unvisible property For UI Components

Well, While when i'm Roaming around the Otn forums,

I have been noticed that,

New bie's keep posting on this specific topic Visible property On/Off for UI Components.

Say as e.g.: if user try to give the salary as negative. Save button Visible should be get's off.

Step1 :At initial stage save button should be enabled


Step2: If user try to edit the salary as negative. so save button goes off.

Step3: Here Code snippet goes.


Enable/disable the buttons based on conditions

Well, i previously blogged about Visible/Unvisible property For UI

But here I'm to represent Enable/Disable button,
Concept and code snippet is same some what like previous post. 

I got a requirement like, A button(update) should be disable at initial stage.
Based on condition should get enabled.

If you are using the commit button once record created never allow you to update.
If you remove this EL Expression (#{!bindings.Commit.enabled}) you can update the records as always.

But my customer expect something like update button. 
To update the existing records. 

Consider this as a scenario for Toggling enable/disable button.


Step1: At initial stage existing records cannot save and update.



Step2:  when the user try to edit the employee id means update button get's enabled.


Step3:  Here Code Snippet shows, Approach1 and Approach2 both of them performs the same.