[
https://issues.apache.org/jira/browse/STANBOL-1127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13848929#comment-13848929
]
Rupert Westenthaler commented on STANBOL-1127:
----------------------------------------------
[~reto]: The web views of the Entityhub do not work in 1.0.0 because the JAX-RS
rsources are missing the getSite() method returning the Entityhub Site.
Implementing this method was easy with the old system as a new instance of the
resources was created for each request and the Site was a field. However now -
with the singleton model - one needs to know the name of the site go lookup the
instance. So basically a getSite() method can no longer be implemented.
As the Viewable instances need to receive an instance of BaseStanbolResource -
as they included templates access a lot of properties provided by this
implementation - I can not see how to provide the Views created by the
ReferencedSiteRootResource with the reference to the Site expected by the
templates.
> migrate entityhub
> ------------------
>
> Key: STANBOL-1127
> URL: https://issues.apache.org/jira/browse/STANBOL-1127
> Project: Stanbol
> Issue Type: Sub-task
> Reporter: Reto Bachmann-Gmür
>
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)