The url you gave does not seem to be working. I tried this: http://granitedataservices.com/blog/2011/12/05/graniteds-data-management-tutorial/(Part 5: Validation) and this: http://granitedataservices.com/blog/2011/12/05/graniteds-data-management-tutorial/(Part%205:%20Validation)
No luck. Can you please take a look? On Wed, Nov 28, 2012 at 12:00 PM, Franck Wolff <franck.wo...@graniteds.org>wrote: > Om, > > Did you find time to play with the tutorial? > > Franck. > > 2012/11/14 Franck Wolff <franck.wo...@graniteds.org> > > > Om, > > > > That tutorial can certainly help: > > > http://granitedataservices.com/blog/2011/12/05/graniteds-data-management-tutorial/(Part5: > Validation) > > > > Run these commands: > > > > git clone git://github.com/wdrai/wineshop-admin.git > > cd wineshop-admin > > mvn clean install > > cd webapp > > mvn jetty:run-war > > > > Then look at those source files: > > > > > wineshop-admin/flex/target/generated-sources/com/wineshop/entities/VineyardBase.as > > (constraints annotations such as NotNull, Size, etc.) > > > wineshop-admin/flex/target/generated-sources/com/wineshop/entities/WineBase.as > > (same thing) > > wineshop-admin/flex/src/main/flex/Home.mxml (the two FormValidators) > > > > In this very basic (and not so pretty) sample application, AS constraint > > annotations are generated from Java entities, but keep in mind that you > can > > write them by hand directly in your AS beans. > > > > Franck. > > > > > > 2012/11/14 Om <bigosma...@gmail.com> > > > >> Franck, > >> > >> The level of detail on this document [1] is really good. Would it be > too > >> much to ask for a very simple working prototype with 'View Source' so > that > >> we get a better idea for the evaluation? I am guessing you would want > to > >> do something similar when the code gets committed and shipped. > >> > >> Thanks, > >> Om > >> > >> [1] > >> > >> > http://www.graniteds.org/public/docs/2.3.2/docs/reference/en-US/html/graniteds.validation.html#validation.gettingstarted > >> > >> > >> On Wed, Nov 14, 2012 at 10:51 AM, Alex Harui <aha...@adobe.com> wrote: > >> > >> > > >> > > >> > > >> > On 11/14/12 9:46 AM, "Franck Wolff" <franck.wo...@graniteds.org> > wrote: > >> > > >> > > I would suggest that you make a quick review of the code on Github > >> while > >> > > I'm reading some ASF documents about committers. If we are both ok > >> (you > >> > > with the code, me with my obligations), then we can start the all > >> > process. > >> > > > >> > > I can find some time before the end of this week and review the > >> > documents. > >> > > Can you start reviewing the code on Githud and make sure there is no > >> > > obvious issue with the contribution? > >> > You are on the top of my reading list. > >> > > > >> > > Thanks for your clear explanations, > >> > > Franck. > >> > > > >> > > >> > -- > >> > Alex Harui > >> > Flex SDK Team > >> > Adobe Systems, Inc. > >> > http://blogs.adobe.com/aharui > >> > > >> > > >> > > > > >