[TYPO3-mvc] Fluid: Object-Accessor is not always working

Robert Schneider r.schneider at artworx.at
Fri Sep 14 15:23:52 CEST 2012


Okay, that sounds reasonable and cannot be called a bug.

Thanks.

Am 14.09.2012 14:39, schrieb Claus Due:
> Hi Robert,
>
> If the style block is the problem and you don't need to use Fluid variables in <style>, you should use f:format.raw around it. The issue is probably that the pattern which matches Fluid variables is also matching the { } part of your style section.
>
> Styles should always go in external files unless there's a really good reason. Especially when using Fluid templates. Same goes for Javascript. The curly braches usually cause problems because they're also used by Fluid.
>
> Cheers,
> Claus
>
> On Sep 14, 2012, at 2:03 PM, Robert Schneider <r.schneider at artworx.at> wrote:
>
>> Well, I could locate the problem. Probably a bug.
>>
>> In my first posting you have seen that I included a style section:
>>
>> <style>
>> 	.circle {
>> 		padding: 40px 100px 110px 100px;
>> 		background: #fff;
>> 		width: 400px;
>> 		height: 450px;
>> 		margin: 10px auto;
>> 		border-radius: 50%;
>> 		-moz-border-radius:50%;
>> 		-webkit-border-radius: 50%;
>> 		behavior: url(ie-css3.htc);
>> 		border: 5px solid orange;
>> 	}
>> </style>
>>
>> I have reduced this to:
>>
>> <style>
>> 	.circle {
>> 		padding: 40px 100px 110px 100px;
>> 	}
>> </style>
>>
>> This still doesn't work. But when I change this to:
>>
>> <style>
>> 	.circle {
>> 		padding: 40px 100px;
>> 	}
>> </style>
>>
>> it works! Does this make any sense? Is there any reason for this behaviour?
>>
>> If it is also strange to you, Clause, then I will create a bug report. But I'd like to know your opinion first.
>>
>> Thanks again and have a nice weekend,
>> Robert
>>
>>
>> _______________________________________________
>> TYPO3-project-typo3v4mvc mailing list
>> TYPO3-project-typo3v4mvc at lists.typo3.org
>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc
>



More information about the TYPO3-project-typo3v4mvc mailing list