Navigation

RSS 2.0 New Entries Syndication Feed Atom 0.3 New Entries Syndication Feed

Show blog menu v

 

General

Use it

Documentation

Support

Sibling projects

RIFE powered

Valid XHTML 1.0 Transitional

Valid CSS!

Blogs : Archives

avatar
< Nominated and accepted as Java Champion   Gizmo Project : All Calls Free to regular phone lines >
Favorite RIFE quote : "Really? I have to do nothing?"

Today on IRC:

Question:
What is the proper place to validate that a form field is numeric? I'm trying to avoid the NumberFormatException when someone types a non-numeric string for a bean property with the double type.

Answer:
It automatically adds a validation error, just by detecting the target type of the bean property, which in this case is numeric.

Amazement:
Really? I have to do nothing?

Made my evening :-)

posted by Geert Bevin in RIFE on Aug 4, 2006 12:06 AM : 2 comments [permalink]
 

Comments

Re: Favorite RIFE quote : "Really? I have to do nothing?"
Heh, got a smile out of me

This should be a tagline when promoting RIFE ;)
Re: Favorite RIFE quote : "Really? I have to do nothing?"

(Sorry for the slightly off topic post)

I have dabbled in Java and, more recently, PHP. I have decided to take one language and learn it in-depth (my interests range from web services, dynamic websites, AI work, desktop apps….you get the idea).

Would you recommend ava? I found Java fairly easy to understand – in some ways the verbosity has helped me. However, it sounds like Python or Ruby might get me up and running faster and would be easier to learn, and can do much of what Java can do. My only concern would be lack of publicly available libraries – making Python perhaps a better alternative?

Thanks,

Justin R

Add a new comment

:) ;)
=) :-)
:'( :(
:/ :D
:| :p
:o 8)
Your email address will not be displayed at anytime on any page.
Only provide your email address if you'd like updates on this entry
and it's comments by email.
Please answer this simple math question:
18 - 0 = 
 
 
  

Manage subscription

Remove email:
 

< Nominated and accepted as Java Champion   Gizmo Project : All Calls Free to regular phone lines >
 
 
 
Google
rifers.org web