-
1. Re: Firefox problem when using a4j:jsFunction
sergeysmirnov Oct 16, 2007 8:18 PM (in response to ccsilva)Check the latest version of JSF RI and facelets.
JSF RI used to have such problem several versions ago.
Probably, <f:view contentType="text/html"> somewhere on the page might help. I am not sure.
P.S. FireFox cannot generate it. It is something on the server side. -
2. Re: Firefox problem when using a4j:jsFunction
ccsilva Oct 17, 2007 7:16 AM (in response to ccsilva)Hi SergeySmirnov,
I just have added the code you suggested and now works perfect!!!<f:view contentType="text/html"> ... </f:view>
Thank you very much!!!!
Claudiney -
3. Re: Firefox problem when using a4j:jsFunction
sergiokd Nov 27, 2007 11:31 AM (in response to ccsilva)I am also facing with a problem on Firefox.
I have tried this trick of f:view but it did no work.
In my case the page is not reRendered, and I am using the tag reRender of a4j:jsFunction.
I have tried
richfaces-ui-3.1.2.GA, richfaces-ui-3.1.3-SNAPSHOT
jsf-1.2_04-b16-p02, jsf-1.2_05-b06-FCS
Also the libs included in the sample for tomcat6 with no success.
With richfaces-3.0.1 I used not to have any problem. -
4. Re: Firefox problem when using a4j:jsFunction
sergiokd Dec 4, 2007 1:27 PM (in response to ccsilva)using <a4j:log/> on a firefox browser and richfaces-ui-3.1.2.SP1
debug[15:57:52,625]: NEW AJAX REQUEST !!! with form :perForm debug[15:57:52,625]: Append hidden control perForm with value [perForm] and value attribute [perForm] debug[15:57:52,625]: Append text control perForm:teste with value [] and value attribute [null] debug[15:57:52,625]: Append select-one control perForm:sis with value [] and value attribute [null] debug[15:57:52,640]: Append text control perForm:gruDesc with value [] and value attribute [null] debug[15:57:52,640]: Append hidden control javax.faces.ViewState with value [_id2] and value attribute [_id2] debug[15:57:52,640]: parameter width with value 7 debug[15:57:52,640]: parameter perForm:j_id22 with value perForm:j_id22 debug[15:57:52,640]: Start XmlHttpRequest debug[15:57:52,640]: Reqest state : 1 debug[15:57:52,640]: QueryString: AJAXREQUEST=perForm%3AregiaoMemoCad&perForm=perForm&perForm%3Ateste=&perForm%3Asis=&perForm%3AgruDesc=&javax.faces.ViewState=_id2&width=7&perForm%3Aj_id22=perForm%3Aj_id22& debug[15:57:52,656]: Reqest state : 1 debug[15:57:52,718]: Reqest state : 2 debug[15:57:52,718]: Reqest state : 4 debug[15:57:52,718]: Reqest end with state 4 error[15:57:52,734]: request don't have status code - network problem, Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIXMLHttpRequest.status] error[15:57:52,734]: Reqest error, status : 599 Network error debug[15:57:52,734]: No parsed XML document in response
-
5. Re: Firefox problem when using a4j:jsFunction
ccsilva Dec 5, 2007 5:48 AM (in response to ccsilva)Hi,
Do you have a JS error on Firefox? On IE your code works fine?
Paste some code and describe the problem.
Bye -
6. Re: Firefox problem when using a4j:jsFunction
sergiokd Dec 5, 2007 7:36 AM (in response to ccsilva)I am not having JS errors, on IE is working just fine.
I am using a rich:modalPanel where the user can select a value, by JS I return a code and fire the function defined by.<a4j:jsFunction name="carregaBean" action="#{grupoCadMBean.atualiza}" reRender="painel"> <a4j:actionparam name="width" noEscape="true" value="window.id" assignTo="#{grupoCadMBean.grupo.gruId}" /> </a4j:jsFunction>
The log from IE it is complete different without the lines with errors.