RE: Update Component on TextField Entry

2011-11-18 Thread Wilhelmsen Tor Iver
use the TextField component and add OnChangeAjaxBehavior to it, then from inside onEvent() you can repaint the list. And remember to put a WebMarkupContainer around the repeater since repeaters cannot be addressed by Ajax (due to reused markup and resulting synthesized ids). - Tor Iver

Re: Apache Wicket is a Flawed Framework

2011-11-18 Thread Andrea Del Bene
On 17/11/11 16:44, Eric Kizaki wrote: Violates MVC: It smashes view and controller code into the same Java file. You have code that regulates page flow and code that changes css attributes in the same file. Even Spring MVC had better separation of concerns. JSP/Servlets with Spring MVC is

Modal Window respond 404 with Internet Explorer.

2011-11-18 Thread Masaya Seko
Hi. I'm using Wicket 1.5.3. Modal Window respond 404 with Internet Explorer. Stack trace is displayed on the console. This issue does not occur in chrome. What caused the issue? I prepared quickstart. http://d.hatena.ne.jp/sekom/files/wicket153Modal.zip?d=y the stack trace below. WARN -

Re: Modal Window respond 404 with Internet Explorer.

2011-11-18 Thread Martin Grigorov
Hi, Please create a ticket in Jira and attach the quickstart app there. Thanks! On Fri, Nov 18, 2011 at 11:07 AM, Masaya Seko m_s...@yahoo.co.jp wrote: Hi. I'm using Wicket 1.5.3. Modal Window respond 404 with Internet Explorer. Stack trace is displayed on the console. This issue does not

Re: wicket 302 redirect loop

2011-11-18 Thread thomas willomitzer
Good question. I guess I'll hassle the people at the tomcat users list. It's not a wicket issue as you pointed out. Using ONE_PASS_RENDER is fine as a workaround ... Thanks Willo On Thu, Nov 17, 2011 at 9:47 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: so what do we need to do to fix it on

RE: Wicket 1.5.2, stalls on one tomcat

2011-11-18 Thread Hielke Hoeve
We have this problem with an application connecting to MS SQL Server. It seems that the applications stalls upon connecting to the database. This issue has been reported: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7105007. We had to revert to jdk 1.6_u25 to make it work. Java 7 works as

Re: wicket 302 redirect loop

2011-11-18 Thread Martin Grigorov
On Fri, Nov 18, 2011 at 11:10 AM, thomas willomitzer wi...@test.at wrote: Good question. I guess I'll hassle the people at the tomcat users list. It's not a wicket issue as you pointed out. Using ONE_PASS_RENDER is fine as a workaround ... Another workaround is to use a filter path, i.e.

RE: Apache Wicket is a Flawed Framework

2011-11-18 Thread Chris Colman
Breaks POJOS: A real POJO does not need to implement an interface or extend a class. A object oriented framework is a foundation on which you extend your application. Back in the C++ world there was MFC, OWL, .Net, etc., In the Java world there was AWT and then Swing etc.,. All event driven,

Re: wicket 302 redirect loop

2011-11-18 Thread thomas willomitzer
Thanks Martin, Guess the tomcat people forgot to put that into 7.0.18 - I'm using 7.0.22 and still have the problem. On Fri, Nov 18, 2011 at 10:16 AM, Martin Grigorov mgrigo...@apache.orgwrote: On Fri, Nov 18, 2011 at 11:10 AM, thomas willomitzer wi...@test.at wrote: Good question. I guess

Re: Modal Window respond 404 with Internet Explorer.

2011-11-18 Thread Masaya Seko
Hi. I created WICKET-4241 ticket. I wait for fix. Thanks. --- On Fri, 2011/11/18, Martin Grigorov mgrigo...@apache.org wrote: Hi, Please create a ticket in Jira and attach the quickstart app there. Thanks! On Fri, Nov 18, 2011 at 11:07 AM, Masaya Seko m_s...@yahoo.co.jp wrote: Hi.

Re: Apache Wicket is a Flawed Framework

2011-11-18 Thread kamiseq
well, I have nothing against writing my own SQL with spring;] but it is true that before I read wicket in action I was like a child in fog :/ after JSP I started palying with tapestry and tapestry has a bit better introduction pages. it is not that there is not enough information around but

Re: AjaxLazyLoadPanel question

2011-11-18 Thread heapifyman
Great, it's working. Thanks for the quick response, Philip 2011/11/17 Igor Vaynberg igor.vaynb...@gmail.com you can replace the lazy load panel instance: //check other selections myLazyLoadPanel=myLazyLoadPanel.replaceWith(new MyLazyLoadPanel(myLazyLoadPanel.getId(), ..)

Re: Apache Wicket is a Flawed Framework

2011-11-18 Thread Jens Jahnke
Hi, On Fri, 18 Nov 2011 11:04:39 +0100 kamiseq kami...@gmail.com wrote: K but it is true that before I read wicket in action I was like a K child in fog :/ I totally agree with that. I'm just starting with wicket and without the book I think I would have dumped it because there is not much

Button with 3 images and issues

2011-11-18 Thread D0m3
Hello everybody, I am starting a wicket project for the first time, and I created a button made of 3 images with html css. Here is my html : I want this button to be disableable. In Java, I only declare 1 AjaxButton, which is linked to the button tag. When I use setEnabled(false), it only adds

Ajax busy indicator getting stuck

2011-11-18 Thread Nazaret Kazarian
Hi, I have added a global ajax indicator to all my pages by having all pages (through a TemplatePage superclass) implement the IAjaxIndicatorAware interface. Generally it works, but I have noticed that it is quite easy to get the ajax indicator stuck spinning indefinitely, by issuing many ajax

Re: Ajax busy indicator getting stuck

2011-11-18 Thread Ernesto Reinaldo Barreiro
I have also noticed that with 1.5.3... I normally block the page with div to prevent this but for links on a modal window it happens to me (because blocking div is behind modal). Regards, Ernesto On Fri, Nov 18, 2011 at 11:53 AM, Nazaret Kazarian nazaret.kazar...@gmail.com wrote: Hi, I have

Re: Ajax busy indicator getting stuck

2011-11-18 Thread Martin Grigorov
On Fri, Nov 18, 2011 at 12:59 PM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: I have also noticed that with 1.5.3... I normally block the page with div to prevent this but for links on a modal window it happens to me (because blocking div is behind modal). And you didn't experience

RE: Apache Wicket is a Flawed Framework

2011-11-18 Thread Hielke Hoeve
If you come here and try to start a flame about how bad Wicket is while you obviously have no clue how it works then atleast have the decency to write a propert post instead of a lame list of cons (and no pros) and a oneliner saying Spring MVC is the only other option... Hielke -Original

Re: Ajax busy indicator getting stuck

2011-11-18 Thread Ernesto Reinaldo Barreiro
Martin, Before switching to 1.5.3 I was working with 1.5.x trunk and I think it was the same there... but I can´t say that assertion is 100% true. As said in my case this happens to me on a modal window because my indicator panel blocks the UI and that blocking div is behind the modal. It should

Re: Ajax busy indicator getting stuck

2011-11-18 Thread Nazaret Kazarian
I'm sorry I forgot to mention that I am using version 1.4.19 With a little reverse engineering I noticed that maybe one of the cases this happens is this: an ajax button is pressed, showIncrementally is executed, but the actual ajax request is postponed because its channel is busy. When the time

Re: Ajax busy indicator getting stuck

2011-11-18 Thread Nazaret Kazarian
Martin, WICKET-4071 is not involved as I am not using AjaxIndicatorAppender in any way. 2011/11/18 Nazaret Kazarian nazaret.kazar...@gmail.com: I'm sorry I forgot to mention that I am using version 1.4.19 With a little reverse engineering I noticed that maybe one of the cases this

Re: Apache Wicket is a Flawed Framework

2011-11-18 Thread Gaetan Zoritchak
I started with the book wicket in action so it was ok. Before choosing a technology I look at the number of existing books and I buy the best one. But I'm not sure that every body does like me. My main problem is the wiki. The pages are often very old explaining things that do not apply with the

Re: Apache Wicket is a Flawed Framework

2011-11-18 Thread Josh Kamau
Gaetan; I also like starting from a book. Then read the (scattered) docs and wiki when am looking for a solution to specific issues. Some projects have an official user guide that is downloadable as pdf or read online as html. I know documentation is one of the the most boring tasks for

Re: Apache Wicket is a Flawed Framework

2011-11-18 Thread Martijn Dashorst
On Thu, Nov 17, 2011 at 4:44 PM, Eric Kizaki erickiz...@gmail.com wrote: Thanks for taking the time to vent your frustrations. I don't see any reason to start to ridicule you, or to think you are an incapable developer just because you don't like Wicket and have taken the time to get it off your

Re: Apache Wicket is a Flawed Framework

2011-11-18 Thread heikki
I have tried out the Wicket framework and many things I really like about it. Some observations: - Wicket changes drastically between versions, and even between minor versions / release candidates, things suddenly disappear from the API, sometimes without having been flagged as deprecated ; -

Re: Apache Wicket is a Flawed Framework

2011-11-18 Thread Josh Kamau
- did not yet try out Ajax with Wicket, so I have no opinion on that In my opinion, ajax is the killer feature. Give it a try. Josh. On Fri, Nov 18, 2011 at 3:07 PM, heikki tropic...@gmail.com wrote: I have tried out the Wicket framework and many things I really like about it. Some

Re: Ajax busy indicator getting stuck

2011-11-18 Thread coincoinfou
Same problem with IndicatingAjaxLink when I switch to AjaxChannel.Type.DROP -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Ajax-busy-indicator-getting-stuck-tp4082837p4083026.html Sent from the Users forum mailing list archive at Nabble.com.

RE: InMethod grid, Hidden Field in column does not get updated

2011-11-18 Thread Warren Bell
Any takers, this one has me stumped. Is there anything special with how a HiddenField gets updated after an Ajax call. The HiddenField is in the same panel as a TextField. The TextField gets updated but the HiddenField does not. I have checked and the values have changed on the model object for

Re: Apache Wicket is a Flawed Framework

2011-11-18 Thread Chantal Ackermann
Hi all! Thanks for this list, Rob! Not that there would be any more to say except: * I've never seen so informative and extremely helpfull Exception/Error messages in any framework or tool so far. Thank you! * Concerning the ugly URLs: well, I don't think that the real users out there bother so

Re: Apache Wicket is a Flawed Framework

2011-11-18 Thread Daniel Neugebauer
I was searching for a Java framework two years ago because I wanted server-side persistence and a statically typed language with the option for easy AJAX and debugging while the output markup is largely maintained the way I wrote the templates. I think I found Wicket via DZone due to the 1.4

RE: EOFException(java.net.SocketException: Connection reset by peer: socket write error)

2011-11-18 Thread yadav1776
Hi Iver/Martin I also tried this.getRequestCycle().getOriginalResponse().setContentType(image/jpg); getResponse().setContentType(image/jpeg); but still getting same exception.. Please let me know how can I set content type (mime type ) of response so that content type of response and image

Re: EOFException(java.net.SocketException: Connection reset by peer: socket write error)

2011-11-18 Thread yadav1776
Hi I am facing this problem in IE9 also.. Thanks Shail -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/EOFException-java-net-SocketException-Connection-reset-by-peer-socket-write-error-tp4043286p4083475.html Sent from the Users forum mailing list archive at

Re: Apache Wicket is a Flawed Framework

2011-11-18 Thread Eric Kizaki
I was not expecting so much hate. I guess now I am infamous in the Java world now. Look, it is just my opinion. Not many people actually stopped to address many of my points. They just immediately bashed me. I am sticking with Wicket because it is required for work. I am able to do stuff in

Re: EOFException(java.net.SocketException: Connection reset by peer: socket write error)

2011-11-18 Thread yadav1776
Hi Martin I also tried this.getRequestCycle().getOriginalResponse().setContentType(image/jpg); getResponse().setContentType(image/jpeg); but still getting same exception.. Please let me know how can I set content type (mime type ) of response so that content type of response and image

Re: AjaxLazyLoadPanel question

2011-11-18 Thread heapifyman
Hello again, I have a follow-up question. Can I somehow update other components once the AjaxLazyLoadPanel's getLazyLoadComponent() method has completed? I thought I could use the new wicket 1.5 event mechanism for that but if I understood correctly I would have to send the AjaxRequestTarget in

