Re: Changing form validation depending on submit button.

2009-04-13 Thread Ian MacLarty
On Fri, Apr 10, 2009 at 11:09 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote: there is form#onvalidate() You mean form#validate() I think. Thanks for the pointer. Ian. - To unsubscribe, e-mail:

Re: serialVersionUID

2009-04-13 Thread James Carman
On Sun, Apr 12, 2009 at 1:46 PM, Ben Tilford bentilf...@gmail.com wrote: I've always seen it done as public. Anyways I checked the javadoc and the access modifier does not matter. IntelliJ IDEA generates them as private. - To

Re: JOptionpane dialog windows

2009-04-13 Thread Vladimir Zavada
Yes, I was talking about javax.swing.JOptionPane. Could you explain it to more detail, why I can not use javax.swing.JOptionPane in my wicket app? I am using it right now and it works fine. Is it because, it depends of JRE of end user or is it something else? Vlado Martin Voigt wrote /

Multiple Versions of HTML for a page/component

2009-04-13 Thread Subramanian Murali
Hi, I understand from the link http://cwiki.apache.org/WICKET/mobile-devices.html that we can have multiple versions of html for a page / component like below: person.html person_mobile.html Where / How do i implement which version of html should be chosen based on some condition? Moreover, if

Re: JOptionpane dialog windows

2009-04-13 Thread Vladimir Zavada
I tested it on two computers and it really does not work. I have a delete button with confirmation dialog javax.swing.JOptionPane.showConfirmDialog. So I started my application on laptop no1 where Glassfish v3 server is running and then I started it on laptop no2 where I clicked on the delete

Re: JOptionpane dialog windows

2009-04-13 Thread Martin Makundi
to my surprise the confirmation dialog did not show on laptop no2 Really? Surprise? If it did work, why on earth would you be developing HTML applications. You could just send swing apps via browsers... ... maybe in the future. Or via a remote desktop. ** Martin

Page Redirect Question

