ingo schuster wrote:
> 
> Hi,
> 
> I wonder how in turbine data is supposed to be passed from an action to a
> template.
> The scenario: An action performs some processing (executing a query,
> whatever) and the results are to be displayed by a template (screen). The
> action results need to be made available to the template. How?
> I've seen that rundata holds a FormMessages field - am I supposed to use
> this?

Hey, how did I miss this addition?  I duplicated some of its
functionality in the intake generated classes.   But why would you want
to use this to pass a resultset to a template?  It is supposed to be
used to associate error messages with a specific input field.  I would
not use it for other purposes.  Just add stuff to the template's
Context.  


 It seems to be rather unhandy for simple screens. Is there a way to
> store name/value pairs somewhere (in rundata)? 

You can also add simple name/value pairs to the ParameterParser as if
they came from the request.


John McNally


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to