|
From: Darren D. <da...@da...> - 2004-03-25 12:29:00
|
> My main point is that I do not consider it appropriate to support such > model name conversions in the standard framework. You can subclass > VelocityView, of course - overriding the renderMergedOutputModel method= to > first process the passed-in model Map and then invoke > super.renderMergedOutputModel with the processed model Map. > > To keep your model names compatible with any view technology (particula= rly > ones using expression languages), I strongly recommend to use model nam= es > without dots, though. fair enough - I just hadn't noticed the change when it occurred, and the other apps I run hadn't triggered it due to not having model names that contain periods anyway. This particular app generates part of its model data from an external XML source streamed over a network and the node values that become the model names do sometimes contain periods. I'll just have the controller manage the conversion. Cheers! --=20 Darren Davison Public Key: http://www.davison.uk.net/key.jsp |