Task #34749

Provide some examples how to nest inline VH's

Added by Adrian Föder over 3 years ago. Updated about 3 years ago.

Status:Resolved Start date:2012-03-12
Priority:Should have Due date:
Assigned To:Adrian Föder % Done:

100%

Category:- Documentation -
Target version:TYPO3 Flow Base Distribution - 1.1
Sprint: Has patch:No
PHP Version: 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?

Associated revisions

Revision 28ab1031
Added by Adrian Föder about 3 years ago

[TASK] Show up hints for nesting inline ViewHelpers

This adds a section with some examples about how to nest
and use inline ViewHelpers.
Besides, it does some minor typo and formatting corrections.

Change-Id: I734702b3f9dc0c83739fdae99a4b241316c16a10
Resolves: #34749
Releases: 1.1, 1.2

Revision 70457ec8
Added by Adrian Föder about 3 years ago

[TASK] Show up hints for nesting inline ViewHelpers

This adds a section with some examples about how to nest
and use inline ViewHelpers.
Besides, it does some minor typo and formatting corrections.

Change-Id: I734702b3f9dc0c83739fdae99a4b241316c16a10
Resolves: #34749
Releases: 1.1, 1.2

History

#1 Updated by Bastian Waidelich over 3 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

1<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 over 3 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 over 3 years ago

Adrian Föder wrote:

I'll take care, fine?

More than fine ;)

#4 Updated by Karsten Dambekalns about 3 years ago

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

#5 Updated by Karsten Dambekalns about 3 years ago

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

#6 Updated by Gerrit Code Review about 3 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 about 3 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 about 3 years ago

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

Also available in: Atom PDF