Niklas Uhrberg wrote:
> 
> Hmm, I think some of the motivation here is not valid, such the search 
> field that has to know about the search result view.
> 
> If you put a mediator in between a search field (stimulus) and the 
> search result panel
> you get a place to put UI agnostic logic if needed and at the same time 
> keeping the standard
> SearchResult search(SearchCriteria) signature.
> 
> 
> SearchPanel --> Mediator ----> SearchMethod
>                                         -----> SearchResultPanel
> 
> I haven't followed much of this thread so if this seems irrelevant at 
> this stage, have patience with me :=)

Mediator=Application layer that through Observable pattern, implemented 
by UI, updates the UI. The standard signature, as above, will hence be 
in the domain model, which is fine.

/Rickard

_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to