Thanks & Regards Santosh Malviya Milind Parikh wrote: My suggestion, right now, would be to type in the code. It's really simple; as you have seen. Regards - Milind On Thu, Jan 29, 2009 at 7:33 AM, Santosh Malviya < [hidden email]> wrote:Hello Milind, I watched your video of zk integration with OFBiz, as you talked about zkViewHandler to include into framework's widget screen, so from where this handler can be downloaded, I have googled but could not find. Please help me to get this handler. Jacques Le Roux wrote:Thank you Milind, I put the link below existing ones in FAQ Jacques From: "Bruno Busco" [hidden email]Thank you Milind, this looks very interesting IMO. -Bruno 2009/1/6 Milind Parikh [hidden email]:Hi Cruno I am unable to post on the ML right now. But I have posted the screenshots from the UI (comparing and contrasting with the default UI provided through ofbiz. http://www.screencast.com/t/PYqgjKm05S Regards -- Milind On Tue, Dec 23, 2008 at 3:26 AM, Bruno Busco [hidden email] wrote: Could we see some screenshot of how it looks like? (I mean the UI yougot) -Bruno 2008/12/22 Milind P [hidden email]:Steps 5 and 6 http://www.screencast.com/t/w2gFN4ytj I apologize for the audio quality. It is difficult to record from anAirportwith security advisories in the back ground. But hopefully on fullvolume,it should be ok. Bruno Busco wrote:Really cool! Looking forward to Steps 5 and 6 !!!! -Bruno 2008/12/22 Milind P [hidden email]Here are the two URLs for the ScreenCast. http://www.screencast.com/t/PTbvcO1CygR http://www.screencast.com/t/9ZBeRPolNdG The third one is coming.. (It's 1:18 am and I have an international flight today). Bruno Busco wrote:Yes, we will eventually handle this as a plug-in. -Bruno 2008/12/21 Jacques Le Roux [hidden email]Remember though that this will not be commited in OFBiz due toZK'sGPLlicence http://en.wikipedia.org/wiki/ZK_Framework Jacques From: "Bruno Busco" [hidden email] Hi Milind,I have read your progress in the Zk forum. The OFBiz-Zk looksreallyinteresting to me, could we see something? You could open a JIRA issue with some screenshot and patches. Thank you, -Bruno 2008/12/21 Milind P [hidden email]ZkViewHandler written. Turns out to be too simple. Please read cross-post athttp://www.potix.com/forum/index.zul#path%3DlistComment%3BdiscussionId%3D6530%3BcategoryId%3D14%3B. It may indeed be too simple. Any gotcha's? -- Milind BJ Freeman wrote:From reading the documentation, I don't believe this wasreallyimplemented or the person understood ofbiz. it seems that is assumes that by using a delegator it candirectlyaccess tables. this by-passes all entity aware stuff. first you need to right a handlerhttp://docs.ofbiz.org/display/OFBIZ/Understanding+the+OFBiz+Widget+ToolkitYou will probably have to write a worker class for ZK, lookat thefreemakerworker.java you should then be able to include a zk file in a widgetlike youdoaftl. Ritz123 sent the following on 2/1/2008 10:18 AM:I have read that already - I cant find it anywhere in thedocumentwhereit says how can you use ZUL/ZHTML pages with your existingftls/htmlsor howto use screen widget with ZK May be I am missing something. guo weizhan wrote:you should read this first:http://docs.ofbiz.org/display/OFBIZ/ZK+Rich+Client+-+integration+tutorial2008/2/1, Ritz123 [hidden email]:Hi, Those who are using ZK with Ofbiz does it need a viewhandler?How have you guys integrated ZUL/ZHTML pages with Ofbiz?(eitherin thescreens.xml or controller.xml)? -- View this message in context:http://www.nabble.com/ZK-view-handler--tp15217609p15217609.htmlSent from the OFBiz - User mailing list archive atNabble.com.-- View this message in context:http://www.nabble.com/ZK-view-handler--tp15217609p21112393.htmlSent from the OFBiz - User mailing list archive at Nabble.com.-- View this message in context: http://www.nabble.com/ZK-view-handler--tp15217609p21124711.html Sent from the OFBiz - User mailing list archive at Nabble.com.-- View this message in context:http://www.nabble.com/ZK-view-handler--tp15217609p21135132.htmlSent from the OFBiz - User mailing list archive at Nabble.com.-- Thanks and Regards Santosh Malviya Enterprise Software Developer Hotwax Media Inc. Indore(M.P.) India Mobile : +91 9977650914 smime.p7s (4K) Download Attachment |
After doing integration of Zk with OFBiz, how I can use existing events/services of OFBiz into Zk.Please suggest how can I do so. Thanks in advance. Thanks and Regards Santosh Malviya Santosh Malviya wrote:
smime.p7s (4K) Download Attachment |
The simple answer is .. simple.
Declare a delegator and then a dispatcher based on the delegator and runSync() and mull over the results in Zk. For example: phaseList = dispatcher.runSync("getProjectPhaseList", dMap).get("phaseList"); However this approach does require expertise over Zk (RT.M) as well. Regards -- Milind On Sun, Feb 1, 2009 at 9:56 PM, Santosh Malviya < [hidden email]> wrote: > Hello all, > After doing integration of Zk with OFBiz, how I can use existing > events/services of OFBiz into Zk.Please suggest how can I do so. > Thanks in advance. > > Thanks and Regards > Santosh Malviya > > Santosh Malviya wrote: > > Thank you Milind for the suggestion. > > Thanks & Regards > Santosh Malviya > > Milind Parikh wrote: > > My suggestion, right now, would be to type in the code. It's really simple; > as you have seen. > > Regards > - Milind > > > On Thu, Jan 29, 2009 at 7:33 AM, Santosh Malviya <[hidden email]> wrote: > > > > Hello Milind, > I watched your video of zk integration with OFBiz, as you talked about > zkViewHandler to include into framework's widget screen, so from where this > handler can be downloaded, I have googled but could not find. Please help me > to get this handler. > > > > Jacques Le Roux wrote: > > > > Thank you Milind, I put the link below existing ones in FAQ > > Jacques > > From: "Bruno Busco" <[hidden email]> <[hidden email]> > > Thank you Milind, > this looks very interesting IMO. > > -Bruno > > 2009/1/6 Milind Parikh <[hidden email]> <[hidden email]>: > > > > Hi Cruno > > I am unable to post on the ML right now. But I have posted the > screenshots > from the UI (comparing and contrasting with the default UI provided > through > ofbiz. > http://www.screencast.com/t/PYqgjKm05S > > Regards > -- Milind > > > On Tue, Dec 23, 2008 at 3:26 AM, Bruno Busco <[hidden email]> <[hidden email]> > wrote: > > Could we see some screenshot of how it looks like? (I mean the UI you > > > got) > > -Bruno > > 2008/12/22 Milind P <[hidden email]> <[hidden email]>: > > > Steps 5 and 6 > http://www.screencast.com/t/w2gFN4ytj > > I apologize for the audio quality. It is difficult to record from an > > > Airport > > > with security advisories in the back ground. But hopefully on full > > > volume, > > > it should be ok. > > > > Bruno Busco wrote: > > > Really cool! > Looking forward to Steps 5 and 6 !!!! > > -Bruno > > 2008/12/22 Milind P <[hidden email]> <[hidden email]> > > Here are the two URLs for the ScreenCast. > http://www.screencast.com/t/PTbvcO1CygRhttp://www.screencast.com/t/9ZBeRPolNdG > > The third one is coming.. (It's 1:18 am and I have an international > flight > today). > > > > Bruno Busco wrote: > > > Yes, > we will eventually handle this as a plug-in. > > -Bruno > > 2008/12/21 Jacques Le Roux <[hidden email]> <[hidden email]> > > Remember though that this will not be commited in OFBiz due to > > > ZK's > > > GPL > > > licence http://en.wikipedia.org/wiki/ZK_Framework > > Jacques > > From: "Bruno Busco" <[hidden email]> <[hidden email]> > > Hi Milind, > > > I have read your progress in the Zk forum. The OFBiz-Zk looks > > > really > > > interesting to me, could we see something? > You could open a JIRA issue with some screenshot and patches. > > Thank you, > -Bruno > > 2008/12/21 Milind P <[hidden email]> <[hidden email]> > > > ZkViewHandler written. Turns out to be too simple. Please read > cross-post > at > > > > > > http://www.potix.com/forum/index.zul#path%3DlistComment%3BdiscussionId%3D6530%3BcategoryId%3D14%3B > > . > > It may indeed be too simple. Any gotcha's? > > -- Milind > > > > > BJ Freeman wrote: > > > From reading the documentation, I don't believe this was > > > really > > > implemented or the person understood ofbiz. > > it seems that is assumes that by using a delegator it can > > > directly > > > access tables. this by-passes all entity aware stuff. > > first you need to right a handler > > > > http://docs.ofbiz.org/display/OFBIZ/Understanding+the+OFBiz+Widget+Toolkit > > You will probably have to write a worker class for ZK, look > > > at > the > > > freemakerworker.java > > you should then be able to include a zk file in a widget > > > like > you > > > do > > > a > > > ftl. > > > > > Ritz123 sent the following on 2/1/2008 10:18 AM: > > > I have read that already - I cant find it anywhere in the > > > document > > > where > > > it > says how can you use ZUL/ZHTML pages with your existing > > > ftls/htmls > > > or > how > > > to > use screen widget with ZK > > May be I am missing something. > > > guo weizhan wrote: > > > you should read this first: > > > > http://docs.ofbiz.org/display/OFBIZ/ZK+Rich+Client+-+integration+tutorial > > 2008/2/1, Ritz123 <[hidden email]> <[hidden email]>: > > > Hi, > > Those who are using ZK with Ofbiz does it need a view > > > handler? > > > How have you guys integrated ZUL/ZHTML pages with Ofbiz? > > > (either > > > in > the > > > screens.xml or controller.xml)? > -- > View this message in context: > > > > http://www.nabble.com/ZK-view-handler--tp15217609p15217609.html > > Sent from the OFBiz - User mailing list archive at > > > Nabble.com. > > > -- > View this message in context: > > > > http://www.nabble.com/ZK-view-handler--tp15217609p21112393.html > > Sent from the OFBiz - User mailing list archive at Nabble.com. > > > > > > -- > View this message in context:http://www.nabble.com/ZK-view-handler--tp15217609p21124711.html > Sent from the OFBiz - User mailing list archive at Nabble.com. > > > > > -- > View this message in context: > > > http://www.nabble.com/ZK-view-handler--tp15217609p21135132.html > > Sent from the OFBiz - User mailing list archive at Nabble.com. > > > > > -- > Thanks and Regards > Santosh Malviya > Enterprise Software Developer > Hotwax Media Inc. > Indore(M.P.) India > Mobile : +91 9977650914 > > > > > |
Thank you Milind for your quick reply, could you tell meaning of RT.M
in Zk(RT.M).
Thanks and Regards Santosh Malviya Milind Parikh wrote: The simple answer is .. simple. Declare a delegator and then a dispatcher based on the delegator and runSync() and mull over the results in Zk. For example: phaseList = dispatcher.runSync("getProjectPhaseList", dMap).get("phaseList"); However this approach does require expertise over Zk (RT.M) as well. Regards -- Milind On Sun, Feb 1, 2009 at 9:56 PM, Santosh Malviya < [hidden email]> wrote:Hello all, After doing integration of Zk with OFBiz, how I can use existing events/services of OFBiz into Zk.Please suggest how can I do so. Thanks in advance. Thanks and Regards Santosh Malviya Santosh Malviya wrote: Thank you Milind for the suggestion. Thanks & Regards Santosh Malviya Milind Parikh wrote: My suggestion, right now, would be to type in the code. It's really simple; as you have seen. Regards - Milind On Thu, Jan 29, 2009 at 7:33 AM, Santosh Malviya [hidden email] wrote: Hello Milind, I watched your video of zk integration with OFBiz, as you talked about zkViewHandler to include into framework's widget screen, so from where this handler can be downloaded, I have googled but could not find. Please help me to get this handler. Jacques Le Roux wrote: Thank you Milind, I put the link below existing ones in FAQ Jacques From: "Bruno Busco" [hidden email] [hidden email] Thank you Milind, this looks very interesting IMO. -Bruno 2009/1/6 Milind Parikh [hidden email] [hidden email]: Hi Cruno I am unable to post on the ML right now. But I have posted the screenshots from the UI (comparing and contrasting with the default UI provided through ofbiz. http://www.screencast.com/t/PYqgjKm05S Regards -- Milind On Tue, Dec 23, 2008 at 3:26 AM, Bruno Busco [hidden email] [hidden email] wrote: Could we see some screenshot of how it looks like? (I mean the UI you got) -Bruno 2008/12/22 Milind P [hidden email] [hidden email]: Steps 5 and 6 http://www.screencast.com/t/w2gFN4ytj I apologize for the audio quality. It is difficult to record from an Airport with security advisories in the back ground. But hopefully on full volume, it should be ok. Bruno Busco wrote: Really cool! Looking forward to Steps 5 and 6 !!!! -Bruno 2008/12/22 Milind P [hidden email] [hidden email] Here are the two URLs for the ScreenCast. http://www.screencast.com/t/PTbvcO1CygRhttp://www.screencast.com/t/9ZBeRPolNdG The third one is coming.. (It's 1:18 am and I have an international flight today). Bruno Busco wrote: Yes, we will eventually handle this as a plug-in. -Bruno 2008/12/21 Jacques Le Roux [hidden email] [hidden email] Remember though that this will not be commited in OFBiz due to ZK's GPL licence http://en.wikipedia.org/wiki/ZK_Framework Jacques From: "Bruno Busco" [hidden email] [hidden email] Hi Milind, I have read your progress in the Zk forum. The OFBiz-Zk looks really interesting to me, could we see something? You could open a JIRA issue with some screenshot and patches. Thank you, -Bruno 2008/12/21 Milind P [hidden email] [hidden email] ZkViewHandler written. Turns out to be too simple. Please read cross-post at http://www.potix.com/forum/index.zul#path%3DlistComment%3BdiscussionId%3D6530%3BcategoryId%3D14%3B . It may indeed be too simple. Any gotcha's? -- Milind BJ Freeman wrote: From reading the documentation, I don't believe this was really implemented or the person understood ofbiz. it seems that is assumes that by using a delegator it can directly access tables. this by-passes all entity aware stuff. first you need to right a handler http://docs.ofbiz.org/display/OFBIZ/Understanding+the+OFBiz+Widget+Toolkit You will probably have to write a worker class for ZK, look at the freemakerworker.java you should then be able to include a zk file in a widget like you do a ftl. Ritz123 sent the following on 2/1/2008 10:18 AM: I have read that already - I cant find it anywhere in the document where it says how can you use ZUL/ZHTML pages with your existing ftls/htmls or how to use screen widget with ZK May be I am missing something. guo weizhan wrote: you should read this first: http://docs.ofbiz.org/display/OFBIZ/ZK+Rich+Client+-+integration+tutorial 2008/2/1, Ritz123 [hidden email] [hidden email]: Hi, Those who are using ZK with Ofbiz does it need a view handler? How have you guys integrated ZUL/ZHTML pages with Ofbiz? (either in the screens.xml or controller.xml)? -- View this message in context: http://www.nabble.com/ZK-view-handler--tp15217609p15217609.html Sent from the OFBiz - User mailing list archive at Nabble.com. -- View this message in context: http://www.nabble.com/ZK-view-handler--tp15217609p21112393.html Sent from the OFBiz - User mailing list archive at Nabble.com. -- View this message in context:http://www.nabble.com/ZK-view-handler--tp15217609p21124711.html Sent from the OFBiz - User mailing list archive at Nabble.com. -- View this message in context: http://www.nabble.com/ZK-view-handler--tp15217609p21135132.html Sent from the OFBiz - User mailing list archive at Nabble.com. -- Thanks and Regards Santosh Malviya Enterprise Software Developer Hotwax Media Inc. Indore(M.P.) India Mobile : +91 9977650914 -- Thanks and Regards Santosh Malviya Enterprise Software Developer Hotwax Media Inc. Indore(M.P.) India Mobile : +91 9977650914 smime.p7s (4K) Download Attachment |
Sorry... RT.M is the more polite form of RTFM (Read The ... Manual).
On Sun, Feb 1, 2009 at 10:31 PM, Santosh Malviya < [hidden email]> wrote: > Thank you Milind for your quick reply, could you tell meaning of RT.M in > Zk(RT.M). > > Thanks and Regards > Santosh Malviya > > Milind Parikh wrote: > > The simple answer is .. simple. > > Declare a delegator and then a dispatcher based on the delegator and > runSync() and mull over the results in Zk. > > For example: > phaseList = dispatcher.runSync("getProjectPhaseList", > dMap).get("phaseList"); > > However this approach does require expertise over Zk (RT.M) as well. > > Regards > > -- Milind > > > On Sun, Feb 1, 2009 at 9:56 PM, Santosh Malviya <[hidden email]> wrote: > > > > Hello all, > After doing integration of Zk with OFBiz, how I can use existing > events/services of OFBiz into Zk.Please suggest how can I do so. > Thanks in advance. > > Thanks and Regards > Santosh Malviya > > Santosh Malviya wrote: > > Thank you Milind for the suggestion. > > Thanks & Regards > Santosh Malviya > > Milind Parikh wrote: > > My suggestion, right now, would be to type in the code. It's really simple; > as you have seen. > > Regards > - Milind > > > On Thu, Jan 29, 2009 at 7:33 AM, Santosh Malviya <[hidden email]> <[hidden email]> > wrote: > > > > Hello Milind, > I watched your video of zk integration with OFBiz, as you talked about > zkViewHandler to include into framework's widget screen, so from where this > handler can be downloaded, I have googled but could not find. Please help me > to get this handler. > > > > Jacques Le Roux wrote: > > > > Thank you Milind, I put the link below existing ones in FAQ > > Jacques > > From: "Bruno Busco" <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> > > Thank you Milind, > this looks very interesting IMO. > > -Bruno > > 2009/1/6 Milind Parikh <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]>: > > > > Hi Cruno > > I am unable to post on the ML right now. But I have posted the > screenshots > from the UI (comparing and contrasting with the default UI provided > through > ofbiz.http://www.screencast.com/t/PYqgjKm05S > > > Regards > -- Milind > > > On Tue, Dec 23, 2008 at 3:26 AM, Bruno Busco <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> > wrote: > > Could we see some screenshot of how it looks like? (I mean the UI you > > > got) > > -Bruno > > 2008/12/22 Milind P <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]>: > > > Steps 5 and 6http://www.screencast.com/t/w2gFN4ytj > > > I apologize for the audio quality. It is difficult to record from an > > > Airport > > > with security advisories in the back ground. But hopefully on full > > > volume, > > > it should be ok. > > > > Bruno Busco wrote: > > > Really cool! > Looking forward to Steps 5 and 6 !!!! > > -Bruno > > 2008/12/22 Milind P <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> > > Here are the two URLs for the ScreenCast. > http://www.screencast.com/t/PTbvcO1CygRhttp://www.screencast.com/t/9ZBeRPolNdG > > The third one is coming.. (It's 1:18 am and I have an international > flight > today). > > > > Bruno Busco wrote: > > > Yes, > we will eventually handle this as a plug-in. > > -Bruno > > 2008/12/21 Jacques Le Roux <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> > > Remember though that this will not be commited in OFBiz due to > > > ZK's > > > GPL > > > licence http://en.wikipedia.org/wiki/ZK_Framework > > > Jacques > > From: "Bruno Busco" <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> > > Hi Milind, > > > I have read your progress in the Zk forum. The OFBiz-Zk looks > > > really > > > interesting to me, could we see something? > You could open a JIRA issue with some screenshot and patches. > > Thank you, > -Bruno > > 2008/12/21 Milind P <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> > > > > ZkViewHandler written. Turns out to be too simple. Please read > cross-post > at > > > > > > http://www.potix.com/forum/index.zul#path%3DlistComment%3BdiscussionId%3D6530%3BcategoryId%3D14%3B > > . > > It may indeed be too simple. Any gotcha's? > > -- Milind > > > > > BJ Freeman wrote: > > > From reading the documentation, I don't believe this was > > > really > > > implemented or the person understood ofbiz. > > it seems that is assumes that by using a delegator it can > > > directly > > > access tables. this by-passes all entity aware stuff. > > first you need to right a handler > > > > http://docs.ofbiz.org/display/OFBIZ/Understanding+the+OFBiz+Widget+Toolkit > > You will probably have to write a worker class for ZK, look > > > at > the > > > freemakerworker.java > > you should then be able to include a zk file in a widget > > > like > you > > > do > > > a > > > ftl. > > > > > Ritz123 sent the following on 2/1/2008 10:18 AM: > > > I have read that already - I cant find it anywhere in the > > > document > > > where > > > it > says how can you use ZUL/ZHTML pages with your existing > > > ftls/htmls > > > or > how > > > to > use screen widget with ZK > > May be I am missing something. > > > guo weizhan wrote: > > > you should read this first: > > > > http://docs.ofbiz.org/display/OFBIZ/ZK+Rich+Client+-+integration+tutorial > > > 2008/2/1, Ritz123 <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]>: > > > Hi, > > Those who are using ZK with Ofbiz does it need a view > > > handler? > > > How have you guys integrated ZUL/ZHTML pages with Ofbiz? > > > (either > > > in > the > > > screens.xml or controller.xml)? > -- > View this message in context: > > > > http://www.nabble.com/ZK-view-handler--tp15217609p15217609.html > > > Sent from the OFBiz - User mailing list archive at > > > Nabble.com. > > > -- > View this message in context: > > > > http://www.nabble.com/ZK-view-handler--tp15217609p21112393.html > > Sent from the OFBiz - User mailing list archive at Nabble.com. > > > > > > -- > View this message in context:http://www.nabble.com/ZK-view-handler--tp15217609p21124711.html > Sent from the OFBiz - User mailing list archive at Nabble.com. > > > > > -- > View this message in context: > > > http://www.nabble.com/ZK-view-handler--tp15217609p21135132.html > > Sent from the OFBiz - User mailing list archive at Nabble.com. > > > > > -- > Thanks and Regards > Santosh Malviya > Enterprise Software Developer > Hotwax Media Inc. > Indore(M.P.) India > Mobile : +91 9977650914 > > > > > > > > > -- > Thanks and Regards > Santosh Malviya > Enterprise Software Developer > Hotwax Media Inc. > Indore(M.P.) India > Mobile : +91 9977650914 > > |
I have to use groovy in zk and I did it with tag <zscript language="Groovy"> but I got an interpreter exception saying "Groovy not found", am I missing something or any plugin is required for it. Thanks in advance. Thanks & Regards Santosh Malviya Milind Parikh wrote: Sorry... RT.M is the more polite form of RTFM (Read The ... Manual). On Sun, Feb 1, 2009 at 10:31 PM, Santosh Malviya < [hidden email]> wrote:Thank you Milind for your quick reply, could you tell meaning of RT.M in Zk(RT.M). Thanks and Regards Santosh Malviya Milind Parikh wrote: The simple answer is .. simple. Declare a delegator and then a dispatcher based on the delegator and runSync() and mull over the results in Zk. For example: phaseList = dispatcher.runSync("getProjectPhaseList", dMap).get("phaseList"); However this approach does require expertise over Zk (RT.M) as well. Regards -- Milind On Sun, Feb 1, 2009 at 9:56 PM, Santosh Malviya [hidden email] wrote: Hello all, After doing integration of Zk with OFBiz, how I can use existing events/services of OFBiz into Zk.Please suggest how can I do so. Thanks in advance. Thanks and Regards Santosh Malviya Santosh Malviya wrote: Thank you Milind for the suggestion. Thanks & Regards Santosh Malviya Milind Parikh wrote: My suggestion, right now, would be to type in the code. It's really simple; as you have seen. Regards - Milind On Thu, Jan 29, 2009 at 7:33 AM, Santosh Malviya [hidden email] [hidden email] wrote: Hello Milind, I watched your video of zk integration with OFBiz, as you talked about zkViewHandler to include into framework's widget screen, so from where this handler can be downloaded, I have googled but could not find. Please help me to get this handler. Jacques Le Roux wrote: Thank you Milind, I put the link below existing ones in FAQ Jacques From: "Bruno Busco" [hidden email] [hidden email] [hidden email] [hidden email] Thank you Milind, this looks very interesting IMO. -Bruno 2009/1/6 Milind Parikh [hidden email] [hidden email] [hidden email] [hidden email]: Hi Cruno I am unable to post on the ML right now. But I have posted the screenshots from the UI (comparing and contrasting with the default UI provided through ofbiz.http://www.screencast.com/t/PYqgjKm05S Regards -- Milind On Tue, Dec 23, 2008 at 3:26 AM, Bruno Busco [hidden email] [hidden email] [hidden email] [hidden email] wrote: Could we see some screenshot of how it looks like? (I mean the UI you got) -Bruno 2008/12/22 Milind P [hidden email] [hidden email] [hidden email] [hidden email]: Steps 5 and 6http://www.screencast.com/t/w2gFN4ytj I apologize for the audio quality. It is difficult to record from an Airport with security advisories in the back ground. But hopefully on full volume, it should be ok. Bruno Busco wrote: Really cool! Looking forward to Steps 5 and 6 !!!! -Bruno 2008/12/22 Milind P [hidden email] [hidden email] [hidden email] [hidden email] Here are the two URLs for the ScreenCast. http://www.screencast.com/t/PTbvcO1CygRhttp://www.screencast.com/t/9ZBeRPolNdG The third one is coming.. (It's 1:18 am and I have an international flight today). Bruno Busco wrote: Yes, we will eventually handle this as a plug-in. -Bruno 2008/12/21 Jacques Le Roux [hidden email] [hidden email] [hidden email] [hidden email] Remember though that this will not be commited in OFBiz due to ZK's GPL licence http://en.wikipedia.org/wiki/ZK_Framework Jacques From: "Bruno Busco" [hidden email] [hidden email] [hidden email] [hidden email] Hi Milind, I have read your progress in the Zk forum. The OFBiz-Zk looks really interesting to me, could we see something? You could open a JIRA issue with some screenshot and patches. Thank you, -Bruno 2008/12/21 Milind P [hidden email] [hidden email] [hidden email] [hidden email] ZkViewHandler written. Turns out to be too simple. Please read cross-post at http://www.potix.com/forum/index.zul#path%3DlistComment%3BdiscussionId%3D6530%3BcategoryId%3D14%3B . It may indeed be too simple. Any gotcha's? -- Milind BJ Freeman wrote: From reading the documentation, I don't believe this was really implemented or the person understood ofbiz. it seems that is assumes that by using a delegator it can directly access tables. this by-passes all entity aware stuff. first you need to right a handler http://docs.ofbiz.org/display/OFBIZ/Understanding+the+OFBiz+Widget+Toolkit You will probably have to write a worker class for ZK, look at the freemakerworker.java you should then be able to include a zk file in a widget like you do a ftl. Ritz123 sent the following on 2/1/2008 10:18 AM: I have read that already - I cant find it anywhere in the document where it says how can you use ZUL/ZHTML pages with your existing ftls/htmls or how to use screen widget with ZK May be I am missing something. guo weizhan wrote: you should read this first: http://docs.ofbiz.org/display/OFBIZ/ZK+Rich+Client+-+integration+tutorial 2008/2/1, Ritz123 [hidden email] [hidden email] [hidden email] [hidden email]: Hi, Those who are using ZK with Ofbiz does it need a view handler? How have you guys integrated ZUL/ZHTML pages with Ofbiz? (either in the screens.xml or controller.xml)? -- View this message in context: http://www.nabble.com/ZK-view-handler--tp15217609p15217609.html Sent from the OFBiz - User mailing list archive at Nabble.com. -- View this message in context: http://www.nabble.com/ZK-view-handler--tp15217609p21112393.html Sent from the OFBiz - User mailing list archive at Nabble.com. -- View this message in context:http://www.nabble.com/ZK-view-handler--tp15217609p21124711.html Sent from the OFBiz - User mailing list archive at Nabble.com. -- View this message in context: http://www.nabble.com/ZK-view-handler--tp15217609p21135132.html Sent from the OFBiz - User mailing list archive at Nabble.com. -- Thanks and Regards Santosh Malviya Enterprise Software Developer Hotwax Media Inc. Indore(M.P.) India Mobile : +91 9977650914 -- Thanks and Regards Santosh Malviya Enterprise Software Developer Hotwax Media Inc. Indore(M.P.) India Mobile : +91 9977650914 smime.p7s (4K) Download Attachment |
The first debugging step should be whether it works with Java. If it does,
you might need to "install" Groovy. Regards -- Milind On Tue, Feb 3, 2009 at 9:46 PM, Santosh Malviya < [hidden email]> wrote: > Hello all, > I have to use groovy in zk and I did it with tag <zscript > language="Groovy"> but I got an interpreter exception saying "Groovy not > found", am I missing something or any plugin is required for it. > Thanks in advance. > > > Thanks & Regards > Santosh Malviya > > Milind Parikh wrote: > > Sorry... RT.M is the more polite form of RTFM (Read The ... Manual). > > > > On Sun, Feb 1, 2009 at 10:31 PM, Santosh Malviya <[hidden email]> wrote: > > > > Thank you Milind for your quick reply, could you tell meaning of RT.M in > Zk(RT.M). > > Thanks and Regards > Santosh Malviya > > Milind Parikh wrote: > > The simple answer is .. simple. > > Declare a delegator and then a dispatcher based on the delegator and > runSync() and mull over the results in Zk. > > For example: > phaseList = dispatcher.runSync("getProjectPhaseList", > dMap).get("phaseList"); > > However this approach does require expertise over Zk (RT.M) as well. > > Regards > > -- Milind > > > On Sun, Feb 1, 2009 at 9:56 PM, Santosh Malviya <[hidden email]> <[hidden email]> > wrote: > > > > Hello all, > After doing integration of Zk with OFBiz, how I can use existing > events/services of OFBiz into Zk.Please suggest how can I do so. > Thanks in advance. > > Thanks and Regards > Santosh Malviya > > Santosh Malviya wrote: > > Thank you Milind for the suggestion. > > Thanks & Regards > Santosh Malviya > > Milind Parikh wrote: > > My suggestion, right now, would be to type in the code. It's really simple; > as you have seen. > > Regards > - Milind > > > On Thu, Jan 29, 2009 at 7:33 AM, Santosh Malviya <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> > wrote: > > > > Hello Milind, > I watched your video of zk integration with OFBiz, as you talked about > zkViewHandler to include into framework's widget screen, so from where this > handler can be downloaded, I have googled but could not find. Please help me > to get this handler. > > > > Jacques Le Roux wrote: > > > > Thank you Milind, I put the link below existing ones in FAQ > > Jacques > > From: "Bruno Busco" <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> > > Thank you Milind, > this looks very interesting IMO. > > -Bruno > > 2009/1/6 Milind Parikh <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]>: > > > > Hi Cruno > > I am unable to post on the ML right now. But I have posted the > screenshots > from the UI (comparing and contrasting with the default UI provided > through > ofbiz.http://www.screencast.com/t/PYqgjKm05S > > > Regards > -- Milind > > > On Tue, Dec 23, 2008 at 3:26 AM, Bruno Busco <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> > wrote: > > Could we see some screenshot of how it looks like? (I mean the UI you > > > got) > > -Bruno > > 2008/12/22 Milind P <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]>: > > > Steps 5 and 6http://www.screencast.com/t/w2gFN4ytj > > > I apologize for the audio quality. It is difficult to record from an > > > Airport > > > with security advisories in the back ground. But hopefully on full > > > volume, > > > it should be ok. > > > > Bruno Busco wrote: > > > Really cool! > Looking forward to Steps 5 and 6 !!!! > > -Bruno > > 2008/12/22 Milind P <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> > > Here are the two URLs for the ScreenCast.http://www.screencast.com/t/PTbvcO1CygRhttp://www.screencast.com/t/9ZBeRPolNdG > > > The third one is coming.. (It's 1:18 am and I have an international > flight > today). > > > > Bruno Busco wrote: > > > Yes, > we will eventually handle this as a plug-in. > > -Bruno > > 2008/12/21 Jacques Le Roux <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> > > Remember though that this will not be commited in OFBiz due to > > > ZK's > > > GPL > > > licence http://en.wikipedia.org/wiki/ZK_Framework > > > > Jacques > > From: "Bruno Busco" <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> > > Hi Milind, > > > I have read your progress in the Zk forum. The OFBiz-Zk looks > > > really > > > interesting to me, could we see something? > You could open a JIRA issue with some screenshot and patches. > > Thank you, > -Bruno > > 2008/12/21 Milind P <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> > > > > > ZkViewHandler written. Turns out to be too simple. Please read > cross-post > at > > > > > > http://www.potix.com/forum/index.zul#path%3DlistComment%3BdiscussionId%3D6530%3BcategoryId%3D14%3B > > . > > It may indeed be too simple. Any gotcha's? > > -- Milind > > > > > BJ Freeman wrote: > > > From reading the documentation, I don't believe this was > > > really > > > implemented or the person understood ofbiz. > > it seems that is assumes that by using a delegator it can > > > directly > > > access tables. this by-passes all entity aware stuff. > > first you need to right a handler > > > > http://docs.ofbiz.org/display/OFBIZ/Understanding+the+OFBiz+Widget+Toolkit > > You will probably have to write a worker class for ZK, look > > > at > the > > > freemakerworker.java > > you should then be able to include a zk file in a widget > > > like > you > > > do > > > a > > > ftl. > > > > > Ritz123 sent the following on 2/1/2008 10:18 AM: > > > I have read that already - I cant find it anywhere in the > > > document > > > where > > > it > says how can you use ZUL/ZHTML pages with your existing > > > ftls/htmls > > > or > how > > > to > use screen widget with ZK > > May be I am missing something. > > > guo weizhan wrote: > > > you should read this first: > > > > http://docs.ofbiz.org/display/OFBIZ/ZK+Rich+Client+-+integration+tutorial > > > > 2008/2/1, Ritz123 <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]>: > > > Hi, > > Those who are using ZK with Ofbiz does it need a view > > > handler? > > > How have you guys integrated ZUL/ZHTML pages with Ofbiz? > > > (either > > > in > the > > > screens.xml or controller.xml)? > -- > View this message in context: > > > > http://www.nabble.com/ZK-view-handler--tp15217609p15217609.html > > > > Sent from the OFBiz - User mailing list archive at > > > Nabble.com. > > > -- > View this message in context: > > > > http://www.nabble.com/ZK-view-handler--tp15217609p21112393.html > > Sent from the OFBiz - User mailing list archive at Nabble.com. > > > > > > -- > View this message in context:http://www.nabble.com/ZK-view-handler--tp15217609p21124711.html > Sent from the OFBiz - User mailing list archive at Nabble.com. > > > > > -- > View this message in context: > > > http://www.nabble.com/ZK-view-handler--tp15217609p21135132.html > > Sent from the OFBiz - User mailing list archive at Nabble.com. > > > > > -- > Thanks and Regards > Santosh Malviya > Enterprise Software Developer > Hotwax Media Inc. > Indore(M.P.) India > Mobile : +91 9977650914 > > > > > > > > > -- > Thanks and Regards > Santosh Malviya > Enterprise Software Developer > Hotwax Media Inc. > Indore(M.P.) India > Mobile : +91 9977650914 > > > > > |
Thank you Milind for the reply, it is working fine with java but with
groovy what is needed.
Thanks & Regards Santosh Malviya Milind Parikh wrote: The first debugging step should be whether it works with Java. If it does, you might need to "install" Groovy. Regards -- Milind On Tue, Feb 3, 2009 at 9:46 PM, Santosh Malviya < [hidden email]> wrote:Hello all, I have to use groovy in zk and I did it with tag <zscript language="Groovy"> but I got an interpreter exception saying "Groovy not found", am I missing something or any plugin is required for it. Thanks in advance. Thanks & Regards Santosh Malviya Milind Parikh wrote: Sorry... RT.M is the more polite form of RTFM (Read The ... Manual). On Sun, Feb 1, 2009 at 10:31 PM, Santosh Malviya [hidden email] wrote: Thank you Milind for your quick reply, could you tell meaning of RT.M in Zk(RT.M). Thanks and Regards Santosh Malviya Milind Parikh wrote: The simple answer is .. simple. Declare a delegator and then a dispatcher based on the delegator and runSync() and mull over the results in Zk. For example: phaseList = dispatcher.runSync("getProjectPhaseList", dMap).get("phaseList"); However this approach does require expertise over Zk (RT.M) as well. Regards -- Milind On Sun, Feb 1, 2009 at 9:56 PM, Santosh Malviya [hidden email] [hidden email] wrote: Hello all, After doing integration of Zk with OFBiz, how I can use existing events/services of OFBiz into Zk.Please suggest how can I do so. Thanks in advance. Thanks and Regards Santosh Malviya Santosh Malviya wrote: Thank you Milind for the suggestion. Thanks & Regards Santosh Malviya Milind Parikh wrote: My suggestion, right now, would be to type in the code. It's really simple; as you have seen. Regards - Milind On Thu, Jan 29, 2009 at 7:33 AM, Santosh Malviya [hidden email] [hidden email] [hidden email] [hidden email] wrote: Hello Milind, I watched your video of zk integration with OFBiz, as you talked about zkViewHandler to include into framework's widget screen, so from where this handler can be downloaded, I have googled but could not find. Please help me to get this handler. Jacques Le Roux wrote: Thank you Milind, I put the link below existing ones in FAQ Jacques From: "Bruno Busco" [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] Thank you Milind, this looks very interesting IMO. -Bruno 2009/1/6 Milind Parikh [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email]: Hi Cruno I am unable to post on the ML right now. But I have posted the screenshots from the UI (comparing and contrasting with the default UI provided through ofbiz.http://www.screencast.com/t/PYqgjKm05S Regards -- Milind On Tue, Dec 23, 2008 at 3:26 AM, Bruno Busco [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] wrote: Could we see some screenshot of how it looks like? (I mean the UI you got) -Bruno 2008/12/22 Milind P [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email]: Steps 5 and 6http://www.screencast.com/t/w2gFN4ytj I apologize for the audio quality. It is difficult to record from an Airport with security advisories in the back ground. But hopefully on full volume, it should be ok. Bruno Busco wrote: Really cool! Looking forward to Steps 5 and 6 !!!! -Bruno 2008/12/22 Milind P [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] Here are the two URLs for the ScreenCast.http://www.screencast.com/t/PTbvcO1CygRhttp://www.screencast.com/t/9ZBeRPolNdG The third one is coming.. (It's 1:18 am and I have an international flight today). Bruno Busco wrote: Yes, we will eventually handle this as a plug-in. -Bruno 2008/12/21 Jacques Le Roux [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] Remember though that this will not be commited in OFBiz due to ZK's GPL licence http://en.wikipedia.org/wiki/ZK_Framework Jacques From: "Bruno Busco" [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] Hi Milind, I have read your progress in the Zk forum. The OFBiz-Zk looks really interesting to me, could we see something? You could open a JIRA issue with some screenshot and patches. Thank you, -Bruno 2008/12/21 Milind P [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] ZkViewHandler written. Turns out to be too simple. Please read cross-post at http://www.potix.com/forum/index.zul#path%3DlistComment%3BdiscussionId%3D6530%3BcategoryId%3D14%3B . It may indeed be too simple. Any gotcha's? -- Milind BJ Freeman wrote: From reading the documentation, I don't believe this was really implemented or the person understood ofbiz. it seems that is assumes that by using a delegator it can directly access tables. this by-passes all entity aware stuff. first you need to right a handler http://docs.ofbiz.org/display/OFBIZ/Understanding+the+OFBiz+Widget+Toolkit You will probably have to write a worker class for ZK, look at the freemakerworker.java you should then be able to include a zk file in a widget like you do a ftl. Ritz123 sent the following on 2/1/2008 10:18 AM: I have read that already - I cant find it anywhere in the document where it says how can you use ZUL/ZHTML pages with your existing ftls/htmls or how to use screen widget with ZK May be I am missing something. guo weizhan wrote: you should read this first: http://docs.ofbiz.org/display/OFBIZ/ZK+Rich+Client+-+integration+tutorial 2008/2/1, Ritz123 [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email]: Hi, Those who are using ZK with Ofbiz does it need a view handler? How have you guys integrated ZUL/ZHTML pages with Ofbiz? (either in the screens.xml or controller.xml)? -- View this message in context: http://www.nabble.com/ZK-view-handler--tp15217609p15217609.html Sent from the OFBiz - User mailing list archive at Nabble.com. -- View this message in context: http://www.nabble.com/ZK-view-handler--tp15217609p21112393.html Sent from the OFBiz - User mailing list archive at Nabble.com. -- View this message in context:http://www.nabble.com/ZK-view-handler--tp15217609p21124711.html Sent from the OFBiz - User mailing list archive at Nabble.com. -- View this message in context: http://www.nabble.com/ZK-view-handler--tp15217609p21135132.html Sent from the OFBiz - User mailing list archive at Nabble.com. -- Thanks and Regards Santosh Malviya Enterprise Software Developer Hotwax Media Inc. Indore(M.P.) India Mobile : +91 9977650914 -- Thanks and Regards Santosh Malviya Enterprise Software Developer Hotwax Media Inc. Indore(M.P.) India Mobile : +91 9977650914 smime.p7s (4K) Download Attachment |
Please post your code.
Regards - Milind On Tue, Feb 3, 2009 at 10:03 PM, Santosh Malviya < [hidden email]> wrote: > Thank you Milind for the reply, it is working fine with java but with > groovy what is needed. > > > Thanks & Regards > Santosh Malviya > > Milind Parikh wrote: > > The first debugging step should be whether it works with Java. If it does, > you might need to "install" Groovy. > > Regards > -- Milind > > > On Tue, Feb 3, 2009 at 9:46 PM, Santosh Malviya <[hidden email]> wrote: > > > > Hello all, > I have to use groovy in zk and I did it with tag <zscript > language="Groovy"> but I got an interpreter exception saying "Groovy not > found", am I missing something or any plugin is required for it. > Thanks in advance. > > > Thanks & Regards > Santosh Malviya > > Milind Parikh wrote: > > Sorry... RT.M is the more polite form of RTFM (Read The ... Manual). > > > > On Sun, Feb 1, 2009 at 10:31 PM, Santosh Malviya <[hidden email]> <[hidden email]> wrote: > > > > Thank you Milind for your quick reply, could you tell meaning of RT.M in > Zk(RT.M). > > Thanks and Regards > Santosh Malviya > > Milind Parikh wrote: > > The simple answer is .. simple. > > Declare a delegator and then a dispatcher based on the delegator and > runSync() and mull over the results in Zk. > > For example: > phaseList = dispatcher.runSync(" > getProjectPhaseList", > dMap).get("phaseList"); > > However this approach does require expertise over Zk (RT.M) as well. > > Regards > > -- Milind > > > On Sun, Feb 1, 2009 at 9:56 PM, Santosh Malviya <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> > wrote: > > > > Hello all, > After doing integration of Zk with OFBiz, how I can use existing > events/services of OFBiz into Zk.Please suggest how can I do so. > Thanks in advance. > > Thanks and Regards > Santosh Malviya > > Santosh Malviya wrote: > > Thank you Milind for the suggestion. > > Thanks & Regards > Santosh Malviya > > Milind Parikh wrote: > > My suggestion, right now, would be to type in the code. It's really simple; > as you have seen. > > Regards > - Milind > > > On Thu, Jan 29, 2009 at 7:33 AM, Santosh Malviya <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> > wrote: > > > > Hello Milind, > I watched your video of zk integration with OFBiz, as you talked about > zkViewHandler to include into framework's widget screen, so from where this > handler can be downloaded, I have googled but could not find. Please help me > to get this handler. > > > > Jacques Le Roux wrote: > > > > Thank you Milind, I put the link below existing ones in FAQ > > Jacques > > From: "Bruno Busco" <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> > > Thank you Milind, > this looks very interesting IMO. > > -Bruno > > 2009/1/6 Milind Parikh <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]>: > > > > Hi Cruno > > I am unable to post on the ML right now. But I have posted the > screenshots > from the UI (comparing and contrasting with the default UI provided > through > ofbiz.http://www.screencast.com/t/PYqgjKm05S > > > Regards > -- Milind > > > On Tue, Dec 23, 2008 at 3:26 AM, Bruno Busco <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> > wrote: > > Could we see some screenshot of how it looks like? (I mean the UI you > > > got) > > -Bruno > > 2008/12/22 Milind P <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]>: > > > Steps 5 and 6http://www.screencast.com/t/w2gFN4ytj > > > I apologize for the audio quality. It is difficult to record from an > > > Airport > > > with security advisories in the back ground. But hopefully on full > > > volume, > > > it should be ok. > > > > Bruno Busco wrote: > > > Really cool! > Looking forward to Steps 5 and 6 !!!! > > -Bruno > > 2008/12/22 Milind P <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> > > Here are the two URLs for the ScreenCast.http://www.screencast.com/t/PTbvcO1CygRhttp://www.screencast.com/t/9ZBeRPolNdG > > > > The third one is coming.. (It's 1:18 am and I have an international > flight > today). > > > > Bruno Busco wrote: > > > Yes, > we will eventually handle this as a plug-in. > > -Bruno > > 2008/12/21 Jacques Le Roux <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> > > Remember though that this will not be commited in OFBiz due to > > > ZK's > > > GPL > > > licence http://en.wikipedia.org/wiki/ZK_Framework > > > > > Jacques > > From: "Bruno Busco" <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> > > Hi Milind, > > > I have read your progress in the Zk forum. The OFBiz-Zk looks > > > really > > > interesting to me, could we see something? > You could open a JIRA issue with some screenshot and patches. > > Thank you, > -Bruno > > 2008/12/21 Milind P <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> > > > > > > ZkViewHandler written. Turns out to be too simple. Please read > cross-post > at > > > > > > http://www.potix.com/forum/index.zul#path%3DlistComment%3BdiscussionId%3D6530%3BcategoryId%3D14%3B > > . > > It may indeed be too simple. Any gotcha's? > > -- Milind > > > > > BJ Freeman wrote: > > > From reading the documentation, I don't believe this was > > > really > > > implemented or the person understood ofbiz. > > it seems that is assumes that by using a delegator it can > > > directly > > > access tables. this by-passes all entity aware stuff. > > first you need to right a handler > > > > http://docs.ofbiz.org/display/OFBIZ/Understanding+the+OFBiz+Widget+Toolkit > > You will probably have to write a worker class for ZK, look > > > at > the > > > freemakerworker.java > > you should then be able to include a zk file in a widget > > > like > you > > > do > > > a > > > ftl. > > > > > Ritz123 sent the following on 2/1/2008 10:18 AM: > > > I have read that already - I cant find it anywhere in the > > > document > > > where > > > it > says how can you use ZUL/ZHTML pages with your existing > > > ftls/htmls > > > or > how > > > to > use screen widget with ZK > > May be I am missing something. > > > guo weizhan wrote: > > > you should read this first: > > > > http://docs.ofbiz.org/display/OFBIZ/ZK+Rich+Client+-+integration+tutorial > > > > > 2008/2/1, Ritz123 <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]>: > > > Hi, > > Those who are using ZK with Ofbiz does it need a view > > > handler? > > > How have you guys integrated ZUL/ZHTML pages with Ofbiz? > > > (either > > > in > the > > > screens.xml or controller.xml)? > -- > View this message in context: > > > > http://www.nabble.com/ZK-view-handler--tp15217609p15217609.html > > > > > Sent from the OFBiz - User mailing list archive at > > > Nabble.com. > > > -- > View this message in context: > > > > http://www.nabble.com/ZK-view-handler--tp15217609p21112393.html > > Sent from the OFBiz - User mailing list archive at Nabble.com. > > > > > > -- > View this message in context:http://www.nabble.com/ZK-view-handler--tp15217609p21124711.html > Sent from the OFBiz - User mailing list archive at Nabble.com. > > > > > -- > View this message in context: > > > http://www.nabble.com/ZK-view-handler--tp15217609p21135132.html > > Sent from the OFBiz - User mailing list archive at Nabble.com. > > > > > -- > Thanks and Regards > Santosh Malviya > Enterprise Software Developer > Hotwax Media Inc. > Indore(M.P.) India > Mobile : +91 9977650914 > > > > > > > > > -- > Thanks and Regards > Santosh Malviya > Enterprise Software Developer > Hotwax Media Inc. > Indore(M.P.) India > Mobile : +91 9977650914 > > > > > > > > > |
Hello Milind ,
Here is code: <window title="New Customer" border="normal" position="bottom"> <zscript language="Groovy"> import org.ofbiz.service.LocalDispatcher; import javolution.util.FastMap; import org.ofbiz.base.util.*; void savePerson() { Map personContext = FastMap.newInstance(); personContext = UtilMisc.toMap("firstName",firstName.value, "lastName", lastName.value); Map person = dispatcher.runSync("cretePerson", personContext); } </zscript><grid> <rows> <row> <label value="First Name"/> <textbox id="firstName"/> </row> <row> <label value="Last Name"/> <textbox id="lastName"/> </row> <row><button label="submit" onClick="savePerson()"/></row> </rows> </grid> </window> At first it is giving error of groovy not found and if I use Java then it is giving error of unknown dispatcher so in the case of Java how can I use dispatcher here and to get this I require servletContext like this LocalDispatcher dispatcher = servletContext.getDispatcher(); from where servletContext can be got in zk. I tried with another code using java in zscript's language tag it worked fine. Milind Parikh wrote: Please post your code. Regards - Milind On Tue, Feb 3, 2009 at 10:03 PM, Santosh Malviya < [hidden email]> wrote:Thank you Milind for the reply, it is working fine with java but with groovy what is needed. Thanks & Regards Santosh Malviya Milind Parikh wrote: The first debugging step should be whether it works with Java. If it does, you might need to "install" Groovy. Regards -- Milind On Tue, Feb 3, 2009 at 9:46 PM, Santosh Malviya [hidden email] wrote: Hello all, I have to use groovy in zk and I did it with tag <zscript language="Groovy"> but I got an interpreter exception saying "Groovy not found", am I missing something or any plugin is required for it. Thanks in advance. Thanks & Regards Santosh Malviya Milind Parikh wrote: Sorry... RT.M is the more polite form of RTFM (Read The ... Manual). On Sun, Feb 1, 2009 at 10:31 PM, Santosh Malviya [hidden email] [hidden email] wrote: Thank you Milind for your quick reply, could you tell meaning of RT.M in Zk(RT.M). Thanks and Regards Santosh Malviya Milind Parikh wrote: The simple answer is .. simple. Declare a delegator and then a dispatcher based on the delegator and runSync() and mull over the results in Zk. For example: phaseList = dispatcher.runSync(" getProjectPhaseList", dMap).get("phaseList"); However this approach does require expertise over Zk (RT.M) as well. Regards -- Milind On Sun, Feb 1, 2009 at 9:56 PM, Santosh Malviya [hidden email] [hidden email] [hidden email] [hidden email] wrote: Hello all, After doing integration of Zk with OFBiz, how I can use existing events/services of OFBiz into Zk.Please suggest how can I do so. Thanks in advance. Thanks and Regards Santosh Malviya Santosh Malviya wrote: Thank you Milind for the suggestion. Thanks & Regards Santosh Malviya Milind Parikh wrote: My suggestion, right now, would be to type in the code. It's really simple; as you have seen. Regards - Milind On Thu, Jan 29, 2009 at 7:33 AM, Santosh Malviya [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] wrote: Hello Milind, I watched your video of zk integration with OFBiz, as you talked about zkViewHandler to include into framework's widget screen, so from where this handler can be downloaded, I have googled but could not find. Please help me to get this handler. Jacques Le Roux wrote: Thank you Milind, I put the link below existing ones in FAQ Jacques From: "Bruno Busco" [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] <a class="moz-txt-link-rfc2396E" href="mail to:bruno.busco@gmail.com"><bruno.busco@...> [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] Thank you Milind, this looks very interesting IMO. -Bruno 2009/1/6 Milind Parikh [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email]: Hi Cruno I am unable to post on the ML right now. But I have posted the screenshots from the UI (comparing and contrasting with the default UI provided through ofbiz.http://www.screencast.com/t/PYqgjKm05S Regards -- Milind On Tue, Dec 23, 2008 at 3:26 AM, Bruno Busco [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] wrote: Could we see some screenshot of how it looks like? (I mean the UI you got) -Bruno 2008/12/22 Milind P [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email]: Steps 5 and 6http://www.screencast.com/t/w2gFN4ytj I apologize for the audio quality. It is difficult to record from an Airport with security advisories in the back ground. But hopefully on full volume, it should be ok. Bruno Busco wrote: Really cool! Looking forward to Steps 5 and 6 !!!! -Bruno 2008/12/22 Milind P [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] Here are the two URLs for the ScreenCast.http://www.screencast.com/t/PTbvcO1CygRhttp://www.screencast.com/t/9ZBeRPolNdG The third one is coming.. (It's 1:18 am and I have an international flight today). Bruno Busco wrote: Yes, we will eventually handle this as a plug-in. -Bruno 2008/12/21 Jacques Le Roux [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] Remember though that this will not be commited in OFBiz due to ZK's GPL licence http://en.wikipedia.org/wiki/ZK_Framework Jacques From: "Bruno Busco" [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] <a class="moz-txt-link-rfc2396E" href="mail to:bruno.busco@gmail.com"><bruno.busco@...> [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] Hi Milind, I have read your progress in the Zk forum. The OFBiz-Zk looks really interesting to me, could we see something? You could open a JIRA issue with some screenshot and patches. Thank you, -Bruno 2008/12/21 Milind P [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] ZkViewHandler written. Turns out to be too simple. Please read cross-post at http://www.potix.com/forum/index.zul#path%3DlistComment%3BdiscussionId%3D6530%3BcategoryId%3D14%3B . It may indeed be too simple. Any gotcha's? -- Milind BJ Freeman wrote: From reading the documentation, I don't believe this was really implemented or the person understood ofbiz. it seems that is assumes that by using a delegator it can directly access tables. this by-passes all entity aware stuff. first you need to right a handler http://docs.ofbiz.org/display/OFBIZ/Understanding+the+OFBiz+Widget+Toolkit You will probably have to write a worker class for ZK, look at the freemakerworker.java you should then be able to include a zk file in a widget like you do a ftl. Ritz123 sent the following on 2/1/2008 10:18 AM: I have read that already - I cant find it anywhere in the document where it says how can you use ZUL/ZHTML pages with your existing ftls/htmls or how to use screen widget with ZK May be I am missing something. guo weizhan wrote: you should read this first: http://docs.ofbiz.org/display/OFBIZ/ZK+Rich+Client+-+integration+tutorial 2008/2/1, Ritz123 [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email]: Hi, Those who are using ZK with Ofbiz does it need a view handler? How have you guys integrated ZUL/ZHTML pages with Ofbiz? (either in the screens.xml or controller.xml)? -- View this message in context: http://www.nabble.com/ZK-view-handler--tp15217609p15217609.html Sent from the OFBiz - User mailing list archive at Nabble.com. -- View this message in context: http://www.nabble.com/ZK-view-handler--tp15217609p21112393.html Sent from the OFBiz - User mailing list archive at Nabble.com. -- View this message in context:http://www.nabble.com/ZK-view-handler--tp15217609p21124711.html Sent from the OFBiz - User mailing list archive at Nabble.com. -- View this message in context: http://www.nabble.com/ZK-view-handler--tp15217609p21135132.html Sent from the OFBiz - User mailing list archive at Nabble.com. -- Thanks and Regards Santosh Malviya Enterprise Software Developer Hotwax Media Inc. Indore(M.P.) India Mobile : +91 9977650914 -- Thanks and Regards Santosh Malviya Enterprise Software Developer Hotwax Media Inc. Indore(M.P.) India Mobile : +91 9977650914 -- Thanks and Regards Santosh Malviya Enterprise Software Developer Hotwax Media Inc. Indore(M.P.) India Mobile : +91 9977650914 smime.p7s (4K) Download Attachment |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 where is the file this is in ,in your ofbiz implementation? if your using an ftl then you should have an myftlname.ftl file and in the webapp/componentname/WEB-INF/actions/myftlname.groovy you can look at some of the applications for examples if you do it the way you have, then every browser will have to install groovy to work. Santosh Malviya sent the following on 2/3/2009 11:18 PM: > Hello Milind , > Here is code: > <window title="New Customer" border="normal" position="bottom"> > <zscript language="Groovy"> > import org.ofbiz.service.LocalDispatcher; > import javolution.util.FastMap; > import org.ofbiz.base.util.*; > void savePerson() { > Map personContext = FastMap.newInstance(); > personContext = UtilMisc.toMap("firstName",firstName.value, "lastName", > lastName.value); > Map person = dispatcher.runSync("cretePerson", personContext); > } > </zscript><grid> > <rows> > <row> > <label value="First Name"/> > <textbox id="firstName"/> > </row> > <row> > <label value="Last Name"/> > <textbox id="lastName"/> > </row> > <row><button label="submit" onClick="savePerson()"/></row> > </rows> > </grid> </window> > > At first it is giving error of groovy not found and if I use Java then > it is giving error of unknown dispatcher so in the case of Java how can > I use dispatcher here and to get this I require servletContext like this > LocalDispatcher dispatcher = servletContext.getDispatcher(); from where > servletContext can be got in zk. > I tried with another code using java in zscript's language tag it > worked fine. > > > Milind Parikh wrote: >> Please post your code. >> >> Regards >> - Milind >> >> >> On Tue, Feb 3, 2009 at 10:03 PM, Santosh Malviya < >> [hidden email]> wrote: >> >> >>> Thank you Milind for the reply, it is working fine with java but with >>> groovy what is needed. >>> >>> >>> Thanks & Regards >>> Santosh Malviya >>> >>> Milind Parikh wrote: >>> >>> The first debugging step should be whether it works with Java. If it >>> does, >>> you might need to "install" Groovy. >>> >>> Regards >>> -- Milind >>> >>> >>> On Tue, Feb 3, 2009 at 9:46 PM, Santosh Malviya >>> <[hidden email]> wrote: >>> >>> >>> >>> Hello all, >>> I have to use groovy in zk and I did it with tag <zscript >>> language="Groovy"> but I got an interpreter exception saying "Groovy not >>> found", am I missing something or any plugin is required for it. >>> Thanks in advance. >>> >>> >>> Thanks & Regards >>> Santosh Malviya >>> >>> Milind Parikh wrote: >>> >>> Sorry... RT.M is the more polite form of RTFM (Read The ... Manual). >>> >>> >>> >>> On Sun, Feb 1, 2009 at 10:31 PM, Santosh Malviya >>> <[hidden email]> <[hidden email]> >>> wrote: >>> >>> >>> >>> Thank you Milind for your quick reply, could you tell meaning of >>> RT.M in >>> Zk(RT.M). >>> >>> Thanks and Regards >>> Santosh Malviya >>> >>> Milind Parikh wrote: >>> >>> The simple answer is .. simple. >>> >>> Declare a delegator and then a dispatcher based on the delegator and >>> runSync() and mull over the results in Zk. >>> >>> For example: >>> phaseList = dispatcher.runSync(" >>> getProjectPhaseList", >>> dMap).get("phaseList"); >>> >>> However this approach does require expertise over Zk (RT.M) as well. >>> >>> Regards >>> >>> -- Milind >>> >>> >>> On Sun, Feb 1, 2009 at 9:56 PM, Santosh Malviya >>> <[hidden email]> <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> wrote: >>> >>> >>> >>> Hello all, >>> After doing integration of Zk with OFBiz, how I can use existing >>> events/services of OFBiz into Zk.Please suggest how can I do so. >>> Thanks in advance. >>> >>> Thanks and Regards >>> Santosh Malviya >>> >>> Santosh Malviya wrote: >>> >>> Thank you Milind for the suggestion. >>> >>> Thanks & Regards >>> Santosh Malviya >>> >>> Milind Parikh wrote: >>> >>> My suggestion, right now, would be to type in the code. It's really >>> simple; >>> as you have seen. >>> >>> Regards >>> - Milind >>> >>> >>> On Thu, Jan 29, 2009 at 7:33 AM, Santosh Malviya >>> <[hidden email]> <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> wrote: >>> >>> >>> >>> Hello Milind, >>> I watched your video of zk integration with OFBiz, as you talked about >>> zkViewHandler to include into framework's widget screen, so from >>> where this >>> handler can be downloaded, I have googled but could not find. Please >>> help me >>> to get this handler. >>> >>> >>> >>> Jacques Le Roux wrote: >>> >>> >>> >>> Thank you Milind, I put the link below existing ones in FAQ >>> >>> Jacques >>> >>> From: "Bruno Busco" <[hidden email]> <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> >>> Thank you Milind, >>> this looks very interesting IMO. >>> >>> -Bruno >>> >>> 2009/1/6 Milind Parikh <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> <[hidden email]>: >>> >>> >>> >>> Hi Cruno >>> >>> I am unable to post on the ML right now. But I have posted the >>> screenshots >>> from the UI (comparing and contrasting with the default UI provided >>> through >>> ofbiz.http://www.screencast.com/t/PYqgjKm05S >>> >>> >>> Regards >>> -- Milind >>> >>> >>> On Tue, Dec 23, 2008 at 3:26 AM, Bruno Busco <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> <[hidden email]> <[hidden email]> <[hidden email]> >>> wrote: >>> >>> Could we see some screenshot of how it looks like? (I mean the UI you >>> >>> >>> got) >>> >>> -Bruno >>> >>> 2008/12/22 Milind P <[hidden email]> <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> <[hidden email]> <[hidden email]>: >>> >>> >>> Steps 5 and 6http://www.screencast.com/t/w2gFN4ytj >>> >>> >>> I apologize for the audio quality. It is difficult to record from an >>> >>> >>> Airport >>> >>> >>> with security advisories in the back ground. But hopefully on full >>> >>> >>> volume, >>> >>> >>> it should be ok. >>> >>> >>> >>> Bruno Busco wrote: >>> >>> >>> Really cool! >>> Looking forward to Steps 5 and 6 !!!! >>> >>> -Bruno >>> >>> 2008/12/22 Milind P <[hidden email]> <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> >>> Here are the two URLs for the >>> ScreenCast.http://www.screencast.com/t/PTbvcO1CygRhttp://www.screencast.com/t/9ZBeRPolNdG >>> >>> >>> >>> >>> The third one is coming.. (It's 1:18 am and I have an international >>> flight >>> today). >>> >>> >>> >>> Bruno Busco wrote: >>> >>> >>> Yes, >>> we will eventually handle this as a plug-in. >>> >>> -Bruno >>> >>> 2008/12/21 Jacques Le Roux <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> <[hidden email]> >>> >>> Remember though that this will not be commited >>> in OFBiz due to >>> >>> >>> ZK's >>> >>> >>> GPL >>> >>> >>> licence http://en.wikipedia.org/wiki/ZK_Framework >>> >>> >>> >>> >>> Jacques >>> >>> From: "Bruno Busco" <[hidden email]> <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> >>> Hi Milind, >>> >>> >>> I have read your progress in the Zk forum. The OFBiz-Zk looks >>> >>> >>> really >>> >>> >>> interesting to me, could we see something? >>> You could open a JIRA issue with some screenshot and patches. >>> >>> Thank you, >>> -Bruno >>> >>> 2008/12/21 Milind P <[hidden email]> <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> >>> >>> >>> >>> >>> ZkViewHandler written. Turns out to be too >>> simple. Please read >>> cross-post >>> at >>> >>> >>> >>> >>> >>> >>> http://www.potix.com/forum/index.zul#path%3DlistComment%3BdiscussionId%3D6530%3BcategoryId%3D14%3B >>> >>> >>> . >>> >>> It may indeed be too simple. Any gotcha's? >>> >>> -- Milind >>> >>> >>> >>> >>> BJ Freeman wrote: >>> >>> >>> From reading the documentation, I don't believe this was >>> >>> >>> really >>> >>> >>> implemented or the person understood ofbiz. >>> >>> it seems that is assumes that by using a delegator it can >>> >>> >>> directly >>> >>> >>> access tables. this by-passes all entity aware stuff. >>> >>> first you need to right a handler >>> >>> >>> >>> >>> http://docs.ofbiz.org/display/OFBIZ/Understanding+the+OFBiz+Widget+Toolkit >>> >>> >>> You will probably have to write a worker class for ZK, look >>> >>> >>> at >>> the >>> >>> >>> freemakerworker.java >>> >>> you should then be able to include a zk file in a widget >>> >>> >>> like >>> you >>> >>> >>> do >>> >>> >>> a >>> >>> >>> ftl. >>> >>> >>> >>> >>> Ritz123 sent the following on 2/1/2008 10:18 AM: >>> >>> >>> I have read that already - I cant find it anywhere in the >>> >>> >>> document >>> >>> >>> where >>> >>> >>> it >>> says how can you use ZUL/ZHTML pages with your existing >>> >>> >>> ftls/htmls >>> >>> >>> or >>> how >>> >>> >>> to >>> use screen widget with ZK >>> >>> May be I am missing something. >>> >>> >>> guo weizhan wrote: >>> >>> >>> you should read this first: >>> >>> >>> >>> >>> http://docs.ofbiz.org/display/OFBIZ/ZK+Rich+Client+-+integration+tutorial >>> >>> >>> >>> >>> >>> 2008/2/1, Ritz123 <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> <[hidden email]> <[hidden email]> >>> <[hidden email]>: >>> >>> >>> Hi, >>> >>> Those who are using ZK with Ofbiz does it need a view >>> >>> >>> handler? >>> >>> >>> How have you guys integrated ZUL/ZHTML pages with Ofbiz? >>> >>> >>> (either >>> >>> >>> in >>> the >>> >>> >>> screens.xml or controller.xml)? >>> -- >>> View this message in context: >>> >>> >>> >>> http://www.nabble.com/ZK-view-handler--tp15217609p15217609.html >>> >>> >>> >>> >>> Sent from the OFBiz - User mailing list archive at >>> >>> >>> Nabble.com. >>> >>> >>> >>> -- >>> View this message in context: >>> >>> >>> >>> http://www.nabble.com/ZK-view-handler--tp15217609p21112393.html >>> >>> Sent from the OFBiz - User mailing list archive at Nabble.com. >>> >>> >>> >>> >>> >>> -- >>> View this message in >>> context:http://www.nabble.com/ZK-view-handler--tp15217609p21124711.html >>> Sent from the OFBiz - User mailing list archive at Nabble.com. >>> >>> >>> >>> >>> -- >>> View this message in context: >>> >>> >>> http://www.nabble.com/ZK-view-handler--tp15217609p21135132.html >>> >>> Sent from the OFBiz - User mailing list archive at Nabble.com. >>> >>> >>> >>> >>> -- >>> Thanks and Regards >>> Santosh Malviya >>> Enterprise Software Developer >>> Hotwax Media Inc. >>> Indore(M.P.) India >>> Mobile : +91 9977650914 >>> >>> >>> >>> >>> >>> >>> >>> >>> -- >>> Thanks and Regards >>> Santosh Malviya >>> Enterprise Software Developer >>> Hotwax Media Inc. >>> Indore(M.P.) India >>> Mobile : +91 9977650914 >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >> >> > Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJiW3zrP3NbaWWqE4RAonNAKC3L6B8tTLGSFbQWojh+3gbghvHPQCgjZPQ tDgdCR5khZE80KJ45LqrzkA= =ODoa -----END PGP SIGNATURE----- |
Hello BJ,
The file is in webapp/practice and this is not an ftl, it is a zul file naming hello.zul. When I run application gives error of "groovy not found". Thanks and Regards Santosh Malviya BJ Freeman wrote: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 where is the file this is in ,in your ofbiz implementation? if your using an ftl then you should have an myftlname.ftl file and in the webapp/componentname/WEB-INF/actions/myftlname.groovy you can look at some of the applications for examples if you do it the way you have, then every browser will have to install groovy to work. Santosh Malviya sent the following on 2/3/2009 11:18 PM:Hello Milind , Here is code: <window title="New Customer" border="normal" position="bottom"> <zscript language="Groovy"> import org.ofbiz.service.LocalDispatcher; import javolution.util.FastMap; import org.ofbiz.base.util.*; void savePerson() { Map personContext = FastMap.newInstance(); personContext = UtilMisc.toMap("firstName",firstName.value, "lastName", lastName.value); Map person = dispatcher.runSync("cretePerson", personContext); } </zscript><grid> <rows> <row> <label value="First Name"/> <textbox id="firstName"/> </row> <row> <label value="Last Name"/> <textbox id="lastName"/> </row> <row><button label="submit" onClick="savePerson()"/></row> </rows> </grid> </window> At first it is giving error of groovy not found and if I use Java then it is giving error of unknown dispatcher so in the case of Java how can I use dispatcher here and to get this I require servletContext like this LocalDispatcher dispatcher = servletContext.getDispatcher(); from where servletContext can be got in zk. I tried with another code using java in zscript's language tag it worked fine. Milind Parikh wrote:Please post your code. Regards - Milind On Tue, Feb 3, 2009 at 10:03 PM, Santosh Malviya < [hidden email]> wrote:Thank you Milind for the reply, it is working fine with java but with groovy what is needed. Thanks & Regards Santosh Malviya Milind Parikh wrote: The first debugging step should be whether it works with Java. If it does, you might need to "install" Groovy. Regards -- Milind On Tue, Feb 3, 2009 at 9:46 PM, Santosh Malviya [hidden email] wrote: Hello all, I have to use groovy in zk and I did it with tag <zscript language="Groovy"> but I got an interpreter exception saying "Groovy not found", am I missing something or any plugin is required for it. Thanks in advance. Thanks & Regards Santosh Malviya Milind Parikh wrote: Sorry... RT.M is the more polite form of RTFM (Read The ... Manual). On Sun, Feb 1, 2009 at 10:31 PM, Santosh Malviya [hidden email] [hidden email] wrote: Thank you Milind for your quick reply, could you tell meaning of RT.M in Zk(RT.M). Thanks and Regards Santosh Malviya Milind Parikh wrote: The simple answer is .. simple. Declare a delegator and then a dispatcher based on the delegator and runSync() and mull over the results in Zk. For example: phaseList = dispatcher.runSync(" getProjectPhaseList", dMap).get("phaseList"); However this approach does require expertise over Zk (RT.M) as well. Regards -- Milind On Sun, Feb 1, 2009 at 9:56 PM, Santosh Malviya [hidden email] [hidden email] [hidden email] [hidden email] wrote: Hello all, After doing integration of Zk with OFBiz, how I can use existing events/services of OFBiz into Zk.Please suggest how can I do so. Thanks in advance. Thanks and Regards Santosh Malviya Santosh Malviya wrote: Thank you Milind for the suggestion. Thanks & Regards Santosh Malviya Milind Parikh wrote: My suggestion, right now, would be to type in the code. It's really simple; as you have seen. Regards - Milind On Thu, Jan 29, 2009 at 7:33 AM, Santosh Malviya [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] wrote: Hello Milind, I watched your video of zk integration with OFBiz, as you talked about zkViewHandler to include into framework's widget screen, so from where this handler can be downloaded, I have googled but could not find. Please help me to get this handler. Jacques Le Roux wrote: Thank you Milind, I put the link below existing ones in FAQ Jacques From: "Bruno Busco" [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] Thank you Milind, this looks very interesting IMO. -Bruno 2009/1/6 Milind Parikh [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email]: Hi Cruno I am unable to post on the ML right now. But I have posted the screenshots from the UI (comparing and contrasting with the default UI provided through ofbiz.http://www.screencast.com/t/PYqgjKm05S Regards -- Milind On Tue, Dec 23, 2008 at 3:26 AM, Bruno Busco [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] wrote: Could we see some screenshot of how it looks like? (I mean the UI you got) -Bruno 2008/12/22 Milind P [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email]: Steps 5 and 6http://www.screencast.com/t/w2gFN4ytj I apologize for the audio quality. It is difficult to record from an Airport with security advisories in the back ground. But hopefully on full volume, it should be ok. Bruno Busco wrote: Really cool! Looking forward to Steps 5 and 6 !!!! -Bruno 2008/12/22 Milind P [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] Here are the two URLs for the ScreenCast.http://www.screencast.com/t/PTbvcO1CygRhttp://www.screencast.com/t/9ZBeRPolNdG The third one is coming.. (It's 1:18 am and I have an international flight today). Bruno Busco wrote: Yes, we will eventually handle this as a plug-in. -Bruno 2008/12/21 Jacques Le Roux [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] Remember though that this will not be commited in OFBiz due to ZK's GPL licence http://en.wikipedia.org/wiki/ZK_Framework Jacques From: "Bruno Busco" [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] Hi Milind, I have read your progress in the Zk forum. The OFBiz-Zk looks really interesting to me, could we see something? You could open a JIRA issue with some screenshot and patches. Thank you, -Bruno 2008/12/21 Milind P [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] ZkViewHandler written. Turns out to be too simple. Please read cross-post at http://www.potix.com/forum/index.zul#path%3DlistComment%3BdiscussionId%3D6530%3BcategoryId%3D14%3B . It may indeed be too simple. Any gotcha's? -- Milind BJ Freeman wrote: From reading the documentation, I don't believe this was really implemented or the person understood ofbiz. it seems that is assumes that by using a delegator it can directly access tables. this by-passes all entity aware stuff. first you need to right a handler http://docs.ofbiz.org/display/OFBIZ/Understanding+the+OFBiz+Widget+Toolkit You will probably have to write a worker class for ZK, look at the freemakerworker.java you should then be able to include a zk file in a widget like you do a ftl. Ritz123 sent the following on 2/1/2008 10:18 AM: I have read that already - I cant find it anywhere in the document where it says how can you use ZUL/ZHTML pages with your existing ftls/htmls or how to use screen widget with ZK May be I am missing something. guo weizhan wrote: you should read this first: http://docs.ofbiz.org/display/OFBIZ/ZK+Rich+Client+-+integration+tutorial 2008/2/1, Ritz123 [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email]: Hi, Those who are using ZK with Ofbiz does it need a view handler? How have you guys integrated ZUL/ZHTML pages with Ofbiz? (either in the screens.xml or controller.xml)? -- View this message in context: http://www.nabble.com/ZK-view-handler--tp15217609p15217609.html Sent from the OFBiz - User mailing list archive at Nabble.com. -- View this message in context: http://www.nabble.com/ZK-view-handler--tp15217609p21112393.html Sent from the OFBiz - User mailing list archive at Nabble.com. -- View this message in context:http://www.nabble.com/ZK-view-handler--tp15217609p21124711.html Sent from the OFBiz - User mailing list archive at Nabble.com. -- View this message in context: http://www.nabble.com/ZK-view-handler--tp15217609p21135132.html Sent from the OFBiz - User mailing list archive at Nabble.com. -- Thanks and Regards Santosh Malviya Enterprise Software Developer Hotwax Media Inc. Indore(M.P.) India Mobile : +91 9977650914 -- Thanks and Regards Santosh Malviya Enterprise Software Developer Hotwax Media Inc. Indore(M.P.) India Mobile : +91 9977650914-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJiW3zrP3NbaWWqE4RAonNAKC3L6B8tTLGSFbQWojh+3gbghvHPQCgjZPQ tDgdCR5khZE80KJ45LqrzkA= =ODoa -----END PGP SIGNATURE----- smime.p7s (4K) Download Attachment |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 Ok this is something you will have to debug. but the view handler should be like the one for the ftl (framework\webapp\src\org\ofbiz\webapp\ftl\) should be declare in the controller. your handler should have the code to parse your hello.zul file. it should be aware of the groovy library and parse the groovy (org.ofbiz.base.util.GroovyUtil) (framework\webapp\src\org\ofbiz\webapp\event\GroovyEventHandler) you have in the file. that is about all the help I can give. Santosh Malviya sent the following on 2/4/2009 2:41 AM: > Hello BJ, > The file is in webapp/practice and this is not an ftl, it is a zul file > naming hello.zul. When I run application gives error of "groovy not found". > > Thanks and Regards > Santosh Malviya > > BJ Freeman wrote: > where is the file this is in ,in your ofbiz implementation? > if your using an ftl then you should have an myftlname.ftl file and in > the webapp/componentname/WEB-INF/actions/myftlname.groovy > > you can look at some of the applications for examples > > if you do it the way you have, then every browser will have to install > groovy to work. > > > > Santosh Malviya sent the following on 2/3/2009 11:18 PM: > >>>> Hello Milind , >>>> Here is code: >>>> <window title="New Customer" border="normal" position="bottom"> >>>> <zscript language="Groovy"> >>>> import org.ofbiz.service.LocalDispatcher; >>>> import javolution.util.FastMap; >>>> import org.ofbiz.base.util.*; >>>> void savePerson() { >>>> Map personContext = FastMap.newInstance(); >>>> personContext = UtilMisc.toMap("firstName",firstName.value, "lastName", >>>> lastName.value); >>>> Map person = dispatcher.runSync("cretePerson", personContext); >>>> } >>>> </zscript><grid> >>>> <rows> >>>> <row> >>>> <label value="First Name"/> >>>> <textbox id="firstName"/> >>>> </row> >>>> <row> >>>> <label value="Last Name"/> >>>> <textbox id="lastName"/> >>>> </row> >>>> <row><button label="submit" >>>> onClick="savePerson()"/></row> >>>> </rows> >>>> </grid> </window> >>>> >>>> At first it is giving error of groovy not found and if I use Java then >>>> it is giving error of unknown dispatcher so in the case of Java how can >>>> I use dispatcher here and to get this I require servletContext like this >>>> LocalDispatcher dispatcher = servletContext.getDispatcher(); from where >>>> servletContext can be got in zk. >>>> I tried with another code using java in zscript's language tag it >>>> worked fine. >>>> >>>> >>>> Milind Parikh wrote: >>>> >>>>> Please post your code. >>>>> >>>>> Regards >>>>> - Milind >>>>> >>>>> >>>>> On Tue, Feb 3, 2009 at 10:03 PM, Santosh Malviya < >>>>> [hidden email]> wrote: >>>>> >>>>> >>>>> >>>>>> Thank you Milind for the reply, it is working fine with java but with >>>>>> groovy what is needed. >>>>>> >>>>>> >>>>>> Thanks & Regards >>>>>> Santosh Malviya >>>>>> >>>>>> Milind Parikh wrote: >>>>>> >>>>>> The first debugging step should be whether it works with Java. If it >>>>>> does, >>>>>> you might need to "install" Groovy. >>>>>> >>>>>> Regards >>>>>> -- Milind >>>>>> >>>>>> >>>>>> On Tue, Feb 3, 2009 at 9:46 PM, Santosh Malviya >>>>>> <[hidden email]> wrote: >>>>>> >>>>>> >>>>>> >>>>>> Hello all, >>>>>> I have to use groovy in zk and I did it with tag <zscript >>>>>> language="Groovy"> but I got an interpreter exception saying >>>>>> "Groovy not >>>>>> found", am I missing something or any plugin is required for it. >>>>>> Thanks in advance. >>>>>> >>>>>> >>>>>> Thanks & Regards >>>>>> Santosh Malviya >>>>>> >>>>>> Milind Parikh wrote: >>>>>> >>>>>> Sorry... RT.M is the more polite form of RTFM (Read The ... Manual). >>>>>> >>>>>> >>>>>> >>>>>> On Sun, Feb 1, 2009 at 10:31 PM, Santosh Malviya >>>>>> <[hidden email]> <[hidden email]> >>>>>> wrote: >>>>>> >>>>>> >>>>>> >>>>>> Thank you Milind for your quick reply, could you tell meaning of >>>>>> RT.M in >>>>>> Zk(RT.M). >>>>>> >>>>>> Thanks and Regards >>>>>> Santosh Malviya >>>>>> >>>>>> Milind Parikh wrote: >>>>>> >>>>>> The simple answer is .. simple. >>>>>> >>>>>> Declare a delegator and then a dispatcher based on the delegator and >>>>>> runSync() and mull over the results in Zk. >>>>>> >>>>>> For example: >>>>>> phaseList = dispatcher.runSync(" >>>>>> getProjectPhaseList", >>>>>> dMap).get("phaseList"); >>>>>> >>>>>> However this approach does require expertise over Zk (RT.M) as well. >>>>>> >>>>>> Regards >>>>>> >>>>>> -- Milind >>>>>> >>>>>> >>>>>> On Sun, Feb 1, 2009 at 9:56 PM, Santosh Malviya >>>>>> <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> wrote: >>>>>> >>>>>> >>>>>> >>>>>> Hello all, >>>>>> After doing integration of Zk with OFBiz, how I can use existing >>>>>> events/services of OFBiz into Zk.Please suggest how can I do so. >>>>>> Thanks in advance. >>>>>> >>>>>> Thanks and Regards >>>>>> Santosh Malviya >>>>>> >>>>>> Santosh Malviya wrote: >>>>>> >>>>>> Thank you Milind for the suggestion. >>>>>> >>>>>> Thanks & Regards >>>>>> Santosh Malviya >>>>>> >>>>>> Milind Parikh wrote: >>>>>> >>>>>> My suggestion, right now, would be to type in the code. It's really >>>>>> simple; >>>>>> as you have seen. >>>>>> >>>>>> Regards >>>>>> - Milind >>>>>> >>>>>> >>>>>> On Thu, Jan 29, 2009 at 7:33 AM, Santosh Malviya >>>>>> <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> wrote: >>>>>> >>>>>> >>>>>> >>>>>> Hello Milind, >>>>>> I watched your video of zk integration with OFBiz, as you talked about >>>>>> zkViewHandler to include into framework's widget screen, so from >>>>>> where this >>>>>> handler can be downloaded, I have googled but could not find. Please >>>>>> help me >>>>>> to get this handler. >>>>>> >>>>>> >>>>>> >>>>>> Jacques Le Roux wrote: >>>>>> >>>>>> >>>>>> >>>>>> Thank you Milind, I put the link below existing ones in FAQ >>>>>> >>>>>> Jacques >>>>>> >>>>>> From: "Bruno Busco" <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> >>>>>> Thank you Milind, >>>>>> this looks very interesting IMO. >>>>>> >>>>>> -Bruno >>>>>> >>>>>> 2009/1/6 Milind Parikh <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> <[hidden email]>: >>>>>> >>>>>> >>>>>> >>>>>> Hi Cruno >>>>>> >>>>>> I am unable to post on the ML right now. But I have posted the >>>>>> screenshots >>>>>> from the UI (comparing and contrasting with the default UI provided >>>>>> through >>>>>> ofbiz.http://www.screencast.com/t/PYqgjKm05S >>>>>> >>>>>> >>>>>> Regards >>>>>> -- Milind >>>>>> >>>>>> >>>>>> On Tue, Dec 23, 2008 at 3:26 AM, Bruno Busco <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> >>>>>> wrote: >>>>>> >>>>>> Could we see some screenshot of how it looks like? (I mean the UI you >>>>>> >>>>>> >>>>>> got) >>>>>> >>>>>> -Bruno >>>>>> >>>>>> 2008/12/22 Milind P <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> <[hidden email]>: >>>>>> >>>>>> >>>>>> Steps 5 and 6http://www.screencast.com/t/w2gFN4ytj >>>>>> >>>>>> >>>>>> I apologize for the audio quality. It is difficult to record from an >>>>>> >>>>>> >>>>>> Airport >>>>>> >>>>>> >>>>>> with security advisories in the back ground. But hopefully on full >>>>>> >>>>>> >>>>>> volume, >>>>>> >>>>>> >>>>>> it should be ok. >>>>>> >>>>>> >>>>>> >>>>>> Bruno Busco wrote: >>>>>> >>>>>> >>>>>> Really cool! >>>>>> Looking forward to Steps 5 and 6 !!!! >>>>>> >>>>>> -Bruno >>>>>> >>>>>> 2008/12/22 Milind P <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> >>>>>> Here are the two URLs for the >>>>>> ScreenCast.http://www.screencast.com/t/PTbvcO1CygRhttp://www.screencast.com/t/9ZBeRPolNdG >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> The third one is coming.. (It's 1:18 am and I have an international >>>>>> flight >>>>>> today). >>>>>> >>>>>> >>>>>> >>>>>> Bruno Busco wrote: >>>>>> >>>>>> >>>>>> Yes, >>>>>> we will eventually handle this as a plug-in. >>>>>> >>>>>> -Bruno >>>>>> >>>>>> 2008/12/21 Jacques Le Roux <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> >>>>>> >>>>>> Remember though that this will not be commited >>>>>> in OFBiz due to >>>>>> >>>>>> >>>>>> ZK's >>>>>> >>>>>> >>>>>> GPL >>>>>> >>>>>> >>>>>> licence http://en.wikipedia.org/wiki/ZK_Framework >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> Jacques >>>>>> >>>>>> From: "Bruno Busco" <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> >>>>>> Hi Milind, >>>>>> >>>>>> >>>>>> I have read your progress in the Zk forum. The OFBiz-Zk looks >>>>>> >>>>>> >>>>>> really >>>>>> >>>>>> >>>>>> interesting to me, could we see something? >>>>>> You could open a JIRA issue with some screenshot and patches. >>>>>> >>>>>> Thank you, >>>>>> -Bruno >>>>>> >>>>>> 2008/12/21 Milind P <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> ZkViewHandler written. Turns out to be too >>>>>> simple. Please read >>>>>> cross-post >>>>>> at >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> http://www.potix.com/forum/index.zul#path%3DlistComment%3BdiscussionId%3D6530%3BcategoryId%3D14%3B >>>>>> >>>>>> >>>>>> >>>>>> . >>>>>> >>>>>> It may indeed be too simple. Any gotcha's? >>>>>> >>>>>> -- Milind >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> BJ Freeman wrote: >>>>>> >>>>>> >>>>>> From reading the documentation, I don't believe this was >>>>>> >>>>>> >>>>>> really >>>>>> >>>>>> >>>>>> implemented or the person understood ofbiz. >>>>>> >>>>>> it seems that is assumes that by using a delegator it can >>>>>> >>>>>> >>>>>> directly >>>>>> >>>>>> >>>>>> access tables. this by-passes all entity aware stuff. >>>>>> >>>>>> first you need to right a handler >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> http://docs.ofbiz.org/display/OFBIZ/Understanding+the+OFBiz+Widget+Toolkit >>>>>> >>>>>> >>>>>> >>>>>> You will probably have to write a worker class for ZK, look >>>>>> >>>>>> >>>>>> at >>>>>> the >>>>>> >>>>>> >>>>>> freemakerworker.java >>>>>> >>>>>> you should then be able to include a zk file in a widget >>>>>> >>>>>> >>>>>> like >>>>>> you >>>>>> >>>>>> >>>>>> do >>>>>> >>>>>> >>>>>> a >>>>>> >>>>>> >>>>>> ftl. >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> Ritz123 sent the following on 2/1/2008 10:18 AM: >>>>>> >>>>>> >>>>>> I have read that already - I cant find it anywhere in the >>>>>> >>>>>> >>>>>> document >>>>>> >>>>>> >>>>>> where >>>>>> >>>>>> >>>>>> it >>>>>> says how can you use ZUL/ZHTML pages with your existing >>>>>> >>>>>> >>>>>> ftls/htmls >>>>>> >>>>>> >>>>>> or >>>>>> how >>>>>> >>>>>> >>>>>> to >>>>>> use screen widget with ZK >>>>>> >>>>>> May be I am missing something. >>>>>> >>>>>> >>>>>> guo weizhan wrote: >>>>>> >>>>>> >>>>>> you should read this first: >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> http://docs.ofbiz.org/display/OFBIZ/ZK+Rich+Client+-+integration+tutorial >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> 2008/2/1, Ritz123 <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> <[hidden email]> <[hidden email]> >>>>>> <[hidden email]>: >>>>>> >>>>>> >>>>>> Hi, >>>>>> >>>>>> Those who are using ZK with Ofbiz does it need a view >>>>>> >>>>>> >>>>>> handler? >>>>>> >>>>>> >>>>>> How have you guys integrated ZUL/ZHTML pages with Ofbiz? >>>>>> >>>>>> >>>>>> (either >>>>>> >>>>>> >>>>>> in >>>>>> the >>>>>> >>>>>> >>>>>> screens.xml or controller.xml)? >>>>>> -- >>>>>> View this message in context: >>>>>> >>>>>> >>>>>> >>>>>> http://www.nabble.com/ZK-view-handler--tp15217609p15217609.html >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> Sent from the OFBiz - User mailing list archive at >>>>>> >>>>>> >>>>>> Nabble.com. >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> View this message in context: >>>>>> >>>>>> >>>>>> >>>>>> http://www.nabble.com/ZK-view-handler--tp15217609p21112393.html >>>>>> >>>>>> Sent from the OFBiz - User mailing list archive at Nabble.com. >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> View this message in >>>>>> context:http://www.nabble.com/ZK-view-handler--tp15217609p21124711.html >>>>>> >>>>>> Sent from the OFBiz - User mailing list archive at Nabble.com. >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> View this message in context: >>>>>> >>>>>> >>>>>> http://www.nabble.com/ZK-view-handler--tp15217609p21135132.html >>>>>> >>>>>> Sent from the OFBiz - User mailing list archive at Nabble.com. >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Thanks and Regards >>>>>> Santosh Malviya >>>>>> Enterprise Software Developer >>>>>> Hotwax Media Inc. >>>>>> Indore(M.P.) India >>>>>> Mobile : +91 9977650914 >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Thanks and Regards >>>>>> Santosh Malviya >>>>>> Enterprise Software Developer >>>>>> Hotwax Media Inc. >>>>>> Indore(M.P.) India >>>>>> Mobile : +91 9977650914 >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> >> -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJiXgrrP3NbaWWqE4RAvAVAJ9QkPTlZKyo52FmhZIrMzeelLPg1QCeIc19 89kqXUWbF5ncfyNzVnEjwK4= =g4dy -----END PGP SIGNATURE----- |
In reply to this post by santosh malviya-2
Hello Santosh,
If you seen in the examples at - http://docs.ofbiz.org/display/OFBIZ/ZK+Rich+Client+-+integration+tutorial will find the following code, you may get the delegators object as mentioned below. delegator = GenericDelegator.getGenericDelegator("default"); From the above code you may easily get the dispatcher from the static method of GenericDispatcher class have the following signature, dispatcher = GenericDispatcher.getLocalDispatcher(String dispatcherName, GenericDelegator delegator); Hope that Helps. -- Rishi Solanki Enterprise Software Developer HotWax Media Pvt. Ltd. On Wed, Feb 4, 2009 at 12:48 PM, Santosh Malviya < [hidden email]> wrote: > Hello Milind , > Here is code: > <window title="New Customer" border="normal" position="bottom"> > <zscript language="Groovy"> > import org.ofbiz.service.LocalDispatcher; > import javolution.util.FastMap; > import org.ofbiz.base.util.*; > > void savePerson() { > Map personContext = FastMap.newInstance(); > personContext = UtilMisc.toMap("firstName",firstName.value, "lastName", > lastName.value); > Map person = dispatcher.runSync("cretePerson", personContext); > } > </zscript><grid> > <rows> > <row> > <label value="First Name"/> > <textbox id="firstName"/> > </row> > <row> > <label value="Last Name"/> > <textbox id="lastName"/> > </row> > <row><button label="submit" > onClick="savePerson()"/></row> > </rows> > </grid> > </window> > > At first it is giving error of groovy not found and if I use Java then it > is giving error of unknown dispatcher so in the case of Java how can I use > dispatcher here and to get this I require servletContext like this > LocalDispatcher dispatcher = servletContext.getDispatcher(); from where > servletContext can be got in zk. > I tried with another code using java in zscript's language tag it > worked fine. > > > Milind Parikh wrote: > > Please post your code. > > Regards > - Milind > > > On Tue, Feb 3, 2009 at 10:03 PM, Santosh Malviya <[hidden email]> wrote: > > > > Thank you Milind for the reply, it is working fine with java but with > groovy what is needed. > > > Thanks & Regards > Santosh Malviya > > Milind Parikh wrote: > > The first debugging step should be whether it works with Java. If it does, > you might need to "install" Groovy. > > Regards > -- Milind > > > On Tue, Feb 3, 2009 at 9:46 PM, Santosh Malviya <[hidden email]> <[hidden email]> wrote: > > > > Hello all, > I have to use groovy in zk and I did it with tag <zscript > language="Groovy"> but I got an interpreter exception saying "Groovy not > found", am I missing something or any plugin is required for it. > Thanks in advance. > > > Thanks & Regards > Santosh Malviya > > Milind Parikh wrote: > > Sorry... RT.M is the more polite form of RTFM (Read The ... Manual). > > > > On Sun, Feb 1, 2009 at 10:31 PM, Santosh Malviya <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> wrote: > > > > Thank you Milind for your quick reply, could you tell meaning of RT.M in > Zk(RT.M). > > Thanks and Regards > Santosh Malviya > > Milind Parikh wrote: > > The simple answer is .. simple. > > Declare a delegator and then a dispatcher based on the delegator and > runSync() and mull over the results in Zk. > > For example: > phaseList = dispatcher.runSync(" > getProjectPhaseList", > dMap).get("phaseList"); > > However this approach does require expertise over Zk (RT.M) as well. > > Regards > > -- Milind > > > On Sun, Feb 1, 2009 at 9:56 PM, Santosh Malviya <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> > > wrote: > > > > Hello all, > After doing integration of Zk with OFBiz, how I can use existing > events/services of OFBiz into Zk.Please suggest how can I do so. > Thanks in advance. > > Thanks and Regards > Santosh Malviya > > Santosh Malviya wrote: > > Thank you Milind for the suggestion. > > Thanks & Regards > Santosh Malviya > > Milind Parikh wrote: > > My suggestion, right now, would be to type in the code. It's really simple; > as you have seen. > > Regards > - Milind > > > On Thu, Jan 29, 2009 at 7:33 AM, Santosh Malviya <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> & > lt;[hidden email]> <[hidden email]> > > wrote: > > > > Hello Milind, > I watched your video of zk integration with OFBiz, as you talked about > zkViewHandler to include into framework's widget screen, so from where this > handler can be downloaded, I have googled but could not find. Please help me > to get this handler. > > > > Jacques Le Roux wrote: > > > > Thank you Milind, I put the link below existing ones in FAQ > > Jacques > > From: "Bruno Busco" <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> > > Thank you Milind, > this looks very interesting IMO. > > -Bruno > > 2009/1/6 Milind Parikh <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]>: > > > > Hi Cruno > > I am unable to post on the ML right now. But I have posted the > screenshots > from the UI (comparing and contrasting with the default UI provided > through > ofbiz.http://www.screencast.com/t/PYqgjKm05S > > > Regards > -- Milind > > > On Tue, Dec 23, 2008 at 3:26 AM, Bruno Busco <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> > wrote: > > Could we see some screenshot of how it looks like? (I mean the UI you > > > got) > > -Bruno > > 2008/12/22 Milind P <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]>: > > > Steps 5 and 6http://www.screencast.com/t/w2gFN4ytj > > > I apologize for the audio quality. It is difficult to record from an > > > Airport > > > with security advisories in the back ground. But hopefully on full > > > volume, > > > it should be ok. > > > > Bruno Busco wrote: > > > Really cool! > Looking forward to Steps 5 and 6 !!!! > > -Bruno > > 2008/12/22 Milind P <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> > > Here are the two URLs for the ScreenCast.http://www.screencast.com/t/PTbvcO1CygRhttp://www.screencast.com/t/9ZBeRPolNdG > > > > The third one is coming.. (It's 1:18 am and I have an international > flight > today). > > > > Bruno Busco wrote: > > > Yes, > we will eventually handle this as a plug-in. > > -Bruno > > 2008/12/21 Jacques Le Roux <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> > > Remember though that this will not be commited in OFBiz due to > > > ZK's > > > GPL > > > licence http://en.wikipedia.org/wiki/ZK_Framework > > > > > Jacques > > From: "Bruno Busco" <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> > > Hi Milind, > > > I have read your progress in the Zk forum. The OFBiz-Zk looks > > > really > > > interesting to me, could we see something? > You could open a JIRA issue with some screenshot and patches. > > Thank you, > -Bruno > > 2008/12/21 Milind P <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> > > > > > > ZkViewHandler written. Turns out to be too simple. Please read > cross-post > at > > > > > > http://www.potix.com/forum/index.zul#path%3DlistComment%3BdiscussionId%3D6530%3BcategoryId%3D14%3B > > . > > It may indeed be too simple. Any gotcha's? > > -- Milind > > > > > BJ Freeman wrote: > > > From reading the documentation, I don't believe this was > > > really > > > implemented or the person understood ofbiz. > > it seems that is assumes that by using a delegator it can > > > directly > > > access tables. this by-passes all entity aware stuff. > > first you need to right a handler > > > > http://docs.ofbiz.org/display/OFBIZ/Understanding+the+OFBiz+Widget+Toolkit > > You will probably have to write a worker class for ZK, look > > > at > the > > > freemakerworker.java > > you should then be able to include a zk file in a widget > > > like > you > > > do > > > a > > > ftl. > > > > > Ritz123 sent the following on 2/1/2008 10:18 AM: > > > I have read that already - I cant find it anywhere in the > > > document > > > where > > > it > says how can you use ZUL/ZHTML pages with your existing > > > ftls/htmls > > > or > how > > > to > use screen widget with ZK > > May be I am missing something. > > > guo weizhan wrote: > > > you should read this first: > > > > http://docs.ofbiz.org/display/OFBIZ/ZK+Rich+Client+-+integration+tutorial > > > > > 2008/2/1, Ritz123 <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <ritesh.trivedi@gmai > l.com> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]> <[hidden email]>: > > > Hi, > > Those who are using ZK with Ofbiz does it need a view > > > handler? > > > How have you guys integrated ZUL/ZHTML pages with Ofbiz? > > > (either > > > in > the > > > screens.xml or controller.xml)? > -- > View this message in context: > > > > http://www.nabble.com/ZK-view-handler--tp15217609p15217609.html > > > > > Sent from the OFBiz - User mailing list archive at > > > Nabble.com. > > > -- > View this message in context: > > > > http://www.nabble.com/ZK-view-handler--tp15217609p21112393.html > > Sent from the OFBiz - User mailing list archive at Nabble.com. > > > > > > -- > View this message in context:http://www.nabble.com/ZK-view-handler--tp15217609p21124711.html > Sent from the OFBiz - User mailing list archive at Nabble.com. > > > > > -- > View this message in context: > > > http://www.nabble.com/ZK-view-handler--tp15217609p21135132.html > > Sent from the OFBiz - User mailing list archive at Nabble.com. > > > > > -- > Thanks and Regards > Santosh Malviya > Enterprise Software Developer > Hotwax Media Inc. > Indore(M.P.) India > Mobile : +91 9977650914 > > > > > > > > > -- > Thanks and Regards > Santosh Malviya > Enterprise Software Developer > Hotwax Media Inc. > Indore(M.P.) India > Mobile : +91 9977650914 > > > > > > > > > > > > > -- > Thanks and Regards > Santosh Malviya > Enterprise Software Developer > Hotwax Media Inc. > Indore(M.P.) India > Mobile : +91 9977650914 > > |
Thank you very much Rishi for your valuable reply, I tried with this and
it worked. Actually I tried with this java instead of groovy. But using groovy still giving error. Thanks & Regards Santosh Malviya Rishi Solanki wrote: > Hello Santosh, > > If you seen in the examples at - > http://docs.ofbiz.org/display/OFBIZ/ZK+Rich+Client+-+integration+tutorial > will find the following code, you may get the delegators object as mentioned > below. > > delegator = GenericDelegator.getGenericDelegator("default"); > > > > >From the above code you may easily get the dispatcher from the static method > of GenericDispatcher class have the following signature, > > dispatcher = GenericDispatcher.getLocalDispatcher(String > dispatcherName, GenericDelegator delegator); > > > Hope that Helps. > > smime.p7s (4K) Download Attachment |
In reply to this post by Milind P
I have to call an event into zk's java code, how can I do so while I have called a service successfully. Thanks in advance. Thanks & Regards Santosh Malviya Milind Parikh wrote: The simple answer is .. simple. Declare a delegator and then a dispatcher based on the delegator and runSync() and mull over the results in Zk. For example: phaseList = dispatcher.runSync("getProjectPhaseList", dMap).get("phaseList"); However this approach does require expertise over Zk (RT.M) as well. Regards -- Milind On Sun, Feb 1, 2009 at 9:56 PM, Santosh Malviya < [hidden email]> wrote:Hello all, After doing integration of Zk with OFBiz, how I can use existing events/services of OFBiz into Zk.Please suggest how can I do so. Thanks in advance. Thanks and Regards Santosh Malviya Santosh Malviya wrote: Thank you Milind for the suggestion. Thanks & Regards Santosh Malviya Milind Parikh wrote: My suggestion, right now, would be to type in the code. It's really simple; as you have seen. Regards - Milind On Thu, Jan 29, 2009 at 7:33 AM, Santosh Malviya [hidden email] wrote: Hello Milind, I watched your video of zk integration with OFBiz, as you talked about zkViewHandler to include into framework's widget screen, so from where this handler can be downloaded, I have googled but could not find. Please help me to get this handler. Jacques Le Roux wrote: Thank you Milind, I put the link below existing ones in FAQ Jacques From: "Bruno Busco" [hidden email] [hidden email] Thank you Milind, this looks very interesting IMO. -Bruno 2009/1/6 Milind Parikh [hidden email] [hidden email]: Hi Cruno I am unable to post on the ML right now. But I have posted the screenshots from the UI (comparing and contrasting with the default UI provided through ofbiz. http://www.screencast.com/t/PYqgjKm05S Regards -- Milind On Tue, Dec 23, 2008 at 3:26 AM, Bruno Busco [hidden email] [hidden email] wrote: Could we see some screenshot of how it looks like? (I mean the UI you got) -Bruno 2008/12/22 Milind P [hidden email] [hidden email]: Steps 5 and 6 http://www.screencast.com/t/w2gFN4ytj I apologize for the audio quality. It is difficult to record from an Airport with security advisories in the back ground. But hopefully on full volume, it should be ok. Bruno Busco wrote: Really cool! Looking forward to Steps 5 and 6 !!!! -Bruno 2008/12/22 Milind P [hidden email] [hidden email] Here are the two URLs for the ScreenCast. http://www.screencast.com/t/PTbvcO1CygRhttp://www.screencast.com/t/9ZBeRPolNdG The third one is coming.. (It's 1:18 am and I have an international flight today). Bruno Busco wrote: Yes, we will eventually handle this as a plug-in. -Bruno 2008/12/21 Jacques Le Roux [hidden email] [hidden email] Remember though that this will not be commited in OFBiz due to ZK's GPL licence http://en.wikipedia.org/wiki/ZK_Framework Jacques From: "Bruno Busco" [hidden email] [hidden email] Hi Milind, I have read your progress in the Zk forum. The OFBiz-Zk looks really interesting to me, could we see something? You could open a JIRA issue with some screenshot and patches. Thank you, -Bruno 2008/12/21 Milind P [hidden email] [hidden email] ZkViewHandler written. Turns out to be too simple. Please read cross-post at http://www.potix.com/forum/index.zul#path%3DlistComment%3BdiscussionId%3D6530%3BcategoryId%3D14%3B . It may indeed be too simple. Any gotcha's? -- Milind BJ Freeman wrote: From reading the documentation, I don't believe this was really implemented or the person understood ofbiz. it seems that is assumes that by using a delegator it can directly access tables. this by-passes all entity aware stuff. first you need to right a handler http://docs.ofbiz.org/display/OFBIZ/Understanding+the+OFBiz+Widget+Toolkit You will probably have to write a worker class for ZK, look at the freemakerworker.java you should then be able to include a zk file in a widget like you do a ftl. Ritz123 sent the following on 2/1/2008 10:18 AM: I have read that already - I cant find it anywhere in the document where it says how can you use ZUL/ZHTML pages with your existing ftls/htmls or how to use screen widget with ZK May be I am missing something. guo weizhan wrote: you should read this first: http://docs.ofbiz.org/display/OFBIZ/ZK+Rich+Client+-+integration+tutorial 2008/2/1, Ritz123 [hidden email] [hidden email]: Hi, Those who are using ZK with Ofbiz does it need a view handler? How have you guys integrated ZUL/ZHTML pages with Ofbiz? (either in the screens.xml or controller.xml)? -- View this message in context: http://www.nabble.com/ZK-view-handler--tp15217609p15217609.html Sent from the OFBiz - User mailing list archive at Nabble.com. -- View this message in context: http://www.nabble.com/ZK-view-handler--tp15217609p21112393.html Sent from the OFBiz - User mailing list archive at Nabble.com. -- View this message in context:http://www.nabble.com/ZK-view-handler--tp15217609p21124711.html Sent from the OFBiz - User mailing list archive at Nabble.com. -- View this message in context: http://www.nabble.com/ZK-view-handler--tp15217609p21135132.html Sent from the OFBiz - User mailing list archive at Nabble.com. -- Thanks and Regards Santosh Malviya Enterprise Software Developer Hotwax Media Inc. Indore(M.P.) India Mobile : +91 9977650914 smime.p7s (4K) Download Attachment |
Free forum by Nabble | Edit this page |