ZK view handler?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
36 messages Options
12
Reply | Threaded
Open this post in threaded view
|

ZK view handler?

Ritesh Trivedi
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)?
Reply | Threaded
Open this post in threaded view
|

Re: ZK view handler?

guo weizhan
you should read this first:
http://docs.ofbiz.org/display/OFBIZ/ZK+Rich+Client+-+integration+tutorial

2008/2/1, Ritz123 <[hidden email]>:

>
>
> Hi,
>
> Those who are using ZK with Ofbiz does it need a view handler?
>
> How have you guys integrated ZUL/ZHTML pages with Ofbiz? (either in the
> screens.xml or controller.xml)?
> --
> View this message in context:
> http://www.nabble.com/ZK-view-handler--tp15217609p15217609.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>
Reply | Threaded
Open this post in threaded view
|

Re: ZK view handler?

Ritesh Trivedi
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 <ritesh.trivedi@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.
>
>
Reply | Threaded
Open this post in threaded view
|

Re: ZK view handler?

BJ Freeman
From reading the documentation, I don't believe this was really
implemented or the person understood ofbiz.

it seems that is assumes that by using a delegator it can directly
access tables. this by-passes all entity aware stuff.

first you need to right a handler
http://docs.ofbiz.org/display/OFBIZ/Understanding+the+OFBiz+Widget+Toolkit
You will probably have to write a worker class for ZK, look at the
freemakerworker.java

you should then be able to include a zk file in a widget like you do a ftl.




Ritz123 sent the following on 2/1/2008 10:18 AM:

> I have read that already - I cant find it anywhere in the document where it
> says how can you use ZUL/ZHTML pages with your existing ftls/htmls or how to
> use screen widget with ZK
>
> May be I am missing something.
>
>
> guo weizhan wrote:
>> you should read this first:
>> http://docs.ofbiz.org/display/OFBIZ/ZK+Rich+Client+-+integration+tutorial
>>
>> 2008/2/1, Ritz123 <[hidden email]>:
>>>
>>> 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.
>>>
>>>
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: ZK view handler?

Deepaks
In reply to this post by Ritesh Trivedi
I have been experimenting with ZK. Actually im new to both ofbiz and ZK (I think its a dangerous mixture to be new to both). I have been using it just as zul pages (just as JSP) and I think you can use the same things as in jsp. But I think its not the ideal way to deal with things. Im having quite a few problems because of these. Right now mainly security related.

Best way would be to try and integrate it with freemarker so that it can be used wherever needed and also make use of all the advantages in communicating to the core.
Reply | Threaded
Open this post in threaded view
|

Re: ZK view handler?

Milind P
In reply to this post by BJ Freeman
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 <ritesh.trivedi@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.
>>>
>>>
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: ZK view handler?

Bruno Busco
Hi Milind,
I have read your progress in the Zk forum. The OFBiz-Zk looks really
interesting to me, could we see something?
You could open a JIRA issue with some screenshot and patches.

Thank you,
-Bruno

2008/12/21 Milind P <[hidden email]>

>
> ZkViewHandler written. Turns out to be too simple. Please read cross-post
> at
>
> http://www.potix.com/forum/index.zul#path%3DlistComment%3BdiscussionId%3D6530%3BcategoryId%3D14%3B
> .
>
> It may indeed be too simple. Any gotcha's?
>
> -- Milind
>
>
>
>
> BJ Freeman wrote:
> >
> > From reading the documentation, I don't believe this was really
> > implemented or the person understood ofbiz.
> >
> > it seems that is assumes that by using a delegator it can directly
> > access tables. this by-passes all entity aware stuff.
> >
> > first you need to right a handler
> >
> http://docs.ofbiz.org/display/OFBIZ/Understanding+the+OFBiz+Widget+Toolkit
> > You will probably have to write a worker class for ZK, look at the
> > freemakerworker.java
> >
> > you should then be able to include a zk file in a widget like you do a
> > ftl.
> >
> >
> >
> >
> > Ritz123 sent the following on 2/1/2008 10:18 AM:
> >> I have read that already - I cant find it anywhere in the document where
> >> it
> >> says how can you use ZUL/ZHTML pages with your existing ftls/htmls or
> how
> >> to
> >> use screen widget with ZK
> >>
> >> May be I am missing something.
> >>
> >>
> >> guo weizhan wrote:
> >>> you should read this first:
> >>>
> http://docs.ofbiz.org/display/OFBIZ/ZK+Rich+Client+-+integration+tutorial
> >>>
> >>> 2008/2/1, Ritz123 <[hidden email]>:
> >>>>
> >>>> 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.
>
>
Reply | Threaded
Open this post in threaded view
|

Re: ZK view handler?

Jacques Le Roux
Administrator
Remember though that this will not be commited in OFBiz due to ZK's GPL licence http://en.wikipedia.org/wiki/ZK_Framework

Jacques

From: "Bruno Busco" <[hidden email]>

> Hi Milind,
> I have read your progress in the Zk forum. The OFBiz-Zk looks really
> interesting to me, could we see something?
> You could open a JIRA issue with some screenshot and patches.
>
> Thank you,
> -Bruno
>
> 2008/12/21 Milind P <[hidden email]>
>
>>
>> ZkViewHandler written. Turns out to be too simple. Please read cross-post
>> at
>>
>> http://www.potix.com/forum/index.zul#path%3DlistComment%3BdiscussionId%3D6530%3BcategoryId%3D14%3B
>> .
>>
>> It may indeed be too simple. Any gotcha's?
>>
>> -- Milind
>>
>>
>>
>>
>> BJ Freeman wrote:
>> >
>> > From reading the documentation, I don't believe this was really
>> > implemented or the person understood ofbiz.
>> >
>> > it seems that is assumes that by using a delegator it can directly
>> > access tables. this by-passes all entity aware stuff.
>> >
>> > first you need to right a handler
>> >
>> http://docs.ofbiz.org/display/OFBIZ/Understanding+the+OFBiz+Widget+Toolkit
>> > You will probably have to write a worker class for ZK, look at the
>> > freemakerworker.java
>> >
>> > you should then be able to include a zk file in a widget like you do a
>> > ftl.
>> >
>> >
>> >
>> >
>> > Ritz123 sent the following on 2/1/2008 10:18 AM:
>> >> I have read that already - I cant find it anywhere in the document where
>> >> it
>> >> says how can you use ZUL/ZHTML pages with your existing ftls/htmls or
>> how
>> >> to
>> >> use screen widget with ZK
>> >>
>> >> May be I am missing something.
>> >>
>> >>
>> >> guo weizhan wrote:
>> >>> you should read this first:
>> >>>
>> http://docs.ofbiz.org/display/OFBIZ/ZK+Rich+Client+-+integration+tutorial
>> >>>
>> >>> 2008/2/1, Ritz123 <[hidden email]>:
>> >>>>
>> >>>> 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.
>>
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: ZK view handler?

Bruno Busco
Yes,
we will eventually handle this as a plug-in.

-Bruno

2008/12/21 Jacques Le Roux <[hidden email]>

