You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Dan Haywood (JIRA)" <ji...@apache.org> on 2015/01/04 13:17:34 UTC

[jira] [Updated] (ISIS-998) Actions that are NOT contributed properties but which return a URL should optionally display that URL inline within an iframe in a new tab (or other "working area").

     [ https://issues.apache.org/jira/browse/ISIS-998?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Haywood updated ISIS-998:
-----------------------------
    Description: 
This follows on from ISIS-994, but for actions that are NOT contributed properties.

the idea is that a user can invoke such an action, which returns a URL, and that the resulting page is shown inline in an iframe that in some sense "belongs" to the entity on which the action was invoked.

One way to accomplish this might be to dynamically create a new tab (assuming ISIS-993 has been implemented) and display the iframe on that URL.



  was:
As per [1] mailing list thread, in particular its screenshot [5],

if a contributed property (= action) returns a URL, then it should be rendered within an iframe.   It may not actually be necessary to require any other metadata.

eg
@Action(semantics=SemanticsOf.SAFE)
@ActionLayout
public URL editor(Asset asset) { ... }



[1] http://markmail.org/message/merftvqoiy6ht3kq
[5] http://postimg.org/image/k83i6b70x/


> Actions that are NOT contributed properties but which return a URL should optionally display that URL inline within an iframe in a new tab (or other "working area").
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ISIS-998
>                 URL: https://issues.apache.org/jira/browse/ISIS-998
>             Project: Isis
>          Issue Type: New Feature
>          Components: Viewer: Wicket
>    Affects Versions: viewer-wicket-1.7.0
>            Reporter: Dan Haywood
>            Assignee: Dan Haywood
>            Priority: Minor
>             Fix For: viewer-wicket-1.9.0
>
>
> This follows on from ISIS-994, but for actions that are NOT contributed properties.
> the idea is that a user can invoke such an action, which returns a URL, and that the resulting page is shown inline in an iframe that in some sense "belongs" to the entity on which the action was invoked.
> One way to accomplish this might be to dynamically create a new tab (assuming ISIS-993 has been implemented) and display the iframe on that URL.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)