You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Milind P <mi...@gmail.com> on 2008/12/21 06:47:04 UTC

Re: ZK view handler?

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 <ri...@gmail.com>:
>>>>
>>>> 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.


Re: ZK view handler?

Posted by Chris Howe <cj...@gmail.com>.
Just a quick comment on how you have the view-handler defined.  Since you're
wanting to have this distributed as a plugin, instead of placing the
<handler name="zk" ... in the common-controller, simply put that line in
your controller.xml file after the <include... statement.  You'll probably
also want to change the class name to however you're going to distrubte it
(ie com.milindparikh.widget.screen.ZkViewHandler)  and move the file into
the src directory of your component...and make sure the build routine is
working properly.

Chris Howe


On Mon, Dec 22, 2008 at 3:16 PM, Milind P <mi...@gmail.com> wrote:

>
> 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 <mi...@gmail.com>
> >
> >>
> >> 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 <ja...@les7arts.com>
> >> >
> >> >> 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" <br...@gmail.com>
> >> >>
> >> >>  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 <mi...@gmail.com>
> >> >>>
> >> >>>
> >> >>>> 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 <ri...@gmail.com>:
> >> >>>> >>>>
> >> >>>> >>>> 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.
>
>

Re: ZK view handler?

Posted by Santosh Malviya <sa...@hotwaxmedia.com>.
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.
>
>   


Re: ZK view handler?

Posted by Rishi Solanki <ri...@gmail.com>.
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 <
santosh.malviya@hotwaxmedia.com> 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 <sa...@hotwaxmedia.com> 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 <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com> 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 <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com> 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 <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com>
>
>  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 <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com> &
> lt;santosh.malviya@hotwaxmedia.com> <sa...@hotwaxmedia.com>
>
>  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" <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com>
>
>        Thank you Milind,
> this looks very interesting IMO.
>
> -Bruno
>
> 2009/1/6 Milind Parikh <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com>:
>
>
>
>  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 <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com>
> wrote:
>
>  Could we see some screenshot of how it looks like? (I mean the UI you
>
>
>  got)
>
> -Bruno
>
> 2008/12/22 Milind P <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com>:
>
>
>  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 <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com>
>
>                  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 <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com>
>
>                      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" <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com>
>
>  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 <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com>
>
>
>
>
>
>                          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 <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com> <ritesh.trivedi@gmai
> l.com> <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com>:
>
>
>  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
>
>

Re: ZK view handler?

