I was looking around to see if anyone got Seam working on the Google App Engine for Java… and the short answer is both yes and no. Here are the 3 links that will tell you the state of the state as of this writing…
Short answer, it’s not there yet, at least not with all the features and functionality you would be using Seam for in the first place…
Need to enable file download support in a Seam application? Here’s how. Make sure you’re running Seam version 2.1.2 or later.
Michael Yuan has a quick article about using Seam to program web apps for the iPhone in Seam.
He’s using the iui framework, which looks pretty nice. It gives you the music player/everything look and feel in a web page. See the demo for an example.
JSF has a well known problem with date entry and timezones… luckily those folks working on JBoss Seam have a fix. Just make sure you use the tag instead of the and everything will be peachy. Continue reading Convert Date Time
Here’s an interesting one that caused me to stumble for a while… If you are leveraging Seam’s field-level validation and are mixing it with Rich Faces components, you have to be conscious of how you nest your tags.
For example, this caused validation to be skipped:
When clicking on the save button, you will bypass validation and go directly to the save() method on the named component myService.
To fix this, you need to nest the tags within each tab panel:
Viola, now your required tags are properly enforced, as well as any Hibernate annotation validation that exists.
If you want to run JBoss Seam 1.2 on JBoss AS 4.2, you have to take a few extra steps…
Luckily, those steps are chronicled here (by Michael Yuan) and here (by Nicolas Leroux). Oh, and Michael’s site has updated samples from his book.
From the Seam Forums:
Using JFreeChart with Seam can be quite useful: Continue reading Charts in Seam