Re: Date/Time Validation in Forms

2009-08-19 Thread Eyal Golan
Have a look at DateTimeField from YUI. In any case, you can always create a FormValidator so it can validate several components. BTW, you should really change the fields to be Integer and not String. Eyal Golan egola...@gmail.com Visit: http://jvdrums.sourceforge.net/ LinkedIn:

Re: Internal error parsing wicket:interface = :6

2009-08-19 Thread Thomas Singer
Thanks, Alex. So you are sure this is no problem of our web application, but rather users who change such URLs manually or have bookmarked non-static ones? Tom Alex Objelean wrote: In wicket 1.3.x you would get just WicketRuntimeException... by default you will be redirected to default

RE: Newbie question: fileupload AJAX progressbar ?

2009-08-19 Thread Stefan Lindner
You need @Override protected WebRequest newWebRequest(HttpServletRequest servletRequest) { return new UploadWebRequest(servletRequest); } In your Application's class. I think you should definitly read the APIdoc (see UploadProgressBar)! Stefan

RE: Newbie question: fileupload AJAX progressbar ?

2009-08-19 Thread Jing Ge (Besitec IT DEHAM)
Hi, Add this in your application class SVRWebApplication: @Override protected WebRequest newWebRequest(HttpServletRequest servletRequest) { return new UploadWebRequest(servletRequest); } Best regards! Jing -Original Message- From: Ashika Umanga Umagiliya

Re: Internal error parsing wicket:interface = :6

2009-08-19 Thread Alex Objelean
If they would bookmark these url, they would get SessionExpired page... I'm pretty sure they have tried to hack the url. Alex Objelean Thomas Singer-4 wrote: Thanks, Alex. So you are sure this is no problem of our web application, but rather users who change such URLs manually or have

Re: Newbie question: fileupload AJAX progressbar ?

2009-08-19 Thread Ashika Umanga Umagiliya
Thanks Stefan, That solved my problem. Since UploadProgreeBar is a component of 'wicket-extensions', i refered documentation at http://www.wicketframework.org/wicket-extensions/ which is kind of updated (versoin 1.2) . I had to download documentation for 1.4 from the maven repository.

RE: Newbie question: fileupload AJAX progressbar ?

2009-08-19 Thread Stefan Lindner
Hi Ashika, I pointed yopu tot he documentation because I was not sure if using UploadWebRequest has any side effects. Does not seem so. Stefan -Ursprüngliche Nachricht- Von: Ashika Umanga Umagiliya [mailto:auma...@biggjapan.com] Gesendet: Mittwoch, 19. August 2009 09:10 An:

Re: Ajax form submits in a Wicket portlet on Liferay

2009-08-19 Thread glr
Having investigated the issue further, I noticed that the same code is working in some portlets and does not work in others. Therefore I created 2 portlets with exactly the same content except for the plugin name and the portlet-name: * in the first case the plugin name is wexample-portlet and

Question about threads inside wicket pages

2009-08-19 Thread Ashika Umanga Umagiliya
Greetings all, Please refer to image at : http://i26.tinypic.com/11qi6o7.jpg I am going to invoke a webservice using Axis2 Client,asynchronically.To getback the results, I am using a Callback handler in axis2. Within my page, I am going to create the Callback object (axisCallbackHandler in

Re: Session listener

2009-08-19 Thread Jonas
I think overriding WebApplication#sessionDestroyed should do the trick. On Wed, Aug 19, 2009 at 12:26 PM, David Leangenwic...@leangen.net wrote: Hi! What's the best way to get notified of a session timeout event from within a Wicket App when I don't have access to the deployment descriptor?

SubmitLink in List/DataView in Form not working?

2009-08-19 Thread Martijn Lindhout
Hi All, I almost finished 2 Wicket sites succesfully without any problems, and now I'm busy with a third one... but I'm lost... and can't find a solution in the list so far... I have a submitlink in a listview, together with several input fields (zie HTML below). In code I have: item.add(new

Re: Full integration Wicket - Blazeds. Is it possible?

2009-08-19 Thread Ryan Gravener
Make your own filter and implement these methods this way: http://pastie.org/588344 Ryan Gravener http://bit.ly/no_word_docs On Mon, May 4, 2009 at 1:01 PM, Fernando Wermusfernando.wer...@gmail.com wrote: Hi all,     I am working with flex and wicket and I would like to get a full

Re: Ajax form submits in a Wicket portlet on Liferay

2009-08-19 Thread glr
I renamed the plugin from server-utest-portlet to serverUtest-portlet to remove any other '-' characters. Still the issue is present. By the way, is it a Wicket limitation that the Liferay portlet plugin names should not contain '-' characters other than the one in the '-portlet' postfix? I am

swf into wicket page

