You should be able to use the email validator on the username.
http://struts.apache.org/2.x/docs/email-validator.html
Matt
On Sun, Jun 29, 2008 at 5:51 AM, Tuncay A. <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Thanks,
>
> That was answer for the question 1. For question 2. The username field of
> the
Hi,
Thanks,
That was answer for the question 1. For question 2. The username field of
the User.java to only accept e-mail address as data and be validated against
an e-mail pattern.
When do I need to change stuff (SignupAction, etc ) inside
https://appfuse.dev.java.net/svn/appfuse/tags/APPFU
Hi,
You should change src/main/resources/your/package/model/User-Validation.xml.
Ali Behzadian Nejad.
--
View this message in context:
http://www.nabble.com/Appfuse-core-Web-Classes-Modification-tp18176415s2369p18178084.html
Sent from the AppFuse - User mailing list archive at Nabble.com.
--
You should be able to override the default validation files by putting
them in the same directory in your project.
Matt
On Sat, Jun 28, 2008 at 6:59 PM, Tuncay A. <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Hope some can help.
>
> I make use of Appfuse 2.0.2, Struts as presentation layer, JPA as persi
Hi,
Hope some can help.
I make use of Appfuse 2.0.2, Struts as presentation layer, JPA as persistent
layer.
I already exported AppFuse core model classes into my project.
Next, how do I obtain following changes:
1.When signing up a new account, prevent some fields eg. "website" to not be
a re