Re: extends statement

2011-04-19 Thread Mike Mander
Am 18.04.2011 20:53, schrieb Tomas Mihok: Hello, I created a web application with module as reausable component in it. Here is how it looks like (very simple): Index.html - 2 links (they are inul list) and module added throughdiv Index.Java extends HomePage with three add statements (2 x

Re: Wicket and youtube browser based upload

2011-04-19 Thread Pavol Zibrita
Hi! Ytd is bunch of servlets and jsp. And I want it to work in wicket. But I have problems I have described. Thanx, Pavol On Apr 19, 2011 1:33 AM, Zilvinas Vilutis cika...@gmail.com wrote: I think it is YouTubeDirect that you're looking for:

Re: Wicket and youtube browser based upload

2011-04-19 Thread James Carman
Why not look at the source for YTD and see if there's anything you can borrow from them? On Tue, Apr 19, 2011 at 2:11 AM, Pavol Zibrita pavol.zibr...@gmail.com wrote: Hi!  Ytd is bunch of servlets and jsp. And I want it to work in wicket. But I have problems I have described. Thanx, Pavol

RE: eclipse,jetty,wicket

2011-04-19 Thread Hielke Hoeve
You can also use the Start.java from the quickstart as example how to start in eclipse without maven. Hielke -Original Message- From: fachhoch [mailto:fachh...@gmail.com] Sent: vrijdag 15 april 2011 18:51 To: users@wicket.apache.org Subject: eclipse,jetty,wicket I am running my wicket

Re: Wicket and youtube browser based upload

2011-04-19 Thread Pavol Zibrita
Hi! Well I know how to do it, I just don't know how to do it in wicket... in ytd a form is created, where target url is the url to youtube site, going as POST with some aditional parameters. No, with that I have problem in wicket, as I was writing. How do I create a form where I can specify

Re: Wicket and youtube browser based upload

2011-04-19 Thread James Carman
Perhaps you can submit the form yourself using something like Apache HttpClient? I don't know if it's worth it or not, but if you really want to manage your form using Wicket, then you can submit your form to your Wicket code and once you have the information gathered, you then manually submit

Re: Wicket and youtube browser based upload

2011-04-19 Thread Sven Meier
See: http://apache-wicket.1842946.n4.nabble.com/Returning-XML-to-JS-tp1873294p1873298.html -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-and-youtube-browser-based-upload-tp3458767p3459719.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Wicket and youtube browser based upload

2011-04-19 Thread Pavol Zibrita
Will it work? I mean, the submitting should upload a file from the client, which I don't want to upload to my server, but to youtube. Therefor it is called browser-based upload. I would rather need to do some redirect, that would redirect the browser to youtube with aditional parameters. Is that

Re: Wicket and youtube browser based upload

2011-04-19 Thread Pavol Zibrita
Yes, that seems like my problem. A same question, will the second choice work, when I need the user to upload the file directly to youtube? I mean using the apache client and post method means my server is posting data to the youtube, not the client's browsert. Right? Thanx, p. On Tue, Apr 19,

Re: Wicket and youtube browser based upload

2011-04-19 Thread James Carman
In your case, you'd need to temporarily upload the file to your server. As I said, I don't know if it's worth it. :) On Tue, Apr 19, 2011 at 3:55 AM, Pavol Zibrita pavol.zibr...@gmail.com wrote: Will it work? I mean, the submitting should upload a file from the client, which I don't want to

Re: Wicket and youtube browser based upload

2011-04-19 Thread James Carman
The problem with the first approach is that using Wicket would essentially buy you nothing in that case. You couldn't use Wicket's validation. Binding the input fields to models wouldn't buy you anything since the form isn't submitted to Wicket. Also, the form fields would have to be set up

Re: Wicket and youtube browser based upload

2011-04-19 Thread Pavol Zibrita
OK, uploading to server is not possible for me. So I need to create a form than with custom target. Maybe one more question. I need to specify some return url where will youtube add some parameters. How is done this in wicket? Thanx, Pavol On Tue, Apr 19, 2011 at 9:56 AM, James Carman

Re: Wicket and youtube browser based upload

2011-04-19 Thread Pavol Zibrita
And something like this?: Creating form for user using wicket with validation. After submit creating a page with custom form which will automatically do submit? Thanx, pavol On Tue, Apr 19, 2011 at 10:00 AM, James Carman ja...@carmanconsulting.comwrote: The problem with the first approach is

Re: Wicket and youtube browser based upload

2011-04-19 Thread James Carman
Well, that might work, but you can't auto-choose a file for your users (security risk), so they'd have to choose their file in the generated, custom form. On Tue, Apr 19, 2011 at 4:04 AM, Pavol Zibrita pavol.zibr...@gmail.com wrote: And something like this?: Creating form for user using wicket

Re: Wicket and youtube browser based upload

2011-04-19 Thread Pavol Zibrita
Oh, so I cannot generate form with already choosed file. Well, yes, that makes sense... Argh... Anyway, I can basically validate everything in the form besides the file using wicket, and in final stage (some wizard) the user can choose the file and upload. Maybe other stupid question, is it

Wicket Live examples fails..

2011-04-19 Thread nino martinez wael
I get a 404 here: http://www.wicket-library.com/wicket-examples/mappers/da After clicking this http://www.wicket-library.com/wicket-examples/mappers - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional

Re: extends statement

2011-04-19 Thread Martin Grigorov
Show us some code. The scenario is valid. It seems you are doing something wrong. On Mon, Apr 18, 2011 at 9:53 PM, Tomas Mihok tomas.mi...@cnl.sk wrote: Hello, I created a web application with module as reausable component in it. Here is how it looks like (very simple): Index.html - 2

Re: Wicket and youtube browser based upload

2011-04-19 Thread Martin Grigorov
On Tue, Apr 19, 2011 at 10:43 AM, James Carman ja...@carmanconsulting.comwrote: Perhaps you can submit the form yourself using something like Apache HttpClient? I don't know if it's worth it or not, but if you really want to manage your form using Wicket, then you can submit your form to