Basic question - checkboxes

2007-10-23 Thread Neil B. Cohen
Still experimenting with the framework. I've managed to load data from a database and display it in a table on a page. Now I'd like to add a column of checkboxes, and do something to the selected rows when I press a button on the page. Can someone point me at some documentation or sample code

Re: Ajax update of component screws up

2007-10-18 Thread Neil B. Cohen
kent lai wrote: Hi, There was an interesting case recently, whereby Wicket seemed to be not updating my page properly with an ajax request. I have 3 classes, A, which is a page, B and C which are panels. A will add B initially, and after an ajax request (triggered by a button),

Wicket/GWT?

2007-10-16 Thread Neil B. Cohen
I've been asked to look at possibly using the Google Web Toolkit instead of (along with??) Wicket for my project. I don't know anything about GWT, and I've only been looking at Wicket for about a week. Anyone care to comment on the pros and cons of using these two? What makes one better for a

More on Wicket/Hibernate...

2007-10-04 Thread Neil B. Cohen
I suspect I'm biting off more than I can chew conveniently but maybe someone can push me in the right direction... I'm attempting to build a fairly simple web application with Wicket, and I'd like to use Hibernate to manage the database access (although other frameworks like Cayenne have been

Re: More on Wicket/Hibernate...

2007-10-04 Thread Neil B. Cohen
; } ## All that said, I'm pretty new my self, so I'm sure it can be improved. This seems to work so far for me. Neil B. Cohen wrote: I suspect I'm biting off more than I can chew conveniently but maybe someone can push me in the right direction

Re: More on Wicket/Hibernate...

2007-10-04 Thread Neil B. Cohen
Thanks - at the moment, I'm not using Spring - I was trying to figure out if I need to use it - that would mean yet another framework to learn at the same time as Wicket and Hibernate nbc Neil B. Cohen wrote: I suspect I'm biting off more than I can chew conveniently but maybe someone can

Getting started with Hibernate and Wicket

2007-10-03 Thread Neil B. Cohen
I'm trying to learn both Hibernate and Wicket at the same time, and I could use a couple of pointers... I have managed to take the Wicket 'signin' example and added a tiny Hibernate database which I can access to extract a 'User' object to validate the user's name and password. That works

Dumb question about page transfer

2007-10-03 Thread Neil B. Cohen
Ok - I'm feeling kind of stupid at the moment, but I'm missing something basic here... I have a Wicket web page displayed with a button on it. When I click the button, the onSubmit routine fires and my java code logs a message so I know it is working. But from there, I want to transfer to

Re: Dumb question about page transfer

2007-10-03 Thread Neil B. Cohen
Igor Vaynberg wrote: onsubmit() { setresponsepage(MyPage.class); or setresponsepage(new MyPage(...)); } -igor Thanks for the quick response... Much obliged, nbc On 10/3/07, Neil B. Cohen [EMAIL PROTECTED] wrote: Ok - I'm feeling kind of stupid at the moment, but I'm missing

Can't locate an image file...

2007-10-01 Thread Neil B. Cohen
I am experimenting with the simplest of the Wicket examples. I was trying to add an image to the SignIn example page. My html code looks like this: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN html xmlns:wicket=http://wicket.apache.org/;headtitleWicket Examples - si gnin/title

Adding a jar file...

2007-09-27 Thread Neil B. Cohen
This question may be as much for Netbeans 6 as for Wicket, but in either case, I'm stumped... I want to add the MySQL jdbc driver to my program so I can connect to a MySQL database. In a regular VWP project in Netbeans 5.5 I would just add the jar file under the libraries tab. But it doesn't

Re: Adding a jar file...

2007-09-27 Thread Neil B. Cohen
Gwyn Evans wrote: On Thursday, September 27, 2007, 12:26:15 PM, Neil [EMAIL PROTECTED] wrote: This question may be as much for Netbeans 6 as for Wicket, but in either case, I'm stumped... I want to add the MySQL jdbc driver to my program so I can connect to a MySQL database. In a

Code directories

2007-09-26 Thread Neil B. Cohen
I'm brand new to Wicket - trying to see if I can re-design some web applications to use this framework. A couple of questions have come up right at the beginning - I'll start with the simple one 1) Code layout - In my existing system, I have code separated into a number of different

Re: Code directories

2007-09-26 Thread Neil B. Cohen
Martijn Dashorst wrote: On 9/26/07, Neil B. Cohen [EMAIL PROTECTED] wrote: to be all in one package. But does that mean pairs of java/html files have to be together Yes, unless you don't want it to, but then you have to resort to other tricks (enough examples regarding

Re: Code directories

2007-09-26 Thread Neil B. Cohen
Martijn Dashorst wrote: On 9/26/07, Neil B. Cohen [EMAIL PROTECTED] wrote: That makes sense - but if I have data model objects like 'User.java' which are used by multiple pages, then it would seem that all the pages (and all the related data model objects) have to end up in the same package

Getting started question...

2007-09-25 Thread Neil B. Cohen
Hi - This looks like a very interesting package. I have been doing most of my development work using Netbeans 5.5.1 recently - is Wicket development supported by Netbeans? Are there modules I need to install to do that? How would you compare the VWP package in Netbeans to Wicket - are they

JDK version

2007-09-25 Thread Neil B. Cohen
I just saw something on the web site that indicates that JDK 1.4 is required. We are using JDK 1.6 here at the moment. Anybody know if that will work at all, or do I need to install 1.4 to work with Wicket now (will 1.5 work??) thanks, nbc

Re: JDK version

2007-09-25 Thread Neil B. Cohen
Al Maw wrote: THanks to all who replied - that will make things easier for me... nbc Neil B. Cohen wrote: I just saw something on the web site that indicates that JDK 1.4 is required. We are using JDK 1.6 here at the moment. Anybody know if that will work at all, or do I need to install 1.4