>> Then what does my view function look like? [...]
> I don't think that the view function should receive the meta Vals. The
> purpose of the {meta, Val} feature is to pass values "up" to the
> 'phased' Fun. If you need to pass the same value to the view function
> (and I can't really think of a scenario where you would), you can add
> it again as a {data, Data} tuple. Maybe to make things clearer,
> instead of adding {meta, Val} values to the list you return from a
> controller function, you would return a tuple such as
> show(A) ->
> ...
> {meta, [Val1, Val2], [{data, Data}, {ewc, ..}... ]}.
I like it. But I'm starting to think that {meta} is a bad word for
it. It's not very descriptive of what's actually happening. Of
course, I don't have any better suggestions :) Maybe
{with_properties} or {set_properties} or something?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"erlyweb" group.
To post to this group, send email to erlyweb@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/erlyweb?hl=en
-~----------~----~----~----~------~----~------~--~---