[TYPO3-mvc] REWARD: Dispatch Error after adding Boolean Property to Demand Class

g4-lisz at tonarchiv.ch g4-lisz at tonarchiv.ch
Fri Mar 30 18:09:35 CEST 2012


This issue is not solved yet! And it's really urgent now - so i will pay 
50€ to the one who solves it. For access to our test server send me a 
private message...

Cheers,
Till

On 02/06/2012 09:24 PM, g4-lisz at tonarchiv.ch wrote:
> He there
>
> In my searchform demand class i added a new property "isLocalKanton":
>
> /*
> * Local to Kanton
> *
> * @var boolean $isLocalKanton
> */
> protected $isLocalKanton = false;
>
> /**
> * @param boolean $isLocalKanton
> * @return void
> */
> public function setIsLocalKanton($isLocalKanton) {
> $this->isLocalKanton = (boolean)$isLocalKanton;
> }
>
> /**
> * @return boolean isLocalKanton
> */
> public function getIsLocalKanton() {
> return $this->isLocalKanton;
> }
>
> In the view i added a checkbox to the form:
>
> <f:form name="demand" pluginName="fe_search_results" object="{demand}" 
> action="results" pageUid="26">
> <f:form.checkbox property="isLocalKanton" value="1" />
> [...]
> </f:form>
>
> Before this change, everything worked flawlessly.
>
> Now i get the error: "Could not ultimately dispatch the request after 
> 101 iterations. Most probably, a @dontvalidate annotation is missing 
> on re-displaying a form with validation errors."
>
> Why is this? I can't see any mistake in my code...
>
> Any help will be much appreciated!
> Cheers, Till
>
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc



More information about the TYPO3-project-typo3v4mvc mailing list