Wicket Sessions and Load Balancing

2010-06-30 Thread Steven Haines
Hi, I just setup my production environment for a wicket-based application today and I am having a problem with Page Expired messages. I have three servers that are not clustered together, but rather are configured with Apache's proxy_balancer to use sticky sessions (with failover turned off.)

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

2010-06-09 Thread Steven Haines
We're just about to start integrating Jasper with our wicket application (with a due date by the end of the week), so I found your positing particularly timely! Do you have any sample code and/or configuration information that shows me how to integrate wicket-contrib-jasperreports into my

Re: OnChangeAjaxBehavior and other form components

2010-06-01 Thread Steven Haines
is changing the value of this. I have a working solution, but wondering if you have any thoughts as to why this is happening? Thanks Steve - Original Message From: Steven Haines lyg...@yahoo.com To: users@wicket.apache.org Sent: Wed, April 21, 2010 2:43:41 PM Subject: Re: OnChangeAjaxBehavior

Forms across multiple panels

2010-04-27 Thread Steven Haines
Hi, The application I'm building is composed of several panels, each contained in its own div. The panels are logical groupings of data, handle different Ajax requests, and so forth. My challenge is that when a user completes the process by entering data into all of the panels, I want to

Re: Forms across multiple panels

2010-04-27 Thread Steven Haines
=panel1/div div wicket:id=panel2/div ... So conceivably I could create a form object on the MasterPage... - Original Message From: Martin Makundi martin.maku...@koodaripalvelut.com To: users@wicket.apache.org; Steven Haines lyg...@yahoo.com Sent: Tue, April 27, 2010 10:08:06 AM Subject

Re: Forms across multiple panels

2010-04-27 Thread Steven Haines
IFormValidator so that I can make them match the page hierarchy? Or do you have any other more elegant suggestions? Thanks Steve - Original Message From: Martin Makundi martin.maku...@koodaripalvelut.com To: users@wicket.apache.org; Steven Haines lyg...@yahoo.com Sent: Tue, April 27, 2010

Re: Forms across multiple panels

2010-04-27 Thread Steven Haines
Scratch that, the Form has an add() method that accepts a Component and a Panel is a component, netbeans is just being weird... Thanks - Original Message From: Steven Haines lyg...@yahoo.com To: users@wicket.apache.org Sent: Tue, April 27, 2010 12:17:04 PM Subject: Re: Forms across

Re: OnChangeAjaxBehavior and other form components

2010-04-21 Thread Steven Haines
...@gmail.com To: users@wicket.apache.org; Steven Haines lyg...@yahoo.com Sent: Tue, April 20, 2010 6:25:03 PM Subject: Re: OnChangeAjaxBehavior and other form components user AjaxFormComponentUpdatingBehavior -igor On Tue, Apr 20, 2010 at 2:37 PM, Steven Haines lyg...@yahoo.com wrote: Hi, I

Re: OnChangeAjaxBehavior and other form components

2010-04-21 Thread Steven Haines
@wicket.apache.org; Steven Haines lyg...@yahoo.com Sent: Wed, April 21, 2010 12:35:20 PM Subject: Re: OnChangeAjaxBehavior and other form components there is ajaxformsubmitbehavior if you want all the fields updated -igor On Wed, Apr 21, 2010 at 6:10 AM, Steven Haines lyg...@yahoo.com wrote: Hi Igor, I

Re: OnChangeAjaxBehavior and other form components

2010-04-21 Thread Steven Haines
( JavascriptUtils.SCRIPT_OPEN_TAG ); response.write( new Wicket.ChangeHandler(' + id + '); ); response.write( JavascriptUtils.SCRIPT_CLOSE_TAG ); } } ); - Original Message From: Steven Haines lyg...@yahoo.com To: users@wicket.apache.org Sent

OnChangeAjaxBehavior and other form components

2010-04-20 Thread Steven Haines
Hi, I have a form component to which I added an OnChangeAjaxBehavior derivative and in its onUpdate() method I want to access the contents of it *and* another form field. Here's what I'm doing: form.add( new TextFieldString( street1 ).setRequired( true ) ); final

Wicket + Spring 3 + Hibernate

2010-04-15 Thread Steven Haines
Hi, I am at a point where I need to upgrade my application from Spring 2.5.6 to Spring 3.0.1.RELEASE. I have a working application and when I update Spring, I see the following exception on deployment: Caused by: org.springframework.beans.factory.BeanCurrentlyInCreationException: Error

Re: Wicket + Spring 3 + Hibernate

2010-04-15 Thread Steven Haines
@wicket.apache.org; Steven Haines lyg...@yahoo.com Sent: Thu, April 15, 2010 11:09:50 AM Subject: Re: Wicket + Spring 3 + Hibernate What error? Next time post the stack :) On Thu, Apr 15, 2010 at 5:47 PM, Steven Haines lyg...@yahoo.com wrote: Hi, I am at a point where I need to upgrade my

Re: Wicket + Spring 3 + Hibernate

2010-04-15 Thread Steven Haines
://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-3.0.xsd; I appreciate your responses and I hope that someone can find my couple days of troubleshooting helpful :) Thanks Steve - Original Message From: Steven Haines lyg...@yahoo.com To: users

Build custom JavaScript

2010-04-06 Thread Steven Haines
For my application I need to dynamically generate JavaScript, which can either be in its own file or even added to my HTML document. I'll handle the generation of the JavaScript, but does anyone have any good strategies for injecting it into a web page or even generating a JavaScript file with

Checkbox Group

2010-03-29 Thread Steven Haines
Hi Everyone, Our web developer is using checkboxes in the place of radio buttons with JavaScript that ensures that only one is selected at a time. I know how to handle radio buttons and to handle individual checkboxes, but does anyone have a good strategy for dealing with a checkbox group?

TextField hosting an Integer

2010-03-22 Thread Steven Haines
Hi, I'm creating a text field to host an integer, namely the year that a house was built: TextFieldInteger yearBuilt = new TextFieldInteger( yearBuilt ).setRequired( true ); And I'm using a CompoundPropertyModel that maps yearBuilt to an underlying bean property. My problem is that the

Page Design Question

2010-03-16 Thread Steven Haines
First, thanks for your help yesterday with the form id question, setMarkupId() solved my problem. I have a generic page design question for you: how do you handle situations when your page form does not map easily to your domain objects? I can map 90% of the form's fields to my domain object,

Wicket Renames my Form id

2010-03-15 Thread Steven Haines
Hi, I've noticed that wicket is renaming my form id, which has become problematic when our JavaScript developer makes use of the id for some of his behaviors. Is there a way to tell Wicket to preserve the form id in the HTML page? Here's what I'm doing: HTML: form wicket:id=step_1

Re: OnChangeAjaxBehavior: nth character

2010-02-13 Thread Steven Haines
, Wicket Consulting, Development, Training http://jWeekend.com On 12 February 2010 20:45, Steven Haines lyg...@yahoo.com wrote: Hi, I would like to add AJAX behavior to an application that sends an update to my application after a certain number of characters have been typed. For example

OnChangeAjaxBehavior: nth character

2010-02-12 Thread Steven Haines
Hi, I would like to add AJAX behavior to an application that sends an update to my application after a certain number of characters have been typed. For example, if the user is entering a zipcode, I would like a callback to my application to be made after the user enters the fifth character.