[ 
https://issues.apache.org/jira/browse/CONNECTORS-265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119990#comment-13119990
 ] 

Karl Wright commented on CONNECTORS-265:
----------------------------------------

I've been thinking about this, and I've concluded that in order to support the 
required constructs, we're going to need a language, not just a simple 
substitution.  I liked JSP because it allowed this to be done with Java, but 
with JSP as implemented in app servers you lose control over the class loading. 
 (Or do you?  if you can find a way to put JSP's in resources such that we call 
them from the connector class and the right class loader gets used, that would 
work.

Solr uses Velocity.  I'm not thrilled with Velocity because it forces all 
control logic to be tags, and thus becomes very cumbersome very quickly.  But 
perhaps it has gotten better - maybe we should look at it again.

If none of these works out, I may be able to design a language that would meet 
the goals.  It would, of course, be unique to ManifoldCF, but so is the 
substitution scheme.

                
> Remove all the HTML snippets from the Java code
> -----------------------------------------------
>
>                 Key: CONNECTORS-265
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-265
>             Project: ManifoldCF
>          Issue Type: Improvement
>          Components: CMIS connector
>            Reporter: Piergiorgio Lucidi
>            Assignee: Piergiorgio Lucidi
>         Attachments: patch.txt, patch2.txt
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> We have to start to remove all the HTML code inside Java classes, I started a 
> refactoring to create a simple outputResource method that can be considered 
> globally for all the connectors.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to