incubator-clerezza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reto Bachmann-Gmür (JIRA) <j...@apache.org>
Subject [jira] [Commented] (CLEREZZA-460) Use whiteboard pattern for Renderlets
Date Fri, 25 Mar 2011 14:55:05 GMT

    [ 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

Mime
View raw message