struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aleksandr Mashchenko <>
Subject Re: Referencing request parameters in struts tags.
Date Wed, 16 Nov 2016 17:47:33 GMT
 >>> I would rather implement Map interface in HttpParameters and keep
 >>> backward compatibility, wdyt?
 >> Yes, or maybe just convert HttpParameters to Map in Dispatcher.
 > It won't work, I mean it will work only for EL expression, i.e.:
 > ${parameters.contains('error')} but not for OGNL expressions.

You mean because of the property accessors? Do we need accessors at all 
if we convert parameters to Map in Dispatcher?

Something like: extraContext.put("parameters", parameters.toMap());

In here:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message