[TYPO3-project-formidable] SEARCHBOX not working without JavaScript
Manuel Rego Casasnovas
mrego at igalia.com
Wed Jan 28 08:13:11 CET 2009
Hello,
I've noticed that SEARCHBOX is not working without JavaScript.
I've added the next lines in my XML configuration do disable JavaScript:
<meta>
...
<accessibility>
<usejs>false</usejs>
</accessibility>
</meta>
The problem is at class.maindatahandler.php at function
"_isSearchSubmitted" [1]. Where it's checked if
AMEOSFORMIDABLE_SUBMITTED is AMEOSFORMIDABLE_EVENT_SUBMIT_SEARCH (-5),
but this value is set from JavaScript.
The current value is AMEOSFORMIDABLE_EVENT_SUBMIT_FULL (1) because of
the code at class.mainrenderer.php [2].
So, I'm not sure about how to fix it to have the correct value for
SEARCHBOX.
Maybe it could be a good idea change the hidden field value to
AMEOSFORMIDABLE_EVENT_SUBMIT_SEARCH if it's a SEARCHBOX, but I don't
know how to do it.
Any idea?
Best regards,
Rego
[1]
http://formidable.typo3.ug/doxygen/1.0.0/class_8maindatahandler_8php-source.html#l00219
[2]
http://formidable.typo3.ug/doxygen/1.0.0/class_8mainrenderer_8php-source.html#l00061
--
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