I agree with proposed implementation for one use case. I included one 
screenshot for a similar use case.

Anther one can be an action displayed as a menu that returns a URL that must be 
showed maximized on the working area (I.e., redirecting to an external user 
forum).

> El 4/1/2015, a las 12:25, Dan Haywood (JIRA) <[email protected]> escribió:
> 
> 
>    [ 
> https://issues.apache.org/jira/browse/ISIS-994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14263835#comment-14263835
>  ] 
> 
> Dan Haywood commented on ISIS-994:
> ----------------------------------
> 
> In this case the domain service action also appears on the domain entity as a 
> contributed property (OneToOneAssociationContributee). As far as the Wicket 
> viewer is concerned, it's just another property.
> 
> So, I see this ticket as providing a refinement of the ReferencePanel that is 
> used when there's a OTOA where 
> otoa.getSpecification().getCorrespondingClass() == java.net.URL.class.
> 
> There is the related question of real estate.  I see this ticket as probably 
> being dependent on ISIS-993 (multiple tabs) whereby we have some way to say 
> that this contributed property appears on its own tab and uses that full tab.
> 
>> Actions that act as contributed properties and which return a URL should 
>> display that URL inline within an iframe.
>> ------------------------------------------------------------------------------------------------------------------
>> 
>>                Key: ISIS-994
>>                URL: https://issues.apache.org/jira/browse/ISIS-994
>>            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
>> 
>> 
>> 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/
> 
> 
> 
> --
> This message was sent by Atlassian JIRA
> (v6.3.4#6332)

Reply via email to