[TYPO3-project-formidable] actionlet:REDIRECT not working ?
Loredana ZECA
l.zeca at ameos.com
Thu Jun 26 09:54:32 CEST 2008
Hy,
You can try the followings?
1). Your button used to redirect to another page, must be a
<renderlet:SUBMIT>
<renderlet:SUBMIT name="mybutton" label="redirect" />
2). Try to write the <action:REDIRECT> like this:
<actionlet:REDIRECT>
<pageid>32</pageid>
</actionlet:REDIRECT>
or like this:
<actionlet:REDIRECT>
<pageid>
<userobj>
return $this->cObj->typolink_URL(
array(
"parameter" => "32",
"additionalParams" => "",
"returnLast" => "url",
"useCacheHash" => "1",
)
);
</userobj>
</pageid>
</actionlet:REDIRECT>
Hope this help.
Loredana
Michael Hilgers a écrit :
> Hello,
>
>
>
> I am trying to use the actionlet:REDIRECT but after pressing the submit
> button the browser just hangs.
>
>
>
> I am using this code from a posting from the mailinglist, the actionlets tag
> inside the control tag and I am using datahandler DB.
>
>
>
> <actionlets>
>
> <actionlet:REDIRECT>
>
> <pageid>
>
> <userobj>
>
> <php><![CDATA[
>
>
>
> $rpid=32;
>
> return $ rpid;
>
>
>
> ]]></php>
>
> </userobj>
>
> </pageid>
>
> </actionlet:REDIRECT>
>
> </actionlets>
>
>
>
>
>
> I cant see any errors in the error.log.
>
> Did anyone experience the same behaviour or knows what I did wrong.
>
> If this is a Bug is ther a workaround or path ?
>
>
>
> THX a lot !
>
>
>
> Michael Hilgers
>
> it-consulting
>
> Rimplergasse 20/10
>
> A-1180 Wien
>
>
>
> mobile +43 (0)664 20 60 814
>
> mail mhil at mhil.at
>
> www www.mhil.at
>
>
>
More information about the TYPO3-project-formidable
mailing list