yes I think this is exactly what was happening :-(
On 29 October 2012 11:09, Morten Olav Hansen wrote:
> Yes, its because every controller is mapped to a path.. so if its
> DataSetController, then its mapped to /dataSets, so if you add another value
> = "/dataSets", the end result would be /dataS
Yes, its because every controller is mapped to a path.. so if its
DataSetController, then its mapped to /dataSets, so if you add another
value = "/dataSets", the end result would be /dataSets/dataSets
(If I understood you correctly)
--
Morten
On Mon, Oct 29, 2012 at 12:07 PM, Bob Jolliffe wrote
OK that seems fine now, thanks.
The problem goes away when I remove the 'value' parameter from the
RequestMapping.
#
On 29 October 2012 10:44, Morten Olav Hansen wrote:
> I have sent him a fix for this..
>
> --
> Morten
>
>
>
> On Mon, Oct 29, 2012 at 11:43 AM, Lars Helge Øverland
> wrote:
>>
>
I have sent him a fix for this..
--
Morten
On Mon, Oct 29, 2012 at 11:43 AM, Lars Helge Øverland
wrote:
> Hi Bob, it should be possible to define a more specific mapping in the
> concrete controller class. To see the stack trace in the log you can
> start any single web-module with mvn clean je
Hi Bob, it should be possible to define a more specific mapping in the
concrete controller class. To see the stack trace in the log you can
start any single web-module with mvn clean jetty:run . Your build
cycle is then to run mvn install on the dhis-web-api module, then mvn
clean jetty:run on e.g.
Hi Morten
On 28 October 2012 13:18, Morten Olav Hansen wrote:
> Hi Bob
>
> This should be as easy as adding another method.. we already have
> getObjectList (I think thats the name.. ) in our ABC. What you will need to
> do, is to add another method in DataSetController, maybe call it
> getDataSe
Sorry, that's consumes not consumed.
--
Morten
On Sun, Oct 28, 2012 at 2:18 PM, Morten Olav Hansen wrote:
> consumed
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~
Hi Bob
This should be as easy as adding another method.. we already have
getObjectList (I think thats the name.. ) in our ABC. What you will need to
do, is to add another method in DataSetController, maybe call it
getDataSetsDSD (or something similar). And have a request-mapping that
points to bot
Hi Morten
I am struggling to grasp something (well actually to do something)
which I thought would be fairly simple, and probably even is if only I
knew how ...
It has to do with where you have been clever with the
AbstractCrudController in the web api.
Something like DataSetController extends t
9 matches
Mail list logo