Two definitions, A and B. B extends A. I want to be able to add elements to a list 
attribute, adding some in A and some in B. Real code:

  <definition name="portal.portlet" page="/template/portal_portlet.jsp" 
controllerUrl="/portlet.do">
    <put name="$s" value="maximized"/>
    <putList name="javascriptUrls">
      <add value="/ajs2.jsp" />
    </putList>
  </definition>

  <definition name="portal.portlet.dt" extends="portal.portlet">
    <put name="$t" value="/p_dt/view.do"/>
    <put name="customizer" value="/p_dt/config.do"/>
    <putList name="javascriptUrls">
      <add value="/ajs1.jsp" />
    </putList>
  </definition>

When I insert "portal.portlet.dt", I want to see an attribute "javascriptUrls" with 
two values: "/ajs1.jsp" and "/ajs2.jsp". Currently, I see only "/ajs1.jsp". It seems 
that the putList in the child definition hides the parent list instead of adding to it.

Is there a way to do this?

Thanks,

Derek Richardson

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

Reply via email to