Extends fluid with expressions to retrieve current's ActionRequest values
Find a file
Robin Krahnen cb143aab89
All checks were successful
ci/woodpecker/pull_request_closed/functional-tests/1 Pipeline was successful
ci/woodpecker/pull_request_closed/code-style Pipeline was successful
ci/woodpecker/pull_request_closed/functional-tests/2 Pipeline was successful
ci/woodpecker/pull_request_closed/functional-tests/3 Pipeline was successful
ci/woodpecker/pull_request_closed/functional-tests/4 Pipeline was successful
Merge branch 'main' into develop
2024-10-11 14:38:51 +02:00
.woodpecker first version passing tests in Flow 8.3 2024-05-30 14:03:28 +02:00
Classes fixing an accidently error introduced by removing case insensitivity - and allowing path expressions for action request retrieval 2024-05-30 15:12:49 +02:00
Configuration first version passing tests in Flow 8.3 2024-05-30 14:03:28 +02:00
Resources/Private changing the format of the expression detections to avoid accidently being identified as objectaccessor and adding a test, where that happend with the previous expression 2024-05-30 15:08:53 +02:00
Tests/Functional removing senseless property override 2024-06-02 03:59:34 +02:00
composer.json update structure of composer.json and update dependencies 2024-10-11 14:38:47 +02:00
License.txt adding license 2024-05-30 15:32:12 +02:00
README.md adding minimal documentation and package meta information 2024-05-30 15:27:19 +02:00

DigiComp.FluidCurrentControllerExpression

This extends the fluid language with an expression to allow you to access values of the current action request.

<html>
    <title>Welcome to {#currentController.name} {#currentController.actionName}</title>
</html>

The pattern is {#currentController.PROPERTY_OF_ACTIONREQUEST} - all properties are possible. To avoid duplicated "controller" in the expression you are allowed to omit them (even if it works, if you do not).

It is really helpful if you try to generalize partials - being an expression, it is not depending on any aliased namespace, which might change in deeper structures.