Posted by BJ Freeman <bj...@free-man.net>.
-----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 <
>>>>> santosh.malviya@hotwaxmedia.com> 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
>>>>>> <sa...@hotwaxmedia.com> 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
>>>>>> <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com>
>>>>>> 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
>>>>>> <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com>
>>>>>> <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com>
>>>>>>  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
>>>>>> <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com>
>>>>>> <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com>
>>>>>> <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com>
>>>>>> <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com>
>>>>>>  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" <br...@gmail.com> <br...@gmail.com>
>>>>>> <br...@gmail.com> <br...@gmail.com>
>>>>>> <br...@gmail.com> <br...@gmail.com>
>>>>>> <br...@gmail.com> <br...@gmail.com>
>>>>>> <br...@gmail.com> <br...@gmail.com>
>>>>>> <br...@gmail.com> <br...@gmail.com>
>>>>>> <br...@gmail.com> <br...@gmail.com>
>>>>>> <br...@gmail.com> <br...@gmail.com>
>>>>>>
>>>>>>        Thank you Milind,
>>>>>> this looks very interesting IMO.
>>>>>>
>>>>>> -Bruno
>>>>>>
>>>>>> 2009/1/6 Milind Parikh <mi...@gmail.com>
>>>>>> <mi...@gmail.com> <mi...@gmail.com>
>>>>>> <mi...@gmail.com> <mi...@gmail.com>
>>>>>> <mi...@gmail.com> <mi...@gmail.com>
>>>>>> <mi...@gmail.com> <mi...@gmail.com>
>>>>>> <mi...@gmail.com> <mi...@gmail.com>
>>>>>> <mi...@gmail.com> <mi...@gmail.com>
>>>>>> <mi...@gmail.com> <mi...@gmail.com>
>>>>>> <mi...@gmail.com>:
>>>>>>
>>>>>>
>>>>>>
>>>>>>  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 <br...@gmail.com>
>>>>>> <br...@gmail.com> <br...@gmail.com>
>>>>>> <br...@gmail.com> <br...@gmail.com>
>>>>>> <br...@gmail.com> <br...@gmail.com>
>>>>>> <br...@gmail.com> <br...@gmail.com>
>>>>>> <br...@gmail.com> <br...@gmail.com>
>>>>>> <br...@gmail.com> <br...@gmail.com>
>>>>>> <br...@gmail.com> <br...@gmail.com>
>>>>>> <br...@gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>  Could we see some screenshot of how it looks like? (I mean the UI you
>>>>>>
>>>>>>
>>>>>>  got)
>>>>>>
>>>>>> -Bruno
>>>>>>
>>>>>> 2008/12/22 Milind P <mi...@gmail.com> <mi...@gmail.com>
>>>>>> <mi...@gmail.com> <mi...@gmail.com>
>>>>>> <mi...@gmail.com> <mi...@gmail.com>
>>>>>> <mi...@gmail.com> <mi...@gmail.com>
>>>>>> <mi...@gmail.com> <mi...@gmail.com>
>>>>>> <mi...@gmail.com> <mi...@gmail.com>
>>>>>> <mi...@gmail.com> <mi...@gmail.com>
>>>>>> <mi...@gmail.com> <mi...@gmail.com>:
>>>>>>
>>>>>>
>>>>>>  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 <mi...@gmail.com> <mi...@gmail.com>
>>>>>> <mi...@gmail.com> <mi...@gmail.com>
>>>>>> <mi...@gmail.com> <mi...@gmail.com>
>>>>>> <mi...@gmail.com> <mi...@gmail.com>
>>>>>> <mi...@gmail.com> <mi...@gmail.com>
>>>>>> <mi...@gmail.com> <mi...@gmail.com>
>>>>>> <mi...@gmail.com> <mi...@gmail.com>
>>>>>> <mi...@gmail.com> <mi...@gmail.com>
>>>>>>
>>>>>>                  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 <ja...@les7arts.com>
>>>>>> <ja...@les7arts.com> <ja...@les7arts.com>
>>>>>> <ja...@les7arts.com> <ja...@les7arts.com>
>>>>>> <ja...@les7arts.com> <ja...@les7arts.com>
>>>>>> <ja...@les7arts.com> <ja...@les7arts.com>
>>>>>> <ja...@les7arts.com> <ja...@les7arts.com>
>>>>>> <ja...@les7arts.com> <ja...@les7arts.com>
>>>>>> <ja...@les7arts.com> <ja...@les7arts.com>
>>>>>> <ja...@les7arts.com>
>>>>>>
>>>>>>                      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" <br...@gmail.com> <br...@gmail.com>
>>>>>> <br...@gmail.com> <br...@gmail.com>
>>>>>> <br...@gmail.com> <br...@gmail.com>
>>>>>> <br...@gmail.com> <br...@gmail.com>
>>>>>> <br...@gmail.com> <br...@gmail.com>
>>>>>> <br...@gmail.com> <br...@gmail.com>
>>>>>> <br...@gmail.com> <br...@gmail.com>
>>>>>> <br...@gmail.com> <br...@gmail.com>
>>>>>>
>>>>>>  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 <mi...@gmail.com> <mi...@gmail.com>
>>>>>> <mi...@gmail.com> <mi...@gmail.com>
>>>>>> <mi...@gmail.com> <mi...@gmail.com>
>>>>>> <mi...@gmail.com> <mi...@gmail.com>
>>>>>> <mi...@gmail.com> <mi...@gmail.com>
>>>>>> <mi...@gmail.com> <mi...@gmail.com>
>>>>>> <mi...@gmail.com> <mi...@gmail.com>
>>>>>> <mi...@gmail.com> <mi...@gmail.com>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>                          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 <ri...@gmail.com>
>>>>>> <ri...@gmail.com> <ri...@gmail.com>
>>>>>> <ri...@gmail.com> <ri...@gmail.com>
>>>>>> <ri...@gmail.com> <ri...@gmail.com>
>>>>>> <ri...@gmail.com> <ri...@gmail.com>
>>>>>> <ri...@gmail.com> <ri...@gmail.com>
>>>>>> <ri...@gmail.com> <ri...@gmail.com>
>>>>>> <ri...@gmail.com> <ri...@gmail.com>
>>>>>> <ri...@gmail.com>:
>>>>>>
>>>>>>
>>>>>>  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-----

Re: ZK view handler?

