Re: AjaxSubmitLink not working

2017-02-15 Thread Richard W. Adams
This may not be the issue, but it's good practice to always include an onError method in the anonymous class. Once you add that, put a break point there & see what turns up. From: Entropy To: users@wicket.apache.org Date: 02/15/2017 11:55 AM Subject:AjaxSubmitLink not working

Re: New window blocked by popup blocker

2016-10-26 Thread Richard W. Adams
If you control the popup blocker, just disable it. If you DON'T control the popup blocker, you need to (1) Train users to allow popups for your app or (2) re-design the app to not use use popups. _ “Measuring software productivity by lines of code is like

Re: Jsession Test Question

2015-12-10 Thread Richard W. Adams
The short answer is no. The session ID is not part of the URL. The long answer is, you can test for the session ID if you have access to the HTTP request object. From: Lois GreeneHernandez To: "users@wicket.apache.org" Date: 12/10/2015 01:50 PM Subject:Jsession Test Question

Re: Wicket+Spring 4 integration

2015-09-24 Thread Richard W. Adams
FYI, we use Spring 4.0.5 with Wicket 1.7.5 & have not encountered any issues. Your mileage may vary. From: Sandor Feher To: users@wicket.apache.org Date: 09/24/2015 01:37 PM Subject:Re: Wicket+Spring 4 integration This email originated from outside of the company. Please u

Re: How do I get the current page?

2014-12-30 Thread Richard W. Adams
Not inclined to click on untrusted links, for security reasons. When you say "get the current page", where do you want to get it FROM? If you're in the page code itself, it's just "this." If you want it from somewhere else, describe what you're trying to achieve. From: K To: users@wic

Re: Can't Get IAuthorizationStrategy Working

2014-12-09 Thread Richard W. Adams
nt#canCallListenerInterface(Method) can make the link enabled even if any of its parents is disabled. Good luck! Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Mon, Dec 8, 2014 at 10:16 PM, Richard W. Adams wrote: > We have a use case which requires an

Can't Get IAuthorizationStrategy Working

2014-12-08 Thread Richard W. Adams
We have a use case which requires an enabled link inside a disabled form. The form being disabled is based on user's security role, but the link being enabled depends on the results returned from a separate database query. Thus, we might have a disabled form, but an enabled link, or vice versa.

Re: DiskDataStore errors in production

2014-05-16 Thread Richard W. Adams
Hard to know without seeing code, but the message seems to indicate app is failing to close files after it's finished with them. In other words, an operating system problem, rather than Tomcat or Wicket. From: eaglei22 To: users@wicket.apache.org Date: 05/15/2014 02:02 AM Subject:

Re: AjaxSelfUpdatingTimerBehavior.onPostProcessTarget() Never Called

2014-05-15 Thread Richard W. Adams
r Called By overriding #onRender() you're preventing the component tag to be written into the response. Since wicket-ajax cannot find the markuo id in the DOM, it will not perform the Ajax request. Sven On 05/06/2014 08:28 PM, Richard W. Adams wrote: > The o

Re: AjaxSelfUpdatingTimerBehavior.onPostProcessTarget() Never Called

2014-05-15 Thread Richard W. Adams
08:28 PM, Richard W. Adams wrote: > The onPostProcessTarget() method of my AjaxSelfUpdatingTimerBehavior is > not being called for some reason. Here's the code. I can see the start() > method being called (when the user clicks my "Start" button), but > onPostProcessTarg

Re: AjaxSelfUpdatingTimerBehavior.onPostProcessTarget() Never Called

2014-05-15 Thread Richard W. Adams
I finally got the onTimer() to execute. Had to change my button onclick() code to this: add(new ProgressUpdateBehavior(executor)); ajax.addComponent(this); It began working when I added the second line above. Without that, the client didn't receive the updated component with the new timer scr

Re: AjaxSelfUpdatingTimerBehavior.onPostProcessTarget() Never Called

2014-05-15 Thread Richard W. Adams
ender() you're preventing the component tag to be written into the response. Since wicket-ajax cannot find the markuo id in the DOM, it will not perform the Ajax request. Sven On 05/06/2014 08:28 PM, Richard W. Adams wrote: > The onPostProcessTarget() method of my AjaxSelfUpdatingTim

AjaxSelfUpdatingTimerBehavior.onPostProcessTarget() Never Called

2014-05-06 Thread Richard W. Adams
Martin Grigorov To: "users@wicket.apache.org" Date: 05/05/2014 03:32 PM Subject: Re: Progress Bar Hi, On Mon, May 5, 2014 at 7:18 PM, Richard W. Adams wrote: > We have a requirement to implement a progress bar for long-running server > operations. We can't

Re: Background Threading

2014-05-06 Thread Richard W. Adams
ogress bar. What is the 'context' class you refer to? Where is it instantiated and where is it stored? From: Ernesto Reinaldo Barreiro To: "users@wicket.apache.org" Date: 05/06/2014 07:52 AM Subject:Re: Background Threading Hi, On Tue, May 6, 201

Re: Application Scope

2014-05-06 Thread Richard W. Adams
ssions are serialised François Meillet Formation Wicket - Développement Wicket Le 6 mai 2014 à 15:28, Richard W. Adams a écrit : > One more question: Since each task is associated with a single user, would > it make more sense to create a task map in Session scope? Or will Wicket >

Re: Application Scope

2014-05-06 Thread Richard W. Adams
Subject:Re: Application Scope You can use MyApp.get().setMetaData() and MyApp.get().getMetaData() François Meillet Formation Wicket - Développement Wicket Le 6 mai 2014 à 14:50, Richard W. Adams a écrit : > Are you referring to org.apache.wicket.Application? I don't see a > g

Re: Application Scope

2014-05-06 Thread Richard W. Adams
ize the key and later get a reference to the FutureTask with something like: YourApp.get().getTasks().get(theKey).isDone()/.isCanceled()/... Martin Grigorov Wicket Training and Consulting On Tue, May 6, 2014 at 2:50 PM, Richard W. Adams wrote: > Are you referring to org.apache.wicket.Applicat

Re: Application Scope

2014-05-06 Thread Richard W. Adams
key and later get a reference to the FutureTask with something like: YourApp.get().getTasks().get(theKey).isDone()/.isCanceled()/... Martin Grigorov Wicket Training and Consulting On Tue, May 6, 2014 at 2:50 PM, Richard W. Adams wrote: > Are you referring to org.apache.wicket.Appl

Application Scope

2014-05-06 Thread Richard W. Adams
Wicket Training and Consulting On Tue, May 6, 2014 at 2:11 PM, Richard W. Adams wrote: > Interesting approach. Our use case is more complex, as it runs a > background task in a separate thread. Our task has three basic > requirements. It must: > > 1. Be cancellable. > > 2. Rep

Background Task in Separate Thread

2014-05-06 Thread Richard W. Adams
From: Martin Grigorov To: "users@wicket.apache.org" Date: 05/05/2014 03:32 PM Subject:Re: Progress Bar Hi, On Mon, May 5, 2014 at 7:18 PM, Richard W. Adams wrote: > We have a requirement to implement a progress bar for long-running server > operations. We

Background Threading

2014-05-06 Thread Richard W. Adams
ry-ui library... http://www.7thweb.net/wicket-jquery-ui/progressbar/DefaultProgressBarPage Cheers, Col. -----Original Message- From: Richard W. Adams [mailto:rwada...@up.com] Sent: Tuesday, 6 May 2014 3:19 AM To: users@wicket.apache.org Subject: Progress Bar We have a requirement to implemen

Progress Bar

2014-05-05 Thread Richard W. Adams
We have a requirement to implement a progress bar for long-running server operations. We can't use the code at https://github.com/wicketstuff/core/wiki/Progressbar, because it doesn't meet our corporate user interface look-and-feel standards. So, we started our own implementation. Our test page

Restful Services

2014-04-08 Thread Richard W. Adams
Does anyone know what version of Wicket is required to use the REST annotations? I was reading the article at http://java.dzone.com/articles/working-rest-wicket, but unfortunately the links in the article seem to be broken. Our corporate framework locks us into Wicket 1.4.17 with no option to

Fw: Generating Dynamic PDF using AjaxFallbackButton

2014-02-25 Thread Richard W. Adams
Please blacklist this spammer. - Forwarded by Richard W. Adams/UPC on 02/25/2014 06:58 AM - From: Abigail To: users@wicket.apache.org Date: 02/24/2014 08:01 PM Subject:Re: Generating Dynamic PDF using AjaxFallbackButton HI there In modern enterprise's doc

Re: Apache wicket project as osgi compoments

