[TYPO3-project-formidable] New SVN revision 163
Jerome Schneider
typo3dev at ameos.com
Fri Jan 11 11:05:29 CET 2008
Hello Manuel,
the problem is that you might be in a case when you don't know in
advance if a field, in your template, will have to be displayed as
readonly or active (let's say, for instance, that this might depend on
the permissions of the current fe-user)
And so in some cases you might not be able to choose in advance between
{myrdt} and {myrdt.span}
However, in such a case, a solution might be to dynamically switch
subpart of template, to use another one.
This kind of choice make me nut :D
what do you think ?
Regards
Manuel Rego Casasnovas a écrit :
> Hello,
>
> I've downloaded the last SVN revision and I've detected a new method
> "wrapForReadOnly", that is called always when a renderlet has "readonly"
> property.
>
> I think that this would be configurable, sometimes I need raw text that
> a renderlet:TEXT returns me.
>
> I've noticed that in my temlpate I use {myrenderlet.value}, I could get
> the raw text, however for backwards compatibility I'd prefer use
> {myrenderlet} and {myrenderlet.span} to wrap my renderlet "readonly"
> inside span tags.
>
> What is your opinion?
>
> Best regards,
> Rego
>
>
> --
> Manuel Rego Casasnovas
> Computer Science Engineer
> mailto:mrego at igalia.com
> Tel: +34 986 10 76 10
> Fax: +34 981 91 39 49
> Igalia - http://www.igalia.com
>
More information about the TYPO3-project-formidable
mailing list