Posted by Santosh Malviya <sa...@hotwaxmedia.com>.
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 <
>>> santosh.malviya@hotwaxmedia.com> 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
>>>> <sa...@hotwaxmedia.com> 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
>>>> <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com>
>>>> 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
>>>> <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com>
>>>> <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com>
>>>>  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
>>>> <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com>
>>>> <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com>
>>>> <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com>
>>>> <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com>
>>>>  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" <br...@gmail.com> <br...@gmail.com>
>>>> <br...@gmail.com> <br...@gmail.com>
>>>> <br...@gmail.com> <br...@gmail.com>
>>>> <br...@gmail.com> <br...@gmail.com>
>>>> <br...@gmail.com> <br...@gmail.com>
>>>> <br...@gmail.com> <br...@gmail.com>
>>>> <br...@gmail.com> <br...@gmail.com>
>>>> <br...@gmail.com> <br...@gmail.com>
>>>>
>>>>        Thank you Milind,
>>>> this looks very interesting IMO.
>>>>
>>>> -Bruno
>>>>
>>>> 2009/1/6 Milind Parikh <mi...@gmail.com>
>>>> <mi...@gmail.com> <mi...@gmail.com>
>>>> <mi...@gmail.com> <mi...@gmail.com>
>>>> <mi...@gmail.com> <mi...@gmail.com>
>>>> <mi...@gmail.com> <mi...@gmail.com>
>>>> <mi...@gmail.com> <mi...@gmail.com>
>>>> <mi...@gmail.com> <mi...@gmail.com>
>>>> <mi...@gmail.com> <mi...@gmail.com>
>>>> <mi...@gmail.com>:
>>>>
>>>>
>>>>
>>>>  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 <br...@gmail.com>
>>>> <br...@gmail.com> <br...@gmail.com>
>>>> <br...@gmail.com> <br...@gmail.com>
>>>> <br...@gmail.com> <br...@gmail.com>
>>>> <br...@gmail.com> <br...@gmail.com>
>>>> <br...@gmail.com> <br...@gmail.com>
>>>> <br...@gmail.com> <br...@gmail.com>
>>>> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com>
>>>> wrote:
>>>>
>>>>  Could we see some screenshot of how it looks like? (I mean the UI you
>>>>
>>>>
>>>>  got)
>>>>
>>>> -Bruno
>>>>
>>>> 2008/12/22 Milind P <mi...@gmail.com> <mi...@gmail.com>
>>>> <mi...@gmail.com> <mi...@gmail.com>
>>>> <mi...@gmail.com> <mi...@gmail.com>
>>>> <mi...@gmail.com> <mi...@gmail.com>
>>>> <mi...@gmail.com> <mi...@gmail.com>
>>>> <mi...@gmail.com> <mi...@gmail.com>
>>>> <mi...@gmail.com> <mi...@gmail.com>
>>>> <mi...@gmail.com> <mi...@gmail.com>:
>>>>
>>>>
>>>>  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 <mi...@gmail.com> <mi...@gmail.com>
>>>> <mi...@gmail.com> <mi...@gmail.com>
>>>> <mi...@gmail.com> <mi...@gmail.com>
>>>> <mi...@gmail.com> <mi...@gmail.com>
>>>> <mi...@gmail.com> <mi...@gmail.com>
>>>> <mi...@gmail.com> <mi...@gmail.com>
>>>> <mi...@gmail.com> <mi...@gmail.com>
>>>> <mi...@gmail.com> <mi...@gmail.com>
>>>>
>>>>                  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 <ja...@les7arts.com>
>>>> <ja...@les7arts.com> <ja...@les7arts.com>
>>>> <ja...@les7arts.com> <ja...@les7arts.com>
>>>> <ja...@les7arts.com> <ja...@les7arts.com>
>>>> <ja...@les7arts.com> <ja...@les7arts.com>
>>>> <ja...@les7arts.com> <ja...@les7arts.com>
>>>> <ja...@les7arts.com> <ja...@les7arts.com>
>>>> <ja...@les7arts.com> <ja...@les7arts.com>
>>>> <ja...@les7arts.com>
>>>>
>>>>                      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" <br...@gmail.com> <br...@gmail.com>
>>>> <br...@gmail.com> <br...@gmail.com>
>>>> <br...@gmail.com> <br...@gmail.com>
>>>> <br...@gmail.com> <br...@gmail.com>
>>>> <br...@gmail.com> <br...@gmail.com>
>>>> <br...@gmail.com> <br...@gmail.com>
>>>> <br...@gmail.com> <br...@gmail.com>
>>>> <br...@gmail.com> <br...@gmail.com>
>>>>
>>>>  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 <mi...@gmail.com> <mi...@gmail.com>
>>>> <mi...@gmail.com> <mi...@gmail.com>
>>>> <mi...@gmail.com> <mi...@gmail.com>
>>>> <mi...@gmail.com> <mi...@gmail.com>
>>>> <mi...@gmail.com> <mi...@gmail.com>
>>>> <mi...@gmail.com> <mi...@gmail.com>
>>>> <mi...@gmail.com> <mi...@gmail.com>
>>>> <mi...@gmail.com> <mi...@gmail.com>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>                          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 <ri...@gmail.com>
>>>> <ri...@gmail.com> <ri...@gmail.com>
>>>> <ri...@gmail.com> <ri...@gmail.com>
>>>> <ri...@gmail.com> <ri...@gmail.com>
>>>> <ri...@gmail.com> <ri...@gmail.com>
>>>> <ri...@gmail.com> <ri...@gmail.com>
>>>> <ri...@gmail.com> <ri...@gmail.com>
>>>> <ri...@gmail.com> <ri...@gmail.com>
>>>> <ri...@gmail.com>:
>>>>
>>>>
>>>>  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-----
>
>   


Re: ZK view handler?

