[jira] [Commented] (ISIS-612) Return a URL from an action opens a new browser window

2013-11-28 Thread Dan Haywood (JIRA)

[ 
https://issues.apache.org/jira/browse/ISIS-612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13834856#comment-13834856
 ] 

Dan Haywood commented on ISIS-612:
--

The last commit should have been associated with ISIS-613 and ISIS-614, not 
this one.

 Return a URL from an action opens a new browser window
 --

 Key: ISIS-612
 URL: https://issues.apache.org/jira/browse/ISIS-612
 Project: Isis
  Issue Type: New Feature
  Components: Core, Viewer: Wicket
Reporter: Jeroen van der Wal
Assignee: Dan Haywood
Priority: Minor
 Fix For: viewer-wicket-1.4.0, core-1.4.0


 Something like this:
 Class Invoice {
 ...
 public URL viewInvoice() {
 return new 
 URL(String.format(http://reportserver/reports/invoice?invoiceNumber=%s;, 
 getInvoiceNumber));
 }
 ...
 }
 Suggestions from Dan:
 We could either implement this into the Wicket viewer, whereby it understoods 
 that a returned URL means for it to be opened, or we could do it through a 
 domain service (and the Wicket viewer knows nothing about it).
 To try it with the former, take a look at StandaloneValuePanel is a good 
 place to look; you will see I do some special processing for handling 
 downloads of blobs and clobs there.
 The answer here [x] shows one way to do a redirect (I think I might use a 
 different API, probably equivalent though)
 The gist of the latter is to define a service, eg UrlOpenerService, with 
 the implementatino in the estatio-webapp whereby it has access to all of 
 Wicket framework.  



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (ISIS-612) Return a URL from an action opens a new browser window

2013-11-28 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/ISIS-612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13834906#comment-13834906
 ] 

ASF subversion and git services commented on ISIS-612:
--

Commit 8b14424c693b247f2f87a290693226ab6189d59b in branch refs/heads/master 
from [~danhaywood]
[ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=8b14424 ]

ISIS-612: URL as value type; returning URL opens in Wicket


 Return a URL from an action opens a new browser window
 --

 Key: ISIS-612
 URL: https://issues.apache.org/jira/browse/ISIS-612
 Project: Isis
  Issue Type: New Feature
  Components: Core, Viewer: Wicket
Reporter: Jeroen van der Wal
Assignee: Dan Haywood
Priority: Minor
 Fix For: viewer-wicket-1.4.0, core-1.4.0


 Something like this:
 Class Invoice {
 ...
 public URL viewInvoice() {
 return new 
 URL(String.format(http://reportserver/reports/invoice?invoiceNumber=%s;, 
 getInvoiceNumber));
 }
 ...
 }
 Suggestions from Dan:
 We could either implement this into the Wicket viewer, whereby it understoods 
 that a returned URL means for it to be opened, or we could do it through a 
 domain service (and the Wicket viewer knows nothing about it).
 To try it with the former, take a look at StandaloneValuePanel is a good 
 place to look; you will see I do some special processing for handling 
 downloads of blobs and clobs there.
 The answer here [x] shows one way to do a redirect (I think I might use a 
 different API, probably equivalent though)
 The gist of the latter is to define a service, eg UrlOpenerService, with 
 the implementatino in the estatio-webapp whereby it has access to all of 
 Wicket framework.  



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (ISIS-612) Return a URL from an action opens a new browser window

2013-11-28 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/ISIS-612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13835114#comment-13835114
 ] 

ASF subversion and git services commented on ISIS-612:
--

Commit 710724b20208b86766065d1aa52ba109a9bef96a in branch refs/heads/master 
from [~danhaywood]
[ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=710724b ]

ISIS-612: suppress veil for object actions.

In addition:
- some minor tidy-up of misc classes (no functional changes).


 Return a URL from an action opens a new browser window
 --

 Key: ISIS-612
 URL: https://issues.apache.org/jira/browse/ISIS-612
 Project: Isis
  Issue Type: New Feature
  Components: Core, Viewer: Wicket
Reporter: Jeroen van der Wal
Assignee: Dan Haywood
Priority: Minor
 Fix For: viewer-wicket-1.4.0, core-1.4.0


 Something like this:
 Class Invoice {
 ...
 public URL viewInvoice() {
 return new 
 URL(String.format(http://reportserver/reports/invoice?invoiceNumber=%s;, 
 getInvoiceNumber));
 }
 ...
 }
 Suggestions from Dan:
 We could either implement this into the Wicket viewer, whereby it understoods 
 that a returned URL means for it to be opened, or we could do it through a 
 domain service (and the Wicket viewer knows nothing about it).
 To try it with the former, take a look at StandaloneValuePanel is a good 
 place to look; you will see I do some special processing for handling 
 downloads of blobs and clobs there.
 The answer here [x] shows one way to do a redirect (I think I might use a 
 different API, probably equivalent though)
 The gist of the latter is to define a service, eg UrlOpenerService, with 
 the implementatino in the estatio-webapp whereby it has access to all of 
 Wicket framework.  



--
This message was sent by Atlassian JIRA
(v6.1#6144)