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 <
[email protected]> 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
> <[email protected]> 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" <[email protected]> <[email protected]>
>
> Thank you Milind,
> this looks very interesting IMO.
>
> -Bruno
>
> 2009/1/6 Milind Parikh <[email protected]> <[email protected]>:
>
>
>
> 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 <[email protected]>
> <[email protected]>
> wrote:
>
> Could we see some screenshot of how it looks like? (I mean the UI you
>
>
> got)
>
> -Bruno
>
> 2008/12/22 Milind P <[email protected]> <[email protected]>:
>
>
> 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 <[email protected]> <[email protected]>
>
> 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 <[email protected]>
> <[email protected]>
>
> 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" <[email protected]> <[email protected]>
>
> 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 <[email protected]> <[email protected]>
>
>
> 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 <[email protected]> <[email protected]>:
>
>
> 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
>
>
>
>
>