0 Replies Latest reply on Aug 8, 2013 1:21 PM by dritsema

    Jive 6 struts namespace

    dritsema

      Update on this post: The root namespace is still required to customize your own widget-props page when editing the widget:

      <package name="myplugin-actions" namespace="/" extends="community-actions-include">
             <action name="widget-props" class="com.jive.myplugin.MyPluginContentAction">
                  <interceptor-ref name="paramsPrepareParamsStack" />
                  <result name="unauthorized" type="httpheader">403</result>
                  <result name="error" type="httpheader">400</result>
                  <result name="success">/plugins/myplugin/resources/templates/global/my-plugin-widget-props.ftl</result>
             </action>
      </package>
      

       

      The problem with this is, if you have 2 plugins that use widget-props, both require the root namespace, but only one will render.

       

      Does anyone have a workaround for this, other than the namespace="/" hack?

       

      Message was edited by: David Ritsema