Drop Down Choice

2011-03-18 Thread Shelli Orton
Hi, I've been looking for a Wicket drop down widget where one can choose an item from the list by typing more than the first character. For example, if my list contains the following values: One Two Three Four Five typing T would select Two, but typing Th would select Three. Is this possible

RE: Drop Down Choice

2011-03-18 Thread Shelli Orton
-library.com/wicket-examples/ajax/autocomplete;jsessio nid=FE414790D6B5E7ACECC809CB9E9C9CEB?0 2011/3/18 Shelli Orton shelli.or...@sjrb.ca Hi, I've been looking for a Wicket drop down widget where one can choose an item from the list by typing more than the first character. For example, if my

Visural Wicket - Maven

2011-03-18 Thread Shelli Orton
a directory for visural-wicket on the server. Do I need to manually add the files to my repository? Thanks, -Original Message- From: Shelli Orton Sent: 18 March 2011 11:20 AM To: users@wicket.apache.org Subject: RE: Drop Down Choice Hi, The wicket.visural.net first example looks like exactly

Invalid Date Using DatePicker and Short Date Format

2010-11-24 Thread Shelli Orton
Hi, I'm having an issue using a DatePicker and hoping it's a simple fix, but I can't find it. I have this code: public class MyPanel extends Panel { Label createdDateLabel; DateTextField createdDateText; DatePicker createdDatePicker; public MyPanel(String id)

Format Date for PropertyColumn/DefaultDataTable

2010-10-18 Thread Shelli Orton
Hi, Is there a way to apply a DateConverter to a PropertyColumn used in a DefaultDataTable (and AjaxFallbackDefaultDataTable)? Thanks! Shelli - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional

RE: Format Date for PropertyColumn/DefaultDataTable

2010-10-18 Thread Shelli Orton
(MessageFormat.format(pattern, superModel.getObject())); } } On Mon, Oct 18, 2010 at 1:33 PM, Shelli Orton shelli.or...@sjrb.ca wrote: Hi, Is there a way to apply a DateConverter to a PropertyColumn used in a DefaultDataTable (and AjaxFallbackDefaultDataTable)? Thanks! Shelli

RE: PropertyModel Not Refreshing

2010-10-12 Thread Shelli Orton
(selectedRecordAModel, recordB)); have fun -igor On Tue, Oct 12, 2010 at 9:03 AM, Shelli Orton shelli.or...@sjrb.ca wrote: I've been able to create a sample application that exhibits the same/similar problems to mine.  The sample makes use of an in-memory list for the data versus accessing a database

RE: PropertyModel Not Refreshing

2010-10-12 Thread Shelli Orton
: Re: PropertyModel Not Refreshing On Tue, Oct 12, 2010 at 10:30 AM, Shelli Orton shelli.or...@sjrb.ca wrote: Thanks for the help.  Your changes got rid of the errors and I can delete records now (and the list is updated). However, once a record has been selected for edit and either saved

RE: PropertyModel Not Refreshing

