You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2003/09/22 22:40:35 UTC

DO NOT REPLY [Bug 23334] New: - Custom controller properties not set from struts-config.xml

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23334>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23334

Custom controller properties not set from struts-config.xml

           Summary: Custom controller properties not set from struts-
                    config.xml
           Product: Struts
           Version: 1.1 Final
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Controller
        AssignedTo: struts-dev@jakarta.apache.org
        ReportedBy: anand.koka@pfpc.com


When a custom controller is configured in the struts-config.xml, the properties 
set using 'set-property' similar to PlugIns is not populated.

ex:
    <controller
       processorClass="com.pfpc.waf.struts.WAFRequestProcessor">
       <set-property property="profileDBName" value="Slice"/>
       <set-property property="cacheOn" value="false"/>
       <set-property property="paramParentID" value="parent_id"/>
    </controller>

I have setter methods for the 3 mentioned properties, but are not set at the 
time of 'init' method.

Is there a work-around or has it been fixed in a later nightly build or is it 
planned to be fixed for 1.2?

Thanks

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