2009年7月9日星期四

Re: [fw-mvc] Dojo IE issues, ugrent assistance needed!

Hi,

I've made a quick test file here
(http://remydamour.com/formPostTest.php) and it looks like working
fine with ie7 and keyboard submition (space | enter).

(i've renamed first 'b2' button into 'b1' + closed <form> node).

I hope that helps,
Regards, Remy

On Wed, Jul 8, 2009 at 6:36 PM, Kostyantyn Shakhov<kshakhov@gmail.com> wrote:
> I need to submit a Dojo form by pressing Enter or Space on a submit button.
>
> I use the following simple Dojo form with two submit buttons:
>
> <form action=" " method="post" id=" " >
> <input id="b2" name="b2" value="B2" type="submit" />
> <input id="b2" name="b2" value="B2" type="submit" />
> </td>
>
> The browser is IE7.
>
> If I use Dojo 1.2.3 the form submit by keyboard DOESN'T work.
>
> If I update Dojo to either 1.3.0 or 1.3.1 the form submit by keyboard
> works perfect but the POST data are incorrect under IE7:
>
> array(1) {
>  ["b1"] => string(292) "<SPAN class="dijitReset dijitInline"
> dojoAttachPoint="iconNode" unselectable="on"><SPAN class="dijitReset
> dijitToggleButtonIconChar" unselectable="on">✓</SPAN></SPAN><SPAN
> class="dijitReset dijitInline dijitButtonText" id=b1_label
> dojoAttachPoint="containerNode" unselectable="on">B1</SPAN>"
> }
>
> instead of:
>
> array(1) {
>  ["b1"] => string(2) "B1"
> }
>
> The POST data is correct under Firefox3.
>
> This Dojo-IE7 issue causing the
> Zend_Dojo_Form_Element_Button::isChecked() method failure.
>
> The issue is urgent and I appreciate any advices.
>

没有评论: