hasErrorMessage() for FormComponentPanel

2008-05-01 Thread Clay Lehman
Hey Everyone, I have made a FormComponentPanel that contains components in it. I add a custom validator to the inner component to validate the input. However, when I call hasErrorMessage on the FormComponentPanel, it always returns false, even if the custom validator found a problem. Is

RE: Footer Toolbar for DefaultDataTable (wicket 1.3.2)

2008-05-01 Thread Clay Lehman
Look at the source of DefaultDataTableit's your perfect example., just extend it and add another bottom toolbar. Clay Lehman Phone: (919) 882-2856 [EMAIL PROTECTED] -Original Message- From: standon [mailto:[EMAIL PROTECTED] Sent: Thursday, May 01, 2008 2:46 PM To: users

RE: append HTML to a page ONE time

2008-04-25 Thread Clay Lehman
, April 25, 2008 12:35 PM To: users@wicket.apache.org Subject: Re: append HTML to a page ONE time Can you elaborate on why you need to do this? Maybe it can be twisted a bit to fit in? Clay Lehman wrote: I am making a component that has to have a DIV appended to the page to work properly

RE: append HTML to a page ONE time

2008-04-25 Thread Clay Lehman
That's Awesome!! Thanks Igor, that was exactly what I needed :) Clay Lehman Phone: (919) 882-2856 [EMAIL PROTECTED] -Original Message- From: Igor Vaynberg [mailto:[EMAIL PROTECTED] Sent: Friday, April 25, 2008 1:37 PM To: users@wicket.apache.org Subject: Re: append HTML to a page ONE

RE: Dynamic DataTable columns

2008-01-29 Thread Clay Lehman
Can't you just create a new DataTable with the new list of columns in the ajax call when you want to add/remove a column, then repaint the container holding the Table? -Clay -Original Message- From: Timo Rantalaiho [mailto:[EMAIL PROTECTED] Sent: Monday, January 28, 2008 10:26 PM To:

RE: DatePicker.enableMonthYearSelect

2008-01-15 Thread Clay Lehman
**nods** -Original Message- From: Igor Vaynberg [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 15, 2008 2:01 PM To: users@wicket.apache.org Subject: Re: DatePicker.enableMonthYearSelect yeah, not a very good ui choice by yahoo... :) -igor On Jan 15, 2008 11:00 AM, Clay Lehman

RE: DatePicker.enableMonthYearSelect

