It don't requires any special pumbling with blade or alikes. A
property that receives a inline template will do the job:

ViewComponent.Render<Foo>(vc => vc.SomeSection = @<td> @item.Name </
td>)

And on your vc view you must invoke the property supplying the desired
arguments. With the blade support for lambdas, the sky is the limit.

It's important to note that this approach isn't restricted to blade
(or razor) views. If you can declare a inline template function with
your ve, you should be done.

On Aug 14, 3:04 pm, Tomek Pluskiewicz <[email protected]> wrote:
> Could you please give some more insight on that? Or point in the right
> direction in code?

-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en.

Reply via email to