Re: create own annotation

2011-05-11 Thread Mohamed SIDI
ss you are going to reuse the validation code is it worth the effort of > writing an annotation? > > Jim > > -Original Message- > From: Mohamed SIDI [mailto:mhm.s...@gmail.com] > Sent: 11 May 2011 09:39 > To: Struts Users Mailing List > Subject: create own annotation >

RE: create own annotation

2011-05-11 Thread Jim Talbut
truts Users Mailing List Subject: create own annotation Hi all, I'm using struts2 annotation validation mecanisme, I have a problem with credit card validation, I should develop my own annotation for this issue, someone can help me to do that, or explain me the steps ? thanks -- Co

Re: create own annotation

2011-05-11 Thread Dave Newton
You'll want a custom validator, which you can configure with an annotation. Dave On May 11, 2011 4:39 AM, "Mohamed SIDI" wrote: > Hi all, > > I'm using struts2 annotation validation mecanisme, I have a problem with > credit card validation, I should develop my own annotation for this issue, > so

create own annotation

2011-05-11 Thread Mohamed SIDI
Hi all, I'm using struts2 annotation validation mecanisme, I have a problem with credit card validation, I should develop my own annotation for this issue, someone can help me to do that, or explain me the steps ? thanks -- Cordialement Mohamed