I'm vapor-locking on how to specify a List of values in a Form
component's context parameter. In this form:
<form t:type="form" t:id="updateForm" t:context="${foo}, ${bar}">
Tapestry correctly calls my 'String getFoo()' and 'Long getBar()'
methods when preparing to render (let's say they return "fooString" and
1L respectively), but my onPrepare... doesn't get called correctly with
the resulting values as a List. If I declare
onPrepareFromUpdateForm(String bothVals)
I get the String: "fooString, 1"
If I declare it as
onPrepareFromUpdateForm(String fooVal, long barVal)
the onPrepare... method doesn't get called at all. What's the magic to
correctly constructing the context parameter as a List (which the docs
say is possible). Thanks.
--
------------- UW Office of Information Management -------------
Jim Tomlinson Office: (206) 685-6449
Sr Applications System Engineer University of Washington
-------------------- Rome Development Team --------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]