Re: Apache Wicket is a Flawed Framework

2011-11-18 Thread Adam Gray
That's actually interesting you feel that way because I was just making the comment that I was surprised at how little hate was being displayed. Sure there are a couple here and there, but par for the internet is far, far lower (higher? maybe a golf analogy was a bad idea) than what we're seeing

Re: Apache Wicket is a Flawed Framework

2011-11-18 Thread hfriederichs
heikki wrote: - and in my opinion the stuff you need to do to achieve normal URLs (no ?, no version number, no nothing) is just a pain. *Every* URL, for stateless or stateless pages or whatever, should be normal, otherwise it is just not acceptable -- users never want to see those

Re: Apache Wicket is a Flawed Framework

2011-11-18 Thread Gaetan Zoritchak
The Play Framework has the right idea: stateless and restful. No clunky components and over-engineered objected-oriented baggage. Play has some advantages but also shortcomings and presents significant risks. The transition from version 1 to version 2 will require re-writing the code. No

Problem with check / uncheck all using CheckGroupSelector

2011-11-18 Thread massizigao
Hello, i am implementing a dataview table with a checkbox column. At the top of the column i place a checkbox to select/unselect all rows. But It is not working as i want. Using the class Check: checking and unchecking all rows works, but the collection to hold the selected rows is not getting

Re: AjaxLazyLoadPanel question

2011-11-18 Thread heapifyman
Hm, looks like AjaxRequestTarget.get() is what I was looking for? 2011/11/18 heapifyman heapify...@gmail.com Hello again, I have a follow-up question. Can I somehow update other components once the AjaxLazyLoadPanel's getLazyLoadComponent() method has completed? I thought I could use the

Re: AjaxLazyLoadPanel question

2011-11-18 Thread Igor Vaynberg
yes -igor On Fri, Nov 18, 2011 at 8:25 AM, heapifyman heapify...@gmail.com wrote: Hm, looks like AjaxRequestTarget.get() is what I was looking for? 2011/11/18 heapifyman heapify...@gmail.com Hello again, I have a follow-up question. Can I somehow update other components once the

Re: Button with 3 images and issues

2011-11-18 Thread Igor Vaynberg
your html got eaten... -igor On Fri, Nov 18, 2011 at 2:52 AM, D0m3 florian.bern...@orange.com wrote: Hello everybody, I am starting a wicket project for the first time, and I created a button made of 3 images with html css. Here is my html : I want this button to be disableable. In Java, I

Re: Problem with check / uncheck all using CheckGroupSelector

2011-11-18 Thread Carl-Eric Menzel
On Fri, 18 Nov 2011 07:31:48 -0800 (PST) massizigao fha...@online.de wrote: Hello, i am implementing a dataview table with a checkbox column. At the top of the column i place a checkbox to select/unselect all rows. But It is not working as i want. Using the class Check: checking and

RE: ValidationForm.addPropertyValidators sometimes looks for child properties in parent's model

2011-11-18 Thread Jablow, Eric R
Dear Igor, (me) I get a call with expression being child, and target being the local test object.  Were expression parent.child, this would succeed, as it would call getParent().getChild(). However, I'm not sure whether this is my bug or the wicket-validation-bean library's. (Igor)this is

LoadableDetachableModel getObject not final

2011-11-18 Thread Tito
Hi, I'm wondering if it is ok not to do 'final' this method. Correct me if I'm wrong but I think it is not normal to Override this method because we always have to Override load(). It's just a question to know what do you think. Thanks! Norberto

Re: Chained dropdowns

2011-11-18 Thread anant . asty
Can you please past the code snippet here or at pastebin please? --Original Message-- From: Tito To: users@wicket.apache.org ReplyTo: users@wicket.apache.org Subject: Chained dropdowns Sent: Nov 18, 2011 11:36 AM Hi, I'm trying to connect three drowpdowns. For example. combo1: Country

Re: Apache Wicket is a Flawed Framework