2009-08-19 Thread Gerald Fernando
Hello Friends, Shall we have(embed) a swf in wicket component(Panel or in wicket page). I have swf that shows chart for dynamic data. i want to show my .swf file into wicket page or wicket panel if possible please give me modal code. I need urgent reply -- Thanksregards, Gerald A

Re: swf into wicket page

2009-08-19 Thread Martijn Lindhout
Here's how I did it: Java public class VideoPlayer extends Panel { public VideoPlayer(String id, final Bedrijf bedrijf, final Video video) { super(id); add(new WebComponent(player){ @Override protected void

Modal window and SSL

2009-08-19 Thread Eyal Golan
Hello all, We are having a problem when we work on an SSL environment. Whenever we open a modal popup window, there's this annoying message of IE that the user is trying to open both secure and non secure content. We changed the IE settings and the message is gone. But I want to understand what's

How to get Project Folder's Relative Path ?

2009-08-19 Thread FaRHaN
I want to get relative path of my current wicket project folder. I have used System.getProperty(user.dir) method but it returns the path of Tomcat's bin directory. I want to access files of my project through relative path, so that i can access these files on other System also. I have my

Re: SubmitLink in List/DataView in Form not working?

2009-08-19 Thread Martijn Lindhout
shame on me when I copied the raw html from the designers into my page, I forgot to remove a 'dummy' form object, so there was a nested form 2009/8/19 Martijn Lindhout mlindh...@jointeffort.nl: Hi All, I almost finished 2 Wicket sites succesfully without any problems, and now I'm busy

AjaxTabbedPanel with different forms on each tab

2009-08-19 Thread Help System
Hi, I have an AjaxTabbedPanel in a ModalWindow. There are two tabs, each containing a panel with a simple form. Looking at the html produced, the AjaxTabbedPanel moves the form element from the place in the panel to near the top of the tabbed panel html hierarchy and changes the id. All form

How do I get my DropDownChoice to refresh the list of choices with Ajax?

2009-08-19 Thread Linda van der Pal
I have a page with a dropdown list on it with authors. If I enter a new book I want my fields to be filled based on the ISBN. This works just fine. But now I want those fields to be filled with data I collect from the internet, meaning that it isn't always already in my database, and therefor

Re: Question about threads inside wicket pages

2009-08-19 Thread Jeremy Thomerson
I'm not 100% sure, but I'm pretty sure that it would depend on your servlet container more than Wicket. The threads for handling requests are spun up by the servlet container before Wicket is ever handed the request. And typically these threads are pooled - so it wouldn't be *destroyed*. But

Re: Shall we have(embed) a swf in wicket component(Panel or in wicket page).

2009-08-19 Thread Fernando Wermus
You can use SWFObject that is in the wiki. You also can use LightWindow to show SWFObject. Look for SwfObject Javascript to make it to run and the examples. Take care that this panel cannot be put in a modal Window, I tried and failed. Anyway I pasted below public class SWFObject extends

Re: Modal window and SSL

2009-08-19 Thread Igor Vaynberg
it just means that you are on a https page but it links to some http resources, eg images or javascripts. so make sure when you are on a https page all your resources are brought in via relative urls and do not start with http:// one specific example is that you can be on an https page but you

Re: Newbie question: fileupload AJAX progressbar ?

2009-08-19 Thread Robin Sander
I've just copied the example upload page from http://www.wicket-library.com/wicket-examples/upload/single into my application with the same result: upload works but the progess bar is NOT updated. So, anything else needed besides overriding 'newWebRequest()' ? I'm using wicket,

Wicket and RSS

2009-08-19 Thread VGJ
I've got a simple RSS feed I'm trying to display on a page. Is wicketstuff-rome dead? Is there a better way? I'm not a maven user (not even familar with it) - so are there any jars I can download somewhere for wicketstuff-rome, if it's not dead? Appreciate the help, thanks.

how to debug Wicket Application

