Re: Apache Wicket is a Flawed Framework

2011-11-17 Thread Richard W. Adams
IMHO, your post looks at the wrong question (i.e., is Wicket perfect?). Of course it's not. No framework is. A better question is: How does it compare to OTHER frameworks? This is subjective of course, but in my personal opinion it is far better than any other framework I've tried (Struts,

Re: Can't Reset Form After DropDownChoice OnChange Handled

2011-11-21 Thread Richard W. Adams
The form just has a standard HTML reset button: input wicket:id=reset-button type=reset value=Reset / There's no special code associated with the button. Should there be? I looked at Wicket in Action, but it doesn't seem to address this issue. RAM /abr./: Rarely Adequate Memory. From:

Re: Can't Reset Form After DropDownChoice OnChange Handled

2011-11-21 Thread Richard W. Adams
:Re: Can't Reset Form After DropDownChoice OnChange Handled I don't think the browser reset button supports ajax.. -igor On Nov 21, 2011 5:08 AM, Richard W. Adams rwada...@up.com wrote: The form just has a standard HTML reset button: input wicket:id=reset-button type=reset value

Re: Can't Reset Form After DropDownChoice OnChange Handled

2011-11-22 Thread Richard W. Adams
and be 'reset'. -Clint On Mon, Nov 21, 2011 at 3:30 PM, Richard W. Adams rwada...@up.com wrote: I've been doing a lot of Googling on this topic found this page, which seems to describe exactly the problem I'm having: http://www.jaxtut.com/Navigation.jsp It suggests calling resetFromSession

Re: Can't Reset Form After DropDownChoice OnChange Handled

2011-11-22 Thread Richard W. Adams
Handled On Mon, Nov 21, 2011 at 11:30 PM, Richard W. Adams rwada...@up.com wrote: I've been doing a lot of Googling on this topic found this page, which seems to describe exactly the problem I'm having: http://www.jaxtut.com/Navigation.jsp It suggests calling resetFromSession(), though

Select vs. DropDownChoice

2011-12-01 Thread Richard W. Adams
Can someone educate me on the differences between Select and DropDownChoice? They both create a SELECT control. What factors should I consider in determining which one to use? Are they designed for different use cases? Is one more powerful/flexible than the other? Etc. ** This email and any

Model Not Updated for Empty Fields

2011-12-05 Thread Richard W. Adams
For some reason my data model is not being updated when I completely erase an input text field. I'm submitting the form via an AjaxSubmitLink, and the model shows changes to the contents when there ARE contents. And the model correctly shows changes to the field contents when I change the

Updating Child Component Markup from Ajax

2011-12-06 Thread Richard W. Adams
I know that I need to call AjaxRequestTarget.addComponent() to re-render a component from Ajax, and that I must have previously called component.setOutputMarkupId(true). But the javadocs for AjaxRequestTarget aren't clear on whether only this single component is updated, or whether all its

Re: Updating Child Component Markup from Ajax

2011-12-06 Thread Richard W. Adams
Component Markup from Ajax Do I need to call setOutputMarkupId(true) on each individual child as well? no, just the top most component you want to be redrawn has to have a markup id. All its decendants will be updated as well. Sven Am 06.12.2011 14:54, schrieb Richard W. Adams: I know that I need

Re: Updating Child Component Markup from Ajax

2011-12-06 Thread Richard W. Adams
for the parent component has id attribute. On Tue, Dec 6, 2011 at 3:25 PM, Richard W. Adams rwada...@up.com wrote: Ok, that's what I thought. My problem is that my child components AREN'T being updated. I've verified that the parent component (a group box) has a markup ID, and I'm adding

Forcing a No Selection Option in Drop Down Choice

2011-12-15 Thread Richard W. Adams
Is there a way to make DropDownChoice offer no selection as the first option, even if the input model matches one of the selections? Perhaps a property to set, or method to override? Can't find this issue covered in the material I've looked at. I'm looking for some technique I can apply

Re: hebrew text looks like ×׳—׳‘׳¨׳ •

2012-01-09 Thread Richard W. Adams
HTML files should not have have an XML header. Only XHTML files should. From: armhold armh...@gmail.com To: users@wicket.apache.org Date: 01/06/2012 08:31 PM Subject:Re: hebrew text looks like ×׳—׳‘׳¨׳• I went though this pain a few months ago too. Here are all the places I

Re: AjaxSubmitLink : Simple attribute modifier (confirm javascript popup) never calld , form not submited

2012-01-24 Thread Richard W. Adams
If understand your problem correctly, the solution might be just to create it as an AjaxButton override the onSubmit onError methods. We do that in our app works great. RAM /abr./: Rarely Adequate Memory. From: chimaira death_style2...@hotmail.com To: users@wicket.apache.org Date:

SetResponsePage Ajax

2012-02-01 Thread Richard W. Adams
I'm having a hard time understanding what happens when setResponsePage() is called while processing an Ajax request. Does Wicket: 1. Render the response page's HTML send it back through the Ajax connection? 2. Tell the browser to make a new request (i.e., redirect) to the new page? 3.

Added FeedbackMessage.UNDEFINED to Session

2012-02-02 Thread Richard W. Adams
How can I add a feedback message of type UNDEFINED to the session. The session only provides methods for info, warning error. Even though the Javadocs for FeedbackMessages says WARNING: This class should typically NOT be used directly., I tried the following in a class extending Session.

RE: Serving different content depending on User Agent

2012-02-13 Thread Richard W. Adams
Could someone explain the meaning of the string argument to Session.setStyle()? Unfortunately, the javadocs give no clue, other saying that a skin can be used. Is the string the name of a stylesheet file, or something else? Note to Wicket team: The Wicket Javadocs are woefully inadequate. Time

AjaxLink.onClick() Not Triggered

2012-02-18 Thread Richard W. Adams
I have an Ajax link in a drop down menu, created like this: final MenuChoice item = new MenuChoice(Delete) { private static final long serialVersionUID = 1L; @Override protected AbstractLink newLink(final String id) {

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 an.delb...@gmail.com To: users@wicket.apache.org

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 karthik.anik...@infotech-enterprises.com 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

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 shakyasud...@live.com 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

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.

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 shakyasud...@live.com 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

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 jason.novo...@gmail.com 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

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 mnisht...@gmail.com To: users@wicket.apache.org Date: 04/05/2012 02:01 PM Subject:field values Hi, This is the situation: I have

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 andrew.ge...@gmail.com To:

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

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

Re: Radio Choice Weirdness

2012-04-25 Thread Richard W. Adams
on string choices so 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 RadioChoiceMilepost choice = new RadioChoiceMilepost(...); Sven On 04/25/2012 03:00 PM, Richard W. Adams wrote: My

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 rwada...@up.com To: users@wicket.apache.org Cc: cdsch...@up.com

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 k.agarw...@gmail.com 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

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 eslae...@eresmas.com To: users@wicket.apache.org Date: 05/07/2012 07:07 AM Subject:

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

Re: Ajax Error in MSIE 8

2012-05-11 Thread Richard W. Adams
you submit a form or ... On Thu, May 10, 2012 at 11:33 PM, Richard W. Adams rwada...@up.com 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, so wanted to see

Re: Ajax Error in MSIE 8

2012-05-11 Thread Richard W. Adams
, May 11, 2012 at 3:07 PM, Richard W. Adams rwada...@up.com wrote: Sorry. Should have provided more details: Wicket Version: 1.4.20 Operating System: Windows XP Scenario: Users clicks an icon with an Ajax onclick event. In the event handler on the server, we copy the value of one String

Re: Ajax Error in MSIE 8

2012-05-11 Thread Richard W. Adams
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 rwada...@up.com wrote: We dug into wicket-ajax.js using this version of MSIE 8: We discovered the problem occurs in this code

Re: Ajax Error in MSIE 8

2012-05-14 Thread Richard W. Adams
to know. Thanks for the help insight. (Slinks away with red face...) From: Richard W. Adams rwada...@up.com 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 in this code

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

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 harikaareddyit...@gmail.com To: users@wicket.apache.org Date: 05/17/2012 06:06 AM Subject:Re: How to save the selected radio choice option in

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: wicket ajax push

2012-05-30 Thread Richard W. Adams
What do you mean by push stuff? From: Douglas Ferguson the...@gmail.com To: Wicket Mailing List List users@wicket.apache.org Date: 05/30/2012 03:19 PM Subject:wicket ajax push Anybody doing any ajax push stuff using wicket? Douglas

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

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 wee...@centrum.cz To: users@wicket.apache.org Date: 06/25/2012 11:47 AM Subject:modify Date in model from 3 inputs? Hi,

Re: Ajax Timeouts

2012-07-26 Thread Richard W. Adams
at 7:50 PM, Richard W. Adams rwada...@up.com 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 the browser

Re: Ajax Timeouts

2012-07-26 Thread Richard W. Adams
, then my problem is probably something other than an Ajax timeout. From: Martin Grigorov mgrigo...@apache.org 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 rwada...@up.com wrote: So once the client

Re: Ajax Timeouts

2012-07-26 Thread Richard W. Adams
, 2012 at 5:50 PM, Richard W. Adams rwada...@up.com 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

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

2012-07-30 Thread Richard W. Adams
I assume the quot; entities aren't really there in the code? From: kshitiz k.agarw...@gmail.com 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

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 p...@bors.ws To: users@wicket.apache.org Date: 08/01/2012 07:51 PM Subject:RE: Boolean DropDownChoice Instead of going to the extent of overriding a class

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: Image source location problems, examples did not help

2012-11-06 Thread Richard W. Adams
Perhaps I misunderstand the question, but opdrachten/284/IMG_0013.JPG is not valid HTML. Perhaps you want something like this? img src=opdrachten/284/IMG_0013.JPG / _ I have yet to meet a C compiler that is more friendly and

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

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.

Re: Finding HTML Markup in External JARs

2012-11-14 Thread Richard W. Adams
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 rwada...@up.com wrote: We're enhancing a Wicket app which has been running in production for many months. One of the enhancements was adding a panel

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

Re: Finding HTML Markup in External JARs

2012-11-14 Thread Richard W. Adams
*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 copying in UTF-8, I now get the identical error running

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 FormComponentPanelPointLocation Its constructor begins like this: public

Re: HP Fortify Critical Security Issues

2013-02-05 Thread Richard W. Adams
From: sthomps stho...@gmail.com 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

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: FormComponentPanel.convertInput()

2013-02-13 Thread Richard W. Adams
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 FormComponentPanel, and have

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: 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 pratibha.pari...@gmail.com To: users@wicket.apache.org Date: 03/01/2013 07:20 AM Subject:

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: AjaxSubmitLink.onSubmit() Not Called in FormComponentPanel

2013-03-01 Thread Richard W. Adams
unrendered 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 click

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 small...@gmail.com To:

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

Re: Detecting Page Re-Display

2013-05-13 Thread Richard W. Adams
That did it! Thanks! From: Andrea Del Bene an.delb...@gmail.com 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

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 ajcalve...@yahoo.es

Re: Call me page wicket from iframe 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 ajcalve...@yahoo.es To: users@wicket.apache.org Date: 05/16/2013 03:45 PM Subject:Re: Call me page wicket from iframe in page.jsp Thank you! How do I

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: DropDownChoice in FormComponentPanel

2013-05-20 Thread Richard W. Adams
-validation-logic.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

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

Re: Getting Form Data Without Submitting Form

2013-06-12 Thread Richard W. Adams
Date: 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

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 a

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

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

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,

Re: Graying Out Disabled Buttons/Controls

2013-06-26 Thread Richard W. Adams
); button.setEnabled(false); button.setVisible(true); return button; } From: Thomas Matthijs li...@selckin.be 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 rwada

Re: Graying Out Disabled Buttons/Controls

2013-06-26 Thread Richard W. Adams
://www.wicket-library.com/wicket-examples-6.0.x/spring/wicket/bookmarkable/org.apache.wicket.devutils.inspector.InspectorPage;jsessionid=76EE1D9ED70B7660542E78B4C1333951?0pageId=0 On Wed, Jun 26, 2013 at 9:16 AM, Richard W. Adams rwada...@up.com wrote: We tried that (code below), but the button does

RE: Graying Out Disabled Buttons/Controls

2013-06-26 Thread Richard W. Adams
attached to a page directly? Isn't that invalid HTML? I through all form components should be inside a form (even w/o a wicket:id) otherwise the browser might choke on it... ~ Thank you, Paul Bors -Original Message- From: Richard W. Adams [mailto:rwada...@up.com] Sent: Wednesday, June 26

RE: Graying Out Disabled Buttons/Controls

2013-06-27 Thread Richard W. Adams
, Paul Bors -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: 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 mean

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

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 brasm...@yahoo.fr To: users@wicket.apache.org Date: 09/24/2013 08:14 AM Subject:Dynamic generation of HMI components Hello everyone, I am trying to

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); ... input type=button value=Reset wicket:id=reset-button / _ Here's our reset code, executed when the button is clicked.

