about servlet and wicket-spring sequence

2008-02-28 Thread Mead Lai
Hi, I have a Servlet ViewSurvey.do, it access the Spring Context from wicket Application. MyApplication app = (MyApplication) RequestCycle.get().getApplication(); but there is some thing strange: 1,if I visit the Servlet ViewSurvey.do first, It will cause some error, and all the

RE: about servlet and wicket-spring sequence

2008-02-28 Thread Mead Lai
sorry, the xml had been Escaped. I send it again ?xml version=1.0 encoding=UTF-8?!DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app display-nameCMS Message System/display-name !-- The following should be

How to change the style of navigator in PageableViewList

2008-01-19 Thread Mead Lai
Hi, should the navigator of PageableViewList be individuation,or designe by user?the default style is too ugly, just like the example in the wicket package: 1234...789 ; Now, I wanne change the style to be: First Prev Next End Showing 1 to 11 of 108 itemsPage:1/11 SumPage:11 And any

RE: how to convert wicket-CheckBox's Boolean Type to Character Type!

2008-01-15 Thread Mead Lai
; wrappedModel.setObject(value); } } 2008/1/15, Mead Lai [EMAIL PROTECTED]: Hi, Well,I am use MySql, and there is no boolean type in mysql database. so I use Char(1) in the database, and in html I use CheckBox.but CheckBox only contain Boolean type. How to solve

RE: how to convert wicket-CheckBox's Boolean Type to Character Type!

2008-01-15 Thread Mead Lai
to. That model has a POJO with a boolean field buitenlands. hth 2008/1/15, Mead Lai [EMAIL PROTECTED]: could U give more detail code about it? add the Java(form) html code! and what is your version of wicket? it does not work well in my pc From: [EMAIL PROTECTED] To: users

RE: how to convert wicket-CheckBox's Boolean Type to Character Type!

2008-01-15 Thread Mead Lai
Boolean Type to Character Type! Ok, I'm sorry. Is it possible to upgrade to 1.3.0? 2008/1/15, Mead Lai [EMAIL PROTECTED]: thanks very much! my wicket version is 1.2.6 there should be something difference between them! thank you! Date: Tue, 15 Jan 2008 09:35:03 +0100 From

how to convert wicket-CheckBox's Boolean Type to Character Type!

2008-01-14 Thread Mead Lai
Hi, Well,I am use MySql, and there is no boolean type in mysql database. so I use Char(1) in the database, and in html I use CheckBox.but CheckBox only contain Boolean type. How to solve this problem? Use IConverter interface? Thanks

RE: how to convert wicket-CheckBox's Boolean Type to Character Type!

2008-01-14 Thread Mead Lai
/1/15, Mead Lai [EMAIL PROTECTED]: Hi, Well,I am use MySql, and there is no boolean type in mysql database. so I use Char(1) in the database, and in html I use CheckBox.but CheckBox only contain Boolean type. How to solve this problem? Use IConverter interface? Thanks