Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

  1. English
    On the left of Figure 1, where the main datalist is, add an extra parameter (i.e. nestedList) with any value (i.e. 1).
  2. On the right of Figure 2, where the datalist is being used as Nested Datalist, we can then make use of the extra parameter being passed in.
    For example, we are using it in Permission (under Advanced Tools).

    Code Block
    languagejava
    return ("#requestParam.nestedList#".equalsIgnoreCase("1"));
  3. This code above will return true when the datalist is in Nested Datalist mode.

...