Is it possible to create iframe with dynamic content in nagare?
Pavel.
On 31 jan, 17:59, Pavel Kaygorodov <pavel.kaygoro...@gmail.com> wrote:
> Hi!
>
> Is it possible to create iframe with dynamic content in nagare?
If you want to access an external page in an iframe, simply do:
h << h.iframe(src="http://www.google.com", width="100%",
height="300")
If you want to access an other Nagare application in an iframe, the
simplest way I see is to use the capability of Nagare to serve
multiple applications:
- In a view of your `foo` application, add an iframe on the `bar`
application:
h << h.iframe(src="/bar/", width="100%", height="300")
- Serve the applications `foo` and `bar` together:
nagare-admin serve foo bar
Alain