1 Reply Latest reply: May 19, 2014 1:39 PM by Cuauhtemoc Amox RSS

    what is difference btw :block.item and $item.block.item.value in form personalization condition

    800528


      Hi,

       

      what is difference btw :block.item and $item.block.item.value in form personalization condition section

       

      i have seen that condition like

       

      trigger event

      when item instance

      :RELEASE.PICKING_RULE not in ('US_CA_1', 'US_CB_1', 'US_CC_1', 'US_CU_1')

       

      and

       

      when item instacne

       

      ${item.release.picking_rule.value } not in ('US_CA_1', 'US_CB_1', 'US_CC_1', 'US_CU_1')

       

      both are same or differents

       

       

      thanks in advance

        • 1. Re: what is difference btw :block.item and $item.block.item.value in form personalization condition
          Cuauhtemoc Amox


          In the particular example you use, no difference, you are obtaining the value and comparing it with a set of values.


          The second syntax form, however, allows for the following, whereas the first only retrieves the field value:

          Conditions can refer to properties of objects using a SPEL syntax (Simplest Possible Expression Language). For example, this enables you to build a Condition that tests if a field is displayed or not. These expressions take the following general format:

           

          ${objectType.objectName.Property}

          Internally, the SPEL expression is a cover for Oracle Forms builtins like GET_ITEM_PROPERTY, GET_BLOCK_PROPERTY, etc. Additionally, the SPEL expressions support retrieving Profile values, Message Dictionary text, and Local Variables (described later).