I think if you want to use set-property in the action mapping, you have to extend action mapping class. This is what they did to configure it for sslext:

  <action-mappings type="org.apache.struts.config.SecureActionConfig">
    <action    path="/secure/startSectionInsert"
               type="org.blacksail.linklib.section.SectionAction"
               name="sectionForm"
              scope="request"
           validate="false"
          parameter="blank"
              roles="user">
      <set-property property="secure" value="false"/>
      <forward name="finished"   path=".section"/>
    </action>


Reinhard wrote:
Hi all,

I wonna pass extra parameters to an action.
As I saw, the parameter-attribute is just a string and I feel not very well, putting a property-list in that string.
From the DTD I saw, that set-property is allowed in action-body.


Does anybody have experience with extending Action-Config?
Where do I have to register i.e. MyActionConfig class?
I found a class like ActionMappingFactory, but this seems to deep inside.

Any comment is welcome.

cheers Reinhard

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to