[Opensource] why aren't ControllerElements exposed as beans to jsps?

Peter A. Pilgrim peterp at xenonsoft.demon.co.uk
Mon Feb 10 10:50:59 PST 2003


Peter A. Pilgrim wrote:
> Michael Rimov wrote:
> 

--////--

> 
> Actually I think the correct signature should be, if I remember
> the Commons Bean-Utils documentation rightly.
> 
> 
>     Object getMyMappedProperty( String key );
>     void   setMyMappedProperty( String key, Object newValue );
> 
> And you simple access as property attribute like this.
> 
>     "myMappedProperty[first_name]"

"Wrong!" A. Schwarzenegger

	"myMappedProperty(first_name)"

> 
> e.g
>     <bean:write name="someBean" property="myMappedProperty[first_name]" />
> 

      <bean:write name="someBean" property="myMappedProperty(first_name)" />

--////--

-- 
Peter Pilgrim
            __ _____ _____ _____
           / //__  // ___// ___/   +  Serverside Java
          / /___/ // /__ / /__     +  Struts
         / // ___// ___// ___/     +  Expresso Committer
      __/ // /__ / /__ / /__       +  Independent Contractor
     /___//____//____//____/       +  Intrinsic Motivation
On Line Resume
    ||
    \\===>  `` http://www.xenonsoft.demon.co.uk/no-it-striker.html ''




More information about the Opensource mailing list