Three questions.
First, we're trying to get the following to work with the Struts nightly
build
<bean:write name="SomeForm" property="method(key)">
where SomeForm implements
String getMethod ( String key ).
We get a runtime error in the write tag for this and we can't figure out
why. Any suggestions? Do we need the Bean
Utils with indexed string contributor extension? But if we take this, does
it merge with the current BeanUtils from
Commons?
Second, we'd like to be able to access a HashMap directly from the taglibs,
similar to how an Array can be accessed.
So we'd like to be able to do the same as above except that
HashMap getMethod()
returns a HashMap and doesn't take an argument.
And lastly, we'd like to be able to nest Hashmaps and then have something
like
<bearn:write name="SomeForm" property="method.key1.key2.key3">
where getMethod returns a HashMap but then key1 through key3 index into
successive Hashmaps or other JavaBeans.
Essentially we'd like to wrap our form beans around a hashmap. We'll then
write code in our action beans to convert the hashmaps to and from Java
business objects. We just don't see alot of value in creating a FormBean
for every domain object of which we have several hundred.
Thanks.
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>