cuervo79 / delphimvcframework

Automatically exported from code.google.com/p/delphimvcframework
0 stars 0 forks source link

[MVCProduce] or [MVCProduces] #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Being new to DMVCFW I'm having a look at the samples.
(Downloaded via svn Aug 13, 2014.)

I'm using Delphi XE6 Pro

1) Started with BasicDemo 
-> all good

2) Moved on to routingsample
-> Request to / (root) works
-> Request to all others /search, /people, etc. did *not* work

I then noticed the code snippet on the project home page has [MVCProduce()] 
where as RoutingSampleControllerU.pas has [MVCProduces()].

After removing the 's' it worked fine.

Seems that other samples have [MVCProduces()] as well, including the unit 
tests, so perhaps that is the required name. What am I missing? A setting in 
Delphi XE6? (I'm not that familiar with attributes.)

I'm also trying to select each demo in order of relative difficulty. If you 
have any pointers in this regard that would be appreciated. Some samples have 
invalid library search paths, but will endeavour to work through that.

I can progress from here, but just wanted to let you know.

Framework looks promising for my needs, thank you.

-- 
Ian

Original issue reported on code.google.com by i...@discoverysystems.com.au on 14 Aug 2014 at 2:59

GoogleCodeExporter commented 9 years ago
The correct name of the attribute is MVCProduces.

Thank you for your notification.

DT

Original comment by daniele....@gmail.com on 26 Mar 2015 at 4:36