This content has been marked as final. 
    
Show                 6 replies
    
- 
        1. Re: Help!A strange problem: a4j:form can not execute onsubmiybxiang.wolf Apr 17, 2008 3:35 AM (in response to ybxiang.wolf)javascript[Please remove *** added because this forum filter javascript]: 
 function isEnterKeyPressed(){
 if(event.keyCode==13){
 return true;
 }
 }
- 
        2. Re: Help!A strange problem: a4j:form can not execute onsubmiybxiang.wolf Apr 17, 2008 3:56 AM (in response to ybxiang.wolf)Just Now, 
 i tried
 <a4j:form id="objectSearchForm" reRender="dataTable,pager" ajaxSubmit="true"
 onsubmit="alert('a')" styleClass="box">
 When i press enter key, alert dialog shows 'a' twice!
 I remove onsubmit property, and press enter key, the form does not submit.
- 
        3. Re: Help!A strange problem: a4j:form can not execute onsubmigkuzmin Apr 17, 2008 4:36 AM (in response to ybxiang.wolf)try to add <h:inputHidden or <h:inputText with style="display:none" :) 
- 
        4. Re: Help!A strange problem: a4j:form can not execute onsubmironanker Apr 17, 2008 5:18 AM (in response to ybxiang.wolf)just a little remark : when you post code into the forum, you should put it into a code box : '[code]my code[/code]' so that it's more easy to read and it will not be filtered. 
- 
        5. Re: Help!A strange problem: a4j:form can not execute onsubmiybxiang.wolf Apr 18, 2008 1:28 AM (in response to ybxiang.wolf)"gkuzmin" wrote: 
 try to add <h:inputHidden or <h:inputText with style="display:none" :)
 Yes! You are so clever!
 Although the problem is not resolved basically, your method is really Nice!
 Thank you!
- 
        6. Re: Help!A strange problem: a4j:form can not execute onsubmiybxiang.wolf Apr 18, 2008 1:32 AM (in response to ybxiang.wolf)"RonanKER" wrote: 
 just a little remark : when you post code into the forum, you should put it into a code box : 'my code ' so that it's more easy to read and it will not be filtered.
 It's very kind of you to give the tip.
 Thank you!
 
     
    