Hey again ,
sorry for all the crazy simple questions. But once again, I can’t find an answer in references or with friend google:
I would like to check more than one submitted value like:
Tried it with and without wrapping bracket, also ||, OR, or, &&, AND, and, … always the same:
ERROR:
An exception was thrown while Neos tried to render your page
Cannot cast object of type "TYPO3\Flow\Persistence\Doctrine\Proxies\__CG__\TYPO3\Media\Domain\Model\ImageVariant" to string.
//OR
An exception was thrown while Neos tried to render your page
A boolean expression has more than tree parts.
That is a feature that is not yet in Neos Fluid. The documentation you are referring to is from extbase, which was originally a port of Flow+Fluid to Typo3 CMS. It has since developed a bit of an own pace.
Regarding your issue: The recommended way to deal with this is to actually do complex logic inside your models or the controller. As a fallback you can also write custom viewhelpers, though that should be left for very specific cases.
Optimally, a view should not contain too much logic.
As for boolean AND there is at least a hackish work-around, by using array comparison:
Also for your work-around. Great to know. But now that I know, there is not a lightweight template-solution, I can do it for an «OR» also in prototype (more MVC-like I guess)
So more complex logic is out of fluid-Template.