xhtml

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 a number of items, and when a user clicks on an item I want to set the current selected item on a Seam component on the server, and then popup a modal panel to display detailed information about the item, and provide the user some actions within the modal panel.

By |March 4th, 2008|Seam|81 Comments

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:

Add this […]

By |March 4th, 2008|Seam|4 Comments

Firefox, xhtml, JBoss 4.2.0, JSF, and Google Ads

I upgraded the JBoss instance on my server just over a week ago from 4.0.5 to 4.2.0. Two things happened after that: Firstly, my google adsense revenue dropped by half, secondly I was contacted by two different people who were having some e-mails show a big error in Firefox, instead of showing up […]

By |June 10th, 2007|10MinuteMail, Java, JBoss, Seam|10 Comments

Index page issues when putting JBoss behind Apache

So, if you’re using Seam, you usually have xhtml files which represent the pages, and then the Seam servlet takes care of rendering them. When I setup my latest project, I changed the web.xml to switch from using page.seam to page.html, to mask the back-end technology. When I did this, I also deleted the seemly unnecessary index.html that was sitting in my view directory. I then added this into my web.xml, just to be on the safe side:

	<welcome-file-list>
		<welcome-file>index.html</welcome-file>
	</welcome-file-list>

[…]

By |November 8th, 2006|Java, JBoss, Seam|0 Comments