2009-08-19 Thread Oleg Ruchovets
Hi , I am new in wicket. I try to modify wicket in action examples and got such exception: WicketMessage: Error attaching this container for rendering: [MarkupContainer [Component id = content, page = wicket.in.action.chapter03.section_3_1.dbdiscounts.web.Index, path =

Re: how to debug Wicket Application

2009-08-19 Thread Matej Knopp
You can start by setting a breakpoint and running the application in debug mode. -Matej On Wed, Aug 19, 2009 at 7:39 PM, Oleg Ruchovetsoruchov...@gmail.com wrote: Hi , I am new in wicket. I try to modify wicket in action examples and got such exception:       WicketMessage: Error attaching

Re: how to debug Wicket Application

2009-08-19 Thread Oleg Ruchovets
Ok , thank you for quick responce. I am using eclipse and run my application on jetty web server. How can I configure application to be in debug mode? I mean what kind of configuration should I do? On Wed, Aug 19, 2009 at 8:41 PM, Matej Knopp matej.kn...@gmail.com wrote: You can start

Re: Modal window and SSL

2009-08-19 Thread Peter Ertl
I remember this issue begin fixed already: https://issues.apache.org/jira/browse/WICKET-855 did someone change ModalWindow in the meantime? Am 19.08.2009 um 17:13 schrieb Igor Vaynberg: it just means that you are on a https page but it links to some http resources, eg images or javascripts.

Re: how to debug Wicket Application

2009-08-19 Thread Jeremy Thomerson
Use the Start.java that came with the Wicket quickstart to start Jetty. From Eclipse, just choose to debug as - java application rather than run as. This will put it in debug mode and you can set breakpoints, etc. -- Jeremy Thomerson http://www.wickettraining.com On Wed, Aug 19, 2009 at

Re: AjaxTabbedPanel with different forms on each tab

2009-08-19 Thread Marcin Palka
Tim, You have to place your modal window within a form. It's mandatory if you want to use Forms on a modal. You have to write code similar to the following: form wicket:id=outerForm div wicket:id=modalWithTabsmodal placeholder/div /form Form outerForm =new Form(outerForm);

Re: Modal window and SSL

2009-08-19 Thread Eyal Golan
Thanks Igor and Peter.Peter, we did change the JS that builds the ModalWindow. I'll look into it. Thanks, Eyal Golan egola...@gmail.com Visit: http://jvdrums.sourceforge.net/ LinkedIn: http://www.linkedin.com/in/egolan74 P Save a tree. Please don't print this e-mail unless it's really

Re: DropDown where (type of model property) != (type of choices)

2009-08-19 Thread Igor Vaynberg
http://steve-on-sakai.blogspot.com/2008/12/using-hashmap-with-dropdownchoice.html -igor On Wed, Aug 19, 2009 at 3:17 PM, Eirik Lygreeirik.ly...@gmail.com wrote: I'm looking for the best way to implement a drop-down, where the type of the model property is not the type of the lists: For

Re: Session listener

2009-08-19 Thread David Leangen
What's the best way to get notified of a session timeout event from within a Wicket App when I don't have access to the deployment descriptor? I think overriding WebApplication#sessionDestroyed should do the trick. Perfect! Thank you.

Re: Newbie question: fileupload AJAX progressbar ?

2009-08-19 Thread Ashika Umanga Umagiliya
Hi Robin, Are you using Safari , I saw in following threads that its not working properly with Safari . http://www.nabble.com/UploadProgressBar-in-firefox-and-ie6-tp24166616p24205091.html http://www.nabble.com/UploadProgressBar-does-not-work-in-Safari-browser--to21571997.html#a24322943

RE: javascript effects before an ajax call

2009-08-19 Thread Joe Hudson
How can you make the script sources that you reference in your web page show up after the component wicket script includes? (assuming you don't want to do this inline) I would like to override the Wicket.replaceOuterHtml function because I would like to do some jquery dom post processing.

Changing the Model Value does not change the Form Parameters in POST

2009-08-19 Thread Hop Ney
Please help.Changing the Model Value does not change the Form Parameters in POST.How can I change the parameters that are passed in POST requests? Try the new FASTER Yahoo! Mail.. Experience it today!

Re: Question about threads inside wicket pages

2009-08-19 Thread Ashika Umanga Umagiliya
Hi Jeremy, I tried to call Page.info() inside the new thread created by axis2client , then it gives the message : EXCEPTION:you can only locate or create sessions in the context of a request cycle I guess,this means I must change the page data inside the same thread right? Thanks in

[announce] Wicket 1.4.1

2009-08-19 Thread Igor Vaynberg
Apache Wicket 1.4.1 Released The Apache Wicket project is proud to announce the first maintenance release of Apache Wicket 1.4. Download Apache Wicket 1.4.1 - You can download the release here: http://www.apache.org/dyn/closer.cgi/wicket/1.4.1 Or use

Re: swf into wicket page

2009-08-19 Thread Gerald Fernando
Hi martijin i have write what u gave me but it shows that Bedrijf cannot be resolved to a type Video cannot be resolved to a type create a class fo rBedrijf and Video As i new to wicket i dont know how to write it please tell me how to do it. ThanksRegards, Gerald A On Wed, Aug 19, 2009 at

How to get Relative Path ?

2009-08-19 Thread FaRHaN
Is there a way in wicket, to get relative path of current web project ? Thanks...

Re: [announce] Wicket 1.4.1

2009-08-19 Thread Haulyn R. Jason
congratulations. On Thu, Aug 20, 2009 at 1:21 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: Apache Wicket 1.4.1 Released The Apache Wicket project is proud to announce the first maintenance release of Apache Wicket 1.4. Download Apache Wicket 1.4.1