Re: zk+ofBiz, how to intgerate ftl with ZUL?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: zk+ofBiz, how to intgerate ftl with ZUL?

BJ Freeman
I am not familiar with AJAX, so I sent you question to the user group


[hidden email] sent the following on 8/16/2010 9:46 AM:

> BJ Freeman,
>
> I have seen your posts on nabble related to ZK + OfBiz, had this question below.
>
> I have finished integrating ZK with ofBiz after looking up Milind's screencasts and other websites but I need to include ZUL file within an FTL file so that I can re-use ofBiz's legacy header,menu, footer and use ZK only for the body content.
>
> Also wanted to see if i can use ZUL files in *screen.xml such as PartyScreens.xml as below :
>
> ********************************
>
> <screen name="ViewDevices">
>
>         <section>
>             <actions>
>                 <set field="titleProperty" value="ViewTerminals"/>
>                 <set field="tabButtonItem" value="TerminalDetails"/>
>                 <set field="headerItem" value="find"/>
>                 <script location="component://party/webapp/partymgr/WEB-INF/actions/party/viewDevices.bsh"/>
>                 <script location="component://party/webapp/partymgr/WEB-INF/actions/party/setPartyAttributes.bsh"/>
>             </actions>
>             <widgets>
>                 <decorator-screen name="TerminalCommonPartyDecorator" location="${parameters.mainDecoratorLocation}">
>                     <decorator-section name="body">
>
>                         <platform-specific>
>                             <html>
>
>                                 <html-template
>                                         location="component://party/webapp/partymgr/party/updatePartyTerminalInfo.ftl"/>
>
>                             </html>
>                         </platform-specific>
>                         <platform-specific>
>                             <html>
>
>                                 <!--<html-template location="component://party/webapp/partymgr/party/ViewDevices.ftl"/>-->
>                                 <html-template location="component://party/webapp/partymgr/party/editPosMenu.zul"/>
>                             </html>
>                         </platform-specific>
>                     </decorator-section>
>                 </decorator-screen>
>             </widgets>
>         </section>
>     </screen>
>
> ********************************
> Can you please let me know?
>
> Thanks,
> Ramnath.
>