Ticket #203 (closed enhancement: fixed)
Redirect command should support ${} syntax for args and persistArgs attributes
| Reported by: | peterfarrell | Owned by: | kurtwiersma |
|---|---|---|---|
| Priority: | critical | Milestone: | Mach-II 1.8.0 alpha |
| Component: | framework - core | Version: | 1.8.0 - Framework |
| Keywords: | redirect command args expression evaluation | Cc: | mattwoodward, brianfitzgerald |
| Blocking: | Blocked By: |
Description (last modified by peterfarrell) (diff)
Redirect command should support ${} syntax with support for defaults for args, event, module, args and persistArgs attributes. This would be inline with how the new call-method command works.
Let's pretend there is an assessmentBattery CFC in an event arg named assessmentBattery and I need to the jobProfileId from that CFC on an redirect. This is not currently possible, but would be very helpful:
<redirect event="webAssess.jobProfiles.displayProfile" args="jobProfileId=${event.assessmentBattery.jobProfileId}:0" />
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
