You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by "Rupert Westenthaler (JIRA)" <ji...@apache.org> on 2013/12/16 09:50:07 UTC

[jira] [Commented] (STANBOL-1127) migrate entityhub

    [ 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)