Task #34749

Provide some examples how to nest inline VH's

Added by Adrian Föder about 1 year ago. Updated 11 months ago.

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

100%

Category:- Documentation -
Target version:TYPO3 Flow Base Distribution - 1.1
Sprint: Has patch:No
PHP Version: Complexity:
Votes: 0

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 11 months 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 11 months 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

Updated by Bastian Waidelich about 1 year 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

Updated by Adrian Föder about 1 year ago

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

Updated by Bastian Waidelich about 1 year ago

Adrian Föder wrote:

I'll take care, fine?

More than fine ;)

Updated by Karsten Dambekalns 11 months ago

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

Updated by Karsten Dambekalns 11 months 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

Updated by Gerrit Code Review 11 months 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

Updated by Gerrit Code Review 11 months 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

Updated by Karsten Dambekalns 11 months ago

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

Also available in: Atom PDF