Regarding inheritance in adobe day cq

Hi,
I am fairly new to adobe cq...
I came across inheritance in the documentation....I did not understand the difference between disable inheritance and cancel inheritance....
I applied disable inheritance but the child pages still inherited the parent page images which was put in the inherited paragraphs.....
Could anyone please help me...
Thanks in advance...
Regards,
Heidi

HI Heidi,
  I beleive your understanding is correct & agree the name is slight confusing This difference is not clear however reading the label descriptions of the checkbox carefully will help to clear configuration.  Documentation at [1].
Just to demonstrate let us use geometrixx example. In author instance
*    Go to http://<host>:<port>/content/geometrixx/en/products/triangle.html
*    On the right side you would see iparasys, Select "Cancel Inheritance" & save.
*    Go to http://<host>:<port>/content/geometrixx/en/products/triangle/overview.html
*    You would see it is not inherited & if you are in edit mode you would see "Parent canceled inheritance"
For second case
*    Go to http://<host>:<port>/content/geometrixx/en/products/square.html
*    In Iparasys Select "Disable Inheritance" & save.
*    IN edit mode you would see "Inheritance disabled" & in preview mode not inherited from the parent page.
[1]   http://dev.day.com/docs/en/cq/current/wcm/default_components.html#Inheritance%20Paragraph% 20System%20%28iparsys%29
Thanks,
Sham

