Title: multi-value contexts for Direct components

How do you pass multiple values to a Direct's context?

I've tried each of the following but in both cases the corresponding editFile method gets only one value.

  <component id="editFile" type="Direct">
    <binding name="listener" property-path="listeners.editFile"/>
    <binding name="context" property-path="components.files.value.id"/>
    <binding name="context" property-path="profile.id"/>
  </component>

  <component id="editFile" type="Direct">
    <binding name="listener" property-path="listeners.editFile"/>
    <binding name="context" property-path="components.files.value.id,profile.id"/>
  </component>

re: brief description of how we're using tapestry, I'm not sure how much I can say, will get back to you when possible.

Reply via email to