Errors with rendering feedback labels on a form during unit testing. Works fine when viewed from the browser.

2010-06-10 Thread Todd Nine
Hi all, I'm getting some strange behavior from my tests. I have an abstract class that all ajax feedback forms inherit from. BaseFeedBackForm http://pastebin.com/NWALFWvi I have this test code http://pastebin.com/zZyzG1e6 What's happening is my onBeforeRender of my BaseFeedbackForm is b

gmail like file upload

2010-06-10 Thread fachhoch
I want to have gmail like file upload in my application , I want to have ajax multi file upload , please suggest me . -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/gmail-like-file-upload-tp2251270p2251270.html Sent from the Wicket - User mailing list archive at

wicket + rest fb

2010-06-10 Thread Fernando Wermus
I followed the example at https://cwiki.apache.org/confluence/display/WICKET/Adding+Facebook+Connect+via+Javascript+SDK and I got the following error: API Error Code: 100 API Error Description: Invalid parameter Error Message: next is not owned by the application. Any idea what's going on? than

RE: NULL model on empty string?

2010-06-10 Thread Josh Chappelle
I'm not sure. You will just have to try it and see. Josh -Original Message- From: Anna Simbirtsev [mailto:asimbirt...@gmail.com] Sent: Thursday, June 10, 2010 2:12 PM To: users@wicket.apache.org Subject: Re: NULL model on empty string? This would not work for form.add(new TextField("gui

Re: Confluence out of sync?

2010-06-10 Thread Fernando Wermus
vishapXtreme, You can download the code from RestFB google code. On Thu, Jun 10, 2010 at 4:39 PM, Fernando Wermus wrote: > Markus, > I have tried > https://cwiki.apache.org/WICKET/adding-facebook-connect.html without any > luck. The classes are not any more there. > Could you find a

Re: [wicketstuff/wicket-contrib-jasperpreports] Is anyone supporting this?

2010-06-10 Thread Charles Deal
The WicketStuff repo is now hosted by Sonatype. sonatype Sonatype OSS repository https://oss.sonatype.org/content/repositories/public/ true

Re: Confluence out of sync?

2010-06-10 Thread Fernando Wermus
Markus, I have tried https://cwiki.apache.org/WICKET/adding-facebook-connect.html without any luck. The classes are not any more there. Could you find a way to use facebook connect? On Wed, Jun 9, 2010 at 4:36 PM, ViShap wrote: > Hi, > > if I use the confluence-link > https://cwiki.apache.

Re: NULL model on empty string?

2010-06-10 Thread Anna Simbirtsev
This would not work for form.add(new TextField("guid", Integer.class)) ? It works if type is String. On Thu, Jun 10, 2010 at 3:03 PM, Josh Chappelle wrote: > Call setConvertEmptyInputStringToNull(false) on your TextField. > > Josh > > -Original Message- > From: Anna Simbirtsev [mailto:as

Re: Just launched - www.onmydoorstep.com.au

2010-06-10 Thread Fernando Wermus
I added the dependency to facebook connect but the classes mentioned in the example aren't available. Is it possible? How do you solve this? classes: import com.google.code.facebookapi.FacebookException;import com.google.code.facebookapi.FacebookJsonRestClient;import com.google.code.facebookapi.F

RE: NULL model on empty string?

2010-06-10 Thread Josh Chappelle
Call setConvertEmptyInputStringToNull(false) on your TextField. Josh -Original Message- From: Anna Simbirtsev [mailto:asimbirt...@gmail.com] Sent: Thursday, June 10, 2010 1:49 PM To: users@wicket.apache.org Subject: NULL model on empty string? Hi, I use CompoundPropertyModel for all th

NULL model on empty string?

2010-06-10 Thread Anna Simbirtsev
Hi, I use CompoundPropertyModel for all the fields on the page. form.add(new TextField("url")); If the value entered by user is empty, then the model get updated with null value? How can I get getUrl() function to return "" instead of null. Thanks

Re: TabbedPanel with AjaxSelfUpdatingTimerBehavior

2010-06-10 Thread Ernesto Reinaldo Barreiro
Decebal, I think TabbedPanel works by replacing the active panel with the result of ITab.getPanel: see method setSelectedTab(int index). So, when you click on a tab the previous one is removed form the component tree (and therefore TimerAjaxCallBacks are not able to find the component). Have you c

Re: TabbedPanel with AjaxSelfUpdatingTimerBehavior

2010-06-10 Thread Decebal Suiu
Hello Ernesto, I resolved the problem. The AjaxSelfUpdatingTimerBehavior was added by me on the panel returned by the ITab.getPanel() method. I put the behavior on a child of the tab panel and it works. Do you have an explanation why I retrieve "PageExpiredException: No behavior listener found wi

Re: jQuery Accordion implementation

2010-06-10 Thread Istvan Jozsa
Go ahead, Istvan On Thu, Jun 10, 2010 at 2:12 PM, Martin Makundi < martin.maku...@koodaripalvelut.com> wrote: > "Just do it" ;) > > 2010/6/10 Stefan Lindner : > > I'm starting to implement jQuery's Accordion for jWicket now. Any > > suggestions/wishes? > > > > Stefan > > > >

