-
Type: Feature
-
Status: Done
-
Priority: Medium
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 1.21.0
-
Component/s: appng-core
-
Labels:None
Currently, if a page supports a high number of URL parameters, the include-conditions for an action/datasource get cumbersome to write and read.
Example:
<condition expression="${not empty variantId and 'recipe' eq entity and 'update' eq action and not empty entityId and 'rating' eq entity1 and 'update' eq action1 and not empty entity1Id}" />
The idea is to have a built in variable and/or some helper methods that makes it easier to match a certain path, for example
<condition expression="${ noneEmpty(entityId,entity1Id) and URL_PATH.matches(variantId, 'recipe', 'update', entityId, 'rating', 'update', entity1Id)}" />