Versions Compared

Key

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

Image RemovedImage Added

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

Image RemovedImage Added

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

  1. English
    On the left of Figure 1, where the main
    datalist
    List is, add an extra parameter (i.e. nestedList) with any value (i.e. 1).
  2. On the right of Figure 2, where the datalist List is being used as Nested DatalistList, 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 List is in Nested Datalist List mode.