You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by yang ziming <to...@yahoo.com.cn> on 2006/10/12 10:01:54 UTC

when STATE_SAVING_METHOD is client,the inputTextAjax not worked.



----- 转发邮件 ----
发件人: yang ziming <to...@yahoo.com.cn>
收件人: users-subscribe@myfaces.apache.org
已发送: 2006/8/19(周六), 下午1:15:39
主题: when STATE_SAVING_METHOD is client,the inputTextAjax not worked.

when i config the STATE_SAVING_METHOD parameter is
server,it can worked.but when i config it is client,it
cann't worked.

the error may be cause by
_MyFaces_inputAjax_ajaxSubmit method in inputAjax.js
file.i try to change if (el) pars += '&' +
Form.serialize(el) statement to if (el) pars += '&' +
Form.serialize(el.form) ,it will work.

this component also cann't be work correct in UTF-8
charset.i resolved the problem by add    
pars+='&charset=UTF-8' statement in
_MyFaces_inputAjax_ajaxSubmit method before
_ajaxRequest post.it isn't a better way.how can i do
it???????


                youfly
                2006-08-19


    

    
        
___________________________________________________________ 
Mp3疯狂搜-新歌热歌高速下
http://music.yahoo.com.cn/?source=mail_mailbox_footer





		
___________________________________________________________ 
抢注雅虎免费邮箱-3.5G容量,20M附件! 
http://cn.mail.yahoo.com

Re: when STATE_SAVING_METHOD is client,the inputTextAjax not worked.

Posted by Matthias Wessendorf <ma...@apache.org>.
FYI

http://wiki.apache.org/myfaces/Performance

On 10/12/06, yang ziming <to...@yahoo.com.cn> wrote:
>
>
>
> ----- 转发邮件 ----
> 发件人: yang ziming <to...@yahoo.com.cn>
> 收件人: users-subscribe@myfaces.apache.org
> 已发送: 2006/8/19(周六), 下午1:15:39
> 主题: when STATE_SAVING_METHOD is client,the inputTextAjax not worked.
>
> when i config the STATE_SAVING_METHOD parameter is
> server,it can worked.but when i config it is client,it
> cann't worked.
>
> the error may be cause by
> _MyFaces_inputAjax_ajaxSubmit method in inputAjax.js
> file.i try to change if (el) pars += '&' +
> Form.serialize(el) statement to if (el) pars += '&' +
> Form.serialize(el.form) ,it will work.
>
> this component also cann't be work correct in UTF-8
> charset.i resolved the problem by add
> pars+='&charset=UTF-8' statement in
> _MyFaces_inputAjax_ajaxSubmit method before
> _ajaxRequest post.it isn't a better way.how can i do
> it???????
>
>
>                 youfly
>                 2006-08-19
>
>
>
>
>
>
> ___________________________________________________________
> Mp3疯狂搜-新歌热歌高速下
> http://music.yahoo.com.cn/?source=mail_mailbox_footer
>
>
>
>
>
>
> ___________________________________________________________
> 抢注雅虎免费邮箱-3.5G容量,20M附件!
> http://cn.mail.yahoo.com
>


-- 
Matthias Wessendorf
http://tinyurl.com/fmywh

further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com