> Remember though that this will not be commited in OFBiz due to ZK's GPL
> licence http://en.wikipedia.org/wiki/ZK_Framework
>
> Jacques
>
> From: "Bruno Busco" <[hidden email]>
>
>  Hi Milind,
>> I have read your progress in the Zk forum. The OFBiz-Zk looks really
>> interesting to me, could we see something?
>> You could open a JIRA issue with some screenshot and patches.
>>
>> Thank you,
>> -Bruno
>>
>> 2008/12/21 Milind P <[hidden email]>
>>
>>
>>> ZkViewHandler written. Turns out to be too simple. Please read cross-post
>>> at
>>>
>>>
>>> http://www.potix.com/forum/index.zul#path%3DlistComment%3BdiscussionId%3D6530%3BcategoryId%3D14%3B
>>> .
>>>
>>> It may indeed be too simple. Any gotcha's?
>>>
>>> -- Milind
>>>
>>>
>>>
>>>
>>> BJ Freeman wrote:
>>> >
>>> > From reading the documentation, I don't believe this was really
>>> > implemented or the person understood ofbiz.
>>> >
>>> > it seems that is assumes that by using a delegator it can directly
>>> > access tables. this by-passes all entity aware stuff.
>>> >
>>> > first you need to right a handler
>>> >
>>>
>>> http://docs.ofbiz.org/display/OFBIZ/Understanding+the+OFBiz+Widget+Toolkit
>>> > You will probably have to write a worker class for ZK, look at the
>>> > freemakerworker.java
>>> >
>>> > you should then be able to include a zk file in a widget like you do a
>>> > ftl.
>>> >
>>> >
>>> >
>>> >
>>> > Ritz123 sent the following on 2/1/2008 10:18 AM:
>>> >> I have read that already - I cant find it anywhere in the document
>>> where
>>> >> it
>>> >> says how can you use ZUL/ZHTML pages with your existing ftls/htmls or
>>> how
>>> >> to
>>> >> use screen widget with ZK
>>> >>
>>> >> May be I am missing something.
>>> >>
>>> >>
>>> >> guo weizhan wrote:
>>> >>> you should read this first:
>>> >>>
>>> http://docs.ofbiz.org/display/OFBIZ/ZK+Rich+Client+-+integration+tutorial
>>> >>>
>>> >>> 2008/2/1, Ritz123 <[hidden email]>:
>>> >>>>
>>> >>>> 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.
>>>
>>>
>>>
>>
Reply | Threaded
Open this post in threaded view
|

Re: ZK view handler?

Milind P
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 <jacques.le.roux@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" <bruno.busco@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 <milindparikh@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 <ritesh.trivedi@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.
>>>
>>>
>>>
>>
Reply | Threaded
Open this post in threaded view
|

Re: ZK view handler?

Bruno Busco
Really cool!
Looking forward to Steps 5 and 6 !!!!

-Bruno

2008/12/22 Milind P <[hidden email]>

>
> Here are the two URLs for the ScreenCast.
>
> http://www.screencast.com/t/PTbvcO1CygR
> http://www.screencast.com/t/9ZBeRPolNdG
>
> The third one is coming.. (It's 1:18 am and I have an international flight
> today).
>
>
>
> Bruno Busco wrote:
> >
> > Yes,
> > we will eventually handle this as a plug-in.
> >
> > -Bruno
> >
> > 2008/12/21 Jacques Le Roux <[hidden email]>
> >
> >> Remember though that this will not be commited in OFBiz due to ZK's GPL
> >> licence http://en.wikipedia.org/wiki/ZK_Framework
> >>
> >> Jacques
> >>
> >> From: "Bruno Busco" <[hidden email]>
> >>
> >>  Hi Milind,
> >>> I have read your progress in the Zk forum. The OFBiz-Zk looks really
> >>> interesting to me, could we see something?
> >>> You could open a JIRA issue with some screenshot and patches.
> >>>
> >>> Thank you,
> >>> -Bruno
> >>>
> >>> 2008/12/21 Milind P <[hidden email]>
> >>>
> >>>
> >>>> ZkViewHandler written. Turns out to be too simple. Please read
> >>>> cross-post
> >>>> at
> >>>>
> >>>>
> >>>>
> http://www.potix.com/forum/index.zul#path%3DlistComment%3BdiscussionId%3D6530%3BcategoryId%3D14%3B
> >>>> .
> >>>>
> >>>> It may indeed be too simple. Any gotcha's?
> >>>>
> >>>> -- Milind
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> BJ Freeman wrote:
> >>>> >
> >>>> > From reading the documentation, I don't believe this was really
> >>>> > implemented or the person understood ofbiz.
> >>>> >
> >>>> > it seems that is assumes that by using a delegator it can directly
> >>>> > access tables. this by-passes all entity aware stuff.
> >>>> >
> >>>> > first you need to right a handler
> >>>> >
> >>>>
> >>>>
> http://docs.ofbiz.org/display/OFBIZ/Understanding+the+OFBiz+Widget+Toolkit
> >>>> > You will probably have to write a worker class for ZK, look at the
> >>>> > freemakerworker.java
> >>>> >
> >>>> > you should then be able to include a zk file in a widget like you do
> >>>> a
> >>>> > ftl.
> >>>> >
> >>>> >
> >>>> >
> >>>> >
> >>>> > Ritz123 sent the following on 2/1/2008 10:18 AM:
> >>>> >> I have read that already - I cant find it anywhere in the document
> >>>> where
> >>>> >> it
> >>>> >> says how can you use ZUL/ZHTML pages with your existing ftls/htmls
> >>>> or
> >>>> how
> >>>> >> to
> >>>> >> use screen widget with ZK
> >>>> >>
> >>>> >> May be I am missing something.
> >>>> >>
> >>>> >>
> >>>> >> guo weizhan wrote:
> >>>> >>> you should read this first:
> >>>> >>>
> >>>>
> http://docs.ofbiz.org/display/OFBIZ/ZK+Rich+Client+-+integration+tutorial
> >>>> >>>
> >>>> >>> 2008/2/1, Ritz123 <[hidden email]>:
> >>>> >>>>
> >>>> >>>> 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.
>
>
Reply | Threaded
Open this post in threaded view
|

Re: ZK view handler?

Milind P
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 <milindparikh@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 <jacques.le.roux@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" <bruno.busco@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 <milindparikh@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 <ritesh.trivedi@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.
>
>
Reply | Threaded
Open this post in threaded view
|

Re: ZK view handler?

Bruno Busco
Could we see some screenshot of how it looks like? (I mean the UI you got)

-Bruno

2008/12/22 Milind P <[hidden email]>:

>
> Steps 5 and 6
>
> http://www.screencast.com/t/w2gFN4ytj
>
> I apologize for the audio quality. It is difficult to record from an Airport
> with security advisories in the back ground. But hopefully on full volume,
> it should be ok.
>
>
>
> Bruno Busco wrote:
>>
>> Really cool!
>> Looking forward to Steps 5 and 6 !!!!
>>
>> -Bruno
>>
>> 2008/12/22 Milind P <[hidden email]>
>>
>>>
>>> Here are the two URLs for the ScreenCast.
>>>
>>> http://www.screencast.com/t/PTbvcO1CygR
>>> http://www.screencast.com/t/9ZBeRPolNdG
>>>
>>> The third one is coming.. (It's 1:18 am and I have an international
>>> flight
>>> today).
>>>
>>>
>>>
>>> Bruno Busco wrote:
>>> >
>>> > Yes,
>>> > we will eventually handle this as a plug-in.
>>> >
>>> > -Bruno
>>> >
>>> > 2008/12/21 Jacques Le Roux <[hidden email]>
>>> >
>>> >> Remember though that this will not be commited in OFBiz due to ZK's
>>> GPL
>>> >> licence http://en.wikipedia.org/wiki/ZK_Framework
>>> >>
>>> >> Jacques
>>> >>
>>> >> From: "Bruno Busco" <[hidden email]>
>>> >>
>>> >>  Hi Milind,
>>> >>> I have read your progress in the Zk forum. The OFBiz-Zk looks really
>>> >>> interesting to me, could we see something?
>>> >>> You could open a JIRA issue with some screenshot and patches.
>>> >>>
>>> >>> Thank you,
>>> >>> -Bruno
>>> >>>
>>> >>> 2008/12/21 Milind P <[hidden email]>
>>> >>>
>>> >>>
>>> >>>> ZkViewHandler written. Turns out to be too simple. Please read
>>> >>>> cross-post
>>> >>>> at
>>> >>>>
>>> >>>>
>>> >>>>
>>> http://www.potix.com/forum/index.zul#path%3DlistComment%3BdiscussionId%3D6530%3BcategoryId%3D14%3B
>>> >>>> .
>>> >>>>
>>> >>>> It may indeed be too simple. Any gotcha's?
>>> >>>>
>>> >>>> -- Milind
>>> >>>>
>>> >>>>
>>> >>>>
>>> >>>>
>>> >>>> BJ Freeman wrote:
>>> >>>> >
>>> >>>> > From reading the documentation, I don't believe this was really
>>> >>>> > implemented or the person understood ofbiz.
>>> >>>> >
>>> >>>> > it seems that is assumes that by using a delegator it can directly
>>> >>>> > access tables. this by-passes all entity aware stuff.
>>> >>>> >
>>> >>>> > first you need to right a handler
>>> >>>> >
>>> >>>>
>>> >>>>
>>> http://docs.ofbiz.org/display/OFBIZ/Understanding+the+OFBiz+Widget+Toolkit
>>> >>>> > You will probably have to write a worker class for ZK, look at the
>>> >>>> > freemakerworker.java
>>> >>>> >
>>> >>>> > you should then be able to include a zk file in a widget like you
>>> do
>>> >>>> a
>>> >>>> > ftl.
>>> >>>> >
>>> >>>> >
>>> >>>> >
>>> >>>> >
>>> >>>> > Ritz123 sent the following on 2/1/2008 10:18 AM:
>>> >>>> >> I have read that already - I cant find it anywhere in the
>>> document
>>> >>>> where
>>> >>>> >> it
>>> >>>> >> says how can you use ZUL/ZHTML pages with your existing
>>> ftls/htmls
>>> >>>> or
>>> >>>> how
>>> >>>> >> to
>>> >>>> >> use screen widget with ZK
>>> >>>> >>
>>> >>>> >> May be I am missing something.
>>> >>>> >>
>>> >>>> >>
>>> >>>> >> guo weizhan wrote:
>>> >>>> >>> you should read this first:
>>> >>>> >>>
>>> >>>>
>>> http://docs.ofbiz.org/display/OFBIZ/ZK+Rich+Client+-+integration+tutorial
>>> >>>> >>>
>>> >>>> >>> 2008/2/1, Ritz123 <[hidden email]>:
>>> >>>> >>>>
>>> >>>> >>>> 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.
>
>
Reply | Threaded
Open this post in threaded view
|

Re: ZK view handler?

Chris Howe-2
In reply to this post by Milind P
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 <[hidden email]> 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 <[hidden email]>
> >
> >>
> >> Here are the two URLs for the ScreenCast.
> >>
> >> http://www.screencast.com/t/PTbvcO1CygR
> >> http://www.screencast.com/t/9ZBeRPolNdG
> >>
> >> The third one is coming.. (It's 1:18 am and I have an international
> >> flight
> >> today).
> >>
> >>
> >>
> >> Bruno Busco wrote:
> >> >
> >> > Yes,
> >> > we will eventually handle this as a plug-in.
> >> >
> >> > -Bruno
> >> >
> >> > 2008/12/21 Jacques Le Roux <[hidden email]>
> >> >
> >> >> Remember though that this will not be commited in OFBiz due to ZK's
> >> GPL
> >> >> licence http://en.wikipedia.org/wiki/ZK_Framework
> >> >>
> >> >> Jacques
> >> >>
> >> >> From: "Bruno Busco" <[hidden email]>
> >> >>
> >> >>  Hi Milind,
> >> >>> I have read your progress in the Zk forum. The OFBiz-Zk looks really
> >> >>> interesting to me, could we see something?
> >> >>> You could open a JIRA issue with some screenshot and patches.
> >> >>>
> >> >>> Thank you,
> >> >>> -Bruno
> >> >>>
> >> >>> 2008/12/21 Milind P <[hidden email]>
> >> >>>
> >> >>>
> >> >>>> ZkViewHandler written. Turns out to be too simple. Please read
> >> >>>> cross-post
> >> >>>> at
> >> >>>>
> >> >>>>
> >> >>>>
> >>
> http://www.potix.com/forum/index.zul#path%3DlistComment%3BdiscussionId%3D6530%3BcategoryId%3D14%3B
> >> >>>> .
> >> >>>>
> >> >>>> It may indeed be too simple. Any gotcha's?
> >> >>>>
> >> >>>> -- Milind
> >> >>>>
> >> >>>>
> >> >>>>
> >> >>>>
> >> >>>> BJ Freeman wrote:
> >> >>>> >
> >> >>>> > From reading the documentation, I don't believe this was really
> >> >>>> > implemented or the person understood ofbiz.
> >> >>>> >
> >> >>>> > it seems that is assumes that by using a delegator it can
> directly
> >> >>>> > access tables. this by-passes all entity aware stuff.
> >> >>>> >
> >> >>>> > first you need to right a handler
> >> >>>> >
> >> >>>>
> >> >>>>
> >>
> http://docs.ofbiz.org/display/OFBIZ/Understanding+the+OFBiz+Widget+Toolkit
> >> >>>> > You will probably have to write a worker class for ZK, look at
> the
> >> >>>> > freemakerworker.java
> >> >>>> >
> >> >>>> > you should then be able to include a zk file in a widget like you
> >> do
> >> >>>> a
> >> >>>> > ftl.
> >> >>>> >
> >> >>>> >
> >> >>>> >
> >> >>>> >
> >> >>>> > Ritz123 sent the following on 2/1/2008 10:18 AM:
> >> >>>> >> I have read that already - I cant find it anywhere in the
> >> document
> >> >>>> where
> >> >>>> >> it
> >> >>>> >> says how can you use ZUL/ZHTML pages with your existing
> >> ftls/htmls
> >> >>>> or
> >> >>>> how
> >> >>>> >> to
> >> >>>> >> use screen widget with ZK
> >> >>>> >>
> >> >>>> >> May be I am missing something.
> >> >>>> >>
> >> >>>> >>
> >> >>>> >> guo weizhan wrote:
> >> >>>> >>> you should read this first:
> >> >>>> >>>
> >> >>>>
> >>
> http://docs.ofbiz.org/display/OFBIZ/ZK+Rich+Client+-+integration+tutorial
> >> >>>> >>>
> >> >>>> >>> 2008/2/1, Ritz123 <[hidden email]>:
> >> >>>> >>>>
> >> >>>> >>>> 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.
>
>
Reply | Threaded
Open this post in threaded view
|

Re: ZK view handler?

Jacques Le Roux
Administrator
In reply to this post by Bruno Busco
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" <[hidden email]>