2014-02-04 Thread Richard W. Adams
id "You could dynamically decide not to call them", would you please give me some instruction? On Tue, Feb 4, 2014 at 10:44 PM, Richard W. Adams wrote: > Depends what you mean by "disable." You could dynamically decide not to > call them, if that's what you want.

Re: Apache wicket project as osgi compoments

2014-02-04 Thread Richard W. Adams
Depends what you mean by "disable." You could dynamically decide not to call them, if that's what you want. From: Shengche Hsiao To: Wicket User Mailinglist Date: 02/04/2014 08:42 AM Subject:Apache wicket project as osgi compoments Hello I have a web application comprised

Re: Fwd: Wicket and embedded tomcat

2014-01-13 Thread Richard W. Adams
What do yo mean by "embed"? You want to include Tomcat as part of your distribution? From: bangaly sangare To: users@wicket.apache.org Date: 01/13/2014 09:22 AM Subject:Fwd: Wicket and embedded tomcat Hello, I want to embed tomcat with my wicket application. I use maven to

Re: Rationale for Converting to AngularJS/Spring MVC

2014-01-06 Thread Richard W. Adams
amework out there in the mixture of many that can very easily be integrated with Wicket. Perhaps you should suggest that to your upper management. Anyhow, that's my two cents. On Fri, Jan 3, 2014 at 12:12 PM, Richard W. Adams wrote: > I don't have first hand knowledge of the decisi

Re: Rationale for Converting to AngularJS/Spring MVC

2014-01-03 Thread Richard W. Adams
n Fri, Jan 3, 2014 at 6:12 PM, Richard W. Adams wrote: > I don't have first hand knowledge of the decision making process, but I > understand there were two main factors: > > 1. Difficulty in changing/maintaining the intermediate corporate > libraries, especially when considering

Rationale for Converting to AngularJS/Spring MVC

2014-01-03 Thread Richard W. Adams
I don't have first hand knowledge of the decision making process, but I understand there were two main factors: 1. Difficulty in changing/maintaining the intermediate corporate libraries, especially when considering whether to make the leap from Wicket 1.4.17 to 6.x. 2. A perception of excess

Converting Wicket to AngularJS/Spring MVC

2014-01-03 Thread Richard W. Adams
My corporation has decided to change its standard Web framework from Wicket to AngularJS/Spring MVCC (not my decision; was not asked for input). I am faced with the expensive prospect of having to convert a large app (runs on Jboss with about 250 Wicket/Web related classes). 1. Does anyone have

RE: Form Reset Problems

2013-09-30 Thread Richard W. Adams
ion (or just AjaxLink) 2) call form.clearInput() 3) and to set the "default" model for each form component. Each application should know what "default" means for its form components. On Mon, Sep 30, 2013 at 3:46 PM, Richard W. Adams wrote: > We're having troubl

Form Reset Problems

2013-09-30 Thread Richard W. Adams
We're having trouble making our form reset button work. It's defined thusly: AjaxButton button = new AjaxButton("reset-button"); ... _ Here's our reset code, executed when the button is clicked. The main form seems to re-render OK, but a FormComponen

Re: Dynamic generation of HMI components

2013-09-24 Thread Richard W. Adams
Short answer: You must write *some* HTML. Not-so-short-answer: The minimum required HTML is pretty small. From: brasmouk To: users@wicket.apache.org Date: 09/24/2013 08:14 AM Subject:Dynamic generation of HMI components Hello everyone, I am trying to study framewok wicket

Cancel Button Conundrum

2013-09-10 Thread Richard W. Adams
I need to create a Cancel button that warns the user about saved data on a form before leaving the page. Thus, I can't call setDefaultFormProcessing (false), since that would cause the data not be transferred to the model. But I ALSO don't want the page to complain about missing or invalid field

Re: FormComponent independent from the Model/Model object

2013-07-09 Thread Richard W. Adams
Well, one approach is create it as a normal HTML control & not render it via Wicket. You can just attach a standard Javascript event (such as onclick) to get the behavior you want. Bottom line: You don't have to "Wicketize" everything on your page. Just because you have a hammer, it doesn't mea

RE: Graying Out Disabled Buttons/Controls

