On Fri, Oct 23, 2009 at 12:06 PM, denstar <[email protected]> wrote:
> Do those other frameworks return empty values if you getSomething that
> isn't there?

If you getValue("key","default") and it isn't there you get the "default".

If you getValue("key") and it isn't there, you get "" in most
frameworks (but an exception in ColdBox - which I find unpleasant and
annoying because I'm constantly forgetting that ColdBox alone throws
an exception!).
-- 
Sean A Corfield -- (904) 302-SEAN
Railo Technologies US -- http://getrailo.com/
An Architect's View -- http://corfield.org/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

--~--~---------~--~----~------------~-------~--~----~
Model-Glue Sites:
Home Page: http://www.model-glue.com
Documentation: http://docs.model-glue.com
Bug Tracker: http://bugs.model-glue.com
Blog: http://www.model-glue.com/blog

You received this message because you are subscribed to the Google
Groups "model-glue" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/model-glue?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to