Hi, 
  I need your help. I am trying to upload and download some files via the 
Wicket presentation layer, but I realy do not know how to do it. I try to get 
some inspiration from upload example on wicket pages, but this is not what I 
want.

  Here is the description of my problem:
I have some standalone application that collects some data from users and 
generates some files from it. Each hour this application generates http request 
that contains some parameters and the content of the file. This request was 
processed on server by PHP script that stores the file on disk and fills 
database with new record about this file. Now I need to access this files to 
another users via internet so I decided to build wicket application and I want 
to include the the previous PHP script to wicket pages. So I want to have some 
wicket page that will process the request with file and send the file stream 
and parameters to the application layer that stores it to database.

  But I do not know how to do it. Plase can anybody give me any advice if the 
wicket support this behavior or where to take some inspiration?

  The second problem is how to enable the downloading of these files. I cannot 
just give a link to the wicket page, because I need to check authority of the 
user (if he can see the requested file). So I want to give to the wicket page 
some button tahat starts an action that checks the user authority and than fill 
the http response with the file. If I have seen some example for uploading 
files via wicket I did not see any comment or example about downloading. 
 
  Please can you give me any point to some article or wicket javadoc that could 
help me?

Thanks for any advice

Milan   

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to