Posted by BJ Freeman <bj...@free-man.net>.
-----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 <
>> santosh.malviya@hotwaxmedia.com> 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
>>> <sa...@hotwaxmedia.com> 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
>>> <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com>
>>> 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
>>> <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com>
>>> <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com>
>>>  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
>>> <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com>
>>> <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com>
>>> <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com>
>>> <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com>
>>>  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" <br...@gmail.com> <br...@gmail.com>
>>> <br...@gmail.com> <br...@gmail.com>
>>> <br...@gmail.com> <br...@gmail.com>
>>> <br...@gmail.com> <br...@gmail.com>
>>> <br...@gmail.com> <br...@gmail.com>
>>> <br...@gmail.com> <br...@gmail.com>
>>> <br...@gmail.com> <br...@gmail.com>
>>> <br...@gmail.com> <br...@gmail.com>
>>>
>>>        Thank you Milind,
>>> this looks very interesting IMO.
>>>
>>> -Bruno
>>>
>>> 2009/1/6 Milind Parikh <mi...@gmail.com>
>>> <mi...@gmail.com> <mi...@gmail.com>
>>> <mi...@gmail.com> <mi...@gmail.com>
>>> <mi...@gmail.com> <mi...@gmail.com>
>>> <mi...@gmail.com> <mi...@gmail.com>
>>> <mi...@gmail.com> <mi...@gmail.com>
>>> <mi...@gmail.com> <mi...@gmail.com>
>>> <mi...@gmail.com> <mi...@gmail.com>
>>> <mi...@gmail.com>:
>>>
>>>
>>>
>>>  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 <br...@gmail.com>
>>> <br...@gmail.com> <br...@gmail.com>
>>> <br...@gmail.com> <br...@gmail.com>
>>> <br...@gmail.com> <br...@gmail.com>
>>> <br...@gmail.com> <br...@gmail.com>
>>> <br...@gmail.com> <br...@gmail.com>
>>> <br...@gmail.com> <br...@gmail.com>
>>> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com>
>>> wrote:
>>>
>>>  Could we see some screenshot of how it looks like? (I mean the UI you
>>>
>>>
>>>  got)
>>>
>>> -Bruno
>>>
>>> 2008/12/22 Milind P <mi...@gmail.com> <mi...@gmail.com>
>>> <mi...@gmail.com> <mi...@gmail.com>
>>> <mi...@gmail.com> <mi...@gmail.com>
>>> <mi...@gmail.com> <mi...@gmail.com>
>>> <mi...@gmail.com> <mi...@gmail.com>
>>> <mi...@gmail.com> <mi...@gmail.com>
>>> <mi...@gmail.com> <mi...@gmail.com>
>>> <mi...@gmail.com> <mi...@gmail.com>:
>>>
>>>
>>>  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 <mi...@gmail.com> <mi...@gmail.com>
>>> <mi...@gmail.com> <mi...@gmail.com>
>>> <mi...@gmail.com> <mi...@gmail.com>
>>> <mi...@gmail.com> <mi...@gmail.com>
>>> <mi...@gmail.com> <mi...@gmail.com>
>>> <mi...@gmail.com> <mi...@gmail.com>
>>> <mi...@gmail.com> <mi...@gmail.com>
>>> <mi...@gmail.com> <mi...@gmail.com>
>>>
>>>                  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 <ja...@les7arts.com>
>>> <ja...@les7arts.com> <ja...@les7arts.com>
>>> <ja...@les7arts.com> <ja...@les7arts.com>
>>> <ja...@les7arts.com> <ja...@les7arts.com>
>>> <ja...@les7arts.com> <ja...@les7arts.com>
>>> <ja...@les7arts.com> <ja...@les7arts.com>
>>> <ja...@les7arts.com> <ja...@les7arts.com>
>>> <ja...@les7arts.com> <ja...@les7arts.com>
>>> <ja...@les7arts.com>
>>>
>>>                      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" <br...@gmail.com> <br...@gmail.com>
>>> <br...@gmail.com> <br...@gmail.com>
>>> <br...@gmail.com> <br...@gmail.com>
>>> <br...@gmail.com> <br...@gmail.com>
>>> <br...@gmail.com> <br...@gmail.com>
>>> <br...@gmail.com> <br...@gmail.com>
>>> <br...@gmail.com> <br...@gmail.com>
>>> <br...@gmail.com> <br...@gmail.com>
>>>
>>>  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 <mi...@gmail.com> <mi...@gmail.com>
>>> <mi...@gmail.com> <mi...@gmail.com>
>>> <mi...@gmail.com> <mi...@gmail.com>
>>> <mi...@gmail.com> <mi...@gmail.com>
>>> <mi...@gmail.com> <mi...@gmail.com>
>>> <mi...@gmail.com> <mi...@gmail.com>
>>> <mi...@gmail.com> <mi...@gmail.com>
>>> <mi...@gmail.com> <mi...@gmail.com>
>>>
>>>
>>>
>>>
>>>
>>>                          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 <ri...@gmail.com>
>>> <ri...@gmail.com> <ri...@gmail.com>
>>> <ri...@gmail.com> <ri...@gmail.com>
>>> <ri...@gmail.com> <ri...@gmail.com>
>>> <ri...@gmail.com> <ri...@gmail.com>
>>> <ri...@gmail.com> <ri...@gmail.com>
>>> <ri...@gmail.com> <ri...@gmail.com>
>>> <ri...@gmail.com> <ri...@gmail.com>
>>> <ri...@gmail.com>:
>>>
>>>
>>>  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-----

Re: ZK view handler?

Posted by Santosh Malviya <sa...@hotwaxmedia.com>.
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 <
> santosh.malviya@hotwaxmedia.com> 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 <sa...@hotwaxmedia.com> 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 <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com> 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 <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com>
>>  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 <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com>
>>  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" <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com>
>>
>>        Thank you Milind,
>> this looks very interesting IMO.
>>
>> -Bruno
>>
>> 2009/1/6 Milind Parikh <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com>:
>>
>>
>>
>>  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 <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com>
>> wrote:
>>
>>  Could we see some screenshot of how it looks like? (I mean the UI you
>>
>>
>>  got)
>>
>> -Bruno
>>
>> 2008/12/22 Milind P <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com>:
>>
>>
>>  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 <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com>
>>
>>                  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 <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com>
>>
>>                      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" <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com>
>>
>>  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 <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com>
>>
>>
>>
>>
>>
>>                          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 <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com>:
>>
>>
>>  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 


Re: ZK view handler?

Posted by Milind Parikh <mi...@gmail.com>.
Please post your code.

Regards
- Milind


On Tue, Feb 3, 2009 at 10:03 PM, Santosh Malviya <
santosh.malviya@hotwaxmedia.com> 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 <sa...@hotwaxmedia.com> 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 <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com> 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 <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com>
>  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 <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com>
>  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" <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com>
>
>        Thank you Milind,
> this looks very interesting IMO.
>
> -Bruno
>
> 2009/1/6 Milind Parikh <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com>:
>
>
>
>  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 <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com>
> wrote:
>
>  Could we see some screenshot of how it looks like? (I mean the UI you
>
>
>  got)
>
> -Bruno
>
> 2008/12/22 Milind P <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com>:
>
>
>  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 <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com>
>
>                  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 <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com>
>
>                      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" <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com>
>
>  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 <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com>
>
>
>
>
>
>                          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 <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com>:
>
>
>  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
>
>
>
>
>
>
>
>
>

Re: ZK view handler?

Posted by Santosh Malviya <sa...@hotwaxmedia.com>.
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 <
> santosh.malviya@hotwaxmedia.com> 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 <sa...@hotwaxmedia.com> 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 <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com>
>>  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 <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com>
>>  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" <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com>
>>
>>        Thank you Milind,
>> this looks very interesting IMO.
>>
>> -Bruno
>>
>> 2009/1/6 Milind Parikh <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com>:
>>
>>
>>
>>  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 <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com>
>> wrote:
>>
>>  Could we see some screenshot of how it looks like? (I mean the UI you
>>
>>
>>  got)
>>
>> -Bruno
>>
>> 2008/12/22 Milind P <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com>:
>>
>>
>>  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 <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com>
>>
>>                  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 <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com>
>>
>>                      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" <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com>
>>
>>  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 <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com>
>>
>>
>>
>>
>>                          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 <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com>:
>>
>>
>>  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
>>
>>
>>
>>
>>
>>     
>
>   


Re: ZK view handler?

Posted by Milind Parikh <mi...@gmail.com>.
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 <
santosh.malviya@hotwaxmedia.com> 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 <sa...@hotwaxmedia.com> 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 <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com>
>  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 <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com>
>  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" <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com>
>
>        Thank you Milind,
> this looks very interesting IMO.
>
> -Bruno
>
> 2009/1/6 Milind Parikh <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com>:
>
>
>
>  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 <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com>
> wrote:
>
>  Could we see some screenshot of how it looks like? (I mean the UI you
>
>
>  got)
>
> -Bruno
>
> 2008/12/22 Milind P <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com>:
>
>
>  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 <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com>
>
>                  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 <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com>
>
>                      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" <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com>
>
>  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 <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com>
>
>
>
>
>                          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 <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com>:
>
>
>  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
>
>
>
>
>

Re: ZK view handler?

Posted by Santosh Malviya <sa...@hotwaxmedia.com>.
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 <
> santosh.malviya@hotwaxmedia.com> 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 <sa...@hotwaxmedia.com> 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 <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com>
>>  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" <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com>
>>
>>        Thank you Milind,
>> this looks very interesting IMO.
>>
>> -Bruno
>>
>> 2009/1/6 Milind Parikh <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com>:
>>
>>
>>
>>  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 <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com>
>> wrote:
>>
>>  Could we see some screenshot of how it looks like? (I mean the UI you
>>
>>
>>  got)
>>
>> -Bruno
>>
>> 2008/12/22 Milind P <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com>:
>>
>>
>>  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 <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com>
>>
>>                  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 <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com>
>>
>>                      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" <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com>
>>
>>  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 <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com>
>>
>>
>>
>>                          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 <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com>:
>>
>>
>>  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
>>
>>
>>     
>
>   

Re: ZK view handler?

Posted by Milind Parikh <mi...@gmail.com>.
Sorry... RT.M is the more polite form of RTFM (Read The ... Manual).



On Sun, Feb 1, 2009 at 10:31 PM, Santosh Malviya <
santosh.malviya@hotwaxmedia.com> 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 <sa...@hotwaxmedia.com> 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 <sa...@hotwaxmedia.com> <sa...@hotwaxmedia.com>
>  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" <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com>
>
>        Thank you Milind,
> this looks very interesting IMO.
>
> -Bruno
>
> 2009/1/6 Milind Parikh <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com>:
>
>
>
>  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 <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com>
> wrote:
>
>  Could we see some screenshot of how it looks like? (I mean the UI you
>
>
>  got)
>
> -Bruno
>
> 2008/12/22 Milind P <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com>:
>
>
>  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 <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com>
>
>                  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 <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com> <ja...@les7arts.com>
>
>                      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" <br...@gmail.com> <br...@gmail.com> <br...@gmail.com> <br...@gmail.com>
>
>  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 <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com> <mi...@gmail.com>
>
>
>
>                          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 <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com> <ri...@gmail.com>:
>
>
>  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
>
>

Re: ZK view handler?