2013-06-27 Thread Richard W. Adams
rs -Original Message----- From: Richard W. Adams [mailto:rwada...@up.com] Sent: Wednesday, June 26, 2013 11:41 AM To: users@wicket.apache.org Subject: RE: Graying Out Disabled Buttons/Controls Wow. Now it gets even stranger. I modified the code as follows: public DisabledButtonPage() {

RE: Graying Out Disabled Buttons/Controls

2013-06-26 Thread Richard W. Adams
return determineVisibility(); } } Second, why would you have a button attached to a page directly? Isn't that invalid HTML? I through all form components should be inside a (even w/o a wicket:id) otherwise the browser

Re: Graying Out Disabled Buttons/Controls

2013-06-26 Thread Richard W. Adams
ssionid=76EE1D9ED70B7660542E78B4C1333951?0&pageId=0 On Wed, Jun 26, 2013 at 9:16 AM, Richard W. Adams wrote: > We tried that (code below), but the button does not appear in the > generated HTML. We're using Wicket 1.4.17. Do later versions of Wicket > render a grayed out (vic

Re: Graying Out Disabled Buttons/Controls

2013-06-26 Thread Richard W. Adams
led-button"); button.setEnabled(false); button.setVisible(true); return button; } From: Thomas Matthijs To: users@wicket.apache.org Date: 06/26/2013 07:45 AM Subject:Re: Graying Out Disabled Buttons/Controls On Wed, Jun 26, 2013 at 2:30 PM, Richard W. Adams wr

Graying Out Disabled Buttons/Controls

