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

Similar Messages

  • 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

  • EEM to update an object group

    Hello Cisco!
    I've been playing around with EEMs on and off for a few months now, and I'm enjoying it quite a bit! A recent issue at work got me thinking, and I thought I'd try and solve the problem with a new EEM. It's really quite simple, but I'm having trouble getting it to work as intended.
    Device Specs:
    On a CISCO881-SEC-K9 running:
    Embedded Event Manager Version 4.00
    Component Versions:
    eem: (rel6)1.0.0
    eem-gold: (rel1)1.0.2
    eem-call-home: (rel2)1.0.4 
    Problem:
    I'd like to create an EEM that checks the IP of a website a few times a day, and cross references the results with the IPs listed in an object group. If the new IP isn't listed, it will add it to the object group. If it is detected, it won't do anything. (I have this e-mailing either way right now, to assist me with debugging)
    Reasoning:
    I'd like to see if this is something I can do with an EEM. It would be nice to have something dynamically configured to make updates like this. At the end of the day, It mimics a feature on some firewalls. I'd like for this to get around the limitations of a static ACL entry. I haven't looked into TCL scripting, as It would be a new language that I'd have to learn. The beauty of EEM, is that it builds off of what a technician already knows. If you understand IOS, EEM is relatively easy to pickup and run with.
    Side Note: If you see something in my script that could be consolidated, or just doesn't make much sense; please let me know. There is a really good chance that I don't know of the alternative method. This is especially true in terms of my regular expression knowledge. That's an ongoing battle :)
    Thanks in advance everyone.
    Your assistance and constructive criticism is more than welcome and is greatly appreciated.
    Here is what I have right now:
    event manager applet update_my_object_group
     event timer cron cron-entry "* * * * *" maxrun 9999999
     action 1.0 cli command "enable"
     action 1.1 cli command "ping www.google.com"
     action 1.2 wait 5
     action 1.3 regexp "to ([0-9.]+)," "$_cli_result" match new_ip
     action 1.4 cli command "show object-group self_building"
     action 1.5 regexp "([0-9.]+)" "$_cli_result" match current_ips
     action 2.0 if $new_ip ne "$current_ips"
     action 3.0  cli command "conf t"
     action 3.1  cli command "object-group network self_building"
     action 3.3  cli command "host $new_ip"
     action 3.4  cli command "end"
     action 3.5  cli command "show object-group self_building"
     action 3.6  regexp "([0-9.]+)" "$_cli_result" match new_current_ips
     action 4.1  mail server "$_email_server" to "$gmail" from "$_email_from" subject "EEM: Successfully Updated Object Group" body "Added new IP: $new_ip\n to Object Group: self_building\n $current_ips"
     action 5.0 else
     action 5.1  mail server "$_email_server" to "$gmail" from "$_email_from" subject "EEM: Object Group Failure" body "I couldn't update the object group: self_building. Debug:\n New IP: $new_ip\nCurrent: $current_ips\nWhat it is now: $new_current_ips"
     action 5.2 end
    Here is an example I built up for a single ACL. Same concept, just a single line gets updated. I was using this as a reference for my object group script.
    event manager applet update_my_acl
     event timer cron cron-entry "0 * * * *" maxrun 9999999
     action 1.0 cli command "enable"
     action 1.1 cli command "ping www.msn.com"
     action 1.2 wait 5
     action 1.3 regexp "to ([0-9.]+)," "$_cli_result" match new_ip
     action 1.4 cli command "show access-lists | sec test_acl"
     action 1.5 regexp "10 permit tcp any host ([0-9.]+) eq www" "$_cli_result" match current_ip
     action 2.0 if $new_ip ne "$current_ip"
     action 3.0  cli command "conf t"
     action 3.1  cli command "ip access-list extended test_acl"
     action 3.2  cli command "no 10"
     action 3.3  cli command "10 permit tcp any host www.msn.com eq www"
     action 3.4  cli command "end"
     action 4.0  cli command "show access-lists | sec test_acl"
     action 4.1  mail server "$_email_server" to "$_email_to" from "$_email_from" subject "EEM: Successfully Updated ACL" body "New IP: $new_ip\nOld IP: $current_ip"
     action 5.0 else
     action 5.1  mail server "$_email_server" to "$_email_to" from "$_email_from" subject "EEM: ACL NOT updated" body "New IP: $new_ip\nOld IP: $current_ip"
     action 5.2 end

    Thanks for the review!
    Well, it's technically "working", but not in the way that it's designed. It checks the object group, but it only finds  the first IP listed. I'll provide you with the object group it's generated so far, and what I'm receiving in my e-mails.
    (I don't think my regular expressions are working correctly.)
    The Object Group:
    object-group network self_building
     host 10.9.8.20
     host 74.125.225.114
     host 173.194.46.115
     host 74.125.225.148
     host 173.194.46.116
     host 173.194.46.112
     host 74.125.225.81
     host 74.125.225.83
     host 173.194.46.84
     host 74.125.225.17
     host 74.125.225.20
     host 173.194.46.80
     host 74.125.225.19
     host 173.194.46.83
     host 173.194.46.114
     host 74.125.225.116
     host 74.125.225.51
     host 74.125.225.52
     host 173.194.46.113
     host 74.125.225.145
     host 74.125.225.144
     host 74.125.225.49
     host 74.125.225.82
     host 74.125.225.146
     host 74.125.225.84
     host 74.125.225.112
     host 173.194.46.82
     host 173.194.46.81
     host 74.125.225.18
    Here are the successful e-mails sent to me. As you'll see, I've had the EEM include the $current_ips in the e-mail. This should be all of the IPs in the group, but it's just the first one listed (found). So, because it doesn't match, it adds the newly found IP to the group. 
    But, as you can see in my emails, that IP has been found before and added already. The desired behavior is it for it to see that the entry already exists, and not apply it.
    Edit: Thought this would help:
    Step 1: Ping www.google.com.
    Step 2: Use regular expression to capture the IP found.
    Step 3: Run a show command, and find all of the IPs currently listed inside the object group: self_building
    Step 4: Cross reference the newly found IP, with the IPs found in the object group.
    Step 5: If it's already there, then discard it and end the EEM.
    Step 5 (a) If it's not there, then add it to the object group, and then end the EEM.
    Thanks again!

  • 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

  • Object Library Error:

    Hi Everyone,
    We do have Oracle Forms 6i I just started upgrading them to 10g.
    1. Do we need to Compile Object Libraries in 10g, if so how?
    2. When I try to open object libraries on 10G, some of them open but a couple of them are having problems. the error is:
    Error Signature.
    App Name: fmbld.exe AppVer 10.1.2.0 ModName fmdg.dll
    ModVer: 10.1.2.0 Offset: 00001a23
    These object libraries can be opened in 6i, I have included them in the 10g path.
    the only thing I found is that the Object Library that have an Object Group included, if I delete the object group from the Object Library and then save and compile in 6i, it will open in 10g.
    But on the other hand the object libraries that I can open in 10g does have object groups attached to them.
    One last thing there is a big difference between the object Libraries that 10g can open them and cannot.
    object groups from the object library tab can be dropped in a form(10g opens these)
    does not allow object groups from the object library to be included in any form (10g does not open these).
    Any advice is helpful..
    thanks,
    Habeeb

    Hi Every One,
    As said earlier, we have compiled all libraries, object libraries, menu and forms successfully and tested them on windows. (I am sorry we have updated our application from 6i to 10g). Now we have to move to Unix, this is where the problem started.
    Form A is calling Form B, passes a parameter, works fine when tested on windows, fails when tested on server.
    This is the error:
    FRM-47023: No such parameter named PROCESS_MODE exists in the form B.
    When the Form A calls Form B (this is done by a menu M1)
    Form A does have a parameter defined as PROCESS_MODE
    the triggers in the menu are:
    procedure browse_menu_option
    (p_window_title varchar2
    ,p_form_name varchar2) is
    pl_id ParamList;
    begin
    pl_id := Get_Parameter_List(p_form_name||'_parms');
    IF NOT Id_Null(pl_id) THEN
    Destroy_Parameter_List(pl_id);
    END IF;
    pl_id := Create_Parameter_List(p_form_name||'_parms');
    window_title(p_window_title);
    Add_Parameter(pl_id,'PROCESS_MODE',TEXT_PARAMETER,'BROWSE');
    form_call(p_form_name,pl_id);
    set_runform_properties;
    end browse_menu_option;
    procedure update_menu_option
    (p_window_title varchar2
    ,p_form_name varchar2) is
    pl_id ParamList;
    begin
    pl_id := Get_Parameter_List(p_form_name||'_parms');
    IF NOT Id_Null(pl_id) THEN
    Destroy_Parameter_List(pl_id);
    END IF;
    pl_id := create_parameter_list(p_form_name||'_parms');
    window_title(p_window_title);
    add_parameter(pl_id,'PROCESS_MODE',text_parameter,'UPDATE');
    form_call(p_form_name,pl_id);
    set_runform_properties;
    end update_menu_option;
    When form B is activated the WHEN-NEW-FORM-TRIGGER have this code.
    BEGIN
    set_window_property(FORMS_MDI_WINDOW,window_state,maximize);
    set_window_property('RPT_DEF', WINDOW_STATE, MAXIMIZE);
    FORM_SECURITY_CHECK;
    icon_bar_init;
    set_all_item_defaults;
    QUIET_QUERY;
    END;
    FORM_SECURITY_CHECK is a procedure defined in a PLL Library.
    PROCEDURE FORM_SECURITY_CHECK IS
    ACCESS_DENIED EXCEPTION;
    FORM_NAME VARCHAR2(8) := NULL;
    BEGIN
    IF NAME_IN('PARAMETER.PROCESS_MODE') = 'UPDATE' THEN
    FORM_NAME := GET_APPLICATION_PROPERTY(CURRENT_FORM_NAME);
    ELSE
    FORM_NAME := 'OSCAR';
    END IF;
    END;
    Form B does have a parameter defined as PROCESS_MODE to receive and is part of the object_library.
    Now the funny thing is that if I delete the object_library and reattach but this time instead of "subclass" I choose "copy" and it works fine, but when the items are "subclassed" it does not work, not only this it does not even see any subclassed item.
    the way I attached the object library is directed by Tony Garabedian.
    I can choose to copy rather subclass but the disadvantage is that I loose all inherted properties, which is a pain to redo all.
    Any help is appriciated...
    Habeeb

  • 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 ?

  • Error while creating MV replication group object

    Hi,
    I am getting error while creating replication group object. I tried to create using OEM and SQLPlus
    OEM error
    This error while creating M.V. rep. group object
    There is a table or view named SCOTT.EMP.
    It must be dropped before a materialized view can be created.
    In SQLPLUS
    SQL> CONNECT MVIEWADMIN/MVIEWADMIN@SWEET
    Connected.
    SQL>
    SQL> BEGIN
    2 DBMS_REPCAT.CREATE_MVIEW_REPOBJECT (
    3 gname => 'SCOTT',
    4 sname => 'KARTHIK',
    5 oname => 'emp_mv',
    6 type => 'SNAPSHOT',
    7 min_communication => TRUE);
    8 END;
    9 /
    BEGIN
    ERROR at line 1:
    ORA-23306: schema KARTHIK does not exist
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
    ORA-06512: at "SYS.DBMS_REPCAT_SNA_UTL", line 2840
    ORA-06512: at "SYS.DBMS_REPCAT_SNA_UTL", line 773
    ORA-06512: at "SYS.DBMS_REPCAT_SNA_UTL", line 5570
    ORA-06512: at "SYS.DBMS_REPCAT_SNA", line 82
    ORA-06512: at "SYS.DBMS_REPCAT", line 1332
    ORA-06512: at line 2
    Please not already I have created KARTHIK schema.

    Arthik,
    I think I know what may have happened.
    As I can see you are trying to create support for an updateable materialized view.
    You have to make sure the name of the schema that owns the materialized view is the same as the schema owner of the master table (at master site).
    From the code you have shown, I bet the owner of table EMP is SCOTT.
    From the other hand, you want to create materialized view EMP_MV under schema KARTHIK that refers to table SCOTT.EMP at master site.
    According to the documentation, the schema name used in DBMS_REPCAT.CREATE_MVIEW_REPOBJECT must be same as the schema that owns the master table.
    Please check the documentation at the link below
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14227/rarrcatpac.htm#i109228
    I tried to reproduce your example in my environment, and I got exactly the same error which actually confirms my assumption that the reason for the error is the fact that you tried to create the materialized view in a schema with different name than the one where master table exists.
    I'll skip some of the steps that I used to create the replication environment.
    I have two databases, DB1.world and DB2.world
    On DB2.world I will generate replication support for table EMP which belongs to user SCOTT
    SQL> conn scott/*****@DB2.world
    Connected.
    SQL>create materialized view log on EMP with primary key;
    Materialized view log created.
    SQL>
    SQL>conn repadmin/*****@DB2.world
    Connected.
    SQL>BEGIN
      2       DBMS_REPCAT.CREATE_MASTER_REPGROUP(
      3         gname => 'GROUPA',
      4         qualifier => '',
      5         group_comment => '');
      6*   END;
    PL/SQL procedure successfully completed.
    SQL>BEGIN
      2       DBMS_REPCAT.CREATE_MASTER_REPOBJECT(
      3         gname => 'GROUPA',
      4         type => 'TABLE',
      5         oname => 'EMP',
      6         sname => 'SCOTT',
      7         copy_rows => TRUE,
      8         use_existing_object => TRUE);
      9*   END;
    10  /
    PL/SQL procedure successfully completed.
    SQL> BEGIN
      2       DBMS_REPCAT.GENERATE_REPLICATION_SUPPORT(
      3         sname => 'SCOTT',
      4         oname => 'EMP',
      5         type => 'TABLE',
      6         min_communication => TRUE);
      7    END;
      8  /
    PL/SQL procedure successfully completed.
    SQL>execute DBMS_REPCAT.RESUME_MASTER_ACTIVITY(gname => 'GROUPA');
    PL/SQL procedure successfully completed.
    SQL> select status from dba_repgroup;
    STATUS                                                                         
    NORMAL                                                                          Now let's create updateable materialized view at DB1. Before that I want to let you know that I created one sample in DB1 user named MYUSER. MVIEWADMIN is Materialized View administrator.
    SQL>conn mviewadmin/****@DB1.world
    Connected.
    SQL>   BEGIN
      2       DBMS_REFRESH.MAKE(
      3         name => 'MVIEWADMIN.MV_REFRESH_GROUPA',
      4         list => '',
      5         next_date => SYSDATE,
      6         interval => '/*1:Hr*/ sysdate + 1/24',
      7         push_deferred_rpc => TRUE,
      8         refresh_after_errors => TRUE,
      9         parallelism => 1);
    10    END;
    11  /
    PL/SQL procedure successfully completed.
    SQL>   BEGIN
      3       DBMS_REPCAT.CREATE_SNAPSHOT_REPGROUP(
      5         gname => 'GROUPA',
      7         master => 'DB2.wolrd',
      9         propagation_mode => 'ASYNCHRONOUS');
    11    END;
    12  /
    PL/SQL procedure successfully completed.
    SQL>conn myuser/*****@DB1.world
    Connected.
    SQL>CREATE MATERIALIZED VIEW MYUSER.EMP_MV
      2    REFRESH FAST
      3    FOR UPDATE
      4    AS SELECT EMPNO, ENAME, JOB, MGR, SAL, COMM, DEPTNO, HIREDATE
      5*      FROM   [email protected];
    Materialized view created.
    SQL>conn mviewadmin/******@DB1.world
    Connected.
    SQL> BEGIN
      2       DBMS_REFRESH.ADD(
      3         name => 'MVIEWADMIN.MV_REFRESH_GROUPA',
      4         list => 'MYUSER.EMP_MV',
      5         lax => TRUE);
      6    END;
      7  /
    PL/SQL procedure successfully completed.And now lets run CREATE_MVIEW_REPOBJECT.
    SQL>   BEGIN
      2       DBMS_REPCAT.CREATE_MVIEW_REPOBJECT(
      3         gname => 'GROUPA',
      4         sname => 'MYUSER',
      5         oname => 'EMP_MV',
      6         type => 'SNAPSHOT',
      7         min_communication => TRUE);
      8    END;
      9  /
      BEGIN
    ERROR at line 1:
    ORA-23306: schema MYUSER does not exist
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
    ORA-06512: at "SYS.DBMS_REPCAT_SNA_UTL", line 2840
    ORA-06512: at "SYS.DBMS_REPCAT_SNA_UTL", line 773
    ORA-06512: at "SYS.DBMS_REPCAT_SNA_UTL", line 5570
    ORA-06512: at "SYS.DBMS_REPCAT_SNA", line 82
    ORA-06512: at "SYS.DBMS_REPCAT", line 1332
    ORA-06512: at line 3 I reproduced exactly the same error message.
    So the problem is clearly in the schema name that owns the materialized view.
    Now lets see if what would happen if I create the MV under schema SCOTT which has the same name as the schema on DB2.world where the master table exists.
    SQL>conn scott/****@DB1.world
    Connected.
    SQL>CREATE MATERIALIZED VIEW SCOTT.EMP_MV
      2    REFRESH FAST
      3    FOR UPDATE
      4    AS SELECT EMPNO, ENAME, JOB, MGR, SAL, COMM, DEPTNO, HIREDATE
      5*      FROM   [email protected];
    Materialized view created.
    SQL>conn mviewadmin/******@DB1.world
    Connected.
    SQL> BEGIN
      2       DBMS_REFRESH.ADD(
      3         name => 'MVIEWADMIN.MV_REFRESH_GROUPA',
      4         list => 'SCOTT.EMP_MV',
      5         lax => TRUE);
      6    END;
      7  /
    PL/SQL procedure successfully completed.And now lets run CREATE_MVIEW_REPOBJECT.
    SQL>   BEGIN
      2       DBMS_REPCAT.CREATE_MVIEW_REPOBJECT(
      3         gname => 'GROUPA',
      4         sname => 'SCOTT',
      5         oname => 'EMP_MV',
      6         type => 'SNAPSHOT',
      7         min_communication => TRUE);
      8    END;
    PL/SQL procedure successfully completed.As you can see everything works fine when the name of the schema owner of the MV at DB1.world is the same as the schema owner of the master table at DB2.world .
    -- Mihajlo
    Message was edited by:
    tekicora

  • 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

  • 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

  • Placing a Grouped Object in Library

    Is there a way to place a grouped object in the Library? For example, I have a smart object (0% opacity with 0 border) placed over a custom button grouped together. This grouped item will not always be placed in the same location, so it's not like I can just place them on a template slide. I realize I could just copy and paste from another page, but for a cleaner solution, I would like to just be able to pull it right from the asset library. Is this possible? I am using Cp7.
    Thanks in advance for your help on this. This would be huge.
    Kevin

    No Kevin, that is not possible. But why do you use a smart shape over a button? You can use a shape as a button? But of course, too bad that a shape will never be in the library (as is the case for buttons). You can copy/paste within the same project, or create a template to have them available for future projects.
    Lilybiri

  • Error: Accessing grouped objects in tab control

    I have encountered an error where I cannot use/select objects within a tab control because they are grouped together. 
    If I copy/paste the tab control it shows them grouped and I can select them but as it stands in my program I cannot select the objects.
    I would just copy/paste and work with that but I have property nodes and additional code for each of the 20 objects and would rather not have to go back and relink each property node and wire the new controls within the BD. 
    I am looking for a way of accessing the objects without having to copy+paste/recode anything.
    Please note that there is a recent post about this tab control grouping error but is geared more towards adding an error notifier to LabView rather than how to fix the error. 
    Solved!
    Go to Solution.

    "Are these objects grouped because they are in a cluster or possibly because they were grouped using the reorder menu?"
    The objects were grouped using the reorder menu on the front panel and then placed on a tab control.
    The issue was that when I tried clicking on any of the grouped objects within the tab control on the front panel, nothing would happen.
    If I double clicked, I would select the tab control on the BD. 
    I got rid of the bug by selecting everything on my BD and copying it into a new, blank VI.
    Once I did that, I was able to access the objects that were grouped on the tab control.
    Sorry for the late reply-- once I got it working I was only focused on finishing my task.

  • Using Object Group.

    I am using the forms 6i. And i have a problem with attach Object Group.
    After attach, the form do not execute.
    I have a question: What the values the Object Group utility on the registry?
    Or if another sugestion...
    Thanks, so much.
    Martônio.

    1. Did you copy the object group to the new module or subclassed it?
    R- Subclass.
    2. Did you compile your form module after doing copy/subclass of the object group?
    R- Yes.
    3. Did you get any compilation error/warning?
    R-No. Because the form close before display.
    4. Is the base object group is from a form or a object library?
    R-Object Library.
    5. Is the base form / object library in which the object group exists is there in the FORMS60_PATH?
    R-Yes.
    Thanks. So much....
    Martônio.

  • Subclass the WebUtil Object

    Hi. I'm attempting to Subclass the WebUtil Object. I've attached the library to my application and I've opened the WebUtil Object Library. But how do I do this 'subclassing' to my form?
    At this point I'm assuming I need an entry under the Object Group node of my form. How do I do this?
    Thanks in advance.

    After you've opened the object library in forms builder, double-click on it and then drag and drop the 2 webutil objects into your form. The object group goes into your object groups node, and the parameter goes into into the parameters node.
    Then you need to reorder canvases and blocks so that the webutil components do not appear first when you run the form

  • 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

  • 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