Figure 1: How to Detect List When Used as Nested List Formatter

Figure 2: How to Detect List When Used as Nested List Formatter

  1. On the left of Figure 1, where the main List is, add an extra parameter (i.e. nestedList) with any value (i.e. 1).

  2. On the right of Figure 2, where the List is being used as Nested List, we can then make use of the extra parameter being passed in.
    For example, we are using it in Permission (under Advanced Tools).

    return ("#requestParam.nestedList#".equalsIgnoreCase("1"));
  3. This code above will return true when the List is in Nested List mode.



  • No labels