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 appl

Re: OnChangeAjaxBehavior and other form components

2010-06-01 Thread Steven Haines
ot; + script + "}"; And it worked correctly because it removed the ambiguity of the value of "this". He was suggesting that something that Wicket's JavaScript is doing is changing the value of "this". I have a working solution, but wondering if you have any

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 To: users@wicket.apache.org Sent: Tue, April 27, 2010 12:17:04 PM Subject: Re: Forms across multiple panels

Re: Forms across multiple panels

2010-04-27 Thread Steven Haines
ve - Original Message From: Martin Makundi To: users@wicket.apache.org; Steven Haines Sent: Tue, April 27, 2010 10:18:13 AM Subject: Re: Forms across multiple panels Hi! Yes.. you could have: ** Martin 2010/4/27 Steven Haines : > Sorry, yes, I have a "MasterPage&

Re: Forms across multiple panels

2010-04-27 Thread Steven Haines
uot;, myobject ) ); ... HTML: ... ... So conceivably I could create a form object on the MasterPage... - Original Message From: Martin Makundi To: users@wicket.apache.org; Steven Haines Sent: Tue, April 27, 2010 10:08:06 AM Subject: Re: Forms across multiple panels Panels are on same w

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 . 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 submit

Re: OnChangeAjaxBehavior and other form components

2010-04-21 Thread Steven Haines
); final String id = getComponent().getMarkupId(); response.write( JavascriptUtils.SCRIPT_OPEN_TAG ); response.write( "new Wicket.ChangeHandler('" + id + "');" ); response.write( JavascriptUtils.SCRIPT_CLOSE_TAG ); }

Re: OnChangeAjaxBehavior and other form components

2010-04-21 Thread Steven Haines
to it to get this behavior? Thanks so much! Steve - Original Message From: Igor Vaynberg To: users@wicket.apache.org; Steven Haines Sent: Wed, April 21, 2010 12:35:20 PM Subject: Re: OnChangeAjaxBehavior and other form components there is ajaxformsubmitbehavior if you want all the fie

Re: OnChangeAjaxBehavior and other form components

2010-04-21 Thread Steven Haines
ComponentUpdatingBehavior the callback was made when the component lost focus .. Thanks Steve - Original Message From: Igor Vaynberg To: users@wicket.apache.org; Steven Haines Sent: Tue, April 20, 2010 6:25:03 PM Subject: Re: OnChangeAjaxBehavior and other form components user AjaxFormComp

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 TextField( "street1" ).setRequired( true ) ); final TextField zipcodeF

Re: Wicket + Spring 3 + Hibernate

2010-04-15 Thread Steven Haines
ww.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 To: users@wicket.

Re: Wicket + Spring 3 + Hibernate

2010-04-15 Thread Steven Haines
nFactory.java:189) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322) ... 53 more Apr 15, 2010 11:05:11 AM org.apache.catalina.core.ApplicationContext log INFO: Closing Spring root WebApplicationContext -

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 creatin

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 W

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"? F

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: TextField yearBuilt = new TextField( "yearBuilt" ).setRequired( true ); And I'm using a CompoundPropertyModel that maps "yearBuilt" to an underlying bean property. My problem is that the default value for

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, b

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: ...

Re: OnChangeAjaxBehavior: nth character

2010-02-13 Thread Steven Haines
ogies, Wicket Consulting, Development, Training http://jWeekend.com On 12 February 2010 20:45, Steven Haines 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 exa

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. I've