Thank you for your reply. :) 2008/10/22 Michael Klishin <[EMAIL PROTECTED]>: > 2008/10/21 Емил Иванов / Emil Ivanov <[EMAIL PROTECTED]>: >> How can one dispatch to an action from the view? > > 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. > >> Also, how merb supports partials? > > partial "widgets/palette", :palette => @palette > -- > 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 -~----------~----~----~----~------~----~------~--~---
