[jboss-user] [JBoss Seam] - Re: An annotation I would like to see: @Trim

2008-02-06 Thread kasim
Couldnt you just put an interceptor on the Entity bean? or intercept one of seam's interceptors. Shouldnt be too hard to figure out where it happens at, just throw an exception in the setter and watch the stack trace View the original post :

[jboss-user] [JBoss Seam] - Re: An annotation I would like to see: @Trim

2008-02-06 Thread EricJava
kasim wrote : Couldnt you just put an interceptor on the Entity bean? Hey that's a good idea. I've never written one. Maybe now is the time to try it out. Basically all my string setters should have trim() on them. View the original post :

[jboss-user] [JBoss Seam] - Re: An annotation I would like to see: @Trim

2008-02-06 Thread EricJava
Certainly I will. I post articles all the time in my blog, with source code to do things I think are useful: http://chiralsoftware.com/Blog One of them even got included in Seam 2.0.1! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4127154#4127154 Reply to

[jboss-user] [JBoss Seam] - Re: An annotation I would like to see: @Trim

2008-02-06 Thread supernovasoftware.com
That does sound cool. Please post the results. :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4127153#4127153 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4127153 ___

[jboss-user] [JBoss Seam] - Re: An annotation I would like to see: @Trim

2008-02-06 Thread EricJava
I just looked up Interceptors in my EJB3 book, and it looks pretty simple. I had ignored it before because I didn't think I had any reason to mess with them, but now it looks like it's a great fit for this type of need. I'll post an article on it when it's done, and link it on this thread.

[jboss-user] [JBoss Seam] - Re: An annotation I would like to see: @Trim

2008-02-06 Thread supernovasoftware.com
I have read you blog and will soon be trying out your contribution. Thx. Off Topic Can you elaborate a little more on http://www.jboss.com/index.html?module=bbop=viewtopicp=4125255#4125255? I still cannot get s:link to work with the menu on a 3.1.4 snapshot later than 010708. View the