-
1. Re: An annotation I would like to see: @Trim
kasim Feb 6, 2008 2:12 PM (in response to ericjava)
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 -
2. Re: An annotation I would like to see: @Trim
ericjava Feb 6, 2008 2:19 PM (in response to 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. -
3. Re: An annotation I would like to see: @Trim
supernovasoftware.com Feb 6, 2008 2:32 PM (in response to ericjava)That does sound cool. Please post the results. :)
-
4. Re: An annotation I would like to see: @Trim
ericjava Feb 6, 2008 2:34 PM (in response to 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! -
5. Re: An annotation I would like to see: @Trim
ericjava Feb 6, 2008 2:48 PM (in response to 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.
-
6. Re: An annotation I would like to see: @Trim
supernovasoftware.com Feb 6, 2008 2:49 PM (in response to ericjava)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=bb&op=viewtopic&p=4125255#4125255?
I still cannot get s:link to work with the menu on a 3.1.4 snapshot later than 010708.