[TYPO3-dev] Problems with a form in my extension and the action attribute
StephenBungert
stephenbungert at yahoo.de
Wed Aug 5 13:31:21 CEST 2009
I have an extension with a form where people can select options in combo
boxes and then click submit, the display is then updated, the combo boxes
also reflect the previous choices. Form method was POST
This all worked fine... with $GLOBALS['TSFE']->set_no_cache(); which I
enabled while writing the extension.
Then I disabled it. Now the combo boxes don't get updated because
$this->piVars never seem to contain anything.
I then thought about using GET so thta people could bookmark different
settings, but using get stops the form from going to the same page. The id
part of the query string isn't there.
I set the action attr with this piece of code:
$markerArray['###FORM_ACTION###'] =
$this->pi_getPageLink($GLOBALS['TSFE']->id);
I see it shows the correct id in the action attribute of the form, but after
clicking submit the query string doesn't contain this and the root page is
shown.
Anyone have any advice about how to fix my problems?
-----
--
Stephen Bungert
--
View this message in context: http://www.nabble.com/Problems-with-a-form-in-my-extension-and-the-action-attribute-tp24825203p24825203.html
Sent from the TYPO3 Dev mailing list archive at Nabble.com.
More information about the TYPO3-dev
mailing list