Visural Wicket - Maven

2011-03-18 Thread Shelli Orton
n't 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 li

RE: Drop Down Choice

2011-03-18 Thread Shelli Orton
dropdown) http://www.wicket-library.com/wicket-examples/ajax/autocomplete Or this one if you want a drop down: http://wicket.visural.net/examples/app/dropdown -Nino <http://www.wicket-library.com/wicket-examples/ajax/autocomplete;jsessio nid=FE414790D6B5E7ACECC809CB9E9C9CEB?0> 2011/3/18

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 po

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)

RE: Format Date for PropertyColumn/DefaultDataTable

2010-10-18 Thread Shelli Orton
del.getObject())); } } On Mon, Oct 18, 2010 at 1:33 PM, Shelli Orton wrote: > Hi, > > Is there a way to apply a DateConverter to a PropertyColumn used in a > DefaultDataTable (and AjaxFallbackDefaultDataTable

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 command

RE: PropertyModel Not Refreshing

2010-10-12 Thread Shelli Orton
o martinez wael > 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 > >> This is where my confusion about models may be kicking in. I thought >> that

RE: PropertyModel Not Refreshing

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

RE: PropertyModel Not Refreshing

2010-10-12 Thread Shelli Orton
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 >> >>> The quickstart was sent to the list this morning at 10:04 MST. Does it >>> need t

RE: PropertyModel Not Refreshing

2010-10-12 Thread Shelli Orton
g I can confirm the edit 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 > He provided an updated RecordAPanel.java class that works on his system. > I updated mine to match his, but still have an issue

RE: PropertyModel Not Refreshing

2010-10-12 Thread Shelli Orton
day, October 12, 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 > The quickstart wa

RE: PropertyModel Not Refreshing

2010-10-12 Thread Shelli Orton
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 > Hi, > > Thanks for file. Your first email was missing these changes: > >IModel selectedRecordAModel; (I

RE: PropertyModel Not Refreshing

2010-10-12 Thread Shelli Orton
: PropertyModel Not Refreshing On Tue, Oct 12, 2010 at 10:30 AM, Shelli Orton 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 or > cancelled, that

RE: PropertyModel Not Refreshing

2010-10-12 Thread Shelli Orton
dBs.setModel(new PropertyModel(selectedRecordAModel, "recordB")); have fun -igor On Tue, Oct 12, 2010 at 9:03 AM, Shelli Orton 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 th

RE: PropertyModel Not Refreshing

2010-10-08 Thread Shelli Orton
, 2010 11:27 AM To: users@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 wrote: > Does nobo

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:

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:

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 ta

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 ta

RE: DropDownChoice/Model Confusion

2010-10-06 Thread Shelli Orton
od 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 Confusio

RE: DropDownChoice/Model Confusion

2010-10-06 Thread Shelli Orton
Model Confusion I meant between requests On Wed, Oct 6, 2010 at 11:41 AM, Shelli Orton 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()) > - bu

RE: DropDownChoice/Model Confusion

2010-10-06 Thread Shelli Orton
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 wrote: > This is what my class basically looks like, hope it he

RE: DropDownChoice/Model Confusion

2010-10-06 Thread Shelli Orton
DownChoice/Model Confusion Is your getList() being called multiple times? On Tue, Oct 5, 2010 at 6:37 PM, Shelli Orton 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. > > Sh

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

RE: DropDownChoice/Model Confusion

2010-10-05 Thread Shelli Orton
ached? On Tue, Oct 5, 2010 at 3:26 PM, Shelli Orton 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: use

RE: DropDownChoice/Model Confusion

2010-10-05 Thread Shelli Orton
bleDetachableModel>() { private static final long serialVersionUID = 1L; @Override protected List load() { return childRecordService.getList(); } }; } -Original Message- From: jcgarciam [mailto:jcgarc...@gmail.com] Sent: Tuesda

RE: DropDownChoice/Model Confusion

2010-10-05 Thread Shelli Orton
ed 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.com > wrote: > Hmm, that code sort of works. When I create or edit a record, the list > is updated. However, when I delete a reco

RE: DropDownChoice/Model Confusion

2010-10-05 Thread Shelli Orton
operty, keep in mind 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.com > wrote: > Hi, > > Thanks for replying. Just to clari

RE: DropDownChoice/Model Confusion

2010-10-05 Thread Shelli Orton
s 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

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 ca

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: users@wicket.

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 Simpl

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

2010-10-01 Thread Shelli Orton
aLocation="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 (Eclipse

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 tha

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 ha

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 come

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: /myApp/* Shelli -Original Message- From: Shelli Orton Sent: Tuesday, September 28, 2010 4:50 PM To: users@wicket.apache.org Subject: Deploy Wicket App as Liferay

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 W

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 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 Mess

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 CheckGro

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

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
your model. hard to tell without a quickstart. -igor On Thu, Sep 23, 2010 at 9:25 AM, Shelli Orton wrote: > Does anybody have a suggestion for this? > > Thanks, > > Shelli > > -Original Message- > From: Shelli Orton > Sent: Wednesday, September 22, 2010

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 in a

RE: PropertyModel getObject returns null

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

RE: Dynamic Column Datatable - Example

2010-09-22 Thread Shelli Orton
columnB.getObject())); return defaultColumns; } class SelectOption implements Serializable { private static final long serialVersionUID = 1L; private String propertyValue; private String displayValue; /** * Utility class for

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 = model1.getObject().compareTo(model2.getOb

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

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 solutio