Re: How can I tell Struts 2 to throw/log exceptions for invalid OGNL Expressions

2008-04-13 Thread Jeromy Evans
mraible wrote: I realize it might be a major effort, but this seems to be a pretty big deal to me. Not for users that've already chosen Struts 2 as a web framework, but for folks evaluating Java Web Frameworks. The fact that Struts 2 is the *only* one that doesn't blow up on invalid properties ma

Re: How can I tell Struts 2 to throw/log exceptions for invalid OGNL Expressions

2008-04-13 Thread mraible
en Struts 2 as a web framework, but for folks evaluating Java Web Frameworks. The fact that Struts 2 is the *only* one that doesn't blow up on invalid properties makes it look pretty bad for evaluations. It's kindof like the old blank page you'd sometimes get with Tiles - you r

Re: How can I tell Struts 2 to throw/log exceptions for invalid OGNL Expressions

2008-04-11 Thread Jeromy Evans
Jeromy Evans wrote: mraible wrote: I tried FreeMarker this morning and discovered that the problem exists there too. Grrr. I've experienced Struts 2 being eliminated as a web framework candidate on a couple projects because of this. Kindof annoying. So what do you really want? My guess

Re: How can I tell Struts 2 to throw/log exceptions for invalid OGNL Expressions

2008-04-11 Thread Jeromy Evans
mraible wrote: Following up months later as this has come up again now that 2.1 is close to release. The current version does log messages for invalid properties, but it doesn't blow up for invalid properties which is more of what I'm looking for. Hi Matt, I'm not convinced that you really w

Re: How can I tell Struts 2 to throw/log exceptions for invalid OGNL Expressions

2008-04-10 Thread mraible
ethods into my action, so >> it's not too bad. >> >> Matt > > ------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View

Re: How can I tell Struts 2 to throw/log exceptions for invalid OGNL Expressions

2007-09-06 Thread Ted Husted
Good point. Feel free to open a S2 JIRA ticket that cross-references XW-557 (since I'm not sure if its something we could do here or not) -- and feel even more free to submit a patch! As usual, we are short of active volunteers, and we can always use a hand with the code! -Ted. On 9/6/07, mraibl

Re: How can I tell Struts 2 to throw/log exceptions for invalid OGNL Expressions

2007-09-06 Thread mraible
still fails silently. Any >> >>> ideas how to get better error messages about invalid OGNL >> expressions? >> >>> >> >> >> >> I'll take that as a "no", it is not possible to get better error >> >> messages. That's too

Re: How can I tell Struts 2 to throw/log exceptions for invalid OGNL Expressions

2007-09-06 Thread Ted Husted
gt; >> I'll take that as a "no", it is not possible to get better error > >> messages. That's too bad since it seems I get better type-safety and > >> errors from scriptlets instead of OGNL. > >> > >> <%@ page > >> import="org.

Re: How can I tell Struts 2 to throw/log exceptions for invalid OGNL Expressions

2007-08-28 Thread mraible
vlet,org.foo.bar.baz.enums.EnumCodec" >> %> >> >> > var="q"><%=EnumCodec.URL.encode(SettingsServlet.ACTIONS.networkUpdates)%> >> >> >> >> VS: >> >> > value="url(@[EMAIL PROTECTED]).q(@[EMAIL PROTECTED](

Re: How can I tell Struts 2 to throw/log exceptions for invalid OGNL Expressions

2007-08-27 Thread mraible
lue="url(@[EMAIL PROTECTED]).q(@[EMAIL PROTECTED](@[EMAIL PROTECTED]))"/> > > The framework I'm looking to migrate to Struts 2 has the ability for it's > EL to read from imported Statics - a pretty cool feature IMO. > > ${url(pageBean.MAPPING.SETTINGS

Re: How can I tell Struts 2 to throw/log exceptions for invalid OGNL Expressions

2007-08-22 Thread mraible
LET).q(EnumCodec.URL.encode(SettingsServlet.ACTIONS.networkUpdates))} Matt -- View this message in context: http://www.nabble.com/How-can-I-tell-Struts-2-to-throw-log-exceptions-for-invalid-OGNL-Expressions-tf4100102.html#a12282397 Sent from the Struts - User mailing list archive at Nabble.

How can I tell Struts 2 to throw/log exceptions for invalid OGNL Expressions

2007-07-17 Thread mraible
y: I've tried turning up the logging for org.apache.struts2, com.opensymphony.xwork2 and ognl - but it still fails silently. Any ideas how to get better error messages about invalid OGNL expressions? Thanks, Matt -- View this message in context: http://www.nabble.com/How-can-I-tell-St