You can create a method in your action bean and mark it using the
annotation: "@ValidationMethod". (Google ValidationMethod stripes and I
think you'll get an example to work from.


Morten Matras
http://www.LeadDoubler.com


2013/4/12 - <grandebu...@gmail.com>

> Hello,
>
> Can someone help me please with validation primitive int on stripes?
> How can I do validate primitive int (for ej. -1 default value from not
> selected combo box) by using stripes @Validate required=true.
>
> Thanks.
>
>
> ------------------------------------------------------------------------------
> Precog is a next-generation analytics platform capable of advanced
> analytics on semi-structured data. The platform includes APIs for building
> apps and a phenomenal toolset for data science. Developers can use
> our toolset for easy data analysis & visualization. Get a free account!
> http://www2.precog.com/precogplatform/slashdotnewsletter
> _______________________________________________
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users
>
>


-- 
----

Morten Matras

Founder: LeadDoubler.com
 - Intelligent leadgeneration and marketing automation

P: 61 71 11 03
W: LeadDoubler.com
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to