RE: Form Reset Problems

2013-09-30 Thread Richard W. Adams
(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 rwada...@up.com wrote: We're having trouble making our form reset

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

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

Re: Rationale for Converting to AngularJS/Spring MVC

2014-01-03 Thread Richard W. Adams
at 6:12 PM, Richard W. Adams rwada...@up.com 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 whether to make the leap

Re: Rationale for Converting to AngularJS/Spring MVC

2014-01-06 Thread Richard W. Adams
framework 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 rwada...@up.com wrote: I don't have first hand knowledge of the decision

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 bangaly.sang...@gmail.com 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

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 shengchehs...@gmail.com To: Wicket User Mailinglist users@wicket.apache.org Date: 02/04/2014 08:42 AM Subject:Apache wicket project as osgi compoments

Re: Apache wicket project as osgi compoments

2014-02-04 Thread Richard W. Adams
thing? And as you said 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 rwada...@up.com wrote: Depends what you mean by disable. You could dynamically decide not to call them, if that's what you want

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 abigailklin...@yahoo.com To: users@wicket.apache.org Date: 02/24/2014 08:01 PM Subject:Re: Generating Dynamic PDF using AjaxFallbackButton HI there In modern

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

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

Background Threading

2014-05-06 Thread Richard W. Adams
, in wicket-jquery-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

Background Task in Separate Thread

2014-05-06 Thread Richard W. Adams
To: users@wicket.apache.org 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 rwada...@up.com wrote: We have a requirement to implement a progress bar for long-running server operations. We can't use

Application Scope

2014-05-06 Thread Richard W. Adams
. Martin Grigorov Wicket Training and Consulting On Tue, May 6, 2014 at 2:11 PM, Richard W. Adams rwada...@up.com 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

Re: Application Scope

2014-05-06 Thread Richard W. Adams
/key. Serialize 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 rwada...@up.com wrote: Are you referring

Re: Application Scope

2014-05-06 Thread Richard W. Adams
to some id/key. Serialize 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 rwada...@up.com wrote: Are you

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 rwada...@up.com a écrit : Are you referring to org.apache.wicket.Application? I don't

  1   2   >