Task #34749

Provide some examples how to nest inline VH's

Added by Adrian Föder almost 9 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Should have
Assignee:
Category:
- Documentation -
Start date:
2012-03-12
Due date:
% Done:

100%

Estimated time:
Sprint:
PHP Version:
Has patch:
No
Complexity:

Description

It would be useful to have some more examples how to nest different variables, array and ViewHelpers; for example, how could

...arguments="{foo: bar, sample: baz -> f:nother.vh(more: stuff)}" 

be achieved; or may that even be correct?

#1

Updated by Bastian Waidelich almost 9 years ago

Adrian Föder wrote:

It would be useful to have some more examples how to nest different variables,
array and ViewHelpers;

+1

FYI: Your example should be

<f:someViewHelper arguments="{foo: bar, sample: '{baz -> f:nother.vh(more: stuff)}'}" />

See more examples here:
http://forge.typo3.org/projects/typo3v4-mvc/wiki/FAQ#Can-ViewHelpers-be-nested

#2

Updated by Adrian Föder almost 9 years ago

that's fine, thanks Bastian; I think the examples from the FAQ could almost be transferred 1:1.
I'll take care, fine?

#3

Updated by Bastian Waidelich almost 9 years ago

Adrian Föder wrote:

I'll take care, fine?

More than fine ;)

#4

Updated by Karsten Dambekalns over 8 years ago

  • Tracker changed from Suggestion to Task
  • Project changed from Documentation to TYPO3.Flow
#5

Updated by Karsten Dambekalns over 8 years ago

  • Category set to - Documentation -
  • Status changed from New to Accepted
  • Assignee set to Adrian Föder
  • Target version set to 1.1
  • Has patch set to No
#6

Updated by Gerrit Code Review over 8 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12351

#7

Updated by Gerrit Code Review over 8 years ago

Patch set 1 for branch FLOW3-1.1 has been pushed to the review server.
It is available at http://review.typo3.org/12354

#8

Updated by Karsten Dambekalns over 8 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF