isis-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GESCONSULTOR - Óscar Bou <o....@gesconsultor.com>
Subject Re: just put together a little string interpolation service...
Date Tue, 25 Feb 2014 11:23:44 GMT

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 <dan@haywood-associates.co.uk> escribió:

> On 25 February 2014 11:13, GESCONSULTOR - Óscar Bou
> <o.bou@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
>> 
>> 





Mime
View raw message