2011-11-18 Thread Igor Vaynberg
i will address some points that i dont think have been addressed yet... On Thu, Nov 17, 2011 at 7:44 AM, Eric Kizaki erickiz...@gmail.com wrote: Violates Dry:  You must repeat the component hierarchy of your widgets that are in HTML in Java Code for no good reason.  If you move your widget

Metagen configuration issue

2011-11-18 Thread Jablow, Eric R
I've cut and pasted the Metagen configuration listed in https://github.com/42Lines/metagen into my project pom, and these declarations are generating the metamodels twice: in target/generated-sources/annotations, and in target/metamodel. What must I do to cut out one of the metamodel

RE: Apache Wicket is a Flawed Framework

2011-11-18 Thread Brown, Berlin [GCG-PFS]
Wicket is a different approach from the JSP(Spring MVC/Struts) model but is certainly an improvement over the basic Servlets and JSPs oriented MVC. One of the benefits is that you compile your wicket components to mostly pure Java and you have a good idea how your page will behave. Yes, Wicket

Re: ValidationForm.addPropertyValidators sometimes looks for child properties in parent's model

2011-11-18 Thread Igor Vaynberg
On Fri, Nov 18, 2011 at 9:32 AM, Jablow, Eric R eric.jab...@mantech.com wrote: Dear Igor, (me) I get a call with expression being child, and target being the local test object.  Were expression parent.child, this would succeed, as it would call getParent().getChild(). However, I'm not sure

Re: Metagen configuration issue

2011-11-18 Thread Igor Vaynberg
try removing the configuration block of the maven-processor-plugin and change the source location of the helper plugin to generated-sources/annotations -igor On Fri, Nov 18, 2011 at 10:57 AM, Jablow, Eric R eric.jab...@mantech.com wrote: I've cut and pasted the Metagen configuration listed in

Re: LoadableDetachableModel getObject not final

2011-11-18 Thread Igor Vaynberg
getObject() is what defines the contract of load(). if we make it overridable the user can then break the load() function - for example by not calling it from the override. why would you want to override getobject()? -igor On Fri, Nov 18, 2011 at 10:39 AM, Tito njyt...@gmail.com wrote: Hi,

RE: Metagen configuration issue

2011-11-18 Thread Jablow, Eric R
From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] Sent: Friday, November 18, 2011 2:21 PM To: users@wicket.apache.org Subject: Re: Metagen configuration issue try removing the configuration block of the maven-processor-plugin and change the source location of the helper plugin to

Re: Metagen configuration issue

2011-11-18 Thread Igor Vaynberg
very strange. we are using the configuration on the github page and its working great here. try using the original configuration and add version2.0.5/version to the maven processor plugin, maybe you are just using an old one. also add this into your pom so you can get to 2.0.5 pluginRepository

RE: Metagen configuration issue

2011-11-18 Thread Jablow, Eric R
-Original Message- From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] Sent: Friday, November 18, 2011 2:43 PM To: users@wicket.apache.org Subject: Re: Metagen configuration issue very strange. we are using the configuration on the github page and its working great here. try using

Re: Metagen configuration issue

2011-11-18 Thread Igor Vaynberg
sweet, thanks. i will add it to the readme -igor On Fri, Nov 18, 2011 at 12:23 PM, Jablow, Eric R eric.jab...@mantech.com wrote: -Original Message- From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] Sent: Friday, November 18, 2011 2:43 PM To: users@wicket.apache.org

RE: Metagen configuration issue

2011-11-18 Thread Jablow, Eric R
-Original Message- From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] Sent: Friday, November 18, 2011 4:04 PM To: users@wicket.apache.org Subject: Re: Metagen configuration issue sweet, thanks. i will add it to the readme -igor plugin        

Re: Metagen configuration issue

2011-11-18 Thread Igor Vaynberg
yes, thats what it did :) -igor On Fri, Nov 18, 2011 at 1:09 PM, Jablow, Eric R eric.jab...@mantech.com wrote: -Original Message- From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] Sent: Friday, November 18, 2011 4:04 PM To: users@wicket.apache.org Subject: Re: Metagen

Re: Ajax busy indicator getting stuck

2011-11-18 Thread Nazaret Kazarian
That sounds reasonable. According to the scenario I described above, the indicator will always get stuck if you use channel type Drop and issue an ajax request on a busy channel. 2011/11/18 coincoinfou olivierandr...@gmail.com: Same problem with IndicatingAjaxLink when I switch to

