[JBoss Seam] - Frustrated and anxious
by chuckadams
I'm really frustrated at how cumbersome getting started with Seam is. I've spent close to a week trying to find a skeleton app that is friendly to eclipse WTP. I have given up -- seamgen didn't work for me and fiddling with the sample apps doesn't give me a self-contained build.xml, let alone a sane project structure (what's with /resources?).
I really like Seam I am really jazzed about EJB finally working, uh, seamlessly with a solid template technology like facelets, and I'm really intrigued by the DWR features that I haven't even gotten to yet. Yet due to the problems with getting started and the continued low profile I'm afraid it's not getting the support and development resources it deserves, and that it's going to get abandoned for whatever shiny new thing comes along next. If Java Studio Creator manages to do facelets in the next version, it might just be the better option (depends on what kind of annotation support I can get with it I guess).
The CRUD app generation in Hibernate tools looks like the best bet, even if it doesn't generate a proper multi-project structure with a separate EAR. But since EJB3 is supposed to be about POJOs anyway, and Seam about making it even more nimble, so maybe I really should stop trying to force it into J2EE 1.4 shapes and just go with the single-project flow. I can just make ant deploy the run target and presto it's eclipse-friendly again.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3964880#3964880
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3964880
19 years, 10 months
[JBoss Seam] - Re: UI Labels and displaying the hash sign #
by raja05
I think thats a seam bug. Seam tries to interpolate any expressions in the message bundle values and since it found a "#" in there, it seems to be looking for characters next to it, which wont be there in your case. Here is the snippet from Interpolator.interpolate thats causing the bug
| FacesContext context = FacesContext.getCurrentInstance();
| StringTokenizer tokens = new StringTokenizer(string, "#{}", true);
| StringBuilder builder = new StringBuilder(string.length());
| while ( tokens.hasMoreTokens() )
| {
| String tok = tokens.nextToken();
| if ( "#".equals(tok) )
| {
| String nextTok = tokens.nextToken();
|
which would fail in your case. Other than filing a bug, the one option you have is to split your message content to have just the "Test" portion and include the "#" directly in your jsp page.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3964879#3964879
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3964879
19 years, 10 months