[ 
https://issues.apache.org/jira/browse/OFBIZ-1975?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12635242#action_12635242
 ] 

BJ Freeman commented on OFBIZ-1975:
-----------------------------------

Usually these should be ask in the User ML>
unless you start with just the framework and build you own application you can 
not get away for XML entirely.
you have the controller
given you willing to use the controller
you then write code to handle the type of presentation layer you want.
look in the common-controller  for 
       <handler name="handlername" type="view" 
class="org.ofbiz.webapp.view.handlerjavacodename"/>
here is one for to handle the ftl
    <handler name="ftl" type="view" 
class="org.ofbiz.webapp.ftl.FreeMarkerViewHandler"/>   
then in the view
   <view-map name="LookupLocales" type="handlername" 
page="component://common/widget/LookupScreens.xml#LookupLocales"/>




> Could you show me example witch creates presentation layer with freemarker 
> template language
> --------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1975
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1975
>             Project: OFBiz
>          Issue Type: Question
>            Reporter: Jose Mouriho
>
> Hello 
> I want to ask about some ofbiz example application witch has presentation 
> layer created with freemarker template language or 
> by some other technique ( without xml definition of  presentation layer 
> interface) 
> I am interested how to connect service defined by java and the freemarker 
> template .
> If there is some other way for developing presentation layer please share 
> with me 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to