Re: Ajax busy indicator getting stuck

2011-11-18 Thread Igor Vaynberg
quickstart, jira? -igor On Fri, Nov 18, 2011 at 1:20 PM, Nazaret Kazarian nazaret.kazar...@gmail.com wrote: That sounds reasonable. According to the scenario I described above, the indicator will always get stuck if you use channel type Drop and issue an ajax request on a busy channel.

Re: Ajax busy indicator getting stuck

2011-11-18 Thread Nazaret Kazarian
Yep, I will create a quickstart and create a jira. If it turns out to be a bug, until it gets solved, I am thinking of showing / hiding the busy indicator using js pre/post call handlers. And maybe also use the following code as a condition in post call handler to hide the indicator:

Wicket Gradle build

2011-11-18 Thread Bertrand Guay-Paquet
Hi, Are the Wicket Gradle build files maintained and in sync with the poms? Is the eclipse integration with Gradle working well? I'd like to give Gradle a try but only if I can build Wicket with it too. I searched the dev and user lists and couldn't find a definitive answer. Regards,

Re: Wicket Gradle build

2011-11-18 Thread Igor Vaynberg
no, they are not. its something we tried but in the end decided not to use...i will add a comment to the gradle file... -igor On Fri, Nov 18, 2011 at 1:47 PM, Bertrand Guay-Paquet ber...@step.polymtl.ca wrote: Hi, Are the Wicket Gradle build files maintained and in sync with the poms? Is the

Re: Wicket Gradle build

2011-11-18 Thread Bertrand Guay-Paquet
Thanks for the info! I guess I'll keep enjoying Maven some more :) On 18/11/2011 4:48 PM, Igor Vaynberg wrote: no, they are not. its something we tried but in the end decided not to use...i will add a comment to the gradle file... -igor On Fri, Nov 18, 2011 at 1:47 PM, Bertrand Guay-Paquet

Re: Apache Wicket is a Flawed Framework

2011-11-18 Thread Alex Objelean
First of all, sorry for my previous comment. It was wrong judging you instead discussing the points addressed in your post. Nevertheless, nobody hates you for your opinion :). This kind of posts appears from time to time and there is nothing wrong with them as long as these address valid issues

Re: AjaxEditableLabel inside of AjaxEditableLabel

2011-11-18 Thread Alec Swan
I am not sure how to stop propagating the event. Could you please provide any pointers? Here is the relevant code: final String keypress = var kc=wicketKeyCode(event); if (kc==27) + cancelCall + else if (kc!=13) { return true; } else + saveCall;

Re: Apache Wicket is a Flawed Framework

2011-11-18 Thread Jonathan Locke
Needless to say, I don't particularly agree with most of the criticisms listed. And for the right job, Java isn't half as bad as you seem to think. I'd say the trouble is Java vs. the JDK (and other libraries). While Java itself is still reasonably cool, there is a lot of real crap out there.

Re: Wicket Gradle build

2011-11-18 Thread robert.mcguinness
just for giggles, i enjoy Wicket + Gradle and maintain both here, slightly modified to fit my needs. you can get the gradle build files as examples for 1.5. https://github.com/robmcguinness/wicket https://github.com/robmcguinness/wicket -- View this message in context:

Re: Chained dropdowns

2011-11-18 Thread Jeremy Thomerson
show the code On Fri, Nov 18, 2011 at 1:36 PM, Tito njyt...@gmail.com wrote: Hi, I'm trying to connect three drowpdowns. For example. combo1: Country combo2: Province combo3: City I'm updating dropdowns by Ajax with AjaxFormComponentUpdatingBehavior(onChange) and it works ok. But if

Re: Ajax busy indicator getting stuck

2011-11-18 Thread Igor Vaynberg
that might work. -igor On Fri, Nov 18, 2011 at 1:45 PM, Nazaret Kazarian nazaret.kazar...@gmail.com wrote: Yep, I will create a quickstart and create a jira. If it turns out to be a bug, until it gets solved, I am thinking of showing / hiding the busy indicator using js pre/post call