Phil,

I think the type of the context parameter needs to be an array of strings.

Tom

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Phil
Surette
Sent: Saturday, 4 May 2002 12:15 AM
To: Tapestry Developer (E-mail)
Subject: [Tapestry-developer] 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.


_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer

Reply via email to