2013-06-26 Thread Richard W. Adams
We have a customer requirement that disabled form buttons be grayed out rather than Wicket's default behavior of making them invisible. Google has a lot of discussion on the topic, but I didn't see a "best practice" solution. Does Wicket provide a way to gray out buttons (or any form control, f

AjaxSubmitLink Errors

2013-06-21 Thread Richard W. Adams
When AjaxSubmitLink.onError() is called, how does one determine what the error was? Calling getFeedbackMessage() (tried on both the link & on the form) is returning null, & I can't see any other way to determine what the error was... ** This email and any attachments may contain information t

Validator Can't Find Form Submitting Component

2013-06-13 Thread Richard W. Adams
[Re-sending, as I noticed my previous send was an accidental forward, so probably ended up in the wrong thread. Also adding some more info] I have a form inside a panel. The form is nested inside another form that includes the panel. The panel form has a validator which is supposed to validate

Form Submitting Component

2013-06-13 Thread Richard W. Adams
When I submit a form via an AjaxSubmitLink, form.findSubmittingButton() returns null, even though I called form.add(theLlink). Is this expected behavior? I know the findSubmittingButton() method says "button," but it returns an IFormSubmittingComponent, so I would expect it could return either

Re: Getting Form Data Without Submitting Form

2013-06-12 Thread Richard W. Adams
06/12/2013 02:15 PM Subject:Re: Getting Form Data Without Submitting Form Why not use two different forms, one for searching and the other for the "save" fields? You can even nest the first one into the other. Sven On 06/12/2013 09:09 PM, Richard W. Adams wrote: > I have a

Getting Form Data Without Submitting Form

2013-06-12 Thread Richard W. Adams
I have a FormComponentPanel with an AjaxLink. The link's onClick() method runs a database search based on criteria that are found in a half dozen form fields (string, drop downs, etc.). My problem is that the form's model is not updated because the link does not submit the form. And I can't sub

RE: DropDownChoice in FormComponentPanel

2013-05-20 Thread Richard W. Adams
ic.html ~ Thank you, Paul Bors -Original Message----- From: Richard W. Adams [mailto:rwada...@up.com] Sent: Monday, May 20, 2013 8:10 AM To: users@wicket.apache.org Subject: DropDownChoice in FormComponentPanel I have a FormComponentPanel with both string fields & DropDownChoice control

DropDownChoice in FormComponentPanel

2013-05-20 Thread Richard W. Adams
I have a FormComponentPanel with both string fields & DropDownChoice controls. How do I get the drop downs' current selections from inside my override of convertInput()? I can get the string fields' values by calling the fields' convertInput() methods, but when I call convertInput() on the drop

Re: Call me page wicket from in page.jsp

2013-05-17 Thread Richard W. Adams
It's unclear what your issue is. By definition, different applications (& different users) have separate sessions. From: Alis To: users@wicket.apache.org Date: 05/16/2013 03:45 PM Subject:Re: Call me page wicket from in page.jsp Thank you! How do I keep the same session ev

Re: Wicket in other application

2013-05-16 Thread Richard W. Adams
What do you mean by "unify"? Do you want to merge them into a single application with only one code base? Or do you mean something else? If you intend to keep them as two separate applications, there are number of techniques for inter-process communication. From: Alis To: users@wicket

Re: Detecting Page Re-Display

2013-05-13 Thread Richard W. Adams
That did it! Thanks! From: Andrea Del Bene To: users@wicket.apache.org Date: 05/13/2013 10:42 AM Subject:Re: Detecting Page Re-Display Do you disable/enable the button on server side (i.e. invoking setEnabled)? You should use page's onConfigure to place your configuration

Detecting Page Re-Display

2013-05-13 Thread Richard W. Adams
How can I detect when a page is about to be re-displayed? In my app, some pages have "OK" buttons that are enabled once the user has entered certain data. When the user then clicks OK, he taken to another page where some actions are performed. When he then RETURNS from the action page to the da

Re: [wicket 6] Create/Register Spring Bean in wicket ?

2013-05-10 Thread Richard W. Adams
Not sure exactly what the issue is. You can create beans any time you want. All you need to do is get an application context object based on a Spring config file. You can do that in init() or wherever is appropriate for your app. From: smallufo To: users@wicket.apache.org Date: 05/1

Re: AjaxSubmitLink.onSubmit() Not Called in FormComponentPanel

2013-03-01 Thread Richard W. Adams
feedback messages? Override #onError() and see if it gets invoked. Sven On 03/01/2013 06:53 PM, Richard W. Adams wrote: > I created an AjaxSubmitLink in a FormComponent Panel, and set a break > point in its onSubmit() method. For some reason, the breakpoint never gets > hit when I cl

AjaxSubmitLink.onSubmit() Not Called in FormComponentPanel

2013-03-01 Thread Richard W. Adams
I created an AjaxSubmitLink in a FormComponent Panel, and set a break point in its onSubmit() method. For some reason, the breakpoint never gets hit when I click the link. I've used an AjaxSubmitLink on a normal, non-panel page successfully, and modeled the panelized link after that, so am not

Re: org.apache.wicket.util.convert.ConversionException: Cannot parse 'abcdef' using format java.text.DecimalFormat@674dc

2013-03-01 Thread Richard W. Adams
Clearly you're not detecting the non-numeric format before trying to parse it. Tracing the execution path with the debugger ought to show where you can capture that?? From: Pratibha To: users@wicket.apache.org Date: 03/01/2013 07:20 AM Subject:org.apache.wicket.util.convert.C

Re: Eclipse or IntelliJ

2013-02-20 Thread Richard W. Adams
If you do software development for a living (as opposed to a hobby), one thing to consider is what tools are used at prospective employers. I work at a large (40,000+) company where Eclipse is the standard tool. Partly because it's open source (read "free," no budget impact) & has such a large

Re: FormComponentPanel.convertInput()

2013-02-13 Thread Richard W. Adams
current model object, because form submission might still fail with a conversion error on another field. Pushing the new input in the FormComponent's model is done later in #updateModel(). Hope this helps Sven On 02/13/2013 03:33 PM, Richard W. Adams wrote: > I'm writing my first FormCom

FormComponentPanel.convertInput()

2013-02-13 Thread Richard W. Adams
I'm writing my first FormComponentPanel, and have a couple of books showing how to do this. Most of it seems straightforward, except one point: In the books' examples, FormComopnentPanel.convertInput() creates a new model object and populates it from a series of calls to getConvertedInput() on

Re: HP Fortify & Critical Security Issues

2013-02-05 Thread Richard W. Adams
From: sthomps To: users@wicket.apache.org Date: 02/05/2013 12:44 PM Subject:HP Fortify & Critical Security Issues We use Fortify at our company. I'm please to note that it found no vulnerability in my Wicket app, though it did numerous issues with ColdFusion apps (no surprise).

Re: No Ajax Model Update in FormComponentPanel

2012-11-19 Thread Richard W. Adams
elObject().getSubdivision(); You're using the wrong model object, this should be: final Integer newSubdivision = dropdown.getModelObject(); or: final Integer newSubdivision = PointLocationPanel.this.subdivision Sven On 11/15/2012 09:13 PM, Richard W. Adams wrote: > I have a drop

No Ajax Model Update in FormComponentPanel

2012-11-15 Thread Richard W. Adams
I have a drop down choice in a FormComponentPanel, and & need to update other parts of the panel when the user changes the selected value in the drop down. My panel class is defined as: PointLocationPanel extends FormComponentPanel Its constructor begins like this: public PointLocationPanel(f

Re: Finding HTML Markup in External JARs

2012-11-14 Thread Richard W. Adams
n't have any effect on Wicket *finding* the markup. Sven On 11/14/2012 07:07 PM, Richard W. Adams wrote: > I've been digging into this all morning, and my current theory is that > it's a file encoding problem. After adding the Maven resource plugin to my > POM to force

Re: Finding HTML Markup in External JARs

2012-11-14 Thread Richard W. Adams
I've been digging into this all morning, and my current theory is that it's a file encoding problem. After adding the Maven resource plugin to my POM to force copying in UTF-8, I now get the identical error running on my Jetty on my workstation (which worked fine earlier this morning). Does wi

Re: Finding HTML Markup in External JARs

2012-11-14 Thread Richard W. Adams
L Markup in External JARs Hi, I'm 99% certain that the .html files are not in the .jar. Double check that they are actually packed with the .class files. On Wed, Nov 14, 2012 at 5:26 PM, Richard W. Adams wrote: > We're enhancing a Wicket app which has been running in productio

Finding HTML Markup in External JARs

2012-11-14 Thread Richard W. Adams
We're enhancing a Wicket app which has been running in production for many months. One of the enhancements was adding a panel to a JAR (which we wrote) used by our app. The new panel works fine on the local workstation under Eclipse/Jetty, but fails when we deploy it to our JBOSS server. Cause

RE: [Building Sakai] Wicket-Sakai archetype Add page in other page

2012-11-07 Thread Richard W. Adams
Not sure exactly what you're asking, but have you looked at Wicket panels? _ I have yet to meet a C compiler that is more friendly and easier to use than eating soup with a knife. From: Antonio muñoz alonso To: "users@

Re: Image source location problems, examples did not help

2012-11-06 Thread Richard W. Adams
Perhaps I misunderstand the question, but is not valid HTML. Perhaps you want something like this? _ I have yet to meet a C compiler that is more friendly and easier to use than eating soup with a knife. From: Delange

Re: Clueless on this error

2012-10-17 Thread Richard W. Adams
Just a guess, but based on ClassNotFoundException: com.campingawaits.CampingAwaitsApp, it sounds like something changed your classpath so the class loader can no longer find this class. _ I have yet to meet a C compiler that is

RE: Boolean DropDownChoice

2012-08-02 Thread Richard W. Adams
Even better, why are you using a drop down at all? Check boxes are normally used for true-false choices. From: Paul Bors To: Date: 08/01/2012 07:51 PM Subject:RE: Boolean DropDownChoice Instead of going to the extent of overriding a class because your model value is not upd

Re: Where to add javascript in html pages which follow inheritance relationship.

2012-07-30 Thread Richard W. Adams
I assume the " entities aren't really there in the code? From: kshitiz To: users@wicket.apache.org Date: 07/30/2012 09:16 AM Subject:Re: Where to add javascript in html pages which follow inheritance relationship. hi, Sorry to disturb you again but I am trying out this code

Re: Ajax Timeouts

2012-07-26 Thread Richard W. Adams
t 5:50 PM, Richard W. Adams wrote: > Yes, it is my code. My server code will eventually reply. What I can't > control is how long a database operation will take. Typically the database > work finishes under 10 seconds, but sometimes can run up to a minute or > longer. > > If I u

Re: Ajax Timeouts

2012-07-26 Thread Richard W. Adams
then my problem is probably something other than an Ajax timeout. From: Martin Grigorov To: users@wicket.apache.org Date: 07/26/2012 09:41 AM Subject:Re: Ajax Timeouts On Thu, Jul 26, 2012 at 5:35 PM, Richard W. Adams wrote: > So once the client request gets access to

Re: Ajax Timeouts

2012-07-26 Thread Richard W. Adams
W. Adams wrote: > My Wicket app occasionally "freezes" on making an Ajax submit that invokes > a potentially lengthy database operation. My theory is that the database > work is taking longer than Wicket allows, & the Ajax call times out. I'm > guessing that t

Ajax Timeouts

2012-07-25 Thread Richard W. Adams
My Wicket app occasionally "freezes" on making an Ajax submit that invokes a potentially lengthy database operation. My theory is that the database work is taking longer than Wicket allows, & the Ajax call times out. I'm guessing that the browser does not detect this timeout, so my "Please Wait

Re: modify Date in model from 3 inputs?

2012-06-25 Thread Richard W. Adams
It is possible, and very common. In fact, if you set up your model correctly, you don't have to change it at all. Wicket does it for you. From: Dan12321 To: users@wicket.apache.org Date: 06/25/2012 11:47 AM Subject:modify Date in model from 3 inputs? Hi, I have got 3 html

No Warning of Missing HTML File

2012-06-18 Thread Richard W. Adams
I just spent two and a half hours wondering why my modal dialog would open, but have no content (just an empty background). I finally discovered the HTML file for the content had its name misspelled (missing a letter). Surprisingly (at least to me), Wicket generated no errors or warning, even t

Re: wicket & ajax push

2012-05-30 Thread Richard W. Adams
What do you mean by "push stuff"? From: Douglas Ferguson To: Wicket Mailing List List Date: 05/30/2012 03:19 PM Subject:wicket & ajax push Anybody doing any ajax push stuff using wicket? Douglas - To uns

Re: AJAX-swappable bookmarkable unversioned tabs

2012-05-23 Thread Richard W. Adams
Don't have much to offer re. menus, but if you're starting a new project, I'd recommend you use the latest version of Wicket (1.5.6) if at all possible. "There are three kinds of lies: lies, damn lies, and statistics." Benjamin Disraeli "Then there was the man who drowned crossing a stream with

Re: How to save the selected radio choice option in wicket

2012-05-17 Thread Richard W. Adams
Just like anything else: You put the desired value in your model & Wicket handles "selecting" the correct button. From: chaitanya b To: users@wicket.apache.org Date: 05/17/2012 06:06 AM Subject:Re: How to save the selected radio choice option in wicket how can i set the pr

Re: How to save the selected radio choice option in wicket

2012-05-17 Thread Richard W. Adams
Conceptually, it's no different than any other form control. You associate the control with a named property in your model, & when the form is submitted that property will be populated with the chosen value. If the user hasn't chosen ANY value, yes, you can get null. From: chaitanya b To:

Re: Ajax Error in MSIE 8

2012-05-14 Thread Richard W. Adams
x27;d like to know. Thanks for the help & insight. (Slinks away with red face...) From: "Richard W. Adams" To: users@wicket.apache.org Date: 05/11/2012 11:46 AM Subject:Re: Ajax Error in MSIE 8 I just found a key difference between the IE8 & IE9 behaviors

Re: Ajax Error in MSIE 8

2012-05-11 Thread Richard W. Adams
to time. But looking at this Javascript code I think it can be improved. File a ticket with a failing test case if possible. On Fri, May 11, 2012 at 5:46 PM, Richard W. Adams wrote: > We dug into wicket-ajax.js using this version of MSIE 8: > > > > We discovered the probl

Re: Ajax Error in MSIE 8

2012-05-11 Thread Richard W. Adams
g suspicious. You'll have to debug what happens in wicket-ajax.js ... On Fri, May 11, 2012 at 3:07 PM, Richard W. Adams wrote: > Sorry. Should have provided more details: > > Wicket Version: 1.4.20 > > Operating System: Windows XP > > Scenario: Users clicks an icon w

Re: Ajax Error in MSIE 8

2012-05-11 Thread Richard W. Adams
do you submit a form or ... On Thu, May 10, 2012 at 11:33 PM, Richard W. Adams wrote: > I'm getting Ajax errors that seems to occur only in Internet Explorer 8 > (same code works fine in IE9 & Firefox). I'm in a corporate environment > where IE8 support is a requirement,

Re: Persistence.

2012-05-08 Thread Richard W. Adams
Gosh, you can use Hibernate if you want, but I write plain DAO classes with JDBC & Wicket & they work just fine. No fuss, no muss. Just my take on it, though. I know there are some that like Hibernate. But try as I might, I've never been able to justify yet another third party library for my ne

Re: Calling wicket from javascript

2012-05-07 Thread Richard W. Adams
Hard to say without details. Are you not getting the behavior you expect (and what is that behavior?). Are you getting an error message? "RAM /abr./: Rarely Adequate Memory." From: jcf1974 To: users@wicket.apache.org Date: 05/07/2012 07:07 AM Subject:Calling wicket from javas

Re: Unusual problem is coming in rendering component

2012-05-02 Thread Richard W. Adams
It means it's looking for a method called getPostTextField() in your model, but not finding one. From: kshitiz To: users@wicket.apache.org Date: 05/02/2012 02:08 PM Subject:Unusual problem is coming in rendering component Hi, I am trying to render a text field : Java code

Re: Radio Choice Weirdness

2012-04-25 Thread Richard W. Adams
Oops. Got it figured out. The page class was trying to store the choice in a String variable instead of a MilepostModel variable. All is well now. Thanks! "RAM /abr./: Rarely Adequate Memory." From: "Richard W. Adams" To: users@wicket.apache.org Cc: cdsch...@

Re: Radio Choice Weirdness

2012-04-25 Thread Richard W. Adams
it will hand you the selected string. I'd suggest to let your RadioChoice work with ints or preferably directly on the Milepost objects: final RadioChoice choice = new RadioChoice(...); Sven On 04/25/2012 03:00 PM, Richard W. Adams wrote: > My understanding of this class must b

Radio Choice Weirdness

2012-04-25 Thread Richard W. Adams
My understanding of this class must be faulty. When Wicket calls my onSelectionChanged(), the argument is the display string, not the id value. For example, I'm expecting a milepost value like "123.456", but instead I get "End (123.456)" (the display value). Here's the code. can anyone see what

RadioChoice vs. RadioGroup

2012-04-24 Thread Richard W. Adams
Can someone explain the important differences (besides the API) between RadioChoice & RadioGroup? What scenarios/factors would make one use one instead of the other? What are the tradeoffs? Etc. From my quick (perhaps naive) reading, they seem like equally plausible ways of doing the same thing

Re: "It is a better practice to push changes to state rather than pull"

2012-04-16 Thread Richard W. Adams
I'm no Wicket expert, but as a general rule it's almost always better to be notified of an event or state change than to constantly poll for it (think of the child in the back seat on a long trip constantly asking "Are we there yet?") From: Andrew Geery To: users@wicket.apache.org Date

Re: field values

2012-04-05 Thread Richard W. Adams
If you can detect the tab switch event, it should be a simple matter to copy the field values from one location to the other. From: mnish tosh To: users@wicket.apache.org Date: 04/05/2012 02:01 PM Subject:field values Hi, This is the situation: I have a page with two tabs

Re: how to make a div containing ajax link clickable

2012-04-03 Thread Richard W. Adams
add(new AjaxEventBehavior("onclick") "RAM /abr./: Rarely Adequate Memory." From: jason To: users@wicket.apache.org Date: 04/03/2012 03:02 PM Subject:how to make a div containing ajax link clickable Hi, What is the best way to make a div clickable? I'd like to use an AjaxLi

RE: Accessing .properties file

2012-03-30 Thread Richard W. Adams
This is really a Maven question, not Wicket. You'll probably get better answers from a Maven forum. From: SudeepShakya To: users@wicket.apache.org Date: 03/30/2012 07:15 AM Subject:RE: Accessing .properties file I mean that if sample.properties is the required file, then how

Re: log4j.properties

2012-03-28 Thread Richard W. Adams
This is a log4j issue, not Wicket. However, if memory serves, you can set a system property before starting Tomcat. Something like: -Dlog4j.configuration=name.and.location.of.your.log4j.properties.file A log4j forum is probably the best place to query the current "best practice" on this. Fr

Re: Creating a submit form which takes date and a string as input and displays the data from database(mysql) using simple jdbc

2012-03-27 Thread Richard W. Adams
Just parse the date string into a Timestamp. That's Java, not Wicket. "RAM /abr./: Rarely Adequate Memory." From: SudeepShakya To: users@wicket.apache.org Date: 03/26/2012 11:03 PM Subject:Re: Creating a submit form which takes date and a string as input and displays the data

Re: Hide Table Rows in Column 1 when displaying the table

2012-03-26 Thread Richard W. Adams
Easily done with style sheets. From: karthik To: users@wicket.apache.org Date: 03/26/2012 08:02 AM Subject:Hide Table Rows in Column 1 when displaying the table Hi , I would like to have a table with 3 columns and 5 rows. The first Column is a Category , and the other column

Re: AjaxLink.onClick() Not Triggered

2012-02-20 Thread Richard W. Adams
Hm.. more mystery. I put a break point on wicketAjaxGet. But it never gets executed. Clicking the link, apparently does absolutely nothing. Doesn't even cause the Javascript to be called. Anyone have any ideas? From: Andrea Del Bene To: users@wicket.apache.org Date: 02/19/2012 07

  1   2   >