You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@isis.apache.org by GESCONSULTOR <o....@gesconsultor.com> on 2014/12/12 12:27:14 UTC

Showing an external URL embedded in the webapp

Is it possible for an action to return a URL and show it inside the webapp at full size (except menus)? 
How could it be achieved with the new design/annotations? 
That way we could easily integrate with other pages, web apps (reporting, dashboards, ...).

Thanks, 

Oscar


Re: Showing an external URL embedded in the webapp

Posted by GESCONSULTOR <o....@gesconsultor.com>.
I'm trying to think about what we would need in ISIS to implement things we customized in our app.

In order to fulfill all requirements there are parts of the app that are directly implemented by means of external webapps (like reporting and dashboards) working all together using CAS as an authentication service and having similar CSS. So the user has a unified user experience, despite is implemented as something like a "composite application".

In that case, supposing the "main page container" would the ISIS webapp, we would need to reference different URLs from menus that redirect to the external module. And it should be showed "inside" ISIS "maximized".

Internally we are using iFrames as Martin suggests in most cases (tere are other parts that need to access the main app context; in those cases I undertand that should be implemented as a specialized Component Factory).

So from ISIS perspective, I think that simply the reqs Dan mentioned would be enough.

Thanks,

Oscar


> El 12/12/2014, a las 12:53, Martin Grigorov <mg...@apache.org> escribió:
> 
> Yes,
> 
> It has to be in iframe because otherwise the CSS from Isis most probably
> will mess up the one from the external page.
> And there won't be a need to cut the external page's <html><head> part.
> 
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
> 
> On Fri, Dec 12, 2014 at 1:44 PM, Dan Haywood <da...@haywood-associates.co.uk>
> wrote:
> 
>> Currently returning a URL will open the object in a new window.
>> 
>> I think the way to support this requirement is to write a new Wicket
>> ComponentFactory implementation for something like an iFrame, and then have
>> a bit of additional metadata (probably in @ActionLayout since it pertains
>> to the UI) which would act as a hint to this IFrame factory.
>> 
>> Don't think this would be too difficult to implement; just not done yet.
>> 
>> If you have an exact requirement, perhaps we could use that to drive
>> forward the design?
>> 
>> Cheers
>> Dan
>> 
>> 
>>> On 12 December 2014 at 11:27, GESCONSULTOR <o....@gesconsultor.com> wrote:
>>> 
>>> Is it possible for an action to return a URL and show it inside the
>> webapp
>>> at full size (except menus)?
>>> How could it be achieved with the new design/annotations?
>>> That way we could easily integrate with other pages, web apps (reporting,
>>> dashboards, ...).
>>> 
>>> Thanks,
>>> 
>>> Oscar
>>> 
>>> 
>> 

Re: Showing an external URL embedded in the webapp

Posted by Martin Grigorov <mg...@apache.org>.
Yes,

It has to be in iframe because otherwise the CSS from Isis most probably
will mess up the one from the external page.
And there won't be a need to cut the external page's <html><head> part.

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Fri, Dec 12, 2014 at 1:44 PM, Dan Haywood <da...@haywood-associates.co.uk>
wrote:

> Currently returning a URL will open the object in a new window.
>
> I think the way to support this requirement is to write a new Wicket
> ComponentFactory implementation for something like an iFrame, and then have
> a bit of additional metadata (probably in @ActionLayout since it pertains
> to the UI) which would act as a hint to this IFrame factory.
>
> Don't think this would be too difficult to implement; just not done yet.
>
> If you have an exact requirement, perhaps we could use that to drive
> forward the design?
>
> Cheers
> Dan
>
>
> On 12 December 2014 at 11:27, GESCONSULTOR <o....@gesconsultor.com> wrote:
> >
> > Is it possible for an action to return a URL and show it inside the
> webapp
> > at full size (except menus)?
> > How could it be achieved with the new design/annotations?
> > That way we could easily integrate with other pages, web apps (reporting,
> > dashboards, ...).
> >
> > Thanks,
> >
> > Oscar
> >
> >
>

Re: Showing an external URL embedded in the webapp

Posted by Dan Haywood <da...@haywood-associates.co.uk>.
Currently returning a URL will open the object in a new window.

I think the way to support this requirement is to write a new Wicket
ComponentFactory implementation for something like an iFrame, and then have
a bit of additional metadata (probably in @ActionLayout since it pertains
to the UI) which would act as a hint to this IFrame factory.

Don't think this would be too difficult to implement; just not done yet.

If you have an exact requirement, perhaps we could use that to drive
forward the design?

Cheers
Dan


On 12 December 2014 at 11:27, GESCONSULTOR <o....@gesconsultor.com> wrote:
>
> Is it possible for an action to return a URL and show it inside the webapp
> at full size (except menus)?
> How could it be achieved with the new design/annotations?
> That way we could easily integrate with other pages, web apps (reporting,
> dashboards, ...).
>
> Thanks,
>
> Oscar
>
>