Posted by Santosh Malviya <sa...@hotwaxmedia.com>.
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 <
> santosh.malviya@hotwaxmedia.com> 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 <sa...@hotwaxmedia.com> 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" <br...@gmail.com> <br...@gmail.com>
>>
>>        Thank you Milind,
>> this looks very interesting IMO.
>>
>> -Bruno
>>
>> 2009/1/6 Milind Parikh <mi...@gmail.com> <mi...@gmail.com>:
>>
>>
>>
>>  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 <br...@gmail.com> <br...@gmail.com>
>> wrote:
>>
>>  Could we see some screenshot of how it looks like? (I mean the UI you
>>
>>
>>  got)
>>
>> -Bruno
>>
>> 2008/12/22 Milind P <mi...@gmail.com> <mi...@gmail.com>:
>>
>>
>>  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 <mi...@gmail.com> <mi...@gmail.com>
>>
>>                  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 <ja...@les7arts.com> <ja...@les7arts.com>
>>
>>                      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" <br...@gmail.com> <br...@gmail.com>
>>
>>  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 <mi...@gmail.com> <mi...@gmail.com>
>>
>>
>>                          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 <ri...@gmail.com> <ri...@gmail.com>:
>>
>>
>>  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 


Re: ZK view handler?

Posted by Santosh Malviya <sa...@hotwaxmedia.com>.
Hello all,
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 <
> santosh.malviya@hotwaxmedia.com> 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 <sa...@hotwaxmedia.com> 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" <br...@gmail.com> <br...@gmail.com>
>>
>>        Thank you Milind,
>> this looks very interesting IMO.
>>
>> -Bruno
>>
>> 2009/1/6 Milind Parikh <mi...@gmail.com> <mi...@gmail.com>:
>>
>>
>>
>>  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 <br...@gmail.com> <br...@gmail.com>
>> wrote:
>>
>>  Could we see some screenshot of how it looks like? (I mean the UI you
>>
>>
>>  got)
>>
>> -Bruno
>>
>> 2008/12/22 Milind P <mi...@gmail.com> <mi...@gmail.com>:
>>
>>
>>  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 <mi...@gmail.com> <mi...@gmail.com>
>>
>>                  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 <ja...@les7arts.com> <ja...@les7arts.com>
>>
>>                      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" <br...@gmail.com> <br...@gmail.com>
>>
>>  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 <mi...@gmail.com> <mi...@gmail.com>
>>
>>
>>                          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 <ri...@gmail.com> <ri...@gmail.com>:
>>
>>
>>  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
>>
>>
>>
>>
>>
>>     
>
>   


Re: ZK view handler?

Posted by Milind Parikh <mi...@gmail.com>.
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 <
santosh.malviya@hotwaxmedia.com> 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 <sa...@hotwaxmedia.com> 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" <br...@gmail.com> <br...@gmail.com>
>
>        Thank you Milind,
> this looks very interesting IMO.
>
> -Bruno
>
> 2009/1/6 Milind Parikh <mi...@gmail.com> <mi...@gmail.com>:
>
>
>
>  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 <br...@gmail.com> <br...@gmail.com>
> wrote:
>
>  Could we see some screenshot of how it looks like? (I mean the UI you
>
>
>  got)
>
> -Bruno
>
> 2008/12/22 Milind P <mi...@gmail.com> <mi...@gmail.com>:
>
>
>  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 <mi...@gmail.com> <mi...@gmail.com>
>
>                  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 <ja...@les7arts.com> <ja...@les7arts.com>
>
>                      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" <br...@gmail.com> <br...@gmail.com>
>
>  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 <mi...@gmail.com> <mi...@gmail.com>
>
>
>                          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 <ri...@gmail.com> <ri...@gmail.com>:
>
>
>  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
>
>
>
>
>

Re: ZK view handler?

Posted by Santosh Malviya <sa...@hotwaxmedia.com>.
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 <
>> santosh.malviya@hotwaxmedia.com> 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" <br...@gmail.com>
>>>>
>>>>       
>>>>> Thank you Milind,
>>>>> this looks very interesting IMO.
>>>>>
>>>>> -Bruno
>>>>>
>>>>> 2009/1/6 Milind Parikh <mi...@gmail.com>:
>>>>>
>>>>>         
>>>>>> 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 <br...@gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>  Could we see some screenshot of how it looks like? (I mean the UI you
>>>>>>           
>>>>>>> got)
>>>>>>>
>>>>>>> -Bruno
>>>>>>>
>>>>>>> 2008/12/22 Milind P <mi...@gmail.com>:
>>>>>>>             
>>>>>>>> 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 <mi...@gmail.com>
>>>>>>>>>
>>>>>>>>>                 
>>>>>>>>>> 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 <ja...@les7arts.com>
>>>>>>>>>>>
>>>>>>>>>>>                     
>>>>>>>>>>>> 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" <br...@gmail.com>
>>>>>>>>>>>>
>>>>>>>>>>>>  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 <mi...@gmail.com>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>                         
>>>>>>>>>>>>>> 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 <ri...@gmail.com>:
>>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>>>> 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
>>>
>>>     
>>
>>   


Re: ZK view handler?