2009-04-13 Thread Carlo Camerino
Hi I have This Page, This page is handled by my link public UploadFeedBackPageMain() { User user = this.getSessionUser(); if (user.getCommunityType().equalsIgnoreCase(COURIER)) { logger.debug(Directing to upload feedback file.); Courier courier =

Lazy loading via AJAX on stateless pages?

2009-04-13 Thread martin . grotzke
Hi, I'm currently evaluating how it's possible to have stateless pages with some information loaded asynchronously via AJAX. I found these postings that are somehow related to this http://www.nabble.com/Stateless-AJAX-links-td20031309.html

Re: GWT vs. Wicket?

2009-04-13 Thread HHB
Currently, I'm rewriting our GWT-based application and I picked Wicket. GWT is delicious but only on papers. GWT cons: 1. lack of roles separation, building the GUI in the code doesn't work for me. 2. Hibernate integration is a nightmare. 3. Unit testing isn't that agile thing. I like GWT but I

wicketstuff-core:jquery accordion broken?

2009-04-13 Thread Uwe Schäfer
hi currently the accordion in jquery-examples does not work in FF nor IE. jQuery.filter(expr, [i]).r is undefined http://localhost:8080/resources/org.wicketstuff.jquery.accordion.JQAccordion/jquery.accordion.pack.js Line: 1 is this known, or should i try diggin in? about jquery anyway: i

Re: Multiple Versions of HTML for a page/component

2009-04-13 Thread Martin Grigorov
El lun, 13-04-2009 a las 03:37 -0500, Subramanian Murali escribió: Hi, I understand from the link http://cwiki.apache.org/WICKET/mobile-devices.html that we can have multiple versions of html for a page / component like below: person.html person_mobile.html Where / How do i implement

Re: serialVersionUID

2009-04-13 Thread Eduardo Nunes
serialVersionUID is very important, especially if you deal with serialized data saved to disk, db, javaspace or somewhere else. For example, if you use JavaSpaces, you put objects there and you can disconnect, update your application version, run it again, and your objects will be there. If you

Re: serialVersionUID

2009-04-13 Thread Johan Compagner
Or if you use a cluster that somehow (would be bad practice i know) had different kinds of jvm's on them Because the generated uid is depended on the jvm Also the generated takes to much stuff of the class when it generates, An inner class would already trigger again a different uid. and i my

Re: Changing form validation depending on submit button.

2009-04-13 Thread Igor Vaynberg
form#validate is final. -igor On Mon, Apr 13, 2009 at 12:38 AM, Ian MacLarty ian.macla...@gmail.com wrote: On Fri, Apr 10, 2009 at 11:09 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote: there is form#onvalidate() You mean form#validate() I think.  Thanks for the pointer. Ian.

Re: Page Redirect Question

2009-04-13 Thread Igor Vaynberg
setresponsepage(foo);throw new restartresponseexception(); -igor On Mon, Apr 13, 2009 at 3:13 AM, Carlo Camerino cmcamer...@gmail.com wrote: Hi I have This Page, This page is handled by my link public UploadFeedBackPageMain() { User user = this.getSessionUser(); if

Re: HTTP pseudo streaming for Wicket

2009-04-13 Thread Jeremy Thomerson
I think lighttpd does this - although I've never personally used it. I just remember it form some research I was doing on a similar subject. http://blog.lighttpd.net/articles/2006/03/09/flv-streaming-with-lighttpd -- Jeremy Thomerson http://www.wickettraining.com On Sat, Apr 11, 2009 at 5:10

Re: JOptionpane dialog windows

2009-04-13 Thread Jeremy Thomerson
Because swing is a desktop programming framework. It is not used in web applications. It is not used in Wicket applications. It only knows how to open windows using the computer's windowing system - the computer that it is on. It does not know how to generate HTML or know anything about HTTP.

Re: iLearn Wicket - Please reply with your feedback

2009-04-13 Thread Jeremy Thomerson
I'm not so sure that a 404 page will be very informative :) -- Jeremy Thomerson http://www.wickettraining.com On Sat, Apr 11, 2009 at 10:58 AM, Null kühl null.k...@gmail.com wrote: Dear All, I have been comparing between many component based frameworks around that follows the MVC

ResourceReferences not working as expected

2009-04-13 Thread Ryan LaHue
I'm having trouble getting ResourceReferences to work for some reason, and was hoping somebody could give me some pointers. I'm using wicket 1.4. As a simple test I added a new page and put a test.png image in the same directory in my project. My structure is like so: project |--src |mypkg

Re: iLearn Wicket - Please reply with your feedback

2009-04-13 Thread Null kühl
well , please try again, cause the link is still valid and working .. On Mon, Apr 13, 2009 at 6:25 PM, Jeremy Thomerson jer...@wickettraining.com wrote: I'm not so sure that a 404 page will be very informative :) -- Jeremy Thomerson http://www.wickettraining.com On Sat, Apr 11, 2009

RE: iLearn Wicket - Please reply with your feedback

2009-04-13 Thread Chenini, Mohamed
Hi, I think that Wicket Users tend to use more Jetty than Tomcat as the application server. Regards, Mohamed -Original Message- From: Jeremy Thomerson [mailto:jer...@wickettraining.com] Sent: Monday, April 13, 2009 12:25 PM To: users@wicket.apache.org Subject: Re: iLearn Wicket -

Re: iLearn Wicket - Please reply with your feedback

2009-04-13 Thread James Carman
On Mon, Apr 13, 2009 at 12:47 PM, Chenini, Mohamed mchen...@geico.com wrote: Hi, I think that Wicket Users tend to use more Jetty than Tomcat as the application server. I don't know that that is true. We definitely use jetty for development/debugging. But, I don't know that the production

Re: ResourceReferences not working as expected

2009-04-13 Thread Jeremy Thomerson
Have you tried using it in an img tag rather than println? I.e.: add(new Image(img, ref)); img wicket:id=img / -- Jeremy Thomerson http://www.wickettraining.com On Mon, Apr 13, 2009 at 11:38 AM, Ryan LaHue ryanlahue...@gmail.com wrote: I'm having trouble getting ResourceReferences to work

Re: iLearn Wicket - Please reply with your feedback

2009-04-13 Thread francesco dicarlo
We use JBoss XD 2009/4/13 James Carman jcar...@carmanconsulting.com: On Mon, Apr 13, 2009 at 12:47 PM, Chenini, Mohamed mchen...@geico.com wrote: Hi, I think that Wicket Users tend to use more Jetty than Tomcat as the application server. I don't know that that is true.  We definitely use

Re: iLearn Wicket - Please reply with your feedback

2009-04-13 Thread Ryan Gravener
I use jetty everywhere. Ryan Gravener http://ryangravener.com/flex | http://twitter.com/ryangravener On Mon, Apr 13, 2009 at 12:49 PM, James Carman jcar...@carmanconsulting.com wrote: On Mon, Apr 13, 2009 at 12:47 PM, Chenini, Mohamed mchen...@geico.com wrote: Hi, I think that Wicket

Re: iLearn Wicket - Please reply with your feedback

2009-04-13 Thread Martin Makundi
Jetty rulez ... ** http://www.tuntinetti.fi 2009/4/13 Ryan Gravener r...@ryangravener.com: I use jetty everywhere. Ryan Gravener http://ryangravener.com/flex | http://twitter.com/ryangravener On Mon, Apr 13, 2009 at 12:49 PM, James Carman jcar...@carmanconsulting.com wrote: On Mon, Apr

Re: iLearn Wicket - Please reply with your feedback

2009-04-13 Thread Bjoern Tietjens
I use tomcat everywhere... Bjoern Am 13.04.2009 um 18:59 schrieb Ryan Gravener r...@ryangravener.com: I use jetty everywhere. Ryan Gravener http://ryangravener.com/flex | http://twitter.com/ryangravener On Mon, Apr 13, 2009 at 12:49 PM, James Carman jcar...@carmanconsulting.com wrote:

Re: iLearn Wicket - Please reply with your feedback

2009-04-13 Thread Null kühl
well i can add a small part for jetty, i just wanted ur feedback on the videos it self , read the head of my post :) but thx for the note anyway On Mon, Apr 13, 2009 at 7:22 PM, Bjoern Tietjens bjor...@web.de wrote: I use tomcat everywhere... Bjoern Am 13.04.2009 um 18:59 schrieb Ryan

Re: ResourceReferences not working as expected

2009-04-13 Thread Igor Vaynberg
make sure whatever ide/tools you use copies non java resources into the compiled classpath. -igor On Mon, Apr 13, 2009 at 9:38 AM, Ryan LaHue ryanlahue...@gmail.com wrote: I'm having trouble getting ResourceReferences to work for some reason, and was hoping somebody could give me some

Re: HTTP pseudo streaming for Wicket

2009-04-13 Thread Matej Knopp
If you want to support http streaming you need to implements servlet/filter that supports Content-Range and Accept-Range headers. You can take a look at http://code.google.com/p/brix-cms/source/browse/trunk/brix-core/src/main/java/brix/plugin/site/resource/Streamer.java to get the idea. -Matej

Re: ResourceReferences not working as expected

2009-04-13 Thread mallet
Thanks for the responses. Jeremy: That's really strange... when I put the ResourceReference inside the image constructor it did work for the png image. I still not having any luck getting my javascript and .swf files to load, but I will continue trying. Igor: I made sure the IDE is copying all

Re: iLearn Wicket - Please reply with your feedback

2009-04-13 Thread Eduardo Nunes
it worked for me On Mon, Apr 13, 2009 at 1:25 PM, Jeremy Thomerson jer...@wickettraining.com wrote: I'm not so sure that a 404 page will be very informative :) -- Jeremy Thomerson http://www.wickettraining.com On Sat, Apr 11, 2009 at 10:58 AM, Null kühl null.k...@gmail.com wrote: Dear

Re: iLearn Wicket - Please reply with your feedback

2009-04-13 Thread Eduardo Nunes
someone in another post said that google uses jetty for the google apps java. I don't know the integration of jetty and Eclipse, in Netbeans I use jetty as an embedded server, it works perfect. I can edit my html, source code and just hit F5 to see the results. about the videos, good music ehehe

Re: ResourceReferences not working as expected

2009-04-13 Thread mallet
Igor, you were right after all. There was an IDE exclusion on of my script's dependent files so it was not being copied over, causing my script to crash and appear not to be working. I thought I had verified they were all making it over but I missed one. Sincerest apologies for taking up your

wicketsuff commit access

2009-04-13 Thread Maarten Bosteels
Hello, I have some small fixes for ki-security under wicketstuff-core. Could someone grant me commit access ? My sourceforge account is maartenbosteels. Thanks, Maarten - To unsubscribe, e-mail:

CheckBoxMultipleChoice Question

2009-04-13 Thread Jeff Palmer
I'm trying to use a CheckBoxMultipleChoice component to render all roles that a user currently has and also to allow user roles to be added / deleted. For some reason, the roles that a user has are being rendered on the page correctly, but none of the checkboxes are getting displayed on the

wicketstuff-core:jquery accordion broken

2009-04-13 Thread uwe schaefer
hi currently the accordion in jquery-examples does not work in FF or IE. jQuery.filter(expr, [i]).r is undefined http://localhost:8080/resources/org.wicketstuff.jquery.accordion.JQAccordion/jquery.accordion.pack.js Line: 1 is this known, or should i try diggin in? about jquery anyway: i

Component Model question

2009-04-13 Thread Craig Tataryn
I have a component I'm designing where it displays a list of items to the user, so the setup for the component on the page might look like this: add(new MultiTextInputCollectionString(tags, new ArrayListString() { { add(apple);

Informal Wicket get together in London

2009-04-13 Thread Cemal A Bayramoglu
Due to popular demand, especially from our London Wicket Event guests, we're arranging an informal get together/drink in London. This will probably be on Monday 20th April, either close to our office (NW6), in W2 or the West End. Drop me a line [1] if you'd like to come. Regards - Cemal

How to cancel an AjaxRequest

2009-04-13 Thread Frank Klein Koerkamp
Hi all, i have an Ajax call and when an exception occurs, i want to display the exception in an ModalWindow. But i also want to be able to delete everything(component, javascript) that is added or will be added to the AjaxRequestTarget. So only modalwindow popup but state on page stays the same.

Re: CheckBoxMultipleChoice Question

2009-04-13 Thread Matthew Hanlon
Check and make sure that the model for the CheckBoxMultipleChoice is getting set properly and the model is loading the data. I do a similar thing, but with CheckGroup and Check: FormUser form = new FormUser(user-form, new CompoundPropertyModelUser(userModel)); add(form); form.add(new

Re: wicket:link behavior changed in 1.4r2

2009-04-13 Thread Mike Comb
Does anyone have any hints on this other than digging into the source? I found a couple of references to the same sort of request in the email archives but no answers. On Apr 9, 2009, at 5:42 PM, Mike Comb wrote: Hi, I'm trying to upgrade several sites from 1.4m3 to 1.4r2 and have hit

Re: wicket:link behavior changed in 1.4r2

2009-04-13 Thread Jeremy Thomerson
I haven't had a chance to look back, but you could search JIRA for an issue that I fixed that had to do with AutoLinkResolver. It would have been about in that time frame, and some things were being left our of AutoLinkResolver (like embed, etc). I can't remember if I modified img tags or not.

Re: wicketsuff commit access

2009-04-13 Thread Igor Vaynberg
done -igor On Mon, Apr 13, 2009 at 1:47 PM, Maarten Bosteels mbosteels@gmail.com wrote: Hello, I have some small fixes for ki-security under wicketstuff-core. Could someone grant me commit access ? My sourceforge account is maartenbosteels. Thanks, Maarten

Re: Re: wicketsuff commit access

2009-04-13 Thread nick
Thank you for your mail. I am presently on vacation and will return April 14th. If you need urgent assistance, please email supp...@bookingbooster.com. You can also reach our Support via Skype callto://premiersupport Thank you Best regards, Nick Wheeler Booking Booster.com t: +44 (0)1273

Re: Re: wicketsuff commit access

2009-04-13 Thread Igor Vaynberg
no, thank you nick! -igor On Mon, Apr 13, 2009 at 5:42 PM, n...@bookingbooster.com wrote: Thank you for your mail. I am presently on vacation and will return April 14th. If you need urgent assistance, please email supp...@bookingbooster.com. You can also reach our Support via Skype