From: gavinc <nu...@jb...> - 2005-05-10 15:16:41
|
Hi Stan, I work with Paul and was the one that moved our stuff over to MyFaces from the Sun RI. There were 2 things we found caused problems that were just due to MyFaces being a bit more strict. We have a couple of components that render themselves but extend UICommand. Because we were not calling setRendererType(null) the button renderer was picked up from UICommand and resulted in buttons appearing on our page right after each use of our component. The other was with save/restoreState. In the Sun RI these don't seem to get called when saving state on the server so most of our components did not implement these methods (as we hadn't neeeded to). MyFaces obviously does call these methods though as when an action link was clicked and the page re-rendered, all the internal state of the components had been reset. Apart from that as Paul said the whole process went very smoothly, until today actually!! I have been trying to get the x:inputFileUpload component to work but to no avail. To use this you must set up the extensionsFilter in web.xml to handle the multipart request. However, because we are using a portal server the filters never get executed, this means that the multipart request reaches the portal/MyFaces in it's raw form and neither know how to deal with that, as a result my page just gets re-drawn! Any ideas how we can get round this problem as we would really like to leverage the work you guys have already done for uploading files. Thanks in advance, Gav View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877199#3877199 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877199 |