Similar Messages

  • Question regarding Inheritance.Please HELP

    A question regarding Inheritance
    Look at the following code:
    class Tree{}
    class Pine extends Tree{}
    class Oak extends Tree{}
    public class Forest{
    public static void main(String args[]){
      Tree tree = new Pine();
      if( tree instanceof Pine )
      System.out.println( "Pine" );
      if( tree instanceof Tree )
      System.out.println( "Tree" );
      if( tree instanceof Oak )
      System.out.println( "Oak" );
      else System.out.println( "Oops" );
    }If I run this,I get the output of
    Pine
    Oak
    Oops
    My question is:
    How can Tree be an instance of Pine.? Instead Pine is an instance of Tree isnt it?

    The "instanceof" operator checks whether an object is an instance of a class. The object you have is an instance of the class Pine because you created it with "new Pine()," and "instanceof" only confirms this fact: "yes, it's a pine."
    If you changed "new Pine()" to "new Tree()" or "new Oak()" you would get different output because then the object you create is not an instance of Pine anymore.
    If you wonder about the variable type, it doesn't matter, you could have written "Object tree = new Pine()" and get the same result.

  • Issue regarding discount and tolerance days

    Frnds
    i have below situatiion.
    we have pmt term 1% 10 days, net 30 days, client wants to take discoutn even after the discount period expires.
    let say, discount expires on 10/04, still they wan to take discoutn on 10/07 pmt run. as i know we can do it by putting 3 dasy in tolerance days field in FNZP config. and that would add 3 days in payables also.
    i havenot issue in that but if i put 3 days in Tolerance days field, then it will add 3 days for all the vendor invoices.
    thats wht i dont want to do for Non discounted payment term, like Net 30 days
    adding 3 days in tolerance days in FBZP it iwill *** 3 days for above Net 30 days also.
    wht so i need to do to not to add tolerance days in Non discounted payment term.
    i know i can set up tolerance group for vendor and specify Grays days there but it is working for only Manual payments not for automatic payment.
    can some one please suggest how can i exclude non discounted payment term from assing extra days?
    any thoughts will be appreciated.
    Thanks

    Hi Matt,
    Create a new payment terms and key in the this term only for this customer master data. the problem will get solved if you change the existing payment term it will affect all.
    Remeber, the new term will work only on prospectve basis.
    Regards
    Bharat

  • Regarding Inheritance in BPM Objects

    Hi,
    We are having requirement such that we are three objects: dataObject (containing one attribute - Name) , interfaceObject(containing attribute - City) and flowObject. The requirement is such that we need to inherit the properties of dataObject and interfaceObject into flowObject. Hence, we use feature of ALBPM known as "Type Inheritance" as "Behaviour" and "Inheritance" mapped as interfaceObject.
    Now we are having main process where we have made a instance variable as "insDetails" of type flowObject and set the value of insDetails.Name as "Rajat" and insDetails.City as "Mumbai".
    Now we are having one interactive activity which uses the instance variable "insActivity" of type interfaceObject inside the screenflow just after setting the above values for Name and City in Automatic activity before Interactive activity.
    Flow: Begin --> Automatic ( Setting the value for insDetails ) --> Interactive ( Mapping is done with insActivity ) --> Screenflow ( we want to get the values of City and Name as defined in Automatic activity as "Mumbai" and "Rajat". Also, insActivity inherit from interfaceObject).
    The problem is that when we are trying to log the values for insActivity.Name and insActivity.City inside the screenflow, we are getting "Null Pointer Exception". We are unable to get the values of insDetails into insActivity inspite of the fact that insActivity inherits from dataObject.
    Please let me know how can we access the values inside the screenflow for inherited objects.
    Thanks,
    Abhishek

    HI Heidi,
      I beleive your understanding is correct & agree the name is slight confusing This difference is not clear however reading the label descriptions of the checkbox carefully will help to clear configuration.  Documentation at [1].
    Just to demonstrate let us use geometrixx example. In author instance
    *    Go to http://<host>:<port>/content/geometrixx/en/products/triangle.html
    *    On the right side you would see iparasys, Select "Cancel Inheritance" & save.
    *    Go to http://<host>:<port>/content/geometrixx/en/products/triangle/overview.html
    *    You would see it is not inherited & if you are in edit mode you would see "Parent canceled inheritance"
    For second case
    *    Go to http://<host>:<port>/content/geometrixx/en/products/square.html
    *    In Iparasys Select "Disable Inheritance" & save.
    *    IN edit mode you would see "Inheritance disabled" & in preview mode not inherited from the parent page.
    [1]   http://dev.day.com/docs/en/cq/current/wcm/default_components.html#Inheritance%20Paragraph% 20System%20%28iparsys%29
    Thanks,
    Sham

  • Regarding Page in adobe

    Dear all
    I hav developed one adobe forms . In that form from the first page i bind my internal table .
    If interanl table contains 500 records means its dynamically get the pages.. Because i used  object ---> Flowed
    concepts..  If internal table is empty that page should not come..
    plz give the solution for restrict that  page  if internal table is empty
    Thanks  & regards
    sri.

    Dear abhishek
    That i have tried but its not working..
    Kindly give some examples
    Thanks
    sri

  • Regarding se38 to adobe forms

    Dear all
    I hav created one adobe  form connected with SE38..
           CALL FUNCTION 'FP_JOB_OPEN'
            call  FP_FUNCTION_MODULE_NAME
            call fm_name
    Above the FM i used for call the adobe . while execute it will ask for output device popup as ZLEX610... its working fine.
    How we can restrict that pop up ( output device pop up )....
    How we can give that zlex610 output deveice dynamically.....
    Kindly help
    Thakns

    Hi Irfan,
    set your default printer in user setting .
    then it will not ask to enter the printer when you execute adobe form
    go to system -> user profile -> own data
    set your defualt printer.
    Regards,
    Vijay

  • Regarding Migration to Adobe Forms

    Hi Friends
       I am working on adobe print forms.
    I have one doubt that is  If SAP itself providing the option <b>migrate smartform to Adobe Interactive form,</b> what's the necessity to create the forms from scratch i.e why we have to create Interface,Context and Forms.
    Is we get any flwas by simply migrating the smartform to adobe interactive form?
    Please anyone explain me?
    Points are assured for useful ansers.
    Regards,
    Sree

    yes u can convert smartform into pdf. follow these steps.
    1. first call your smart form as u do.
    e.g. CALL FUNCTION '/1BCDWB/SF00000127'
    in this just activate these two also
       IMPORTING
       DOCUMENT_OUTPUT_INFO       = it_tab1
    and this internal table (it_tab1) it will store the data of smart form.
    2. then call fm to convert it_tab1 data into pdf.
    call  convert_otf
    and in this fm just pass it_tab1.
      EXPORTING
        format = 'DOC'
      IMPORTING
        bin_filesize = v_pdf_len
      TABLES
        otf   = it_tab1
        lines = pdf_table
      EXCEPTIONS
        err_max_linewidth     = 1
        err_format            = 2
        err_conv_not_possible = 3
        err_bad_otf           = 4
        OTHERS                = 5.
    3. now u can save this fm on your local system.
    second method
    apart from allowing sap to convert your smart form to pdf u can also do it by downloading two software files
    and then install it in your local system.
    links for those files are.
    http://www.pdf995.com/download.html
    and download pdf printer driver from here
    after that goto printer setup and make PDF995 as default printer.
    and finally when your smart form is ready to print just click on print button then as your default printer is pdf995 it will convert your smartform into pdf and that u can save it in your system.
    plz reward point .
    Message was edited by:
            Rahul Bhasin
    Message was edited by:
            Rahul Bhasin

  • Regarding scripting in adobe HCM process and forms

    Hi Gurus,
    I am working on adobe HCM process and forms. Configuration has been done for HCM process and forms and I am getting the scenario stage level in the forms based on which I will give the visibilty to differenct levels of approvals in the form.Scripting has been done for that.
    When form is initially loaded, I am making invisible some of the fields. On choosing the drop down the value that I make invisible is visible again. I found that Scenario stage that I bound to the form attribute is getting cleared off, when drop down event is called. Drop down event calls the generic services to fill the drop down values. Drop down used is from ISR Controls from the library.
    The scripting that I used in the drop down event is as belows
    if (xfa.form.data.Page1.FORM_SCN.rawValue == "INIMGR_LVL1")
      xfa.form.data.Page1.DE.DEContent.HR_VIEW.presence = "invisible";
    xfa.form.data.Page1.FORM_SCN.rawValue  this is getting cleared off. Form SCN is the field in the form where in which I bound the attribute scenario stage.
    Pls help me on this.
    Regards,
    Krishnan  Paramasivan

    Solomon,
    Thanks for the earliest response. can you explain me in detail. Where to check/select the form scenario stage field to be passed over. In scripting the coding written as below:
    xfa.record.CONTROL_PARAM.ISR_EVENT.value = "DD_GET_POSITION";
    ContainerFoundation_JS.SendMessageToContainer(event.target, "submit", "", "", "", "");
    DD_GET_POSITION is the event created in generic services and used in the user events in the form scenario stage in HRASR_DT.
    Any further guidance on this ?
    Thanks in advance.
    Regards,
    Krishnan

  • Regarding dropdowns in Adobe forms

    Hi experts.
    I am trying to create an Adobe Form.
    I have 2 dropdown lists in there.
    Depending on the value selected in the 1st dropdown i want to populate data in 2nd dropdown list.
    Can i do this using javascript..If yes , how.
    Or is there any other alternative way to do this..
    Thank you for your valuable time.
    Radhika.

    not answered.

  • Nested regions best practice regarding inheritance of editable regions.

    Have a template page, http://www.satgraphics.com/templates/main_01.dwt in which I have an area labeled  "div#main_wrapper".
    When attempting to  make it an "editable" region, I received the following comment: "The selection already contains or overlaps with an editable, repeating, or optional region".
    I had already made the "header" and "column_left" regions editable, but as the "column_left" is nested within the wrapper, my question would be; Would the correct process be to un-do the "column_left" editable region, make the "div#main_wrapper" editable, and be able to edit the "column_left" area as an inherited editable area?
    When I did try to do so to the "main_wrapper" div, I did not get the identifier label (blue text block at top left of each area) and received the warning as mentioned previously.
    Thank You...

    I did attempt to specify the "main_wrapper" div, but did so after already creating the "column_left" div region as editable, (nested in the "wrapper") and that is when I received the error message.
    As an aside, the site is fairly simple, so I am using a single template in which I do make content changes to header, column_left, and hopefully within the wrapper itself) for each new page, thus intentionally wanting editable region in content of "wrapper".
    The "footer" and "menu" are the two areas in which I did not open up for change; the "menu" is a library item, so any changes are made from there.
    So, question now becomes that of getting the "main_wrapper" div editable and how can that be done without the aforementioned message?
    http://www.satgraphics.com/templates/main_01.dwt
    Thank You for your help.

  • Regarding subtraction of 10 days from the current date

    Need to know how I can get 10 days subtracted from the current date before the report is excuted. This needs to appear in the selection screen before the report is excuted.
    The select option contains two fields the first field is the date which is 10 days subtracted from the current date and the next field is the current date.
    Please suggest.
    Thanks.

    Hi Dolly
    I had a same req before check that code:
    AT SELECTION-SCREEN OUTPUT.
    IF pa_older = 'X'.
    CALL FUNCTION 'RP_CALC_DATE_IN_INTERVAL'
    EXPORTING
    date = pa_end  "<<<<< date or in ur case sy-datum
    days = '10'
    months = '00'
    signum = '-'
    years = '00'
    IMPORTING
    calc_date = pa_end1.  " <<< subtracted date
    ENDIF.

  • Regarding Inheritance (and super)

    Let:
    class A { ... }
    class B extend A { ... }
    From within class B, the super keyword allows me to access the visible methods and variables in A. However, super does not seem to be a reference; that is, while I can legally do
    Object a = this;
    I cannot do
    Object a = super;
    But, I would really like to be able to do this. That is, from the context of B, I would like to obtain a reference to the supertype, such that (ref instanceof A == true), (ref instanceof B == false). In short, I want a 'super' that behaves exactly like a 'this'. The ultimate goal of this is to pass a reference to the supertype into a method (say, a static method). Is this at all possible in Java? My only idea at the moment is to create a new instance of the superclass and set all of its state correctly, pass this instance into the desired method, then reestablish state once the method returns. Sounds painful and error-prone, though.
    Thanks for any ideas.

    sancho_panza wrote:
    ejp wrote:
    Why? Any method will already accept a reference to B as a reference to A, if B extends A.I am performing a transformation on Java classes that involves turning instance methods into static methods. It is not problem to pass a reference to 'this' into such a static method. But what if the instance method invokes super? Super cannot be invoked statically; thus I would like to pass 'super' into this method, which is impossible. I suppose creating a temporary container for the superclass is the easiest way (though it seems like this should be a lot easier).To do this you need to transform the Java static inheritance to a dynamic equivalent. This is quite straightforward. Say you have,
    class A {}
    class B extends A {}Now the A class is split into an interface A and an implementation class A_IMPL. You get this,
    interface A {}
    class A_IMPL implements A {}
    class B implements A {
       private A a_ref = new A_IMPL(); // object holding implementation of A
       // The implementation of inherited A methods is delegated to the A_IMPL object
    }In the above a_ref is the super reference you desired.

  • Question regarding downloads of adobe

    Before installing Adobe Flash does your website check to see if it is already installed. I know Java site will check for you. Thank you

    The installer of flash will analyize your system to see if there is a version of the software installed. Then it will proceed with the install if there is not an updated version on your computer.
    I hope this answers your question
    Thanks
    Scott

  • Plz help me regarding scripting in adobe forms..urgent

    Hi all,
    I have the requirement to print <b>subtotal for each page in the layout</b>.Please tell me how to do the scripting  to find out subtotal in the form object.
    and also i want to know how to refer each field in the hierarchy .
    i would be greatful if you help me

    In that thread,... gareth.roberts say to modify the trigger definition to the column. Actually i am new to oracle >alert. How do i get that trigger definition and from where i have to get. and how to modify the trigger definition . >
    plz...Need not to say like that, I am just trying to help you. I believe if you are new try to read and understand the documents and process. Please start with Oracle Alert User's Guide to create a alert and send notification.
    I do not have any ready made scenario, I can refer you the documents to do the same,
    [How to Create a Basic Trigger|https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=119667.1]
    [RDBPROD: How to Create an Update Trigger Which Depends on Any Other Field|https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=68037.1]
    To view the Trigger Information you can use TOAD and modify the same as per your need.
    Thanks,
    Anchorage :)

  • Questions regarding Inheritance

    I have written my questions in the code as comments:
    Q: A) What is the difference between q and h?? Does Person q get overwritten with type PersonAddress?
    Q: B) Why does this not compile? I have tried to replace q with i and then it works but why??
    class Person
    { private String name;
        public Person(String n)
        name = n;
        public String getName()
        return name;
        public boolean sameName(Person other)
        return  getName().equals(other.getName());
    class PersonAddress extends Person
    { private String address;
        public PersonAddress(String the_name, String the_addr)
      { super(the_name);
        address = the_addr;
        public String getAddress()
        return address;
        public boolean same(PersonAddress other)
        return sameName(other) && address.equals(other.getAddress());
    class Test
      public static void main(String[] args)
        Person p = new Person("Jakob");
        // Q: A) What is the difference between q and h?? Does Person q get overwritten with type PersonAddress?
        Person q = new PersonAddress("Jakob", "Nowhere");
        PersonAddress h = new PersonAddress("Jakob", "Nowhere");
        PersonAddress i = new PersonAddress("Jakob", "Nowhere");
        System.out.println(q.sameName(p));
        System.out.println(h.sameName(p));
        //Q: B) Why does this not compile? I have tried to replace q with i and then it works but why??
        System.out.println(q.same(h));
    }

    q = child
    Person = "Something blue"
    new PersonAddress = blueberry
    But q becomes new PersonAddress (blueberry)
    Hope I am not making to much a fool out of myself :-)Hi,
    Sorry that I confused you. I thought of a real life situation.
    Variables references things, and when you declare them you have to say what they should be able to reference (that's why I said that they could point at things, but they will not become things). The actual thing that they reference (point at) will not be changed or altered in any way just because you also tells some one else to reference the same thing but using another name, or declaration type.
    E.g.
    You might point at a blueberry even though you only can point at blue things.
    Another person who is only capable of pointing at berrys might point at the exact same blueberry. But this doesn't change that fact that a blueberry is a blueberry, and it will continue to be a blueberry independent of if you point at it or not.
    /Kaj
    (Now I might have confused you even more?)

Maybe you are looking for

  • Adding new "Paragraph Styles"

    Hi, I am trying to modify different text styles in different cells in Numbers 3.5.2 (Yosemite) and I cannot figure out how add a new Paragraph Style to the existing drop-down styles list. Is there a duplicate existing style or add a new style option

  • Attachments appear missing in CRM 7.0 after Upgrade from 6.0

    We use CRM for SSMS functionality to create help desk tickets which can have documents attached to them which are stored in and retrieved from content server. All was well in the land of CRM 6.0. Since the upgrade to CRM 7.0, when viewing an SSMS tic

  • Setting print quality in  3.0 starter

    I am running the PhotoAlbum 3.0 starter edition. When I try to print on my HP Photosmart 7660 printer I set the preferences to "best" print quality but when it prints the printer window says "normal". Therefor I'm not getting the quality prints I wan

  • [svn:fx-trunk] 9328: Fixing SDK-22462: Event dispatched is not as expected in Tree

    Revision: 9328 Author:   [email protected] Date:     2009-08-14 17:02:35 -0700 (Fri, 14 Aug 2009) Log Message: Fixing SDK-22462: Event dispatched is not as expected in Tree For this, the issue is really that TreeItemRenderers assume that no click eve

  • Why am I getting this error message with slapconfig? Error 66

    I am restoring this to the same server and from the location where it was backed up.  So it does exist and it mounts when I open it.  So not sure what I am doing wrong.  Thanks. This is the command I used to backup.  sudo slapconfig -backupdb ~/Deskt