You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Kuntz, Tim" <ti...@pamperedchef.com> on 2003/05/23 01:32:12 UTC

ControllerConfig missing Property methods

Looking at the 1.1-rc1 source code, it appears that the struts-config.xml
file supports the child "set-property" element of the "controller" element,
but the ControllerConfig object is never intiliazed with them.

Can anyone confirm that this is by design or an oversight?

thanks,
tim

   <controller processorClass="com.foo.bar.MyRequestProcessor">
      <set-property property="resource.key"
                    value="web.stuff"/>
   </controller>
	

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


Re: ControllerConfig missing Property methods

Posted by Ted Husted <hu...@apache.org>.
The set-property feature is built into the Digester and should be 
transparent to all of these elements (so you might not see it happening 
in the source code). If you can confirm that it is actually not working, 
please submit a report to Bugzilla (and a patch if you got one).

-Ted.

Kuntz, Tim wrote:
> Looking at the 1.1-rc1 source code, it appears that the struts-config.xml
> file supports the child "set-property" element of the "controller" element,
> but the ControllerConfig object is never intiliazed with them.
> 
> Can anyone confirm that this is by design or an oversight?
> 
> thanks,
> tim
> 
>    <controller processorClass="com.foo.bar.MyRequestProcessor">
>       <set-property property="resource.key"
>                     value="web.stuff"/>
>    </controller>
> 	
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 
> 


-- 
Ted Husted,
Struts in Action <http://husted.com/struts/book.html>



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