Re: Ajax-Fileupload on an ebedded webpage

2019-03-26 Thread Ravi
Almost thought so. I guess we have to bite the bullet.

Thank you Sven!

--
Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html

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



Re: Ajax-Fileupload on an ebedded webpage

2019-03-25 Thread sven
 
 
... or backport from WICKET-6517.
 

 
Have fun
 
Sven
 
 
 

 
 
 
 
 
>  
> On 25.03.2019 at 14:41,wrote:
>  
>  
>  Hi, the iframe workaround us the best solution we came up with 10 years ago, 
> see Wicket-2420. Best option would be to upgrade to 8.x or backport the 
> changes from  >   >  On 25.03.2019 at 14:06, wrote:  >   >   >  Hi all, we're 
> embedding a page from our application 'myApp' via JQuery.load() (No iframe!) 
> into our customers app 'customerApp'. myApp uses AJAX almost exclusively. Now 
> we integrated a file upload into myApp and set the form to multipart. That 
> causes Wicket to send every form submit via an iframe. What's breaking our 
> functionality is that myApp runs under a different domain that customerApp. 
> Now after submitting the iframe, customerApp tries to accesss the content of 
> the iframe that runs under the domain of myApp. For security reasons this is 
> prohibited. Does anyone know the reason behind the iframe usage? Any Idea of 
> how to work around this? If I see correctly, Wicket 8 uses a jQuery solution. 
> Unfortunately an update is not possible on short notice. We are using wicket 7
.2. Thank you, Ravi -- Sent from: 
http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html 
- To 
unsubscribe, e-mail: users-unsubscrib e...@wicket.apache.org For additional 
commands, e-mail: users-h...@wicket.apache.org  >  
>  
 

Re: Ajax-Fileupload on an ebedded webpage

2019-03-25 Thread sven
 
 
Hi,
 

 
the iframe workaround us the best solution we came up with 10 years ago, see 
Wicket-2420.
 

 
Best option would be to upgrade to 8.x or backport the changes from  
 
 
 

 
 
 
 
 
>  
> On 25.03.2019 at 14:06,wrote:
>  
>  
>  Hi all, we're embedding a page from our application 'myApp' via 
> JQuery.load() (No iframe!) into our customers app 'customerApp'. myApp uses 
> AJAX almost exclusively. Now we integrated a file upload into myApp and set 
> the form to multipart. That causes Wicket to send every form submit via an 
> iframe. What's breaking our functionality is that myApp runs under a 
> different domain that customerApp. Now after submitting the iframe, 
> customerApp tries to accesss the content of the iframe that runs under the 
> domain of myApp. For security reasons this is prohibited. Does anyone know 
> the reason behind the iframe usage? Any Idea of how to work around this? If I 
> see correctly, Wicket 8 uses a jQuery solution. Unfortunately an update is 
> not possible on short notice. We are using wicket 7.2. Thank you, Ravi -- 
> Sent from: 
> http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html 
> - To 
> unsubscribe, e-mail: users-unsubscrib
e...@wicket.apache.org For additional commands, e-mail: 
users-h...@wicket.apache.org 
>  
 

Ajax-Fileupload on an ebedded webpage

2019-03-25 Thread Ravi
Hi all,

we're embedding a page from our application 'myApp' via JQuery.load() (No
iframe!) into our customers app 'customerApp'.
myApp uses AJAX almost exclusively.

Now we integrated a file upload into myApp and set the form to multipart.
That causes Wicket to send every form submit via an iframe.

What's breaking our functionality is that myApp runs under a different
domain that customerApp. 
Now after submitting the iframe, customerApp tries to accesss the content of
the iframe that runs under the domain of myApp.
For security reasons this is prohibited.

Does anyone know the reason behind the iframe usage?

Any Idea of how to work around this?

If I see correctly, Wicket 8 uses a jQuery solution. Unfortunately an update
is not possible on short notice.

We are using wicket 7.2.

Thank you,

Ravi

--
Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html

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