[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Parameter downloadopenimmediately=true  XML
Forum Index -> Development
Author Message
unger

Power User

Joined: 22/07/2008 05:19:28
Messages: 261
Offline

Hi Captain,

is the parameter working with newer Swing version of EC?

Kind regards,
Joachim
 Filename testDownload.jsp [Disk] Download
 Description
 Filesize 1 Kbytes
 Downloaded:  284 time(s)

 Filename TestDownloadMBean.java [Disk] Download
 Description
 Filesize 3 Kbytes
 Downloaded:  298 time(s)

 Filename openImmediately.JPG [Disk] Download
 Description
 Filesize 47 Kbytes
 Downloaded:  279 time(s)

CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5520
Offline

...yes, in Swing client it is supported. It is (of course) not supported in the RISC-HTML client... - Björn

Björn Müller, CaptainCasa GmbH
unger

Power User

Joined: 22/07/2008 05:19:28
Messages: 261
Offline

Version is 20190218.

For both, filedownload beanprocessing and filedownloadbutton, the popup is not closed and an open activity is not triggered.

Joachim
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5520
Offline

It works on the demos that we provide (e.g. Mini Spreadsheet, Export to PDF, ...). Please check the CLIENT log (NOT the server log...). WE call the Java Desktop interface to open the file, this somehow talks to the underlying OS which then calls the right program to open the file...

Regards, Björn

Björn Müller, CaptainCasa GmbH
unger

Power User

Joined: 22/07/2008 05:19:28
Messages: 261
Offline

Good news:

Works with JNLP:

<ccappletccwebstart>
<clientparam name="loglevel" value="ALL" />
<clientparam name="clientlogfile" value="c:/temp/log/client.log" />
<clientparam name="downloadopenimmediately" value="true" />
</ccappletccwebstart>
 

Works with direct start (javaw):

start javaw.exe -cp %TCP% org.eclnt.client.page.PageBrowser
http://localhost:50000 /connect/faces/testDownload.jsp "loglevel=ALL"
"clientlogfile=c:/temp/log/client.log" "downloadopenimmediately=true"
 


But works not, if You easily add URL Parameter in PageBrowser. (Hardcopy in my former email)

The last scenario is in development and testing, so I can live with it.

Joachim

 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team