2008-01-15 Thread Clay Lehman
;) gerolf On Jan 15, 2008 8:38 PM, Clay Lehman [EMAIL PROTECTED] wrote: **nods** -Original Message- From: Igor Vaynberg [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 15, 2008 2:01 PM To: users@wicket.apache.org Subject: Re: DatePicker.enableMonthYearSelect yeah, not a very good ui

RE: Is wicketstuff-scriptaculous still active?

2008-01-11 Thread Clay Lehman
Is this project no longer going to support jdk 1.4? I was using a build from Sept. '07 from http://wicketstuff.org/maven/repository/org/wicketstuff/wicketstuff-scri ptaculous/ and it worked fine, but I just tried a build from January '08 and it was compiled with java 5, so I can't use it

RE: JRPdfResource onResourceRequested() file dialog not displayed when using AjaxFallbackLink

2007-12-11 Thread Clay Lehman
I had a similar problem with showing a file download dialog from an ajax event, I got around it by doing target.appendJavascript(getMarkupId()+.submit()); which submits the form, and then forwarding the user to the file in the onSubmit() method of the form. Hope this helps... -Clay

RE: What kind of link could I use?

2007-11-27 Thread Clay Lehman
You probably want to check out DownloadLink http://people.apache.org/~tobrien/wicket/apidocs/org/apache/wicket/marku p/html/link/DownloadLink.html -Clay -Original Message- From: yadubi [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 27, 2007 3:14 AM To: users@wicket.apache.org

ModalWindow Positioning

2007-11-26 Thread Clay Lehman
Hey everyone, I was wondering if there is a way to specify ModalWindow's initial positioning. I have left the cookie name as null, so the postion is not remembered, but I would like to be able to set a nice default. I have tried postion:absolute, and setting TOP and LEFt, but it always seems

RE: how to call a javascript function?

2007-11-15 Thread Clay Lehman
Or you can just use an attribute modifier: yourform.add(new AttributeModifier(onsubmit, true, new Model(return youCoolFunction(; -Original Message- From: Dipu Seminlal [mailto:[EMAIL PROTECTED] Sent: Thursday, November 15, 2007 10:27 AM To: users@wicket.apache.org Subject: Re: how

AbstractAjaxTimerBehavior question

2007-11-13 Thread Clay Lehman
I have a page with an AbstractAjaxTimerBehavior that I only use between button clicks. (The work after a button click takes a while and I use this behavior to update a progress bar while the work is happening) I was wondering if either a) Is there a way to restart a timer behavior

RE: How to migrate onAfterRender/onBeforeRender from wicket 1.2.6 to 1.3

2007-11-12 Thread Clay Lehman
You can also use onRender() @Override protected void onRender() { getResponse().write(StuffBeforeComponent); super.onRender(); getResponse().write(StuffAfterComponent); } But IComponentBorder will do all that for you... -Clay -Original Message- From: Johan Compagner

RE: Link text

2007-11-08 Thread Clay Lehman
You might want to look at IComponentBorder -Clay -Original Message- From: Sam Hough [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 07, 2007 5:47 AM To: users@wicket.apache.org Subject: Re: Link text Anything similar for spitting something out _after_ the tag that the component is

AutoCompleteTextField / combobox

2007-10-25 Thread Clay Lehman
Hey everyone, I need a combobox, where a user types in part of the entry, and the possible choices are looked up and presented for the user to select. The AutoCompleteTextField looks like it is close to what I want, but I was hoping there is a way to have an object behind the component's

RE: Example source code?

2007-10-09 Thread Clay Lehman
SVN is super easy to use -- 1) Download TortoiseSVN (http://tortoisesvn.net/downloads) 2) make a folder (mine is wicket-svn) 3) right click in the folder and go to SVN Checkout... 4) then put in the path to SVN and you will have all the code It's probably quicker and easier than any HTTP

RE: Customizing RadioChoice

2007-10-08 Thread Clay Lehman
Thanks for the suggestions Martijn! For now I will look into using the RadioGroup, but I like the idea removing final from the get*fix methods. =) This way someone could make MyRadioGroup, and have an option for topdown (default) lists or table-style lists, where they customize the width/shape

Customizing RadioChoice

2007-10-05 Thread Clay Lehman
I am trying to customize RadioChoice so that it puts the options into a nice table. I found setPrefix and setSuffix, but I cant just do setSuffix(nbsp;) because I want to have a differenct prefix suffix based on the index (for example create a new row in a table for every 4th option).

Adding a label when I add a FormComponent.

2007-10-04 Thread Clay Lehman
a FormComponentPanel? Thanks for any advice!! -Clay Lehman

RE: Adding a label when I add a FormComponent.

2007-10-04 Thread Clay Lehman
: Igor Vaynberg [mailto:[EMAIL PROTECTED] Sent: Thursday, October 04, 2007 11:13 AM To: users@wicket.apache.org Subject: Re: Adding a label when I add a FormComponent. see icomponentborder -igor On 10/4/07, Clay Lehman [EMAIL PROTECTED] wrote: Hey Everyone, I want to create a subclass

RE: Adding a label when I add a FormComponent.

2007-10-04 Thread Clay Lehman
:[EMAIL PROTECTED] Sent: Thursday, October 04, 2007 2:09 PM To: users@wicket.apache.org Subject: Re: Adding a label when I add a FormComponent. put a container around your component and update that via ajax instead -igor On 10/4/07, Clay Lehman [EMAIL PROTECTED] wrote: I implemented a simple

DataTable question

2007-09-28 Thread Clay Lehman
Hey everyone, I am looking at examples on using DataTables and Repeaters, and I have a question... It looks like they insert default classes headers even and odd into the table header and rows, but I was wondering if there is an easy way for me to either set a property or create a subclass

RE: Form Feedback

2007-09-25 Thread Clay Lehman
as the actual output but rather for a preview if you open the .html file in a browser hth, gerolf On 9/25/07, Clay Lehman [EMAIL PROTECTED] wrote: Hey everyone, I am pretty new to Wicket, and I am having a hard time figuring out the best way to provide feedback if a form's validation fails

FormComponentFeedbackIndicator usage

2007-09-24 Thread Clay Lehman
Hi, Can anyone point me to an example using FormComponentFeedbackIndicator? I have found examples using FormComponentFeedbackBorder, but they don't seem to have the same usage. From a post I saw on the old User's forum, I think a FormComponentFeedbackIndicator would better fit my needs, but I

DropDownChoice Question

2007-09-20 Thread Clay Lehman
Hey everyone, I am relatively new to using Wicket, and I have a question about using DropDownChoice's to put a select box on a form. I want to display choices which have specific ID values for each option (instead of indexed choices, like most examples I see), and I want to update a

RE: DropDownChoice Question

2007-09-20 Thread Clay Lehman
, 2007 at 11:33:31AM -0400, Clay Lehman wrote: And I want to be able to add a DropDownChoice to my form that is something like this and have it automatically update Item.type in my model: public class EditItemForm extends Form{ public EditItemForm(final