-Igor
On 6/29/06, Ingram Chen <[EMAIL PROTECTED]> wrote:
I have a table of data need to do form submission:
Name Data
===================================
Item1 [ ]
Item2 [ ]
new ListView("items", items) {
populateItem(ListItem item) {
item.add(new Lebel("name")
item.add(new RequiredTextField("data"));
}
} ;
if I leave all data blank, I will got multiple messages with the same messages:
'data' is required.
'data' is required.
which is useless for client.... It seems that RequiredValidator, NumberValidator... etc
don't allow to do things like:
data.RequiredValidator= Data of ${0} is required.
and produce messages as:
Data of Item1 is required.
Data of Item2 is required.
Should I need to write my own Validator ? if so, how to do that ?
Thanks.
--
Ingram Chen
Java [EMAIL PROTECTED]
Institue of BioMedical Sciences Academia Sinica Taiwan
blog: http://www.javaworld.com.tw/roller/page/ingramchen
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