> Could we see some screenshot of how it looks like? (I mean the UI you got)
>
> -Bruno
>
> 2008/12/22 Milind P <[hidden email]>:
>>
>> Steps 5 and 6
>>
>> http://www.screencast.com/t/w2gFN4ytj
>>
>> I apologize for the audio quality. It is difficult to record from an Airport
>> with security advisories in the back ground. But hopefully on full volume,
>> it should be ok.
>>
>>
>>
>> Bruno Busco wrote:
>>>
>>> Really cool!
>>> Looking forward to Steps 5 and 6 !!!!
>>>
>>> -Bruno
>>>
>>> 2008/12/22 Milind P <[hidden email]>
>>>
>>>>
>>>> Here are the two URLs for the ScreenCast.
>>>>
>>>> http://www.screencast.com/t/PTbvcO1CygR
>>>> http://www.screencast.com/t/9ZBeRPolNdG
>>>>
>>>> The third one is coming.. (It's 1:18 am and I have an international
>>>> flight
>>>> today).
>>>>
>>>>
>>>>
>>>> Bruno Busco wrote:
>>>> >
>>>> > Yes,
>>>> > we will eventually handle this as a plug-in.
>>>> >
>>>> > -Bruno
>>>> >
>>>> > 2008/12/21 Jacques Le Roux <[hidden email]>
>>>> >
>>>> >> Remember though that this will not be commited in OFBiz due to ZK's
>>>> GPL
>>>> >> licence http://en.wikipedia.org/wiki/ZK_Framework
>>>> >>
>>>> >> Jacques
>>>> >>
>>>> >> From: "Bruno Busco" <[hidden email]>
>>>> >>
>>>> >>  Hi Milind,
>>>> >>> I have read your progress in the Zk forum. The OFBiz-Zk looks really
>>>> >>> interesting to me, could we see something?
>>>> >>> You could open a JIRA issue with some screenshot and patches.
>>>> >>>
>>>> >>> Thank you,
>>>> >>> -Bruno
>>>> >>>
>>>> >>> 2008/12/21 Milind P <[hidden email]>
>>>> >>>
>>>> >>>
>>>> >>>> ZkViewHandler written. Turns out to be too simple. Please read
>>>> >>>> cross-post
>>>> >>>> at
>>>> >>>>
>>>> >>>>
>>>> >>>>
>>>> http://www.potix.com/forum/index.zul#path%3DlistComment%3BdiscussionId%3D6530%3BcategoryId%3D14%3B
>>>> >>>> .
>>>> >>>>
>>>> >>>> It may indeed be too simple. Any gotcha's?
>>>> >>>>
>>>> >>>> -- Milind
>>>> >>>>
>>>> >>>>
>>>> >>>>
>>>> >>>>
>>>> >>>> BJ Freeman wrote:
>>>> >>>> >
>>>> >>>> > From reading the documentation, I don't believe this was really
>>>> >>>> > implemented or the person understood ofbiz.
>>>> >>>> >
>>>> >>>> > it seems that is assumes that by using a delegator it can directly
>>>> >>>> > access tables. this by-passes all entity aware stuff.
>>>> >>>> >
>>>> >>>> > first you need to right a handler
>>>> >>>> >
>>>> >>>>
>>>> >>>>
>>>> http://docs.ofbiz.org/display/OFBIZ/Understanding+the+OFBiz+Widget+Toolkit
>>>> >>>> > You will probably have to write a worker class for ZK, look at the
>>>> >>>> > freemakerworker.java
>>>> >>>> >
>>>> >>>> > you should then be able to include a zk file in a widget like you
>>>> do
>>>> >>>> a
>>>> >>>> > ftl.
>>>> >>>> >
>>>> >>>> >
>>>> >>>> >
>>>> >>>> >
>>>> >>>> > Ritz123 sent the following on 2/1/2008 10:18 AM:
>>>> >>>> >> I have read that already - I cant find it anywhere in the
>>>> document
>>>> >>>> where
>>>> >>>> >> it
>>>> >>>> >> says how can you use ZUL/ZHTML pages with your existing
>>>> ftls/htmls
>>>> >>>> or
>>>> >>>> how
>>>> >>>> >> to
>>>> >>>> >> use screen widget with ZK
>>>> >>>> >>
>>>> >>>> >> May be I am missing something.
>>>> >>>> >>
>>>> >>>> >>
>>>> >>>> >> guo weizhan wrote:
>>>> >>>> >>> you should read this first:
>>>> >>>> >>>
>>>> >>>>
>>>> http://docs.ofbiz.org/display/OFBIZ/ZK+Rich+Client+-+integration+tutorial
>>>> >>>> >>>
>>>> >>>> >>> 2008/2/1, Ritz123 <[hidden email]>:
>>>> >>>> >>>>
>>>> >>>> >>>> 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.
>>
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: ZK view handler?

Milind P
In reply to this post by Bruno Busco
Hi Cruno

