Re: Wicketstuff filename too long error

2015-03-23 Thread Hasan Çelik
I think, you're right...When I tried to clone D:/test/, it worked... Thanks


Web Sitesi : www.ab-hibe.com
E-mail: hasance...@berkadem.com
E-mail: i...@ab-hibe.com
Gsm1: 0 544 640 96 25
Adres : 1271. Sokak 33/14 Sabri Mermutlu İş Merkezi Balgat Ankara

2015-03-23 14:54 GMT+02:00 Richter, Marvin 
marvin.rich...@freenetdigital.com:

 It doesn’t necessarily mean that the filename itself is too long but the
 entire path.

 Maybe try to clone the repo in a directory which is higher in the
 hierarchy (like C:\dev for example).

 Best,
 Marvin

  Am 22.03.2015 um 16:59 schrieb Hasan Çelik hsnclk1...@gmail.com:
 
  I could find this
 
  https://support.microsoft.com/en-us/kb/177665
 
  but there is no setting for windows filename limitation :(
 
 
  Web Sitesi : www.ab-hibe.com
  E-mail: hasance...@berkadem.com
  E-mail: i...@ab-hibe.com
  Gsm1: 0 544 640 96 25
  Adres : 1271. Sokak 33/14 Sabri Mermutlu İş Merkezi Balgat Ankara
 
  2015-03-22 17:19 GMT+02:00 Martin Grigorov mgrigo...@apache.org:
 
  Hi,
 
  You hit some weird Windows limit.
  What version is this Windows ? I don't use Windows since a while and I
 am
  not sure what 6.1 maps to.
  Search in the web about other similar problems. I guess there is a
 setting
  to allow it longer file names.
 
  Martin Grigorov
  Freelancer, available for hire!
  Wicket Training and Consulting
  https://twitter.com/mtgrigorov
 
  On Sun, Mar 22, 2015 at 4:54 PM, Hasan Çelik hsnclk1...@gmail.com
 wrote:
 
  Hi,
 
  When I clone the wicketstuff repository, I am getting filename too
 long
  error. Is that a problem???
 
  https://gist.github.com/cortix/49d380f418c316d8fb58
 
 


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




Re: Running a local process using Wicket

2015-03-23 Thread Sebastien
Hi,

If you would like to start an external process (a batch or whatever, but
*not* command line of course) then the answer is yes, even it is more an
architectural question than truly related to Wicket directly (I mean, if
you would like to properly separate layers...)

A common option is to make Wicket (the web layer) start the process through
an synchronous/asynchronous EJB (the business layer).

About the security concern, by default the process owner of the Application
Server will also own the external running process. This should eventually
be taken into consideration...

Additionally you can get info back to the Wicket page using native
websockets (notifications or a progress for instance).

You have a sample implementation here:
https://github.com/sebfz1/wicket-quickstart-cdi-async

It currently uses Apache DeltaSpike for managing portability  contexts
(CDI 1.1)

Hope this provides an answer to your question... and you will select Wicket
in your new technical stack :)

Best regards,
Sebastien.



On Mon, Mar 23, 2015 at 2:02 PM, Richter, Marvin 
marvin.rich...@freenetdigital.com wrote:

 I’m not sure if I understood it right but if you actually want to start a
 command on the machine the browser is running on the answer is no, and
 should never be possible for security reasons. But that has nothing to do
 with Wicket but with a webpage in the browser which is sandboxed and
 therefore not allowed to run any process outside this sandbox.

 But another question would be, why do you even want to start a local
 process?

 Best,
 Marvin


  Am 23.03.2015 um 10:41 schrieb drf davidrfi...@gmail.com:
 
  We want to replace our fat client application (developed using C#) with
 a web
  application.
  Wicket is one of the technology options we are considering.
  Our question: Is it possible, and if so, how, to run a local process on
 the
  users machine (normally run from the command line) from Wicket.
  Thanks
 
  --
  View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/Running-a-local-process-using-Wicket-tp4670070.html
  Sent from the Users forum mailing list archive at Nabble.com.
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 




Re: Running a local process using Wicket

2015-03-23 Thread Richter, Marvin
I’m not sure if I understood it right but if you actually want to start a 
command on the machine the browser is running on the answer is no, and should 
never be possible for security reasons. But that has nothing to do with Wicket 
but with a webpage in the browser which is sandboxed and therefore not allowed 
to run any process outside this sandbox.

But another question would be, why do you even want to start a local process?

Best,
Marvin


 Am 23.03.2015 um 10:41 schrieb drf davidrfi...@gmail.com:
 
 We want to replace our fat client application (developed using C#) with a web
 application.
 Wicket is one of the technology options we are considering.
 Our question: Is it possible, and if so, how, to run a local process on the
 users machine (normally run from the command line) from Wicket.
 Thanks
 
 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/Running-a-local-process-using-Wicket-tp4670070.html
 Sent from the Users forum mailing list archive at Nabble.com.
 
 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org
 



wicket abort ajax handling of multipart form when the server is stopped

2015-03-23 Thread ywtsang
in normal case, I have tested that wicket ajax multipart form submit event
can be triggered properly in this sequence

  onbefore
  onprecondition
  onbeforesend
  onafter
  onsucess
  oncomplete

but when the server is stopped and the same ajax multipart form is
submitted, only these events are triggered

  onbefore
  onprecondition
  onbeforesend
  onafter

i.e. the onfaliure, oncomplete are not called

and the browser is just hanged and the wicket js is waiting forever for
load.handleMultipartComplete from the upload iframe, i.e. this ajax form
submit is not completed and further ajax event will be just queued

from the firebug console, the iframe html can be found as:



the html inside the iframe simply means Connection Error

so how can I proceed to handle this problem?

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/wicket-abort-ajax-handling-of-multipart-form-when-the-server-is-stopped-tp4670076.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Running a local process using Wicket

2015-03-23 Thread Christoph Läubrich

Depending on your enviourment you can either use:

- Signed Java Applet
- ActiveX Control
- Browser Plugin
- Any other active technology

As mentioned earlier that is nothing specific to Wicket. And you should 
consider why you want to switch to a WebApp if you have requirements to 
start local processes.
Another way would be to have a slim C# Wrapper that only contains a 
Webcontrol showing your wicket App and have an interface to do all 
low-level-tasks or you can deploy a service on the target machine that 
offers a REST Interface...


This all heavily depends on your usecase and will limit the portability 
and user-base of your WebApp in one or the other way.


Am 23.03.2015 10:29, schrieb drf:

We want to replace our fat client application (developed using C#) with a web
application.
Wicket is one of the technology options we are considering.
Our question: Is it possible, and if so, how, to run a local process on the
users machine (normally run from the command line) from Wicket.
Thanks
   



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Running a local process using Wicket

2015-03-23 Thread drf
We want to replace our fat client application (developed using C#) with a web
application.
Wicket is one of the technology options we are considering.
Our question: Is it possible, and if so, how, to run a local process on the
users machine (normally run from the command line) from Wicket.
Thanks

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Running-a-local-process-using-Wicket-tp4670070.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org