dbTalk Databases Forums  

About pll and olb

comp.databases.oracle.tools comp.databases.oracle.tools


Discuss About pll and olb in the comp.databases.oracle.tools forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
nick048
 
Posts: n/a

Default About pll and olb - 03-16-2007 , 01:10 AM






Hi,

I have created some forms that have equal elements, for example Visual
attributes, windows, canvas, blocks etc.

Is it possible to create libraries of this object, in order to reuse
in other forms ?

If yes, can You suggest to me tutorials, documents or another source
to learn about this problem ?

Thank You and best Regards
Gaetano


Reply With Quote
  #2  
Old   
DA Morgan
 
Posts: n/a

Default Re: About pll and olb - 03-16-2007 , 10:13 AM






nick048 wrote:
Quote:
Hi,

I have created some forms that have equal elements, for example Visual
attributes, windows, canvas, blocks etc.

Is it possible to create libraries of this object, in order to reuse
in other forms ?

If yes, can You suggest to me tutorials, documents or another source
to learn about this problem ?

Thank You and best Regards
Gaetano
I don't know about possible given you didn't include version
information ... but it would be a bad idea on multiple levels.

Oracle Forms is object oriented and is expected to be used in
that manner. First visual attributes, then create property classes,
then inherit those property classes, morphing properties as needed,
to create other property classes. When you have what you require
then save that form as a template.

You can then reference that form when creating the application's
user interface.
--
Daniel A. Morgan
University of Washington
damorgan@x.washington.edu
(replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org


Reply With Quote
  #3  
Old   
oracleguru@lycos.com
 
Posts: n/a

Default Re: About pll and olb - 04-06-2007 , 12:56 PM



Since you mentioned pll and olb in your subject line, I take it that
you are working with Forms 6i or later version.

Yes, you can create all those Form objects and many more including
triggers, group objects etc. in an Forms Object library. A good
source that I learned from was Forms6i book by Albert Lulushi.

I do not know if he has published any 10g Form books or not.

Briefly the way I have done it in the past is you create the Object
Library and Library tabs. Lookup Help for these. Name your Library
tabs ALERTS, BLOCKS, BUTTONS, CANVASES, FORM_LOGO_TITLE, FRAMES,
GROUP_ OBJECTS, LIST_OF_VALUES, PROPERTY_CLASSES, RECORD_GROUPS,
TRIGGERS, VISUAL_ATTRIBUTES and WINDOWS. You can create more tabs if
you wish, but I do use these in my day to day work.

The GROUP_OBJECT is where you would combine many of these components
into 1 group which is common to all your forms.

Then you create a base form in which you have all the reusable form
components including the GROUP_OBJECT and drag and drop each component
on to the appropriate Object library tab and save ithe library as an
*.olb file.

When you create a new form, either drag and drop the GROUP_OBJECT to
have all the components in the form at once or idividually drop each
component as necessary.

Similarly, you create a PL/SQL library by dragging and dropping the
commonly used procedures, functions, packages etc. from a base form
into the program Unit node of the Library.

Then you attach the PL/SQL Library to your form.

The one big difference between the 2 libraries, is if you change
something in your object library you need to re-compile the forms,
where as if you change somehting in the PL/SQL library you do not need
to re-compile forms.

It works great !!!

Hope that is helpful.

Regards









Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.