I am unable to post on the ML right now. But I have posted the screenshots
from the UI (comparing and contrasting with the default UI provided through
ofbiz.

http://www.screencast.com/t/PYqgjKm05S

Regards
-- Milind


On Tue, Dec 23, 2008 at 3:26 AM, Bruno Busco <[hidden email]> wrote:

> Could we see some screenshot of how it looks like? (I mean the UI you got)
>
> -Bruno
>
> 2008/12/22 Milind P <[hidden email]>:
> >
> > Steps 5 and 6
> >
> > http://www.screencast.com/t/w2gFN4ytj
> >
> > I apologize for the audio quality. It is difficult to record from an
> Airport
> > with security advisories in the back ground. But hopefully on full
> volume,
> > it should be ok.
> >
> >
> >
> > Bruno Busco wrote:
> >>
> >> Really cool!
> >> Looking forward to Steps 5 and 6 !!!!
> >>
> >> -Bruno
> >>
> >> 2008/12/22 Milind P <[hidden email]>
> >>
> >>>
> >>> Here are the two URLs for the ScreenCast.
> >>>
> >>> http://www.screencast.com/t/PTbvcO1CygR
> >>> http://www.screencast.com/t/9ZBeRPolNdG
> >>>
> >>> The third one is coming.. (It's 1:18 am and I have an international
> >>> flight
> >>> today).
> >>>
> >>>
> >>>
> >>> Bruno Busco wrote:
> >>> >
> >>> > Yes,
> >>> > we will eventually handle this as a plug-in.
> >>> >
> >>> > -Bruno
> >>> >
> >>> > 2008/12/21 Jacques Le Roux <[hidden email]>
> >>> >
> >>> >> Remember though that this will not be commited in OFBiz due to ZK's
> >>> GPL
> >>> >> licence http://en.wikipedia.org/wiki/ZK_Framework
> >>> >>
> >>> >> Jacques
> >>> >>
> >>> >> From: "Bruno Busco" <[hidden email]>
> >>> >>
> >>> >>  Hi Milind,
> >>> >>> I have read your progress in the Zk forum. The OFBiz-Zk looks
> really
> >>> >>> interesting to me, could we see something?
> >>> >>> You could open a JIRA issue with some screenshot and patches.
> >>> >>>
> >>> >>> Thank you,
> >>> >>> -Bruno
> >>> >>>
> >>> >>> 2008/12/21 Milind P <[hidden email]>
> >>> >>>
> >>> >>>
> >>> >>>> ZkViewHandler written. Turns out to be too simple. Please read
> >>> >>>> cross-post
> >>> >>>> at
> >>> >>>>
> >>> >>>>
> >>> >>>>
> >>>
> http://www.potix.com/forum/index.zul#path%3DlistComment%3BdiscussionId%3D6530%3BcategoryId%3D14%3B
> >>> >>>> .
> >>> >>>>
> >>> >>>> It may indeed be too simple. Any gotcha's?
> >>> >>>>
> >>> >>>> -- Milind
> >>> >>>>
> >>> >>>>
> >>> >>>>
> >>> >>>>
> >>> >>>> BJ Freeman wrote:
> >>> >>>> >
> >>> >>>> > From reading the documentation, I don't believe this was really
> >>> >>>> > implemented or the person understood ofbiz.
> >>> >>>> >
> >>> >>>> > it seems that is assumes that by using a delegator it can
> directly
> >>> >>>> > access tables. this by-passes all entity aware stuff.
> >>> >>>> >
> >>> >>>> > first you need to right a handler
> >>> >>>> >
> >>> >>>>
> >>> >>>>
> >>>
> http://docs.ofbiz.org/display/OFBIZ/Understanding+the+OFBiz+Widget+Toolkit
> >>> >>>> > You will probably have to write a worker class for ZK, look at
> the
> >>> >>>> > freemakerworker.java
> >>> >>>> >
> >>> >>>> > you should then be able to include a zk file in a widget like
> you
> >>> do
> >>> >>>> a
> >>> >>>> > ftl.
> >>> >>>> >
> >>> >>>> >
> >>> >>>> >
> >>> >>>> >
> >>> >>>> > Ritz123 sent the following on 2/1/2008 10:18 AM:
> >>> >>>> >> I have read that already - I cant find it anywhere in the
> >>> document
> >>> >>>> where
> >>> >>>> >> it
> >>> >>>> >> says how can you use ZUL/ZHTML pages with your existing
> >>> ftls/htmls
> >>> >>>> or
> >>> >>>> how
> >>> >>>> >> to
> >>> >>>> >> use screen widget with ZK
> >>> >>>> >>
> >>> >>>> >> May be I am missing something.
> >>> >>>> >>
> >>> >>>> >>
> >>> >>>> >> guo weizhan wrote:
> >>> >>>> >>> you should read this first:
> >>> >>>> >>>
> >>> >>>>
> >>>
> http://docs.ofbiz.org/display/OFBIZ/ZK+Rich+Client+-+integration+tutorial
> >>> >>>> >>>
> >>> >>>> >>> 2008/2/1, Ritz123 <[hidden email]>:
> >>> >>>> >>>>
> >>> >>>> >>>> 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.
> >
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: ZK view handler?

Bruno Busco
Thank you Milind,
this looks very interesting IMO.

-Bruno

2009/1/6 Milind Parikh <[hidden email]>:

> Hi Cruno
>
> I am unable to post on the ML right now. But I have posted the screenshots
> from the UI (comparing and contrasting with the default UI provided through
> ofbiz.
>
> http://www.screencast.com/t/PYqgjKm05S
>
> Regards
> -- Milind
>
>
> On Tue, Dec 23, 2008 at 3:26 AM, Bruno Busco <[hidden email]> wrote:
>
>> Could we see some screenshot of how it looks like? (I mean the UI you got)
>>
>> -Bruno
>>
>> 2008/12/22 Milind P <[hidden email]>:
>> >
>> > Steps 5 and 6
>> >
>> > http://www.screencast.com/t/w2gFN4ytj
>> >
>> > I apologize for the audio quality. It is difficult to record from an
>> Airport
>> > with security advisories in the back ground. But hopefully on full
>> volume,
>> > it should be ok.
>> >
>> >
>> >
>> > Bruno Busco wrote:
>> >>
>> >> Really cool!
>> >> Looking forward to Steps 5 and 6 !!!!
>> >>
>> >> -Bruno
>> >>
>> >> 2008/12/22 Milind P <[hidden email]>
>> >>
>> >>>
>> >>> Here are the two URLs for the ScreenCast.
>> >>>
>> >>> http://www.screencast.com/t/PTbvcO1CygR
>> >>> http://www.screencast.com/t/9ZBeRPolNdG
>> >>>
>> >>> The third one is coming.. (It's 1:18 am and I have an international
>> >>> flight
>> >>> today).
>> >>>
>> >>>
>> >>>
>> >>> Bruno Busco wrote:
>> >>> >
>> >>> > Yes,
>> >>> > we will eventually handle this as a plug-in.
>> >>> >
>> >>> > -Bruno
>> >>> >
>> >>> > 2008/12/21 Jacques Le Roux <[hidden email]>
>> >>> >
>> >>> >> Remember though that this will not be commited in OFBiz due to ZK's
>> >>> GPL
>> >>> >> licence http://en.wikipedia.org/wiki/ZK_Framework
>> >>> >>
>> >>> >> Jacques
>> >>> >>
>> >>> >> From: "Bruno Busco" <[hidden email]>
>> >>> >>
>> >>> >>  Hi Milind,
>> >>> >>> I have read your progress in the Zk forum. The OFBiz-Zk looks
>> really
>> >>> >>> interesting to me, could we see something?
>> >>> >>> You could open a JIRA issue with some screenshot and patches.
>> >>> >>>
>> >>> >>> Thank you,
>> >>> >>> -Bruno
>> >>> >>>
>> >>> >>> 2008/12/21 Milind P <[hidden email]>
>> >>> >>>
>> >>> >>>
>> >>> >>>> ZkViewHandler written. Turns out to be too simple. Please read
>> >>> >>>> cross-post
>> >>> >>>> at
>> >>> >>>>
>> >>> >>>>
>> >>> >>>>
>> >>>
>> http://www.potix.com/forum/index.zul#path%3DlistComment%3BdiscussionId%3D6530%3BcategoryId%3D14%3B
>> >>> >>>> .
>> >>> >>>>
>> >>> >>>> It may indeed be too simple. Any gotcha's?
>> >>> >>>>
>> >>> >>>> -- Milind
>> >>> >>>>
>> >>> >>>>
>> >>> >>>>
>> >>> >>>>
>> >>> >>>> BJ Freeman wrote:
>> >>> >>>> >
>> >>> >>>> > From reading the documentation, I don't believe this was really
>> >>> >>>> > implemented or the person understood ofbiz.
>> >>> >>>> >
>> >>> >>>> > it seems that is assumes that by using a delegator it can
>> directly
>> >>> >>>> > access tables. this by-passes all entity aware stuff.
>> >>> >>>> >
>> >>> >>>> > first you need to right a handler
>> >>> >>>> >
>> >>> >>>>
>> >>> >>>>
>> >>>
>> http://docs.ofbiz.org/display/OFBIZ/Understanding+the+OFBiz+Widget+Toolkit
>> >>> >>>> > You will probably have to write a worker class for ZK, look at
>> the
>> >>> >>>> > freemakerworker.java
>> >>> >>>> >
>> >>> >>>> > you should then be able to include a zk file in a widget like
>> you
>> >>> do
>> >>> >>>> a
>> >>> >>>> > ftl.
>> >>> >>>> >
>> >>> >>>> >
>> >>> >>>> >
>> >>> >>>> >
>> >>> >>>> > Ritz123 sent the following on 2/1/2008 10:18 AM:
>> >>> >>>> >> I have read that already - I cant find it anywhere in the
>> >>> document
>> >>> >>>> where
>> >>> >>>> >> it
>> >>> >>>> >> says how can you use ZUL/ZHTML pages with your existing
>> >>> ftls/htmls
>> >>> >>>> or
>> >>> >>>> how
>> >>> >>>> >> to
>> >>> >>>> >> use screen widget with ZK
>> >>> >>>> >>
>> >>> >>>> >> May be I am missing something.
>> >>> >>>> >>
>> >>> >>>> >>
>> >>> >>>> >> guo weizhan wrote:
>> >>> >>>> >>> you should read this first:
>> >>> >>>> >>>
>> >>> >>>>
>> >>>
>> http://docs.ofbiz.org/display/OFBIZ/ZK+Rich+Client+-+integration+tutorial
>> >>> >>>> >>>
>> >>> >>>> >>> 2008/2/1, Ritz123 <[hidden email]>:
>> >>> >>>> >>>>
>> >>> >>>> >>>> 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.
>> >
>> >
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: ZK view handler?

Jacques Le Roux
Administrator
Thank you Milind, I put the link below existing ones in FAQ

Jacques

From: "Bruno Busco" <[hidden email]>

> Thank you Milind,
> this looks very interesting IMO.
>
> -Bruno
>
> 2009/1/6 Milind Parikh <[hidden email]>:
>> Hi Cruno
>>
>> I am unable to post on the ML right now. But I have posted the screenshots
>> from the UI (comparing and contrasting with the default UI provided through
>> ofbiz.
>>
>> http://www.screencast.com/t/PYqgjKm05S
>>
>> Regards
>> -- Milind
>>
>>
>> On Tue, Dec 23, 2008 at 3:26 AM, Bruno Busco <[hidden email]> wrote:
>>
>>> Could we see some screenshot of how it looks like? (I mean the UI you got)
>>>
>>> -Bruno
>>>
>>> 2008/12/22 Milind P <[hidden email]>:
>>> >
>>> > Steps 5 and 6
>>> >
>>> > http://www.screencast.com/t/w2gFN4ytj
>>> >
>>> > I apologize for the audio quality. It is difficult to record from an
>>> Airport
>>> > with security advisories in the back ground. But hopefully on full
>>> volume,
>>> > it should be ok.
>>> >
>>> >
>>> >
>>> > Bruno Busco wrote:
>>> >>
>>> >> Really cool!
>>> >> Looking forward to Steps 5 and 6 !!!!
>>> >>
>>> >> -Bruno
>>> >>
>>> >> 2008/12/22 Milind P <[hidden email]>
>>> >>
>>> >>>
>>> >>> Here are the two URLs for the ScreenCast.
>>> >>>
>>> >>> http://www.screencast.com/t/PTbvcO1CygR
>>> >>> http://www.screencast.com/t/9ZBeRPolNdG
>>> >>>
>>> >>> The third one is coming.. (It's 1:18 am and I have an international
>>> >>> flight
>>> >>> today).
>>> >>>
>>> >>>
>>> >>>
>>> >>> Bruno Busco wrote:
>>> >>> >
>>> >>> > Yes,
>>> >>> > we will eventually handle this as a plug-in.
>>> >>> >
>>> >>> > -Bruno
>>> >>> >
>>> >>> > 2008/12/21 Jacques Le Roux <[hidden email]>
>>> >>> >
>>> >>> >> Remember though that this will not be commited in OFBiz due to ZK's
>>> >>> GPL
>>> >>> >> licence http://en.wikipedia.org/wiki/ZK_Framework
>>> >>> >>
>>> >>> >> Jacques
>>> >>> >>
>>> >>> >> From: "Bruno Busco" <[hidden email]>
>>> >>> >>
>>> >>> >>  Hi Milind,
>>> >>> >>> I have read your progress in the Zk forum. The OFBiz-Zk looks
>>> really
>>> >>> >>> interesting to me, could we see something?
>>> >>> >>> You could open a JIRA issue with some screenshot and patches.
>>> >>> >>>
>>> >>> >>> Thank you,
>>> >>> >>> -Bruno
>>> >>> >>>
>>> >>> >>> 2008/12/21 Milind P <[hidden email]>
>>> >>> >>>
>>> >>> >>>
>>> >>> >>>> ZkViewHandler written. Turns out to be too simple. Please read
>>> >>> >>>> cross-post
>>> >>> >>>> at
>>> >>> >>>>
>>> >>> >>>>
>>> >>> >>>>
>>> >>>
>>> http://www.potix.com/forum/index.zul#path%3DlistComment%3BdiscussionId%3D6530%3BcategoryId%3D14%3B
>>> >>> >>>> .
>>> >>> >>>>
>>> >>> >>>> It may indeed be too simple. Any gotcha's?
>>> >>> >>>>
>>> >>> >>>> -- Milind
>>> >>> >>>>
>>> >>> >>>>
>>> >>> >>>>
>>> >>> >>>>
>>> >>> >>>> BJ Freeman wrote:
>>> >>> >>>> >
>>> >>> >>>> > From reading the documentation, I don't believe this was really
>>> >>> >>>> > implemented or the person understood ofbiz.
>>> >>> >>>> >
>>> >>> >>>> > it seems that is assumes that by using a delegator it can
>>> directly
>>> >>> >>>> > access tables. this by-passes all entity aware stuff.
>>> >>> >>>> >
>>> >>> >>>> > first you need to right a handler
>>> >>> >>>> >
>>> >>> >>>>
>>> >>> >>>>
>>> >>>
>>> http://docs.ofbiz.org/display/OFBIZ/Understanding+the+OFBiz+Widget+Toolkit
>>> >>> >>>> > You will probably have to write a worker class for ZK, look at
>>> the
>>> >>> >>>> > freemakerworker.java
>>> >>> >>>> >
>>> >>> >>>> > you should then be able to include a zk file in a widget like
>>> you
>>> >>> do
>>> >>> >>>> a
>>> >>> >>>> > ftl.
>>> >>> >>>> >
>>> >>> >>>> >
>>> >>> >>>> >
>>> >>> >>>> >
>>> >>> >>>> > Ritz123 sent the following on 2/1/2008 10:18 AM:
>>> >>> >>>> >> I have read that already - I cant find it anywhere in the
>>> >>> document
>>> >>> >>>> where
>>> >>> >>>> >> it
>>> >>> >>>> >> says how can you use ZUL/ZHTML pages with your existing
>>> >>> ftls/htmls
>>> >>> >>>> or
>>> >>> >>>> how
>>> >>> >>>> >> to
>>> >>> >>>> >> use screen widget with ZK
>>> >>> >>>> >>
>>> >>> >>>> >> May be I am missing something.
>>> >>> >>>> >>
>>> >>> >>>> >>
>>> >>> >>>> >> guo weizhan wrote:
>>> >>> >>>> >>> you should read this first:
>>> >>> >>>> >>>
>>> >>> >>>>
>>> >>>
>>> http://docs.ofbiz.org/display/OFBIZ/ZK+Rich+Client+-+integration+tutorial
>>> >>> >>>> >>>
>>> >>> >>>> >>> 2008/2/1, Ritz123 <[hidden email]>:
>>> >>> >>>> >>>>
>>> >>> >>>> >>>> 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.
>>> >
>>> >
>>>
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: ZK view handler?

santosh malviya-2
Hello Milind,
I watched your video of zk integration with OFBiz, as you talked about
zkViewHandler to include into framework's widget screen, so from where
this handler can be downloaded, I have googled but could not find.
Please help me to get this handler.


Jacques Le Roux wrote:

> Thank you Milind, I put the link below existing ones in FAQ
>
> Jacques
>
> From: "Bruno Busco" <[hidden email]>
>> Thank you Milind,
>> this looks very interesting IMO.
>>
>> -Bruno
>>
>> 2009/1/6 Milind Parikh <[hidden email]>:
>>> Hi Cruno
>>>
>>> I am unable to post on the ML right now. But I have posted the
>>> screenshots
>>> from the UI (comparing and contrasting with the default UI provided
>>> through
>>> ofbiz.
>>>
>>> http://www.screencast.com/t/PYqgjKm05S
>>>
>>> Regards
>>> -- Milind
>>>
>>>
>>> On Tue, Dec 23, 2008 at 3:26 AM, Bruno Busco <[hidden email]>
>>> wrote:
>>>
>>>> Could we see some screenshot of how it looks like? (I mean the UI
>>>> you got)
>>>>
>>>> -Bruno
>>>>
>>>> 2008/12/22 Milind P <[hidden email]>:
>>>> >
>>>> > Steps 5 and 6
>>>> >
>>>> > http://www.screencast.com/t/w2gFN4ytj
>>>> >
>>>> > I apologize for the audio quality. It is difficult to record from an
>>>> Airport
>>>> > with security advisories in the back ground. But hopefully on full
>>>> volume,
>>>> > it should be ok.
>>>> >
>>>> >
>>>> >
>>>> > Bruno Busco wrote:
>>>> >>
>>>> >> Really cool!
>>>> >> Looking forward to Steps 5 and 6 !!!!
>>>> >>
>>>> >> -Bruno
>>>> >>
>>>> >> 2008/12/22 Milind P <[hidden email]>
>>>> >>
>>>> >>>
>>>> >>> Here are the two URLs for the ScreenCast.
>>>> >>>
>>>> >>> http://www.screencast.com/t/PTbvcO1CygR
>>>> >>> http://www.screencast.com/t/9ZBeRPolNdG
>>>> >>>
>>>> >>> The third one is coming.. (It's 1:18 am and I have an
>>>> international
>>>> >>> flight
>>>> >>> today).
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> Bruno Busco wrote:
>>>> >>> >
>>>> >>> > Yes,
>>>> >>> > we will eventually handle this as a plug-in.
>>>> >>> >
>>>> >>> > -Bruno
>>>> >>> >
>>>> >>> > 2008/12/21 Jacques Le Roux <[hidden email]>
>>>> >>> >
>>>> >>> >> Remember though that this will not be commited in OFBiz due
>>>> to ZK's
>>>> >>> GPL
>>>> >>> >> licence http://en.wikipedia.org/wiki/ZK_Framework
>>>> >>> >>
>>>> >>> >> Jacques
>>>> >>> >>
>>>> >>> >> From: "Bruno Busco" <[hidden email]>
>>>> >>> >>
>>>> >>> >>  Hi Milind,
>>>> >>> >>> I have read your progress in the Zk forum. The OFBiz-Zk looks
>>>> really
>>>> >>> >>> interesting to me, could we see something?
>>>> >>> >>> You could open a JIRA issue with some screenshot and patches.
>>>> >>> >>>
>>>> >>> >>> Thank you,
>>>> >>> >>> -Bruno
>>>> >>> >>>
>>>> >>> >>> 2008/12/21 Milind P <[hidden email]>
>>>> >>> >>>
>>>> >>> >>>
>>>> >>> >>>> ZkViewHandler written. Turns out to be too simple. Please
>>>> read
>>>> >>> >>>> cross-post
>>>> >>> >>>> at
>>>> >>> >>>>
>>>> >>> >>>>
>>>> >>> >>>>
>>>> >>>
>>>> http://www.potix.com/forum/index.zul#path%3DlistComment%3BdiscussionId%3D6530%3BcategoryId%3D14%3B 
>>>>
>>>> >>> >>>> .
>>>> >>> >>>>
>>>> >>> >>>> It may indeed be too simple. Any gotcha's?
>>>> >>> >>>>
>>>> >>> >>>> -- Milind
>>>> >>> >>>>
>>>> >>> >>>>
>>>> >>> >>>>
>>>> >>> >>>>
>>>> >>> >>>> BJ Freeman wrote:
>>>> >>> >>>> >
>>>> >>> >>>> > From reading the documentation, I don't believe this was
>>>> really
>>>> >>> >>>> > implemented or the person understood ofbiz.
>>>> >>> >>>> >
>>>> >>> >>>> > it seems that is assumes that by using a delegator it can
>>>> directly
>>>> >>> >>>> > access tables. this by-passes all entity aware stuff.
>>>> >>> >>>> >
>>>> >>> >>>> > first you need to right a handler
>>>> >>> >>>> >
>>>> >>> >>>>
>>>> >>> >>>>
>>>> >>>
>>>> http://docs.ofbiz.org/display/OFBIZ/Understanding+the+OFBiz+Widget+Toolkit 
>>>>
>>>> >>> >>>> > You will probably have to write a worker class for ZK,
>>>> look at
>>>> the
>>>> >>> >>>> > freemakerworker.java
>>>> >>> >>>> >
>>>> >>> >>>> > you should then be able to include a zk file in a widget
>>>> like
>>>> you
>>>> >>> do
>>>> >>> >>>> a
>>>> >>> >>>> > ftl.
>>>> >>> >>>> >
>>>> >>> >>>> >
>>>> >>> >>>> >
>>>> >>> >>>> >
>>>> >>> >>>> > Ritz123 sent the following on 2/1/2008 10:18 AM:
>>>> >>> >>>> >> I have read that already - I cant find it anywhere in the
>>>> >>> document
>>>> >>> >>>> where
>>>> >>> >>>> >> it
>>>> >>> >>>> >> says how can you use ZUL/ZHTML pages with your existing
>>>> >>> ftls/htmls
>>>> >>> >>>> or
>>>> >>> >>>> how
>>>> >>> >>>> >> to
>>>> >>> >>>> >> use screen widget with ZK
>>>> >>> >>>> >>
>>>> >>> >>>> >> May be I am missing something.
>>>> >>> >>>> >>
>>>> >>> >>>> >>
>>>> >>> >>>> >> guo weizhan wrote:
>>>> >>> >>>> >>> you should read this first:
>>>> >>> >>>> >>>
>>>> >>> >>>>
>>>> >>>
>>>> http://docs.ofbiz.org/display/OFBIZ/ZK+Rich+Client+-+integration+tutorial 
>>>>
>>>> >>> >>>> >>>
>>>> >>> >>>> >>> 2008/2/1, Ritz123 <[hidden email]>:
>>>> >>> >>>> >>>>
>>>> >>> >>>> >>>> Hi,
>>>> >>> >>>> >>>>
>>>> >>> >>>> >>>> Those who are using ZK with Ofbiz does it need a view
>>>> handler?
>>>> >>> >>>> >>>>
>>>> >>> >>>> >>>> How have you guys integrated ZUL/ZHTML pages with Ofbiz?
>>>> >>> (either
>>>> >>> >>>> in
>>>> >>> >>>> the
>>>> >>> >>>> >>>> screens.xml or controller.xml)?
>>>> >>> >>>> >>>> --
>>>> >>> >>>> >>>> View this message in context:
>>>> >>> >>>> >>>>
>>>> http://www.nabble.com/ZK-view-handler--tp15217609p15217609.html
>>>> >>> >>>> >>>> Sent from the OFBiz - User mailing list archive at
>>>> Nabble.com.
>>>> >>> >>>> >>>>
>>>> >>> >>>> >>>>
>>>> >>> >>>> >>>
>>>> >>> >>>> >>
>>>> >>> >>>> >
>>>> >>> >>>> >
>>>> >>> >>>> >
>>>> >>> >>>>
>>>> >>> >>>> --
>>>> >>> >>>> View this message in context:
>>>> >>> >>>>
>>>> http://www.nabble.com/ZK-view-handler--tp15217609p21112393.html
>>>> >>> >>>> Sent from the OFBiz - User mailing list archive at
>>>> Nabble.com.
>>>> >>> >>>>
>>>> >>> >>>>
>>>> >>> >>>>
>>>> >>> >>>
>>>> >>> >
>>>> >>> >
>>>> >>>
>>>> >>> --
>>>> >>> View this message in context:
>>>> >>> http://www.nabble.com/ZK-view-handler--tp15217609p21124711.html
>>>> >>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>>> >>>
>>>> >>>
>>>> >>
>>>> >>
>>>> >
>>>> > --
>>>> > View this message in context:
>>>> http://www.nabble.com/ZK-view-handler--tp15217609p21135132.html
>>>> > Sent from the OFBiz - User mailing list archive at Nabble.com.
>>>> >
>>>> >
>>>>
>>>
>>
>
--
Thanks and Regards
Santosh Malviya
Enterprise Software Developer
Hotwax Media Inc.
Indore(M.P.) India
Mobile : +91 9977650914


smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: ZK view handler?

Milind P
My suggestion, right now, would be to type in the code. It's really simple;
as you have seen.

Regards
- Milind


On Thu, Jan 29, 2009 at 7:33 AM, Santosh Malviya <
[hidden email]> wrote:

> Hello Milind,
> I watched your video of zk integration with OFBiz, as you talked about
> zkViewHandler to include into framework's widget screen, so from where this
> handler can be downloaded, I have googled but could not find. Please help me
> to get this handler.
>
>
>
> Jacques Le Roux wrote:
>
>> Thank you Milind, I put the link below existing ones in FAQ
>>
>> Jacques
>>
>> From: "Bruno Busco" <[hidden email]>
>>
>>> Thank you Milind,
>>> this looks very interesting IMO.
>>>
>>> -Bruno
>>>
>>> 2009/1/6 Milind Parikh <[hidden email]>:
>>>
>>>> Hi Cruno
>>>>
>>>> I am unable to post on the ML right now. But I have posted the
>>>> screenshots
>>>> from the UI (comparing and contrasting with the default UI provided
>>>> through
>>>> ofbiz.
>>>>
>>>> http://www.screencast.com/t/PYqgjKm05S
>>>>
>>>> Regards
>>>> -- Milind
>>>>
>>>>
>>>> On Tue, Dec 23, 2008 at 3:26 AM, Bruno Busco <[hidden email]>
>>>> wrote:
>>>>
>>>>  Could we see some screenshot of how it looks like? (I mean the UI you
>>>>> got)
>>>>>
>>>>> -Bruno
>>>>>
>>>>> 2008/12/22 Milind P <[hidden email]>:
>>>>> >
>>>>> > Steps 5 and 6
>>>>> >
>>>>> > http://www.screencast.com/t/w2gFN4ytj
>>>>> >
>>>>> > I apologize for the audio quality. It is difficult to record from an
>>>>> Airport
>>>>> > with security advisories in the back ground. But hopefully on full
>>>>> volume,
>>>>> > it should be ok.
>>>>> >
>>>>> >
>>>>> >
>>>>> > Bruno Busco wrote:
>>>>> >>
>>>>> >> Really cool!
>>>>> >> Looking forward to Steps 5 and 6 !!!!
>>>>> >>
>>>>> >> -Bruno
>>>>> >>
>>>>> >> 2008/12/22 Milind P <[hidden email]>
>>>>> >>
>>>>> >>>
>>>>> >>> Here are the two URLs for the ScreenCast.
>>>>> >>>
>>>>> >>> http://www.screencast.com/t/PTbvcO1CygR
>>>>> >>> http://www.screencast.com/t/9ZBeRPolNdG
>>>>> >>>
>>>>> >>> The third one is coming.. (It's 1:18 am and I have an international
>>>>> >>> flight
>>>>> >>> today).
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> Bruno Busco wrote:
>>>>> >>> >
>>>>> >>> > Yes,
>>>>> >>> > we will eventually handle this as a plug-in.
>>>>> >>> >
>>>>> >>> > -Bruno
>>>>> >>> >
>>>>> >>> > 2008/12/21 Jacques Le Roux <[hidden email]>
>>>>> >>> >
>>>>> >>> >> Remember though that this will not be commited in OFBiz due to
>>>>> ZK's
>>>>> >>> GPL
>>>>> >>> >> licence http://en.wikipedia.org/wiki/ZK_Framework
>>>>> >>> >>
>>>>> >>> >> Jacques
>>>>> >>> >>
>>>>> >>> >> From: "Bruno Busco" <[hidden email]>
>>>>> >>> >>
>>>>> >>> >>  Hi Milind,
>>>>> >>> >>> I have read your progress in the Zk forum. The OFBiz-Zk looks
>>>>> really
>>>>> >>> >>> interesting to me, could we see something?
>>>>> >>> >>> You could open a JIRA issue with some screenshot and patches.
>>>>> >>> >>>
>>>>> >>> >>> Thank you,
>>>>> >>> >>> -Bruno
>>>>> >>> >>>
>>>>> >>> >>> 2008/12/21 Milind P <[hidden email]>
>>>>> >>> >>>
>>>>> >>> >>>
>>>>> >>> >>>> ZkViewHandler written. Turns out to be too simple. Please read
>>>>> >>> >>>> cross-post
>>>>> >>> >>>> at
>>>>> >>> >>>>
>>>>> >>> >>>>
>>>>> >>> >>>>
>>>>> >>>
>>>>>
>>>>> http://www.potix.com/forum/index.zul#path%3DlistComment%3BdiscussionId%3D6530%3BcategoryId%3D14%3B
>>>>> >>> >>>> .
>>>>> >>> >>>>
>>>>> >>> >>>> It may indeed be too simple. Any gotcha's?
>>>>> >>> >>>>
>>>>> >>> >>>> -- Milind
>>>>> >>> >>>>
>>>>> >>> >>>>
>>>>> >>> >>>>
>>>>> >>> >>>>
>>>>> >>> >>>> BJ Freeman wrote:
>>>>> >>> >>>> >
>>>>> >>> >>>> > From reading the documentation, I don't believe this was
>>>>> really
>>>>> >>> >>>> > implemented or the person understood ofbiz.
>>>>> >>> >>>> >
>>>>> >>> >>>> > it seems that is assumes that by using a delegator it can
>>>>> directly
>>>>> >>> >>>> > access tables. this by-passes all entity aware stuff.
>>>>> >>> >>>> >
>>>>> >>> >>>> > first you need to right a handler
>>>>> >>> >>>> >
>>>>> >>> >>>>
>>>>> >>> >>>>
>>>>> >>>
>>>>>
>>>>> http://docs.ofbiz.org/display/OFBIZ/Understanding+the+OFBiz+Widget+Toolkit
>>>>> >>> >>>> > You will probably have to write a worker class for ZK, look
>>>>> at
>>>>> the
>>>>> >>> >>>> > freemakerworker.java
>>>>> >>> >>>> >
>>>>> >>> >>>> > you should then be able to include a zk file in a widget
>>>>> like
>>>>> you
>>>>> >>> do
>>>>> >>> >>>> a
>>>>> >>> >>>> > ftl.
>>>>> >>> >>>> >
>>>>> >>> >>>> >
>>>>> >>> >>>> >
>>>>> >>> >>>> >
>>>>> >>> >>>> > Ritz123 sent the following on 2/1/2008 10:18 AM:
>>>>> >>> >>>> >> I have read that already - I cant find it anywhere in the
>>>>> >>> document
>>>>> >>> >>>> where
>>>>> >>> >>>> >> it
>>>>> >>> >>>> >> says how can you use ZUL/ZHTML pages with your existing
>>>>> >>> ftls/htmls
>>>>> >>> >>>> or
>>>>> >>> >>>> how
>>>>> >>> >>>> >> to
>>>>> >>> >>>> >> use screen widget with ZK
>>>>> >>> >>>> >>
>>>>> >>> >>>> >> May be I am missing something.
>>>>> >>> >>>> >>
>>>>> >>> >>>> >>
>>>>> >>> >>>> >> guo weizhan wrote:
>>>>> >>> >>>> >>> you should read this first:
>>>>> >>> >>>> >>>
>>>>> >>> >>>>
>>>>> >>>
>>>>>
>>>>> http://docs.ofbiz.org/display/OFBIZ/ZK+Rich+Client+-+integration+tutorial
>>>>> >>> >>>> >>>
>>>>> >>> >>>> >>> 2008/2/1, Ritz123 <[hidden email]>:
>>>>> >>> >>>> >>>>
>>>>> >>> >>>> >>>> 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
>
12