struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pvongboupha <pvongbou...@hotmail.com>
Subject override conversion error for nested properties in struts 2
Date Mon, 13 Aug 2007 20:30:24 GMT

I'm having trouble overriding conversion errors for nested properties in
struts 2. I've read the webworks documentation about overriding conversion
errors for nested properties and it suggests to add the following to your
resource bundle:
  invalid.fieldvalue.items[*].name=Some type conversion message here

After doing this, it's still not working and I continue to get the default
message. Am I missing a step?

One thing to note is that I'm not using the index value. Instead, I'm using
the object's unique id. We're using BlahAction-conversion.properties to bind
the values. Perhaps the example only works with indexes?

Could someone please tell me what I'm missing?
Thanks
-PV
-- 
View this message in context: http://www.nabble.com/override-conversion-error-for-nested-properties-in-struts-2-tf4263511.html#a12133471
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message