Hello
I want to ask is it possible to send data from fremarker template to beanshell/groovy to input of service and the other way from output of service to benashell/groovy to freemareker ? 10x all |
No.
Controller -> business logic/data preparation -> presentation. Take some time to investigate MVC programming. -Adrian --- On Fri, 11/7/08, Geotek office <[hidden email]> wrote: > From: Geotek office <[hidden email]> > Subject: preocess data between freemarker and services > To: [hidden email] > Date: Friday, November 7, 2008, 11:51 PM > Hello > > I want to ask is it possible to send data from fremarker > template to beanshell/groovy to input of service and the > other way from output of service to benashell/groovy to > freemareker ? > > 10x all |
10x
I am confused because in hello2 example ( http://www.opensourcestrategies.com/ofbiz/hello_world2.php) presentation layer is freemarker template and the data gathering is beanshell script. In hello3 (http://www.opensourcestrategies.com/ofbiz/hello_world3.php) is used java service for business logic and widgets (screen-widgets, form-widgets ) for presentation layer. I was confused is it possible to use freemarker for presentation layer and java service for business logic? 10x for help
|
freemaker and widgets are presentation.
and you can use scripts with both. you can also call a service thru the controller that returns to the controller and send to the view which is the prentation layer. so all three follow Controller -> business logic/data preparation -> presentation. just different ways of doing it. byte sent the following on 11/8/2008 3:23 AM: > 10x > > I am confused because in hello2 example ( > http://www.opensourcestrategies.com/ofbiz/hello_world2.php) > presentation layer is freemarker template and the data gathering is > beanshell script. > > In hello3 (http://www.opensourcestrategies.com/ofbiz/hello_world3.php) is > used java service for business logic and widgets (screen-widgets, > form-widgets ) for presentation layer. > > I was confused is it possible to use freemarker for presentation layer and > java service for business logic? > > 10x for help > > > Adrian Crum-2 wrote: >> No. >> >> Controller -> business logic/data preparation -> presentation. >> >> Take some time to investigate MVC programming. >> >> -Adrian >> >> >> --- On Fri, 11/7/08, Geotek office <[hidden email]> wrote: >> >>> From: Geotek office <[hidden email]> >>> Subject: preocess data between freemarker and services >>> To: [hidden email] >>> Date: Friday, November 7, 2008, 11:51 PM >>> Hello >>> >>> I want to ask is it possible to send data from fremarker >>> template to beanshell/groovy to input of service and the >>> other way from output of service to benashell/groovy to >>> freemareker ? >>> >>> 10x all >> >> >> >> > |
10x very much
|
Free forum by Nabble | Edit this page |