You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@clerezza.apache.org by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org> on 2011/03/25 15:55:05 UTC
[jira] [Commented] (CLEREZZA-460) Use whiteboard pattern for
Renderlets
[ https://issues.apache.org/jira/browse/CLEREZZA-460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13011228#comment-13011228 ]
Reto Bachmann-Gmür commented on CLEREZZA-460:
---------------------------------------------
Thanks Daniel. I applied your patch. There is a hidden (by specifying the classname as a string) circular dependency to scala server pages, this should be avoided, the easiest I think would be to integrate this template in the ExceptionMapper, but this would require scala to java conversion (or changing to scala the rest).
> Use whiteboard pattern for Renderlets
> -------------------------------------
>
> Key: CLEREZZA-460
> URL: https://issues.apache.org/jira/browse/CLEREZZA-460
> Project: Clerezza
> Issue Type: Improvement
> Reporter: Reto Bachmann-Gmür
> Assignee: Reto Bachmann-Gmür
> Attachments: patch-typerendering-core.diff
>
>
> The current mechanism for renderlets is overly complex. Instead of describing renderlets in a graph rendelets should be services that have properties indicating the rdf type and the mode-pattern they handle.
> The priority for selecting renderlets should be:
> - type, according to type-priority list
> - length of regex math (the matching regex with the most alphanumeric characters wins)
> - startlevel of the bundle providing the service
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira