Re: Empty h:inputText field is being submitted with "" value - Is that right???

2006-04-12 Thread Rafael Nami
Thanks Mike, I've done a workaround quite similar using Reflection on my DAO base class to populate a Criteria Object with my filter. I think there's a more elegant way to do this using Hibernate's PropertyResolver, but I'll switch to this in the next refactoring.   Best Regards   Rafael Mauricio

Re: Empty h:inputText field is being submitted with "" value - Is that right???

2006-04-11 Thread Mike Kienenberger
On 4/11/06, Rafael Nami <[EMAIL PROTECTED]> wrote: > when I submit a empty > inputText, the value passed to the backing bean is the "" value, and this is > directly impacting in my backend, because I'm using Hibernate Criteria API > for the search method. Is this "conversion" the right behavior? If

Empty h:inputText field is being submitted with "" value - Is that right???

2006-04-11 Thread Rafael Nami
Well, good evening everyone (here in Brazil is 18:30).I'm developing a web application using the Spring/Hibernate/JSF-MyFaces combo, and so far is being a silver bullet to me.Well, I have several search forms in my webapp, but when I submit a empty inputText, the value passed to the backing bean is