Category: Seam
-
Apache Proxy Breaks RichFaces
I’ve run into this twice now, so I wanted to document it here to help other folks, and to see if anyone knows the root cause of the issue. When using RichFaces with Seam, things work just fine on my local development JBoss instance. But when I deploy the same EAR file up to my…
-
How To Resize Uploaded Images Using Java – Better Way
Based on helpful comments from Matt on this previous post: How To Resize Uploaded Images Using Java I have upgraded the image resizing code. The results are noticeably better in quality, even at thumbnail sizes. I wanted to share the completed new code, in case anyone needs it. Again, thanks to Matt S. for his…
-
login-required=”true” Will End Your Conversation
In Seam, in the pages.xml or mypage.page.xml files, you note that a given page requires the user to be logged in to view the page. It is a very easy way of handling simple security. What happens is if a user attempts to access a page with the login-required=”true” attribute and they are not logged…
-
How To Resize Uploaded Images Using Java
Edit: please read the better way here: Better way to Resize Images Using Java! ———————– I am building a Seam application which need to support users uploading images, and then the site displaying them. I wanted to resize big images into something reasonable (say 1024 or 800 px wide) and generate a thumbnail, and I…
-
Displaying and Rerendering a RichFaces ModalPanel from a commandLink
Let’s say that when a user clicks on something, perhaps selecting something from a DataTable or DataGrid, you want to call some server side code, and then popup a modal panel which needs to show content based on the new state setup by your server side call. In my case I have a DataGrid showing…
-
How to get RichFaces to not crash Safari
RichFaces, a collection of open source JSF Components for building “rich” AJAXy interfaces, unfortunately makes Safari crash or hang or lock up with many of it’s components. I’m not the one who figured this out, but I wanted to document it here. You can solve this the same way you solve the JSF/Google Ad issue:…