[jboss-user] [JBoss Seam] - Re: When a component is not found should Seam warn or fail?

CptnKirk do-not-reply at jboss.com
Tue Sep 19 18:46:16 EDT 2006


The thing about this is that null or not found is a valid use case.  Many ppl have pages that rely on this functionality to not display something when a variable isn't in context and then to "come alive" once an action puts this variable into context.  In this case you wouldn't want a log message every time, and it's impossible for Seam to know if you're doing this on purpose or by mistake.

In practice, with incremental page design and testing, typos are found quickly and are easily fixed.  However, given the amount of typo errors we see on the forums, maybe step #1 if you're having a problem would be to double check your spelling.  Yea, it's easy to do, but how can Seam really help with that aside from the debug output already provided?

An option to promote this debug output to warn in web.xml or seam.properties?



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3972770#3972770

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3972770



More information about the jboss-user mailing list