You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

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

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

  1. 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).

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



  • No labels