Perhaps passing as parameters an "entity" that allows to access all Domain 
Services (such as the "this.service(xxx)" method on BDD Tests).

From services, we could access and "reference" the whole domain ...



El 25/02/2014, a las 12:16, Dan Haywood <d...@haywood-associates.co.uk> 
escribió:

> On 25 February 2014 11:13, GESCONSULTOR - Óscar Bou
> <o....@gesconsultor.com>wrote:
> 
>> 
>> 
>> I didn't notice it!
>> 
>> As per the code in "asInputHtml(ToDoItem toDoItem)" seems that instead of
>> using something like OGNL or SpEL the developer must explicitly add the
>> referenced properties, isn't it?
>> 
> 
> yeah, it's a difficult problem to solve in a generic fashion.  At some
> point something needs to know how to assemble the data to feed into the
> mail merge.
> 
> If you think of a better way (eg some higher level service that has this
> responsibilty), let me know!
> 
>> 
>> Seems that the links to the doc example [1], html example [2], and the
>> generated doc example [3] are broken.
>> 
> 
> thx, will fix.
> 
> 
> 
>> 
>> [1]
>> https://github.com/danhaywood/isis-domainservice-docx/blob/master/src/test/resources/com/danhaywood/isis/domainservice/docx/TypicalDocument.docx?raw=true
>> [2]
>> https://github.com/danhaywood/isis-domainservice-docx/blob/master/src/test/resources/com/danhaywood/isis/domainservice/docx/ExampleGenerated.docx?raw=true
>> [3]
>> https://github.com/danhaywood/isis-domainservice-docx/blob/master/src/test/resources/com/danhaywood/isis/domainservice/docx/ExampleGenerated.docx?raw=true
>> 
>> 




Reply via email to