Figure 1: How How to Detect Datalist List When Used as Nested Datalist List Formatter
Figure 2: How to Detect Datalist List When Used as Nested Datalist List Formatter
datalistEnglish On the left of Figure 1, where the main List is, add an extra parameter (i.e. nestedList) with any value (i.e. 1). 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 language java return ("#requestParam.nestedList#".equalsIgnoreCase("1"));
- This code above will return true when the datalist List is in Nested Datalist List mode.