Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Automatic Trimming on Bindings Based Input Text

Neliel-Oracle-Newbie-OracleApr 1 2012 — edited Apr 2 2012
Hi,

Is there a way in ADF to automatically trim spaces when using bindings?

I drag out from data control and it goes like this.
<af:inputText value="#{bindings.City.inputValue}"/>
<af:inputText value="#{bindings.Street.inputValue}"/>
But say if user, entered sample data City = "Minnesota "
Take note of the space, it is being sent to the web service as it is.

Is there a way to configure the binding declaratively so that it would trim the space?

I know I could do this with Java and I am just looking out for an alternative way.

JDEV 11g PS5
Web Service
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 30 2012
Added on Apr 1 2012
1 comment
242 views