Re: jWicket SortableList

2010-06-10 Thread Charles Deal
I just implemented Sortable in my project. I am using jWicket as the basis for my jQuery components. HOWEVER, I have a slightly divergent implementation of the behaviors. ( As I posted not too long ago). So, it is possible to use the JQuery Sortable impl. Unfortunately, I haven't had the time

Re: jQuery Accordion implementation

2010-06-10 Thread Martin Makundi
"Just do it" ;) 2010/6/10 Stefan Lindner : > I'm starting to implement jQuery's Accordion for jWicket now. Any > suggestions/wishes? > > Stefan > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional c

jQuery Accordion implementation

2010-06-10 Thread Stefan Lindner
I'm starting to implement jQuery's Accordion for jWicket now. Any suggestions/wishes? Stefan - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: DataTable with more than one per item

2010-06-10 Thread vladimir.kovalyuk
Igor, Having played with multi-line data tables I realized that there isn't an easy way to extend the basic DataTable. The multiline data table has a customizable layout where cell has collspans and possibly rowspans. It means that the configuration is not simple list of columns. It makes the imp

Re: Question on Links

2010-06-10 Thread nino martinez wael
Thanks great to hear :) 2010/6/10 Arjun Dhar > > FYI I got a lot of help from > > http://ninomartinez.wordpress.com/2008/09/09/apache-wicket-javascript-integration/ > nino martinez Blog > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Question-on-Links-tp2247045p

Re: How can override calendar formatting at initialization using DatePicker? getAdditionalJavascript not always working...

2010-06-10 Thread rawe
Yes, I solved it! When displaying the calendar the first time it's mandatory to call its clear method (Clears the selected dates in the current calendar widget and sets the calendar to the current month and year. ) My solution: @Override protected String getAdditionalJavascript() { if (a

Re: Renderer does not work when DatePicker is initially displayed

2010-06-10 Thread rawe
Here is the solution: Just use calendar's clear method: e.g. @Override protected String getAdditionalJavascript() { if (additionalJavascript == null) additionalJavascript = ""; additionalJavascript += "${calendar}.addWeekdayRenderer(1, ${calendar}.renderOutOfBoun

Re: DatePicker configuration isn't always working

2010-06-10 Thread rawe
Yes, I solved it! When displaying the calendar the first time it's mandatory to call its clear method (Clears the selected dates in the current calendar widget and sets the calendar to the current month and year. ) My solution: @Override protected String getAdditionalJavascript() { if (a

Re: Socket programming in Wicket app

2010-06-10 Thread Maarten Bosteels
If you're searching for a network application framework, have a look at http://mina.apache.org/ Maarten On Thu, Jun 10, 2010 at 9:55 AM, Ján Raska wrote: > Hello, > I have a webapp that acts as an accounting and billing application, > developed in Wicket. Now customer wants me to add a feature,

Socket programming in Wicket app

2010-06-10 Thread Ján Raska
Hello, I have a webapp that acts as an accounting and billing application, developed in Wicket. Now customer wants me to add a feature, that he can use it as a selling software in a store, so that when somebody buys something, amount will be subtracted from the main stock (webapp is enough for t

Re: [offtopic] Hsql as configuration database + packing your application with an installer?

2010-06-10 Thread Ernesto Reinaldo Barreiro
Nino, > I did look at the tanuka service wrapper, theres a couple of different > wrappers out there. But did'nt consider jetty, which is a better than > winstone since im used to working with jetty. Next thing to look at would be > java installers (might be a good topic for blog posts).. I have u

RE: jWicket SortableList

2010-06-10 Thread Stefan Lindner
jWicket (and jQuery too) does not know anything about other elements when you drop one element onto another. The droppable element itself must know ist's position within your list. So if you render your list, you must keep track of the relative position in your rendered elements. I don't know o

Re: [offtopic] Hsql as configuration database + packing your application with an installer?

2010-06-10 Thread nino martinez wael
Ok, nice with the input :) I did look at the tanuka service wrapper, theres a couple of different wrappers out there. But did'nt consider jetty, which is a better than winstone since im used to working with jetty. Next thing to look at would be java installers (might be a good topic for blog posts