Posted by Santosh Malviya <sa...@hotwaxmedia.com>.
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 <
> santosh.malviya@hotwaxmedia.com> 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" <br...@gmail.com>
>>>
>>>       
>>>> Thank you Milind,
>>>> this looks very interesting IMO.
>>>>
>>>> -Bruno
>>>>
>>>> 2009/1/6 Milind Parikh <mi...@gmail.com>:
>>>>
>>>>         
>>>>> 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 <br...@gmail.com>
>>>>> wrote:
>>>>>
>>>>>  Could we see some screenshot of how it looks like? (I mean the UI you
>>>>>           
>>>>>> got)
>>>>>>
>>>>>> -Bruno
>>>>>>
>>>>>> 2008/12/22 Milind P <mi...@gmail.com>:
>>>>>>             
>>>>>>> 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 <mi...@gmail.com>
>>>>>>>>
>>>>>>>>                 
>>>>>>>>> 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 <ja...@les7arts.com>
>>>>>>>>>>
>>>>>>>>>>                     
>>>>>>>>>>> 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" <br...@gmail.com>
>>>>>>>>>>>
>>>>>>>>>>>  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 <mi...@gmail.com>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>                         
>>>>>>>>>>>>> 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 <ri...@gmail.com>:
>>>>>>>>>>>>>>>>                                 
>>>>>>>>>>>>>>>>> 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
>>
>>     
>
>   

Re: ZK view handler?

Posted by Milind Parikh <mi...@gmail.com>.
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 <
santosh.malviya@hotwaxmedia.com> 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" <br...@gmail.com>
>>
>>> Thank you Milind,
>>> this looks very interesting IMO.
>>>
>>> -Bruno
>>>
>>> 2009/1/6 Milind Parikh <mi...@gmail.com>:
>>>
>>>> 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 <br...@gmail.com>
>>>> wrote:
>>>>
>>>>  Could we see some screenshot of how it looks like? (I mean the UI you
>>>>> got)
>>>>>
>>>>> -Bruno
>>>>>
>>>>> 2008/12/22 Milind P <mi...@gmail.com>:
>>>>> >
>>>>> > 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 <mi...@gmail.com>
>>>>> >>
>>>>> >>>
>>>>> >>> 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 <ja...@les7arts.com>
>>>>> >>> >
>>>>> >>> >> 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" <br...@gmail.com>
>>>>> >>> >>
>>>>> >>> >>  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 <mi...@gmail.com>
>>>>> >>> >>>
>>>>> >>> >>>
>>>>> >>> >>>> 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 <ri...@gmail.com>:
>>>>> >>> >>>> >>>>
>>>>> >>> >>>> >>>> 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
>

Re: ZK view handler?

Posted by Santosh Malviya <sa...@hotwaxmedia.com>.
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" <br...@gmail.com>
>> Thank you Milind,
>> this looks very interesting IMO.
>>
>> -Bruno
>>
>> 2009/1/6 Milind Parikh <mi...@gmail.com>:
>>> 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 <br...@gmail.com> 
>>> wrote:
>>>
>>>> Could we see some screenshot of how it looks like? (I mean the UI 
>>>> you got)
>>>>
>>>> -Bruno
>>>>
>>>> 2008/12/22 Milind P <mi...@gmail.com>:
>>>> >
>>>> > 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 <mi...@gmail.com>
>>>> >>
>>>> >>>
>>>> >>> 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 <ja...@les7arts.com>
>>>> >>> >
>>>> >>> >> 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" <br...@gmail.com>
>>>> >>> >>
>>>> >>> >>  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 <mi...@gmail.com>
>>>> >>> >>>
>>>> >>> >>>
>>>> >>> >>>> 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 <ri...@gmail.com>:
>>>> >>> >>>> >>>>
>>>> >>> >>>> >>>> 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 


Re: ZK view handler?

Posted by Jacques Le Roux <ja...@les7arts.com>.
Thank you Milind, I put the link below existing ones in FAQ

Jacques

From: "Bruno Busco" <br...@gmail.com>
> Thank you Milind,
> this looks very interesting IMO.
> 
> -Bruno
> 
> 2009/1/6 Milind Parikh <mi...@gmail.com>:
>> 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 <br...@gmail.com> wrote:
>>
>>> Could we see some screenshot of how it looks like? (I mean the UI you got)
>>>
>>> -Bruno
>>>
>>> 2008/12/22 Milind P <mi...@gmail.com>:
>>> >
>>> > 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 <mi...@gmail.com>
>>> >>
>>> >>>
>>> >>> 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 <ja...@les7arts.com>
>>> >>> >
>>> >>> >> 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" <br...@gmail.com>
>>> >>> >>
>>> >>> >>  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 <mi...@gmail.com>
>>> >>> >>>
>>> >>> >>>
>>> >>> >>>> 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 <ri...@gmail.com>:
>>> >>> >>>> >>>>
>>> >>> >>>> >>>> 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.
>>> >
>>> >
>>>
>>
>

Re: ZK view handler?

Posted by Bruno Busco <br...@gmail.com>.
Thank you Milind,
this looks very interesting IMO.

-Bruno

