[TYPO3] reusing an object's value for use into the action part of a form-tag

Markus Lange markus.lange at bgm-gmbh.de
Sat Oct 28 16:13:00 CEST 2006


Hi,

Victor Elsendoorn wrote:
> Or let me rephrase my question, I am looking for a good solution to reuse
> an object by simply pointing to the value of that object.
>
> I hope someone can point me into the wright direction, for now I starting
> to feel a bit hopeless ;-)


what about this one?

x = LOAD_REGISTER
x {
  myValue.cObject = TEXT
  myValue.cObject {
    typolink.parameter = {$plugin.tx_indexedsearch.searchUID}
    typolink.returnLast = url
 }
}

page.1111 = TEXT
page.1111.data = register:myValue

does ist generate any output?

if yes you can certainly use it like

...stdWrap.dataWrap = <form action="{register:myValue}" ....

should work, not tested though

check tsref LOAD_REGISTER for details
and please let us know if it works


-- 
Markus Lange






More information about the TYPO3-english mailing list