Re: QFC - no underline in form name?

From: Date: Mon, 10 Nov 2003 09:20:26 +0000
Subject: Re: QFC - no underline in form name?
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-8843@lists.php.net to get a copy of this message
Hi! Daniel Kopp wrote:
It seems that QFC does not like Forms that have an underline in the name - is that true? In my actual example I used other names that only have the underline in common with this example Would be great to see that in the documentation - or am I missing something here?
Your problem is not underscore itself, but the fact that one page's name is the *prefix* of the other. Consider: you have pages 'foo' and 'foo_bar'. If you define action 'baz' on foobar, then you get _qf_foo_bar_baz as button name. Controller can not read your mind and understand whether you meant action 'baz' on 'foo_bar' or action 'bar_baz' on 'foo'. To avoid having "a blank page" consider checking for PEAR errors.

« previous php.pear.general (#8843) next »