Thanks a lot Michael. :) 2008/10/22 Michael Klishin <[EMAIL PROTECTED]>: > 2008/10/22 Емил Иванов / Emil Ivanov <[EMAIL PROTECTED]>: >>> Dispatch from the view? can you explain? >> >> Let's say we have this example view: >> >> <html> >> .... >> <body> >> <% dispatch_to 'news/index' %> >> ..... >> </body> >> >> What I expect to happen is that the index action of the news >> controller will be called and it's output (either string, or rendering >> another template, etc..) will be placed in place of the dispatch_to >> call. >> >> In this way you can have "widgetized" application. > > you need to have a look at merb_parts, parts are best used for widgets and > integrate into other pages > -- > MK > > > >
-- My place to share my ideas: http://vladev.blogspot.com http://carutoo.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "merb" 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/merb?hl=en -~----------~----~----~----~------~----~------~--~---
