Friday, January 21, 2011

Working with Attribute level security in Oracle ADF

Hi,

In this video we will see how to work with attribute level security in Oracle ADF.

I will create 2 groups in adf security called admin and basic and only users with group admin can change the salary of an employees table.

Download sample code

Watch the video tutorial




Happy Jdeveloping,
Zeeshan Baig

My presentation Getting started on Oracle APEX

Hi,

I know its late but finally i am uploading my presentation which i presented on Oracle APEX at "Techno-ed" a certified Oracle education partner in Pakistan. It was free sessions conducted by a IT awareness program from PITUG

Click to download

Have a nice day,
Zeeshan Baig

Sunday, January 16, 2011

Drag and Drop Collection in Oracle ADF

Hi,

In this example we will see how to use Oracle ADF's drag and drop feature by dropping rows from one table to another.

Download the sample code (Jdeveloper PS3)

More info in the video



Have a nice day,
Zeeshan Baig

Monday, January 10, 2011

How to prevent delete on master if child record exists in Oracle ADF

Hi,

In this post we will see how to stop deletion of Master record if child record exists in the database without writing much code.

In this example we have only Departments entity and Employee view object i created a ViewLink between DepartmentsView and EmployeesView and accessing the ViewAccessor in Departments entity.

Later i override the remove() method as follows


  public void remove() {
    RowIterator ri = getEmployeesView();
    int count = ri.getRowCount();
    if (count > 0) {
      throw new JboException("You cannot delete this record, Child record exists!!!");
    } else {
      super.remove();
    }

  }

Download the sample code.

feel free to add more suggestions.

Have a nice day,
Zeeshan Baig

Monday, December 27, 2010

My Year 2010

Hi,

Year 2010 was a great year for me both personally and professionally and i think its a best year for my IT career i have learned a lot and personally i became dad with a cute daughter.

Back in 2009 around at the same time i decided to start writing a blog on Oracle technology and on good response from Google queries i moved to write towards more on Oracle ADF and fusion middleware area.

Some highlights of my achievements in 2010. 
  • I have learned a lot about Oracle ADF and Fusion middleware technologies.
  • Got to know the SOA, BPM suites.
  • I have written 82 blog posts in Year 2010 lets hope i would continue to write helpful topics.
  • I presented 2 day APEX training sessions at Oracle university (Techno-ed) in Karachi, Pakistan.
  • Formed PITUG User group to spread IT awareness in Pakistan.
  • Made lot of friends all over the world.
With Year 2011 (In 2 months) I am migrating to USA and looking forward to work in the field of Oracle ADF and fusion middleware products.

I wish you all a happy new year

Best Regards,
Zeeshan Baig

Wednesday, December 8, 2010

FREE 2 day Oracle APEX training in Karachi, Pakistan.

Hi,

Just to announce that i will be conducting 2 days training sessions  on "Getting started with Oracle APEX" at Oracle University Karachi, Pakistan.

Venue: Oracle University / Ora-Tech Karachi, Pakistan.
Location: Main Nursery Shahrah-e-faisal Karachi
Date: 14 & 15 december 2010
Timings: 6 PM to 9 PM (3 hours)

I would be glad to see you there.

Best Regards,
Zeeshan Baig