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

Similar Messages

  • 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

  • Calling object methods from other objects

    ok im trying to build a little windows application which shows a few thumbnails of pictures in a folder.
    I have a mainForm class that runs all the jFrame and menus, status bar etc, it has 2 jPanes, one with a jTree that browses the directories and the other is set blank and adds a few custom component objects depending on how many images are in the directory it does contains a few objects all from one custom component class that shows an image and a label below it.
    What i want to do is call the mainForm statusbar from within my custom component class. I have tried many things but cant seem to do it.
    How do i do this in java? or can anyone point me in the right direction for some reading material, websites etc?
    thanks

    if i have correctly understood what you are asking (big assumption)...
    you could just pass a reference to the main form into the custom class when you construct it (the custom class) - but this introduces unnessary coupling between the two classes and this approach will quickly get messy and hard to maintain.
    a better approach is to use the Mediuator pattern.
    have a look at
    www.mindspring.com/~mgrand/pattern_synopses.htm for example.

  • Problem to update Swing components from RMI object at server side

    Greetings, I have a RMI client/server application, both client and server have a Swing GUI. But at the server side, it appears to me that I can't pass object or make function call to my server GUI class. Because I can't have GUI instance or reference in my Remote object. (java.rmi.MarshalExceptio, java.io.NotSerializableException, blar blar ...)
    My problem is, if a client does something, I want to reflect the changes on the server side GUI. How can I do this except using a spin query?
    Any help would be greatly appreciated.
    Thanks.
    John
    Edited by: zgliang on Sep 13, 2007 3:30 AM

    I'd like to suggest you read the topic "Questions RMI & Swing & SwingWorker", which is similar to yours.

  • (Org Model) Obtain Sales org's object id from position object id.

    Hi All,
    In the org model, I have the object id of a position and i want to find the object id of the sales org to which this position is assigned.
    Is there any FM that does this..?
    Thanks in Advance,
    Raviraj

    Hi Gun,
    When i tried tu check out this FM, COM_OM_ORGUNITS_OF_MANAGER, it says "NOTHING_FOUND"
    the params i passed are :
    PLVAR                         
    MGR_OTYPE     O
    MGR_OBJID     50001049   => position id of the user
    SELDATE       02/28/2006
    NO_DIALOG     X
    SEL_MULTIPLE  X
    am i missing something ?
    The hierarchy is :
    SOME_SALES_ORG
            |
            |-- ASSIGNED_PERSON
    I have the ID of this person and want the ID of the sales org
    regards,
    raviraj
    Message was edited by: Raviraj Khare

  • 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

  • Saveing the OBJECT GROUP

    Hi Experts,
    I've created Object Group which consists of (alert, parameters, visual attribute and property class).
    Now I want to save this Object Group.
    Please help me to save it.

    You can't save it on it's own.
    I'm guessing what you want to do is use it as a shared component with all your Forms ?
    In this case what you need to do is create an object library (olb) and copy the object group into the object library module (then open the object library and then drag your object group into it).
    Then you can drag the object group from the object library into your other Forms (referencing it now rather than copying it).
    That's just a guess at what you'd like to do : for more information have a search for object libraries and referencing components.
    HTH
    Steve

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

  • Copy Object group

    Hi
    Forms Builder (9.0.4.2.0) DB - 10gR2
    I just want to copy one object group from one form to another.
    Only thing source object group also sub classed. I tried copy/paste and drag and drop
    It didn't work.
    Then I tried copy from the original form which is not sub classed from any. Still didn't work.
    What's the concept behind.
    rgds
    shabar

    Hi Magoo
    When check the subclass information of object group
    there could see
    Object
    Object Name - Obj1
    Module - Mod1
    But I need the same object group (OG1) in form1 to be placed in the Form2.
    When I check the Mod1 it's a another Form where it has a object group (Obj1) which is not sub class to any
    How could this be done
    rgds
    shabar

  • 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

  • Reading from other object

    Hi Guys,
    I dont know whether am following the correct way , I have a scenerio where I have to show in the report Blocking reasons . I have a field from DS Payment Block Key which is 0PMNT_BLOCK in BI. I have 7 Blocking reasons in one table called BSEG and I have enhanced my 0FI_AP_4 DS to include this 7 fields and mapped to 7 BI Objects 0BLCKRSN_PR for price 0BLCKRSN_QL for quality....Now bringing these fileds from BSEG effecting performance as each time the exit is calling. I do have a Text data source (0PMNT_BLOCK_TEXT) which is having same data as I need...So in order to get this Blocking reasons in to my report without enahcing from BSEG table Iam trying to read it from master data . but its not allowing me to do that....When I say read from master data for one of the info object 0BLCKRSN_PR and press F4 its showing no info object available for reading of master data....Can any one tell me why its showing this error...I do have a Master data object 0PMNT_BLOCK which is having the values A B D H M P , so I want to read the above object 0BLCKRSN_PR from this Object ...as P is for Price and so on....
    Do I need to take the seven info objects as attributes of 0PMNT_BLOCK ?
    If so , I didnt find a DS for attributes in ECC , I have only Text DS 0PMNT_BLOCK_TEXT....
    Please advice me what I need to do for this...Also please shoot me a reply If you ahve any more questions....

    the join produces more rows then the sum of it's parts (e.g. 154). For example:
    select owner, name
    from all_source
    where upper(text) like '%BINARY_INTEGER%'
    633 rows selected.
    select owner, type
    from all_source
    where upper(text) like '%PLS_INTEGER%'
    926 rows selected.
    select ds1.owner, ds1.name, ds2.type
    from all_source ds1 inner join all_source ds2 on (ds1.owner = ds2.owner and ds1.name = ds2.name and ds1.type = ds2.type)
    where upper(ds1.text) like '%BINARY_INTEGER%'
    and upper(ds2.text) like '%PLS_INTEGER%'
    5710 rows selected.
    select owner, count(name) as name_cnt
    from all_source
    where upper(text) like '%BINARY_INTEGER%'
    group by owner
    OWNER NAME_CNT
    SYS 577
    WWW 56
    2 rows selected.
    select owner, count(type)
    from all_source
    where upper(text) like '%PLS_INTEGER%'
    group by owner
    OWNER COUNT(TYPE)
    SYS 909
    WWW 17
    2 rows selected.
    this could be a solution then:
    select ds1.owner, ds1.name_cnt, ds2.type_cnt
    from (select owner, count(name) as name_cnt
    from all_source
    where upper(text) like '%BINARY_INTEGER%'
    group by owner) ds1 inner join (select owner, count(type) as type_cnt
    from all_source
    where upper(text) like '%PLS_INTEGER%'
    group by owner) ds2 on (ds1.owner = ds2.owner)
    OWNER NAME_CNT TYPE_CNT
    SYS 577 909
    WWW 56 17
    2 rows selected.

  • Runtime error when Transfering data from data object to a file

    Hi everybody,
    I'm having a problem when I transfer data from data object to file. The codes like following :
    data : full_path(128).
    OPEN DATASET full_path FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
    and transfer data from flat structure to this file full_path
      move:    tab                 to c_output-tab_5,
                  tab                 to c_output-tab_4,
                  tab                 to c_output-tab_3.
      transfer c_output to full_path.      // Error Line
    The detail error like the following:
    For the statement
       "TRANSFER f TO ..."
    only character-type data objects are supported at the argument position
    "f".
    In this case. the operand "f" has the non-character-type "u". The
    current program is a Unicode program. In the Unicode context, the type
    'X' or structures containing not only character-type components are
    regarded as non-character-type.
    transfer c_output to full_path. " Line error
    Please help me to fix this issue !
    Thank you in advance !
    Edited by: Hai Nguyen on Mar 4, 2009 10:55 AM

    Hi Mickey,
    Thanks for your answer,
    I found out that the structure c_output have the field with data type X. I know that the cause of the issue.
          begin of c_output,
             vbeln(10),
             tab_5 like tab,
             posnr(6),
             tab_4 like tab,
             topmat(18),
             tab_3 like tab,
         end  of c_output.
    data : tab type X value 9.
    Could you tell me how to fix it ? What I have to do in this situation ?
    Thank you very much !

  • Copy all properties from BOL Object to other, Help please

    Hello experts, Thanks for your time.
    I would like to copy all properties and object relations from BOL OBJECT To other.
    It's possible make it??
    I know to copy one by one properties with this code.
    lr_part->set_property( iv_attr_name = 'e_mailsmt' iv_value = ET_ADSMTP-E_MAIL ).
    But I would like to copy the relations and all properties.
    Could you write an example complete code??
    A lot of  Thanks

    Hi,
    I suppose by copying relations it is meant that a whole Business Object should be copied. Not just the part of BTAdminH but the PricingSet and the related Prices in there, the ItemsSet and all related entries in them and so on. Meaning a complete copy of all attributes in all objects.
    Judging from a mere technical point of view I see some problems with that:
    1. Abab does not offer a copy object method. Thus you would have to create a new object and use the SET_PROPERTIES( ) method on it.
    2. Though you will be able to do it for one object, lets say BTAdminH, it will be a huge load to do it for all related objects.
    3. Considering a piece of code that will run down the hierarchy and copy the objects for you will not work as the "hierarchy" contains circles and is not unique. For instance the BTPartnerSet on OneOrders contains various relations containing the same partners.
    In my opinion use the underlying API not the BOL to copy entries.
    cheers Carsten

  • Migrate network object group members; risk

           We upgraded to new 5555 hardware and jumped from 8.2 to 9.1 last year. Our objects listing is now a bit messy. I have never run the "Migrate Network Object Group Members" menu option in asdm. I see what it is going to do, I am not sure it really helps me clean old objects, it seems low risk, but when I walk up to execution, there are a lot of changes it wants to make. We always save backup configurations but, if there are "gotchas" I don't want to put the company in that position. What has been the communities, Cisco's experience? Thanks for any feedback. jc

    John,
    if you feel that is risky, you can always go for plan B.
    - you can take closure look at the object groups and decide new object naming convention policy.
    - from ASDM or CSM, you can see overlapped or duplicate rules, so you can start with reducing them
    - you can see same services used in couple of rules with different service groups.
         - like object-group service WEB-PORTS tcp
                        port-object eq http
                        port-object eq https
                 object-group service APPLICATION-PORTS tcp
                        port-object eq http
                        port-object eq https
                   object-group service APPS-PORT tcp
                        port-object eq www
                        port-object eq https
    - you can replace all these different object-group with one object group. like WEB-PORTS.
    - same way you can do excercise for network group as well.
    hope this helps.
    JD...

  • Will these object-group cause override in CSM?

    Hi Everyone,
    Currently i can not make changes in live network to test the options below.
    Say we have Fw1  with object group below
    sh run object-group id Test
    object-group network Test
    network-object 10.0.0.0 255.0.0.0
    network-object 172.16.0.0 255.240.0.0
    network-object 192.168.0.0 255.255.0.0
    Fw2 shows below
    sh run object-group id Test
    object-group network Test
    network-object object 10.0.0.0
    network-object object 172.16.0.0
    network-object object 192.168.0.0
    Will above cause overiide in CSM ver4.2?
    Also if i have object group below on fw1
    sh run object-group Test_all
    object-group network Test_all
    network-object host 192.168.50.0
    Fw2 shows
    sh run object-group Test_ALL
    object-group network Test_all
    network-object host 192.168.50.0
    Will above also cause override as names are different?
    Regards
    Mahesh

    David, I think what you are referring to are nested structures, or in some cases "Deep" Structures.   I have tested this senario in my Netweaver 2004s system and there are no problems with this coding.    However, this does not mean all will be ok in your case.  I think that it really depends on how the structure(or deep structure) is used in the program and if the unicode checker is turned on.
    REPORT zrich_0001.
    TYPES: BEGIN OF t_sub,
           sub(10) TYPE c,
           END OF t_sub.
    TYPES: BEGIN OF t_object,
           object TYPE t_sub,
           END OF t_object.
    TYPES: BEGIN OF t_main,
           main TYPE t_object,
           END OF t_main.
    data: xvar type t_main.
    CHECK xvar-main-object-sub IS INITIAL.
    Regards,
    Rich Heilman

Maybe you are looking for

  • 2 week old iphone suddenly won't turn on

    My two week old iphone 4 suddenly would not turn on nor will it take a charge.  Is this a typical problem?  Any suggestions beyond finding an Apple Store?

  • Highlight Text using JSObject

    I have a requirement which says to compare 2 PDF files and highlight the differences by adding an image at the text position. I am using JSObject to read the text (word by word) from both PDF's. 1. Is there any way to find the text position (X/Y co-o

  • The nimbus of the dreaded "Playback Err

    Many of you have also been blessed by that wonderful message on your player --- "Playback Error". The probable root causes are shrouded in fog and not subjects of a worthy discussion by Creative. On my trusty 30 GB NOMAD Jukebox Zen NX I started expe

  • Why does safari reload page from beginning when going back in history

    This behavior in safari is driving me nuts, i'm using mountain lion 10.8.1 and everytime i swipe two fingers to the left after having left a page to checksomething, safari goes back to the page and starts me in a different place (usually very beginni

  • Instagram won't link to facebook account

    Hey everyone! Need some help here... I can't seem to link my instagram account to my facebook account... When I try to, there is a message that tells me to check in my IOS settings under Facebook if it is really linked (which it is, I've checked). An