-
1. Re: Developing a mobile browser app using richfaces
ma.aqcon Feb 3, 2010 9:30 AM (in response to swapte)We're using RichFaces and JSF 1.2 for our mobile browser application which runs on Win CE/Mobile with IE mobile.
We tried several alternative browsers (I think we also tried a version of Opera Mobile without success). The best that I have seen was Mobile Firefox (Fennec) but as this browser does not run on Win CE (only Win Mobile) it was not an option for us. With IE mobile we are facing problems due to not supported features (e.g. modal panel) and mainly facing performance issues with all JavaScript stuff (e.g. use of rich:hotKey slows down our application a lot, but we need it for a smooth application usage). We also have a JSF mobile application without RichFaces which is much faster but it doesn't support Ajax and all the other nice Rich Faces features ...
I'm very interested in experiences of other Rich Faces users using Rich Faces for a mobile application!
Regards
Michael
-
2. Re: Developing a mobile browser app using richfaces
swapte Jan 20, 2010 9:01 AM (in response to ma.aqcon)We have tried IceFaces for applicaion but some how thats not working with our other application in ReachFaces .So we have desided to use ReachFaces for mobile application. In our TestApp a4j:commandButton is not working ,have you tried a4j tags in your application.have you tried any other way for ajax request. -
3. Re: Developing a mobile browser app using richfaces
ma.aqcon Jan 20, 2010 9:24 AM (in response to swapte)Yes, we are using <rich> and <a4j> tags in our application on Internet Explorer Mobile. Is your test application running on Opera Mobile? I think that Opera might not support JavaScript as required for a RichFaces AJAX request. -
4. Re: Developing a mobile browser app using richfaces
swapte Jan 21, 2010 6:36 AM (in response to ma.aqcon)We tested our application on IE we are using windows mobile 6 professitional . In our application a4j:commandButton is not working on IE. The code
is like
<a4j:form id="testButton">
<h:panelGrid id="addUserControlBtnsPanelGridId" columns="3" align="center"
width="80%" border="2">
<h:outputText value="" />
<a4j:commandButton id="verifyId" value="verify"
style="align:right"
actionListener="#{AuthenticateUserBean.verifyLogin}"
oncomplete="#{AuthenticateUserBean.verifyLoginJs}">
</a4j:commandButton>
<a4j:commandButton id="addUserCloseBtnId" value="close"
onclick="if(confirm('hi')){alert('done');}else{alert('wait');}">
</a4j:commandButton>
</h:panelGrid>
</a4j:form>Are you using same code that works ?
We tested our app on Opera 10 beta 2 where button works but the rendering of table was messed .which version of windows mobile your using?
-
5. Re: Developing a mobile browser app using richfaces
ma.aqcon Jan 21, 2010 8:08 AM (in response to swapte)Ok, I remember that we also faced problems with Windows Mobile 6. IE mobile has changed IE mobile from Windows CE (4.2&5) to Windows Mobile 6. Our projects run on Windows CE and your code also works on IE mobile for CE. If you have a Windows Mobile device, could you please check if Fennec is working? This would be very interesting for me, too. The latest version can be found here: http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mobile-1.9.2/ (should be http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mobile-1.9.2/fennec-1.0a4pre.en-US.wince-arm.exe). -
6. Re: Developing a mobile browser app using richfaces
ma.aqcon Jan 26, 2010 7:33 AM (in response to ma.aqcon)I have a Windows Mobile 6.1 device now and tested our RichFaces application with IE mobile. Looks like Microsoft has updated the browser from 6.0 to 6.1 as it works with 6.1!
I also checked the latest Mozilla Fennec build. It does not run on this device. But I was able to build a simple XUL application using the XULRunner (https://developer.mozilla.org/en/XULRunner) included in Fennec. Our application works there, too. The cool thing with XUL is, that you can build a browser without address bar, buttons (like "back").
The application performance is not the best for both browsers ...