You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@clerezza.apache.org by "Manuel Innerhofer (JIRA)" <ji...@apache.org> on 2010/05/11 17:03:42 UTC
[jira] Created: (CLEREZZA-214) In platform.typerendering: When
using the render() function in ssp, a TypeHandler (if existent) should be
invoked to "process" GraphNode before rendering.
In platform.typerendering: When using the render() function in ssp, a TypeHandler (if existent) should be invoked to "process" GraphNode before rendering.
----------------------------------------------------------------------------------------------------------------------------------------------------------
Key: CLEREZZA-214
URL: https://issues.apache.org/jira/browse/CLEREZZA-214
Project: Clerezza
Issue Type: Improvement
Reporter: Manuel Innerhofer
At the moment:
E.g I have a resource of type "http:localhost:8080/MyTop10CountrySongs". When I request the resource in the browser, then my Top10CountrySongsTypeHandler is invoked, which will search my graph and determines by top 10 favorite country songs. A graph node in a UnionGraph of a SimpleMGraph (containing triples from my resource to the 10 songs) and the content graph is finally returned by the TypeHandler for rendering.
The Problem:
Now I'd like to render my "http:localhost:8080/MyTop10CountrySongs" resource within a .ssp. But the Top10CountrySongsTypeHandler, which complemented the graph, is not be executed, therefore the the properties pointing to the songs are missing.
The Request:
Please fix this
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CLEREZZA-214) In platform.typerendering: When
using the render() function in ssp, a TypeHandler (if existent) should be
invoked to "process" GraphNode before rendering.
Posted by "Manuel Innerhofer (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLEREZZA-214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12866180#action_12866180 ]
Manuel Innerhofer commented on CLEREZZA-214:
--------------------------------------------
Top10CountrySongsTypeHandler is invoked by the typehandlespace when making a request on the resource of the RDF:type "http:localhost:8080/MyTop10CountrySongs". But on the other hand when I have a .ssp and I want to render my resource (using the CallbackRenderer) of the RDF:type "http:localhost:8080/MyTop10CountrySongs", then the Top10CountrySongsTypeHandler is not invoked.
> In platform.typerendering: When using the render() function in ssp, a TypeHandler (if existent) should be invoked to "process" GraphNode before rendering.
> ----------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: CLEREZZA-214
> URL: https://issues.apache.org/jira/browse/CLEREZZA-214
> Project: Clerezza
> Issue Type: Improvement
> Reporter: Manuel Innerhofer
>
> At the moment:
> E.g I have a resource of type "http:localhost:8080/MyTop10CountrySongs". When I request the resource in the browser, then my Top10CountrySongsTypeHandler is invoked, which will search my graph and determines by top 10 favorite country songs. A graph node in a UnionGraph of a SimpleMGraph (containing triples from my resource to the 10 songs) and the content graph is finally returned by the TypeHandler for rendering.
> The Problem:
> Now I'd like to render my "http:localhost:8080/MyTop10CountrySongs" resource within a .ssp. But the Top10CountrySongsTypeHandler, which complemented the graph, is not executed, therefore the the properties pointing to the songs are missing.
> The Request:
> Please fix this
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CLEREZZA-214) In platform.typerendering: When
using the render() function in ssp, a TypeHandler (if existent) should be
invoked to "process" GraphNode before rendering.
Posted by "Manuel Innerhofer (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLEREZZA-214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Manuel Innerhofer updated CLEREZZA-214:
---------------------------------------
Description:
At the moment:
E.g I have a resource of type "http:localhost:8080/MyTop10CountrySongs". When I request the resource in the browser, then my Top10CountrySongsTypeHandler is invoked, which will search my graph and determines by top 10 favorite country songs. A graph node in a UnionGraph of a SimpleMGraph (containing triples from my resource to the 10 songs) and the content graph is finally returned by the TypeHandler for rendering.
The Problem:
Now I'd like to render my "http:localhost:8080/MyTop10CountrySongs" resource within a .ssp. But the Top10CountrySongsTypeHandler, which complemented the graph, is not executed, therefore the the properties pointing to the songs are missing.
The Request:
Please fix this
was:
At the moment:
E.g I have a resource of type "http:localhost:8080/MyTop10CountrySongs". When I request the resource in the browser, then my Top10CountrySongsTypeHandler is invoked, which will search my graph and determines by top 10 favorite country songs. A graph node in a UnionGraph of a SimpleMGraph (containing triples from my resource to the 10 songs) and the content graph is finally returned by the TypeHandler for rendering.
The Problem:
Now I'd like to render my "http:localhost:8080/MyTop10CountrySongs" resource within a .ssp. But the Top10CountrySongsTypeHandler, which complemented the graph, is not be executed, therefore the the properties pointing to the songs are missing.
The Request:
Please fix this
> In platform.typerendering: When using the render() function in ssp, a TypeHandler (if existent) should be invoked to "process" GraphNode before rendering.
> ----------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: CLEREZZA-214
> URL: https://issues.apache.org/jira/browse/CLEREZZA-214
> Project: Clerezza
> Issue Type: Improvement
> Reporter: Manuel Innerhofer
>
> At the moment:
> E.g I have a resource of type "http:localhost:8080/MyTop10CountrySongs". When I request the resource in the browser, then my Top10CountrySongsTypeHandler is invoked, which will search my graph and determines by top 10 favorite country songs. A graph node in a UnionGraph of a SimpleMGraph (containing triples from my resource to the 10 songs) and the content graph is finally returned by the TypeHandler for rendering.
> The Problem:
> Now I'd like to render my "http:localhost:8080/MyTop10CountrySongs" resource within a .ssp. But the Top10CountrySongsTypeHandler, which complemented the graph, is not executed, therefore the the properties pointing to the songs are missing.
> The Request:
> Please fix this
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (CLEREZZA-214) In platform.typerendering: When using
the render() function in ssp, a TypeHandler (if existent) should be invoked
to "process" GraphNode before rendering.
Posted by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLEREZZA-214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Reto Bachmann-Gmür closed CLEREZZA-214.
---------------------------------------
Assignee: Reto Bachmann-Gmür
Resolution: Won't Fix
I think what should be used here are virtual graphs as temporary addition to the content graph.
TypeHandlers are there to allow response a response of an arbitrary type. A typical usecase would be to deliver a binary stream encoding the sound of the requested music resource, especially if this data cannot easily be conceived in RDF.
If typehandlers returns a graphnode, the graphnode backing the graphnode must contain all information the rendering mechanism might need. If the ssp includes a referenced resource as reference in the html (image, object,...) a TypeHandler might be invoked on that resource but this is only the case when a new request is processed, typehandlers are seen as a separate layer from the rendering mechanism which is not invoked once a GraphNode has been returned by a jax-rs or TypeHandler resource-method.
In the case you describe its about fast changing data external to the stored graphs, I think that's a prototypical usecase for virtual graph as content-graph addition, its about content not presentation.
> In platform.typerendering: When using the render() function in ssp, a TypeHandler (if existent) should be invoked to "process" GraphNode before rendering.
> ----------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: CLEREZZA-214
> URL: https://issues.apache.org/jira/browse/CLEREZZA-214
> Project: Clerezza
> Issue Type: Improvement
> Reporter: Manuel Innerhofer
> Assignee: Reto Bachmann-Gmür
>
> At the moment:
> E.g I have a resource of type "http:localhost:8080/MyTop10CountrySongs". When I request the resource in the browser, then my Top10CountrySongsTypeHandler is invoked, which will search my graph and determines by top 10 favorite country songs. A graph node in a UnionGraph of a SimpleMGraph (containing triples from my resource to the 10 songs) and the content graph is finally returned by the TypeHandler for rendering.
> The Problem:
> Now I'd like to render my "http:localhost:8080/MyTop10CountrySongs" resource within a .ssp. But the Top10CountrySongsTypeHandler, which complemented the graph, is not executed, therefore the the properties pointing to the songs are missing.
> The Request:
> Please fix this
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CLEREZZA-214) In platform.typerendering: When
using the render() function in ssp, a TypeHandler (if existent) should be
invoked to "process" GraphNode before rendering.
Posted by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLEREZZA-214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12866175#action_12866175 ]
Reto Bachmann-Gmür commented on CLEREZZA-214:
---------------------------------------------
I don't quite understand, you say that Top10CountrySongsTypeHandler is invoked and that Top10CountrySongsTypeHandler is not executed, could you claify?
also attaching aminimal project demonstartingthe issue would be great.
> In platform.typerendering: When using the render() function in ssp, a TypeHandler (if existent) should be invoked to "process" GraphNode before rendering.
> ----------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: CLEREZZA-214
> URL: https://issues.apache.org/jira/browse/CLEREZZA-214
> Project: Clerezza
> Issue Type: Improvement
> Reporter: Manuel Innerhofer
>
> At the moment:
> E.g I have a resource of type "http:localhost:8080/MyTop10CountrySongs". When I request the resource in the browser, then my Top10CountrySongsTypeHandler is invoked, which will search my graph and determines by top 10 favorite country songs. A graph node in a UnionGraph of a SimpleMGraph (containing triples from my resource to the 10 songs) and the content graph is finally returned by the TypeHandler for rendering.
> The Problem:
> Now I'd like to render my "http:localhost:8080/MyTop10CountrySongs" resource within a .ssp. But the Top10CountrySongsTypeHandler, which complemented the graph, is not be executed, therefore the the properties pointing to the songs are missing.
> The Request:
> Please fix this
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CLEREZZA-214) In platform.typerendering: When
using the render() function in ssp, a TypeHandler (if existent) should be
invoked to "process" GraphNode before rendering.
Posted by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLEREZZA-214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12866507#action_12866507 ]
Reto Bachmann-Gmür commented on CLEREZZA-214:
---------------------------------------------
Ok, after talking to manuel I understand the issue. The request is that TypeHandlers are executed even when calling the render-function in an ssp (or other renderlets).
> In platform.typerendering: When using the render() function in ssp, a TypeHandler (if existent) should be invoked to "process" GraphNode before rendering.
> ----------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: CLEREZZA-214
> URL: https://issues.apache.org/jira/browse/CLEREZZA-214
> Project: Clerezza
> Issue Type: Improvement
> Reporter: Manuel Innerhofer
>
> At the moment:
> E.g I have a resource of type "http:localhost:8080/MyTop10CountrySongs". When I request the resource in the browser, then my Top10CountrySongsTypeHandler is invoked, which will search my graph and determines by top 10 favorite country songs. A graph node in a UnionGraph of a SimpleMGraph (containing triples from my resource to the 10 songs) and the content graph is finally returned by the TypeHandler for rendering.
> The Problem:
> Now I'd like to render my "http:localhost:8080/MyTop10CountrySongs" resource within a .ssp. But the Top10CountrySongsTypeHandler, which complemented the graph, is not executed, therefore the the properties pointing to the songs are missing.
> The Request:
> Please fix this
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.