2009/1/6 Milind Parikh <mi...@gmail.com>:
> 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 <br...@gmail.com> wrote:
>
>> Could we see some screenshot of how it looks like? (I mean the UI you got)
>>
>> -Bruno
>>
>> 2008/12/22 Milind P <mi...@gmail.com>:
>> >
>> > 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 <mi...@gmail.com>
>> >>
>> >>>
>> >>> 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 <ja...@les7arts.com>
>> >>> >
>> >>> >> 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" <br...@gmail.com>
>> >>> >>
>> >>> >>  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 <mi...@gmail.com>
>> >>> >>>
>> >>> >>>
>> >>> >>>> 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 <ri...@gmail.com>:
>> >>> >>>> >>>>
>> >>> >>>> >>>> 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.
>> >
>> >
>>
>

Re: ZK view handler?

Posted by Milind Parikh <mi...@gmail.com>.
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 <br...@gmail.com> wrote:

> Could we see some screenshot of how it looks like? (I mean the UI you got)
>
> -Bruno
>
> 2008/12/22 Milind P <mi...@gmail.com>:
> >
> > 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 <mi...@gmail.com>
> >>
> >>>
> >>> 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 <ja...@les7arts.com>
> >>> >
> >>> >> 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" <br...@gmail.com>
> >>> >>
> >>> >>  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 <mi...@gmail.com>
> >>> >>>
> >>> >>>
> >>> >>>> 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 <ri...@gmail.com>:
> >>> >>>> >>>>
> >>> >>>> >>>> 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.
> >
> >
>

Re: ZK view handler?

Posted by Jacques Le Roux <ja...@les7arts.com>.
I put a link in FAQ 
http://docs.ofbiz.org/display/OFBIZ/FAQ+-+Tips+-+Tricks+-+Cookbook+-+HowTo#FAQ-Tips-Tricks-Cookbook-HowTo-ZK(workinprogress)

HTH

Jacques

From: "Bruno Busco" <br...@gmail.com>
> Could we see some screenshot of how it looks like? (I mean the UI you got)
>
> -Bruno
>
> 2008/12/22 Milind P <mi...@gmail.com>:
>>
>> 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 <mi...@gmail.com>
>>>
>>>>
>>>> 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 <ja...@les7arts.com>
>>>> >
>>>> >> 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" <br...@gmail.com>
>>>> >>
>>>> >>  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 <mi...@gmail.com>
>>>> >>>
>>>> >>>
>>>> >>>> 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 <ri...@gmail.com>:
>>>> >>>> >>>>
>>>> >>>> >>>> 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.
>>
>>
> 


Re: ZK view handler?

Posted by Bruno Busco <br...@gmail.com>.
Could we see some screenshot of how it looks like? (I mean the UI you got)

-Bruno

2008/12/22 Milind P <mi...@gmail.com>:
>
> 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 <mi...@gmail.com>
>>
>>>
>>> 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 <ja...@les7arts.com>
>>> >
>>> >> 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" <br...@gmail.com>
>>> >>
>>> >>  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 <mi...@gmail.com>
>>> >>>
>>> >>>
>>> >>>> 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 <ri...@gmail.com>:
>>> >>>> >>>>
>>> >>>> >>>> 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.
>
>

Re: ZK view handler?

Posted by Milind P <mi...@gmail.com>.
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 <mi...@gmail.com>
> 
>>
>> 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 <ja...@les7arts.com>
>> >
>> >> 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" <br...@gmail.com>
>> >>
>> >>  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 <mi...@gmail.com>
>> >>>
>> >>>
>> >>>> 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 <ri...@gmail.com>:
>> >>>> >>>>
>> >>>> >>>> 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.


Re: ZK view handler?

Posted by Bruno Busco <br...@gmail.com>.
Really cool!
Looking forward to Steps 5 and 6 !!!!

-Bruno

2008/12/22 Milind P <mi...@gmail.com>

>
> 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 <ja...@les7arts.com>
> >
> >> 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" <br...@gmail.com>
> >>
> >>  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 <mi...@gmail.com>
> >>>
> >>>
> >>>> 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 <ri...@gmail.com>:
> >>>> >>>>
> >>>> >>>> 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.
>
>

Re: ZK view handler?

Posted by Milind P <mi...@gmail.com>.
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 <ja...@les7arts.com>
> 
>> 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" <br...@gmail.com>
>>
>>  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 <mi...@gmail.com>
>>>
>>>
>>>> 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 <ri...@gmail.com>:
>>>> >>>>
>>>> >>>> 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.


Re: ZK view handler?

Posted by Bruno Busco <br...@gmail.com>.
Yes,
we will eventually handle this as a plug-in.

-Bruno

2008/12/21 Jacques Le Roux <ja...@les7arts.com>

> 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" <br...@gmail.com>
>
>  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 <mi...@gmail.com>
>>
>>
>>> 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 <ri...@gmail.com>:
>>> >>>>
>>> >>>> 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.
>>>
>>>
>>>
>>

Re: ZK view handler?

Posted by Jacques Le Roux <ja...@les7arts.com>.
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" <br...@gmail.com>
> 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 <mi...@gmail.com>
> 
>>
>> 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 <ri...@gmail.com>:
>> >>>>
>> >>>> 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.
>>
>>
>

Re: ZK view handler?

Posted by Bruno Busco <br...@gmail.com>.
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 <mi...@gmail.com>

>
> 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 <ri...@gmail.com>:
> >>>>
> >>>> 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.
>
>