Feature #1907

Default values for view helpers based on context

Added by Sebastian Kurfuerst over 13 years ago. Updated about 8 years ago.

Status:
New
Priority:
Could have
Assignee:
-
Category:
Core
Target version:
-
Start date:
2008-10-29
Due date:
% Done:

0%

Estimated time:
Has patch:

Description

We should supply a mechanism in the "ViewHelperNode" which will merge the given parameters with certain default parameters.

The default parameters should be context dependent (However, we don't know yet how this might look like).

This would be helpful for numerous cases:

  • <f3:uri.linkTo> -> "action", "controller", and "package" arguments could be supplied if no other parameter given
  • Link parameters - we could realize something like "keepPIVars" with this feature
  • <f3:image> tag - supplying default parameters for maxWidth, maxHeight, ...

Related issues

Related to TYPO3.Fluid - Feature #3717: "Designators" for Form view helperResolvedBastian Waidelich2009-06-22

Actions

Also available in: Atom PDF