Breaking Subclass/Removing Object Group/Without loss of code for child form

Hi all..
This is regarding Forms 10g (breaking inheritance)
I have a base form as well as client form.
The child form is having some properties as common to the base form. so child form is having sub class(inheritance) from the base class with the help of Object Group. This is the exiting setup
Now, client wants the same information as child form with out link with base form.
i.e., they want to remove the Object Group with out distrubing the child form.
Finally, they want the child form as independant from base form. i.e., child form should not have inheritance from the base form and at the same time they don't want to loss of any code to the child form.
There are 1000's of forms like that are need to re-work.
Is there any tool/script available to do this process of work automatically.
Please provide the necessary deatils and help me regarding this.
Regards
Madhava

You CAN add new items to the subclassed block or change triggers code or even add new triggers. Form Builder won't let you create items in-between existing subclassed items or triggers. So if you need to create a new item, create at the end of subclassed item or trigger...
You can not DELETE items of subclassed block or the block itself if it is subclassed. But you can remove the subclassed object from your child module --- by removing class info from the object group in child module --- but it will also remove all the subclassed child objects.
If you delete or change anything in master object, it will directly affect the subclassed object and you can see the change immediatly in the child modules.
When you drag the master object to child, it asks you if you need to subclass or copy, selecting copy will create a separate copy which you can play with in the child module.
And below is brief help on the matter:
If you don't want all the objects in the subclassed object group, then you might consider either subclassing the desired objects individually, or creating an object group which contains only the desired objects.
Edited by: Zaafran Ahmed on Oct 13, 2010 12:41 PM

