There is other Important UI hint we implemented, perhaps useful from the DCI perspective, regarding showing as "attached tabs" to one entity's form, information returned from another action (from URLs like this case, other entity "extending" on other DDD module this one - for example, think of another module holding information generating ToDoItems when a Task -different Entity- is created. And we don't want to create a dependency on the ToDoItem module. In that case we want, when the user accesses the ToDoItem page, to show the Task "attached" to it.
For that we have an annotation on the action, indicating that the resulting "object" must be showed as an "attached tab" (or any other similar way) when showing entities of the specified class passed as an annotation field. As an improvement, Per-entity a validation could be done (by means of a validator class that receives the concrete entity showing, in order to decide if for that concrete instance it can be showed (or perhaps not showing if it's returning null). I don't have here my laptop but can provide an example tomorrow. thanks, Oscar