2010-10-12 Thread Shelli Orton
Not Refreshing No dont think so.. Please provide a quickstart.. I have had property models working in 1.2, 1.3, 1.4 and 1.5 so must be error 42:) 2010/10/12 Shelli Orton shelli.or...@sjrb.ca Hi, Thanks for file. Your first email was missing these changes: IModelRecordA selectedRecordAModel; (I had

RE: PropertyModel Not Refreshing

2010-10-12 Thread Shelli Orton
, 2010 11:58 AM To: users@wicket.apache.org Subject: Re: PropertyModel Not Refreshing sorry.. Did'nt see it attached.. So did igor provide you with an fixed quickstart (working on his system).. That did not work on glassfish? 2010/10/12 Shelli Orton shelli.or...@sjrb.ca The quickstart was sent

RE: PropertyModel Not Refreshing

2010-10-12 Thread Shelli Orton
issue.. Also what's supposed to happen in recordb panel? I might have a chance to look at it a little later.. 2010/10/12 Shelli Orton shelli.or...@sjrb.ca He provided an updated RecordAPanel.java class that works on his system. I updated mine to match his, but still have an issue where once

RE: PropertyModel Not Refreshing

2010-10-12 Thread Shelli Orton
.. Did'nt see it attached.. So did igor provide you with an fixed quickstart (working on his system).. That did not work on glassfish? 2010/10/12 Shelli Orton shelli.or...@sjrb.ca The quickstart was sent to the list this morning at 10:04 MST. Does it need to be resent? Shelli -Original

RE: PropertyModel Not Refreshing

2010-10-12 Thread Shelli Orton
.. Looking at the error, seems to get triggered by pressing the cancel button only.. 2010/10/12 Shelli Orton shelli.or...@sjrb.ca This is where my confusion about models may be kicking in. I thought that property models (PropertModel or CompoundPropertyModel) automatically checked if the model

RE: PropertyModel Not Refreshing

2010-10-12 Thread Shelli Orton
nino.martinez.w...@gmail.com Think I was going in the wrong direction.. Looking at the error, seems to get triggered by pressing the cancel button only.. 2010/10/12 Shelli Orton shelli.or...@sjrb.ca This is where my confusion about models may be kicking in. I thought that property models

RE: PropertyModel Not Refreshing

2010-10-08 Thread Shelli Orton
@wicket.apache.org Subject: Re: PropertyModel Not Refreshing you have posted an incomplete piece of code and somehow from that we are supposed to guess what is not working? create a quickstart and provide that. -igor On Thu, Oct 7, 2010 at 10:15 AM, Shelli Orton shelli.or...@sjrb.ca wrote: Does nobody have any

RE: PropertyModel Not Refreshing

2010-10-07 Thread Shelli Orton
Does nobody have any suggestions? If I can't get this fixed, I'm going to have to write the app in another framework (possibly GWT) and I'd really rather not have to do that. Shelli -Original Message- From: Shelli Orton Sent: Wednesday, October 06, 2010 3:52 PM To: users

RE: Processing Flow for Button onSubmit and LDM load

2010-10-07 Thread Shelli Orton
Again, does nobody have any suggestions? If I can't get this fixed, I'm going to have to write the app in another framework (possibly GWT) and I'd really rather not have to do that. Shelli -Original Message- From: Shelli Orton Sent: Wednesday, October 06, 2010 4:05 PM To: users

RE: DropDownChoice/Model Confusion

2010-10-06 Thread Shelli Orton
/Model Confusion Is your getList() being called multiple times? On Tue, Oct 5, 2010 at 6:37 PM, Shelli Orton shelli.or...@sjrb.ca wrote: I overrode the detach method in my class (which simply calls super.detach()) so I could set a breakpoint and see if it gets called and it does. Shelli

RE: DropDownChoice/Model Confusion

2010-10-06 Thread Shelli Orton
the problem is related to your service layer? Have you checked whet this method returns inside childRecordsModel.load() ? -- Daniel On Tue, Oct 5, 2010 at 10:23 PM, Shelli Orton shelli.or...@sjrb.ca wrote: This is what my class basically looks like, hope it helps

RE: DropDownChoice/Model Confusion

2010-10-06 Thread Shelli Orton
meant between requests On Wed, Oct 6, 2010 at 11:41 AM, Shelli Orton shelli.or...@sjrb.ca wrote: No, the getList() (called in the LDM load()) is only called once.  For the buttons add, edit and delete, the processng is like this: - ldm.load() (which calls getList()) - button.onSubmit

RE: DropDownChoice/Model Confusion

2010-10-06 Thread Shelli Orton
is called before the ldm.load, but the onSubmit is called after the ldm.load for the delete button? Thanks for all the help! Shelli -Original Message- From: Shelli Orton Sent: Wednesday, October 06, 2010 9:41 AM To: users@wicket.apache.org Subject: RE: DropDownChoice/Model Confusion

PropertyModel Not Refreshing

2010-10-06 Thread Shelli Orton
Hi, First, thanks to all who have been helping me as I am new to Wicket. I am splitting out two issues I am dealing with to try to keep things clear. I am trying to write a simple app that does CRUD operations on database records. The goal is for the app to make use of a tab panel where each

Processing Flow for Button onSubmit and LDM load

2010-10-06 Thread Shelli Orton
Hi, Again, thanks to all who have been helping me as I am new to Wicket. I am splitting out two issues I am dealing with to try to keep things clear. I am trying to write a simple app that does CRUD operations on database records. The goal is for the app to make use of a tab panel where each

RE: DropDownChoice/Model Confusion

2010-10-05 Thread Shelli Orton
is fetch only once at construction of your pages and is considered static because its never get called again unless you triggered it by entering to a new page instance, while by using a LDM the component will ask for it every time it needs to re-render them. On Mon, Oct 4, 2010 at 6:52 PM, Shelli

RE: DropDownChoice/Model Confusion

2010-10-05 Thread Shelli Orton
that your MyRecord should implement and equals/hashcode correctly. On Tue, Oct 5, 2010 at 12:00 PM, Shelli Orton [via Apache Wicket] ml-node+2956214-1797994246-65...@n4.nabble.comml-node%2B2956214-1797994 246-65...@n4.nabble.com wrote: Hi, Thanks for replying. Just to clarify, do you mean

RE: DropDownChoice/Model Confusion

2010-10-05 Thread Shelli Orton
to the hierarchy, are you using AJAX? On Tue, Oct 5, 2010 at 2:38 PM, Shelli Orton [via Apache Wicket] ml-node+2956527-385265518-65...@n4.nabble.comml-node%2B2956527-38526551 8-65...@n4.nabble.com wrote: Hmm, that code sort of works. When I create or edit a record, the list is updated. However

RE: DropDownChoice/Model Confusion

2010-10-05 Thread Shelli Orton
code? On Tue, Oct 5, 2010 at 4:27 PM, Shelli Orton [via Apache Wicket] ml-node+2956722-1309362030-65...@n4.nabble.comml-node%2B2956722-1309362 030-65...@n4.nabble.com wrote: No, I'm not using AJAX. Is there a way to force the LDB to reload? Shelli -Original Message- From

RE: DropDownChoice/Model Confusion

2010-10-05 Thread Shelli Orton
? On Tue, Oct 5, 2010 at 3:26 PM, Shelli Orton shelli.or...@sjrb.ca wrote: No, I'm not using AJAX.  Is there a way to force the LDB to reload? Shelli -Original Message- From: jcgarciam [mailto:jcgarc...@gmail.com] Sent: Tuesday, October 05, 2010 12:52 PM To: users@wicket.apache.org

RE: DropDownChoice/Model Confusion

2010-10-05 Thread Shelli Orton
I overrode the detach method in my class (which simply calls super.detach()) so I could set a breakpoint and see if it gets called and it does. Shelli -Original Message- From: Shelli Orton Sent: Tuesday, October 05, 2010 2:24 PM To: users@wicket.apache.org Subject: RE: DropDownChoice

Confirmation Dialog Not Displayed For Button

2010-10-04 Thread Shelli Orton
Hi, I have the following code to create a org.apache.wicket.markup.html.form.Button: Button delete = new Button(delete) { public void onSubmit() { // Delete the selected record } }; delete.add(new

RE: Confirmation Dialog Not Displayed For Button

2010-10-04 Thread Shelli Orton
I am using FF 3.6.10 and there were no javascript errors. However, adding the if statement seemed to make the difference as it's now displaying. Thanks! -Original Message- From: Mathias Nilsson [mailto:wicket.program...@gmail.com] Sent: Monday, October 04, 2010 2:51 PM To:

DropDownChoice/Model Confusion

2010-10-04 Thread Shelli Orton
I am writing a (simple?) database CRUD app where I have multiple tab panels that encapsulate the different tables in the database. On a panel there's a dropdownchoice which lists the existing records for that table. There's also create, delete and edit buttons (and and edit panel with save and

RE: Problem Deploying Wicket/JPA (EclipseLink) App to Glassfish

2010-10-01 Thread Shelli Orton
=http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd; version=2.5 Shelli -Original Message- From: Shelli Orton Sent: Thursday, September 30, 2010 4:42 PM To: users@wicket.apache.org Subject: Problem Deploying Wicket/JPA (EclipseLink) App to Glassfish Hi, I

Problem Deploying Wicket/JPA (EclipseLink) App to Glassfish

2010-09-30 Thread Shelli Orton
Hi, I have a small Wicket app that I can deploy to Glassfish v3 without any problems. I also have a JAX-RS webservice that includes a jar file that contains JPA entity beans and stateless service beans that deploys successfully. However, when I try to deploy a different Wicket application

Add Scrollbart to AjaxFallbackDefaultDataTable?

2010-09-29 Thread Shelli Orton
I am using an AjaxFallbackDefaultDataTable and would like to have vertical and horizontal scrollbars as part of the table component itself. One reason for this is we would like to not lose the column headers when scrolling vertically as we do with the browser scroll bars. Has anybody else

Save Data as CSV File

2010-09-29 Thread Shelli Orton
I have a data table and would like the user to be able to save the data locally as a csv file when they click a link or button. The docs for DownloadLink state that it will generate a save as dialog which is exactly what I want, but, it appears to only work with a file that already exists. I

RE: Possible to Set Multiple Columns in CheckGroup?

2010-09-28 Thread Shelli Orton
them however you like, yourself. -igor On Mon, Sep 27, 2010 at 10:04 AM, Shelli Orton shelli.or...@sjrb.ca wrote: Hi, Is there a way to set the number of columns that a CheckGroup will render the checkboxes?  I have a group with 13 boxes and I would like to render it in two columns (one of 7

RE: Setting Checked Boxes in CheckGroup

2010-09-28 Thread Shelli Orton
Just wondering if anyone has had a chance to look at the quickstart project and could tell me what I'm doing wrong... Shelli -Original Message- From: Shelli Orton Sent: Thursday, September 23, 2010 2:24 PM To: users@wicket.apache.org Subject: RE: Setting Checked Boxes in CheckGroup I

RE: Setting Checked Boxes in CheckGroup

2010-09-28 Thread Shelli Orton
your SelectOption class is missing equals and hashcode -igor On Tue, Sep 28, 2010 at 8:38 AM, Shelli Orton shelli.or...@sjrb.ca wrote: Just wondering if anyone has had a chance to look at the quickstart project and could tell me what I'm doing wrong... Shelli -Original Message- From

Deploy Wicket App as Liferay Portlet

2010-09-28 Thread Shelli Orton
I am trying to deploy a Wicket application as a portlet in Liferay 5.2.3 bundled with Tomcat 6.0. I found this which has been very helpful: http://mail-archives.apache.org/mod_mbox/wicket-users/201001.mbox/browse r http://mail-archives.apache.org/mod_mbox/wicket-users/201001.mbox/brows er

RE: Deploy Wicket App as Liferay Portlet

2010-09-28 Thread Shelli Orton
Of course, as soon as I send this, I find the solution... Apparently Wicket portlets require a URL pattern like this: url-pattern/myApp/*/url-pattern Shelli -Original Message- From: Shelli Orton Sent: Tuesday, September 28, 2010 4:50 PM To: users@wicket.apache.org Subject

Possible to Set Multiple Columns in CheckGroup?

2010-09-27 Thread Shelli Orton
Hi, Is there a way to set the number of columns that a CheckGroup will render the checkboxes? I have a group with 13 boxes and I would like to render it in two columns (one of 7 and one of 6). Thanks! Shelli - To unsubscribe,

RE: Setting Checked Boxes in CheckGroup

2010-09-23 Thread Shelli Orton
Does anybody have a suggestion for this? Thanks, Shelli -Original Message- From: Shelli Orton Sent: Wednesday, September 22, 2010 1:54 PM To: users@wicket.apache.org Subject: Setting Checked Boxes in CheckGroup Hi, I am trying to use a CheckGroup to manage which columns are used

RE: Setting Checked Boxes in CheckGroup

2010-09-23 Thread Shelli Orton
. hard to tell without a quickstart. -igor On Thu, Sep 23, 2010 at 9:25 AM, Shelli Orton shelli.or...@sjrb.ca wrote: Does anybody have a suggestion for this? Thanks, Shelli -Original Message- From: Shelli Orton Sent: Wednesday, September 22, 2010 1:54 PM To: users@wicket.apache.org

Setting Checked Boxes in CheckGroup

2010-09-22 Thread Shelli Orton
Hi, I am trying to use a CheckGroup to manage which columns are used in a datatable. I've set up my columns as per the code below. The getColumnCheckBoxes method creates the check boxes that will be part of the group. The getDefaultColumns defines which columns should be checked by default.

PropertyModel getObject returns null

2010-09-22 Thread Shelli Orton
Hi, I followed the example on this page https://cwiki.apache.org/WICKET/simple-sortable-datatable-example.html to create a SortableDataProvider. I am running into a NullPointerException when my Comparator class' compare method is invoked at int result =

RE: Dynamic Column Datatable - Example

2010-09-22 Thread Shelli Orton
; this.displayValue = displayValue; } // getters/setters } } -Original Message- From: Shelli Orton Sent: Tuesday, September 21, 2010 10:49 AM To: users@wicket.apache.org Subject: Dynamic Column Datatable - Example Hi, I think what I need to do

RE: PropertyModel getObject returns null

2010-09-22 Thread Shelli Orton
= ((Comparable) model1.getObject()).compareTo(model2.getObject()); } if (!getSort().isAscending()) { result = -result; } return result; } } -Original Message- From: Shelli Orton Sent: Wednesday

Dynamic Column Datatable - Example

2010-09-21 Thread Shelli Orton
Hi, I think what I need to do is fairly common. I have a number of checkboxes that users can select to determine which columns they want displayed in a datatable. I've been searching for an example of a dynamic datatable and haven't been able to find one. I've seen references to a