Forum: Rails Engines Embed engine view in app view ?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Guest (Guest)
on 2006-03-25 03:44
Hi, I would to know of to have my app inserting an engine generated html
(view ? string ?)

Eg. the main page of the web needs to display the last messages of a
forum engine.
The forum engine have to retrieve the datas and format them.

What is the preferred solution ?

Thanks
James A. (Guest)
on 2006-03-25 10:46
(Received via mailing list)
You should probably use partials for this - you can render partials
which belong to an engine in any view in your application.

- james

On 3/25/06, Guest <removed_email_address@domain.invalid> wrote:
>
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> engine-users mailing list
> removed_email_address@domain.invalid
> http://lists.rails-engines.org/listinfo.cgi/engine...
>


--
* J *
  ~
Nshbrown N. (Guest)
on 2006-03-25 11:56
(Received via mailing list)
render_component might do what you see as well, as long as that action
has a
partial attached to it instead of a full view. I have done this in a few
places myself.

-Nb

On 3/25/06 12:45 AM, "James A." <removed_email_address@domain.invalid> wrote:

>> forum engine.
>> removed_email_address@domain.invalid
> http://lists.rails-engines.org/listinfo.cgi/engine...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Nathaniel S. H. Brown                        http://nshb.net
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This topic is locked and can not be replied to.