Similar Messages

  • Problem with subclassing of object groups

    Hi All,
    I've a template form which i use to create new forms (for creating our own toolbar, triggers etc).
    When i subclass the object group of template form to my new form, it creates form level triggers, toolbar data block etc in my new form.
    One of the trigger being subclassed is ON-ERROR form level trigger.
    The code inside this trigger is std_blk_on_error; // this procedure is a program unit written by us.
    But, when i try to compile this new form, it gives me internal error (deplu 3) on this trigger.
    Error 0 at line 1, column 1
    statement ignored.
    Can any one please help me with this?
    Regards,
    Navnit

    std_blk_on_error; // this procedure is a program unit written by us.or is the code
    std_blk_on_error;and this fails on all Forms ?
    and it works if you remove this trigger from the object group ?

  • Problem subclassing an object group from an object library

    Hi
    I've created an object group using Forms 6i (can't tell you the exact version just now) containing a number of objects, including a couple of alerts, a couple of data blocks, canvas, window, program units etc. I've saved the object group into an object library and used it successfully for some time. Now I've gone to a new job, I suspect that I'm using a subtly different version of Forms 6i (6.0.8.16.1), but I'm finding a strange behaviour when I try to add the object group to a form.
    Dragging the object group over, I get the 'Do you want to copy or subclass the object?' message. If I select 'Copy', everything gets copied across fine - the datablocks have all the items in them and the program units are fine. However, if I select 'Subclass', the items all appear in the object navigator, but are 'empty', so the data blocks contain no items and the program units are just 'begin' and 'end' statements with nothing in between.
    Funnily enough, if I 'copy' the object group into a form (so everything's present), then create another copy of the object group in the current version of Form Builder and save it in a (new) object library, the behaviour is still the same.
    Has anyone come across this situation before (I couldn't find anything exactly comparable on Metalink), and what workaround (if any) did you find?
    regards
    Andrew
    UK

    Hi again
    The answer to this strange behaviour became apparent when I found bug 2772326 on Metalink.
    Basically, either the OLB has to be on the FORMS60_PATH, or the option in Forms Builder under Tools->Preferences->Access->Subclassing Path has to be set to 'Keep' rather than 'Remove'. Doing either of these things solves the problem.
    regards
    Andrew

  • Subclass webutil object group problem

    Hi,
    I am using 10g form.
    I download the webutil demo and got a form called WU_TEST_106 in which there is
    a object group called WEBUTIL.
    Then I create a new form and drag the object group WEBUTIL of the form
    WU_TEST_106 to the object group of the new form and choose 'subclass'.
    When I check the content of the WEBUTIL data block in the new form, there
    is no items there.
    There should be some bean area such as WEBUTIL_FILE_FUNCTIONS and
    WEBUTIL_HOST_FUNCTIONS etc.
    Anyone can help ?
    Ivan

    Do not subclass WEBUTIL from another form. In folder <DevSuiteHome>\forms there should exist file webutil.olb. Open this file directly in Form Builder using
       File | Open
    and subclass the objects contained within.
    Eric Adamson
    Lansing, Michigan

  • Attaching/Subclassing Object Libraries Without Opening in 6i FMB

    Hi All,
    Our requirement is to subclass a object group which contains different set of elements in it. (i.e. Blocks, Property classes, Canvas etc) how can we subclass this OLB in a form without opening the form in a 6i Builder. Tried the header functions available in Forms C API but i find no API which allows this type of operations to be done for object libraries. We have successfully automated such redundant activities for other items like canvas, items etc.
    Can you suggest a way to achieve this in a object library, if its possible. Because we need to do this for nearly 500+ forms. Why we are thinking of this alternative is because of the fact that if we have these elements said above in a object group of a template form, we will have to drag and drop this object group in each forms from template form.
    Its a new object group and we are not in a position to add the newly created elements into any other existing object group because of few other reasons which may disturb the existing functionality, because if we can do that recompiling all forms against template form will have the newly created elements reflected.
    Hope i have conveyed it clearly, please comment and advice to achieve our requirement.
    Edited by: ramarun on Sep 30, 2011 11:50 AM

    This is not possible with Forms 6i. Referred with Oracle Support for this Issue.
    Thanks

  • Remove Excess group dynamically in crystal 10 without using ReportAppServer

    In Crystal report XI I've used follwing code to remove excess group dynamically from aspx page:
                //Remove of Excess Group
                MaxGrpInReport = 9;
               for (int iCount = MaxGrpInReport; iCount >= objShowReport.TotalGroupNo + 1; iCount--)
                    customerReport.ReportClientDocument.DataDefController.GroupController.Remove(customerReport.ReportClientDocument.DataDefinition.Groups[iCount - 1]);
                customerReport.Refresh();
    But when I'm using crystal 10 (Including with Visual Studio 2010) it is getting error. Because "DataDefController.GroupController" is a server component . I'm not using any ReportAppServer. So how can I remove excess group without using ReportAppServer?
    Edited by: sujoyd on Mar 7, 2011 5:11 AM
    Edited by: sujoyd on Mar 7, 2011 5:12 AM
    Edited by: sujoyd on Mar 7, 2011 5:13 AM

    Hello,
    Crystal 10 is included with VS 2005 and VS 2008. there is no CR runtime included with VS 2010. You can download it from our support site.
    CR 10.2 or 10.5 is not supported in VS 2010.
    See this link to get the downloads: SAP Crystal Reports, developer version for Microsoft Visual Studio: Updates & Runtime Downloads [original link is broken]
    Thank you
    Don

  • Is it possible to nest object groups in froms?

    Title says it all, but to explain further - I'd like to create some object groups and the objects I'd like to include within these groups are themselves objects groups.
    Is that possible?

    No - But you could subclass an object group and then add extra children to it.

  • Object Group Vs Object Libraries

    Hi ,
    I have not used Object Groups and Object Libraries extensively....and am trying to understand them
    Having read the form builder help ,I am still not clear with the following.
    My questions are as follows
    1)When should I be giving preference to Object Group over OBL?
    2)Why will i use an Object Group ,when an object group's object is just a pointer to the
    object in the form module?
    Grouping of similar objects for one single form module only,does'nt provide me much benefits?
    3)How will I reference an Object group's object and not a form's object which I have
    moved into the object group and vice versa?
    4)OBL module has a data block(say emp) as one of its many object,
    how can I use this data block in my new forms module(will I be copying this data block
    object from the attached OBL to the data block node of the form module in OBJECT navigator?).
    will i have to create a Layout manually if I use the data block of OBL or will forms
    builder automatically create a layout for this OBL data block.?
    5)What are the types of objects which CANNOT be included in OBL and Object groups?
    I am aware that I can't include an item of a data block if i don't include the data block itself.
    rgds
    s

    Hi,
    WIP  wrote:
    Hi ,
    I have not used Object Groups and Object Libraries extensively....and am trying to understand them
    Having read the form builder help ,I am still not clear with the following.
    My questions are as follows
    1)When should I be giving preference to Object Group over OBL?Depends on the requirement. The objects in the Object group are limited to the current form module. However, Object libraries can be used across the forms. Of course, you can subclass this object group in other modules.
    >
    2)Why will i use an Object Group ,when an object group's object is just a pointer to the
    object in the form module?Its like a template. You define set of properties (say width, height and font for a text item), and then subclass the object to all the object you create in your form. So, they all will look similar. Also, once after creating the object group, you can add the object group to the object library. This can be very useful.
    Grouping of similar objects for one single form module only,does'nt provide me much benefits?
    So, here we use Object Library
    3)How will I reference an Object group's object and not a form's object which I have
    moved into the object group and vice versa?
    You cannot reference the individual objects in the object groups.
    4)OBL module has a data block(say emp) as one of its many object,
    how can I use this data block in my new forms module(will I be copying this data block
    object from the attached OBL to the data block node of the form module in OBJECT navigator?).
    will i have to create a Layout manually if I use the data block of OBL or will forms
    builder automatically create a layout for this OBL data block.?You can add all the Blocks, canvaces, etc to the Object grou, add the object group to the object library. Then, if you just copy/subclass the object group from the Object library, all the blocks, items, canvaces would be created automatically in the target form.
    >
    5)What are the types of objects which CANNOT be included in OBL and Object groups?
    I am aware that I can't include an item of a data block if i don't include the data block itself.
    Only the Parent objects can be included in the Object Group (Child objects cannot). However, in the Object Library, you can add the parent as well as child objects. Here, for ex, parent is a data block and child are the items inside the data block
    -Arun
    >
    rgds
    s

  • Forms10g Migration : Sub-Clasising Object Groups again.

    While performing the forms10g migration , is it necessary to Subclass the object groups from the referenced forms in the referencing forms again. If so , what for is this necessary.
    Please advise.

    U dont need to subclass again. However make sure that the form from which u have subclassed is upgraded first.
    Rajesh ALex

  • SOLVED: Oracle Forms Object Groups

    Hi,
    I have an object group on one main form. this object group has dozens of object group children. I've copied and subclassed the object group to my dependent forms.
    Now i add a object (a parameter for instance) to the main form object group... but the dependent forms object group does not add the new object and i have to subclass it manually... what's wrong?
    solved sorry!
    Regards
    Ricardo
    Edited by: user12015527 on 5/Jan/2010 10:36
    Edited by: user12015527 on 5/Jan/2010 10:37

    Hi All,
    Any update on it?
    Thanks
    -POPS

  • Does 4507 support "object-group"

    Hi, Need put lot's of ACL in a VLAN, I think if use "object-group" it is much easier for maintainance. What version switch IOS support this feature or not? Thanks.

    AFAIK, object-groups are only supported on PIX and other security appliances.
    One thing you could do though is, if you have a long access list then you might be able to enhance performance of the switch by enabling Turbo ACL. Take a look at the link below.
    http://www.cisco.com/en/US/partner/products/sw/iosswrel/ps1834/products_feature_guide09186a0080080374.html
    Pls. rate the post if it helped.
    HTH,
    Sundar

  • How to access objects in the Child Form from Parent form.

    I have a requirement in which I have to first open a Child Form from a Parent Form. Then I want to access objects in the Child Form from Parent form. For example, I want to insert a record into a block present in Child Form by executing statements from a trigger present in Parent Form.
    I cannot use object groups since I cannot write code into Child Form to first create object groups into Child Form.
    I have tried to achieved it using the following (working of my testcase) :
    1) Created two new Forms TESTFORM1.fmb (parent) and TESTFORM2.fmb (child).
    2) Created a block named BLK1 manually in TESTFORM1.
    3) Created two items in BLK1:
    1.PJC1 which is a text item.
    2.OPEN which is a push button.
    4) Created a new block using data block wizard for a table EMPLOYEE_S1. Created items corresponding to all columns present in EMPLOYEE_S1 table.
    5) In WHEN-NEW-FORM-INSTANCE trigger of TESTFORM1 set the first navigation block to BLK1. In BLK1 first navigable item is PJC1.
    6) In WHEN-NEW-ITEM-INSTANCE of PJC1, code has been written to automatically execute the WHEN-BUTTON-PRESSED trigger for the "Open" button.
    7) In WHEN-BUTTON-PRESSED trigger of OPEN item, TESTFORM2 is opened using the following statement :
    open_form(‘TESTFORM2',no_activate,no_session,SHARE_LIBRARY_DATA);
    Since its NO_ACTIVATE, the code flows without giving handle to TESTFORM2.
    8) After invoking OPEN_FORM, a GO_FORM(‘TESTFORM2’) is now called to set the focus to TESTFORM2
    PROBLEM AT HAND
    ===============
    After Step 8, I notice that it passes the focus to TESTFORM2, and statements after go_form (in Parent Form trigger) doesnot executes.
    I need go_form with no_activate, similar to open_form.
    Edited by: harishgupt on Oct 12, 2008 11:32 PM

    isn't it easier to find a solution without a second form? If you have a second window, then you can navigate and code whatever you want.
    If you must use a second form, then you can handle this with WHEN-WINDOW-ACTIVATED and meta-data, which you have to store in global variables... ( I can give you hints if the one-form-solution is no option for you )

  • Subclass / Object Group / Object Library error?

    Forms [32 Bit] Version 10.1.2.0.2 (Production)
    I am experiencing a strange problem with classes, object groups and object libraries - I have tried all sorts of combinations, but I always get the same problem.
    1. Create a form
    2. Creat a property class - PC1 and add a when-button-pressed trigger that does 'null'
    3. Create another property class PC2 that subclasses PC1 - note that the trigger is inherited correctly and the Triger Text shows the inheritance arrow in the property sheet.
    4. Create an object group in the form - OBJ1 - and add these two classes.
    5. Create a new obejct library and copy the OBJ1 object group.
    It is at this point that things go wrong! If you now look back at the PC2 class - the inheritance chain of the trigger code has now been broken?
    Well - it ALWAYS is my system - I have tried all sorts of combinations - including changing paths, forms_path, registry etc. etc. but I am coming to the conclusion that it is a bug?
    Can anyone confirm that they experience the same problem?
    Regards,
    Bren

    Thanks Gerd!
    I have tried on 10g on several machines (some identical) and some with different paths (FORMS_PATH etc.) - but I always get the inherited trigger code disassociated.
    Also - and slightly strange, before I copy the object group, the properites of the trigger are perfect and the trigger code shows the inherited arrow. Directly after copying the object group, the trigger code property sheet has the un-inherited red cross, but, if I close the Form, I am not prompted to save the changes? So it's like Forms is making the change, but not internally marking the form as being changed.
    Let me know how you get on with 10g - and thanks for your input!
    Regards,
    Bren

  • Implementing "object-group service"

    Running 8.2(3) on an ASA 5510
    I have created the two following object groups.
    object-group service gatewayTCP tcp
    port-object eq 88
    port-object eq 135
    port-object eq 445
    port-object eq ldaps
    port-object eq 3268
    port-object eq 3269
    object-group service gatewayTCP-UDP tcp-udp
    port-object eq domain
    port-object eq 389
    port-object eq 464
    port-object range 49152 65535
    I have run into an issue with "domain" working in the tcp-udp type. The following access-list does not work without explicitly calling out "domain" for both TCP and UDP. Everywhere I looked I appear to be doing it right so what am I missing. Does "permit tcp" need to be "permit ip" to cover both tcp and udp? I found one article with someone suggestiong just make it "permit tcp" and it will work. Not in a position to test at the moment so figured I'd ask here. Want to be sure I'm not getting bit anywhere else related to these object groups in case I am not implementing them correctly?
    access-list dmzAccess extended permit tcp host 172.26.11.10 host 10.16.11.203 object-group gatewayTCP
    access-list dmzAccess extended permit tcp host 172.26.11.10 host 10.16.11.203 object-group gatewayTCP-UDP
    Is this a bug with service object groups? Is there some place I need to enable this feature?

    Hi,
    Have you tried configuring it like this
    object-group service GATEWAY-SERVICES
    service-object tcp eq 88
    service-object tcp eq 135
    service-object tcp eq 445
    service-object tcp eq ldaps
    service-object tcp eq 3268
    service-object tcp eq 3269
    service-object tcp eq 53
    service-object udp eq 53
    service-object tcp eq 389
    service-object udp eq 389
    service-object tcp eq 464
    service-object udp eq 464
    service-object tcp range 49152 65535
    service-object udp eq 49152 65535
    access-list dmzAccess permit object-group GATEWAY-SERVICES host 172.26.11.10 host 10.16.11.203
    I am not sure if it was only after software 8.3+ that the command under the actual "object-group" was of format "service-object tcp source" / "service-object tcp destination" (or the same for UDP)
    - Jouni

  • Object-group with network-object containing an IP address range

    Hello,
    Does the ASA treat an object-group with a network-object containing a range of IP addresses as a netmask? For example, I can apply this configuration without the ASA throwing any errors though the configuration calls for a 'net mask':
    object-group network test
    network-object 192.168.0.0 192.168.63.255
    network-object-group mode commands/options:
      A.B.C.D  Enter an IPv4 network mask
    sh run ob id test
    object-group network test
    network-object 192.168.0.0 192.168.63.255
    I found that in the documentation it requires a netmask as oppose to a range. Is this a bug in the code? I am running code version 8.0(5)23 on a 5520. If this is not a bug how does the ASA treat this type of configuration when applied to an access list? When I ran a quick packet trace and denied access from that range it looks like the ASA doesn't read that configuration properly. Thank you.
    -John

    Hello,
    Thank you for your replies. In code version 8.0(5)23, it appears I am able to define a "range" of IP addresses as in:
    192.168.0.0 192.168.63.255 as opposed to defining a range with a netmask like 192.168.0.0 255.255.192.0.
    With the "range" of IP address applied to the "object-group network test" with sub command "network-object 192.168.0.0 192.168.63.255" the ASA does not pick up on said "range" when this object group is applied to a DENY access list. It only reads it properly when the netmask is attached, which is the correct configuration, as in: "network-object 192.168.0.0 255.255.192.0".
    To clarify, I mean range as in 192.168.0.0 - 192.168.63.255.
    Hope this helps to understand. I am just curious as to why this is even able to be applied in such a way or if it is a bug in this particular code version? I can also confirm that this can be done in code version 8.4(2). See below snippets of my configuration in the 8.4(2) code version:
    access-list 101 line 3 extended deny ip object-group testmask any 0x577f55a8
      access-list 101 line 3 extended deny ip 192.168.0.0 192.168.63.255 any (hitcnt=0) 0x0623b0c4
    access-list 101 line 4 extended permit tcp any any eq 89 (hitcnt=1) 0x36f1e5cd
    Packet trace results in allowing the "range" of IP address:
    Result:
    input-interface: outside
    input-status: up
    input-line-status: up
    output-interface: dmztest
    output-status: up
    output-line-status: up
    Action: allow
    Now with the "correct" configuration:
    access-list 101 line 3 extended deny ip object-group testmask any 0x577f55a8
      access-list 101 line 3 extended deny ip 192.168.0.0 255.255.192.0 any (hitcnt=1) 0xa31c6bbd
    access-list 101 line 4 extended permit tcp any any eq 89 (hitcnt=1) 0x36f1e5cd
    Result:
    input-interface: outside
    input-status: up
    input-line-status: up
    output-interface: dmztest
    output-status: up
    output-line-status: up
    Action: drop
    Drop-reason: (acl-drop) Flow is denied by configured rule
    Thank you.
    -John

Maybe you are looking for