You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Dolf Starreveld <do...@starreveld.com> on 2003/05/18 07:21:19 UTC

Mapped property in regular bean?

I have basically this to create a mapped property:
class Test {
public Object getOption(String option)
{
	somehow return an Object;
}}

It appears that when I try to use:
<bean:write name="mybean" property="option(optionname)"/>
It complains about no getter.
Some further inspection appears to show that the above is not 
recognized as the getter for a mapped property, eventhough, according 
to the indexed,mapped and nested properties doc on the struts 
documentation site, it should.
What am I missing?

--dolf

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