Re: Subscription Question

2010-06-17 Thread Scott Gray
Let's not forget the mailing list archives either, virtually any topic you want 
to discuss has likely been discussed before:
http://ofbiz.135035.n4.nabble.com/
http://ofbiz.markmail.org/

Btw Jacques, I actually have access to all of the old mailing list mbox 
archives which I believe the nabble guy is able to manually import if someone 
wanted to send them to him.

Regards
Scott

On 17/06/2010, at 4:37 PM, Jacques Le Roux wrote:

 Hi Chatree,
 
 This message is not directed to you particularly, but rather intended to 
 educate users ;o)
 
 Please help yourself
 https://cwiki.apache.org/confluence/display/OFBIZ/Subscription
 
 There is a wiki search directly from the top of the OFBiz main page, try it!
 http://ofbiz.apache.org/
 
 And if you don't find all the infomration you need on this page, you may even 
 help others and complete it...
 
 Thanks
 
 Jacques
 
 From: Chatree Srichart chatree.srich...@gmail.com
 Can anyone tell me what a subscription in OFBiz for?
 About these entities:
 Subscription
 SubscriptionActivity
 SubscriptionCommEvent
 SubscriptionResource
 ProductSubscriptionResource
 Thank you,
 Regards,
 Chatree Srichart
 
 



smime.p7s
Description: S/MIME cryptographic signature


Re: Subscription Question

2010-06-17 Thread Jacques Le Roux

Scott Gray wrote:

Let's not forget the mailing list archives either, virtually any topic you want 
to discuss has likely been discussed before:
http://ofbiz.135035.n4.nabble.com/
http://ofbiz.markmail.org/

Btw Jacques, I actually have access to all of the old mailing list mbox 
archives which I believe the nabble guy is able to
manually import if someone wanted to send them to him. 


Yes this sounds interesting, could you ask them and handle it?

Thanks Scott

Jacques


Regards
Scott

On 17/06/2010, at 4:37 PM, Jacques Le Roux wrote:


Hi Chatree,

This message is not directed to you particularly, but rather intended to 
educate users ;o)

Please help yourself
https://cwiki.apache.org/confluence/display/OFBIZ/Subscription

There is a wiki search directly from the top of the OFBiz main page, try it!
http://ofbiz.apache.org/

And if you don't find all the infomration you need on this page, you may even 
help others and complete it...

Thanks

Jacques

From: Chatree Srichart chatree.srich...@gmail.com

Can anyone tell me what a subscription in OFBiz for?
About these entities:
Subscription
SubscriptionActivity
SubscriptionCommEvent
SubscriptionResource
ProductSubscriptionResource
Thank you,
Regards,
Chatree Srichart




Re: OFBiz - Axax tutorial issue

2010-06-17 Thread Jacques Le Roux

Should we not update this tutorial then?

Jacques

From: Deepak Dixit deepak.di...@hotwaxmedia.com

Hello Vaibhav,

This pattern is changed for calling ajax request. Instead of this we can 
use following pattern:

response name=success type=request value=json/
Please refer controller.xml of ecommerce component for more detail info.

--
Deepak Dixit


vaibhav londhe wrote:

Hello,

check your request-map in controller.. if your event type=service then
change it to
event type =jsonservice.

Thanx  Regards,
Vaibhav Londhe



On Wed, Jun 16, 2010 at 3:17 PM, mehdouch mehd...@hotmail.com wrote:

  

HI,
I have downloaded the practice_application_withAjax.tar.gz from the
tutorial

https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Tutorial+-+A+Beginners+Development+Guide
and I found a problem when using the ajax section: this section show the
list of persons and let you create a new person that is normally displayed
in the end of the previus list.

but in my case, the list is not updated until I click on the navigator's
refresh button ( so what the meaning of using ajax ? )

any help / suggestion please.


--
View this message in context:
http://ofbiz.135035.n4.nabble.com/OFBiz-Axax-tutorial-issue-tp2257126p2257126.html
Sent from the OFBiz - User mailing list archive at Nabble.com.




  







Re: Subscription Question

2010-06-17 Thread Scott Gray
On 17/06/2010, at 6:44 PM, Jacques Le Roux wrote:

 Scott Gray wrote:
 Let's not forget the mailing list archives either, virtually any topic you 
 want to discuss has likely been discussed before:
 http://ofbiz.135035.n4.nabble.com/
 http://ofbiz.markmail.org/
 Btw Jacques, I actually have access to all of the old mailing list mbox 
 archives which I believe the nabble guy is able to
 manually import if someone wanted to send them to him. 
 
 Yes this sounds interesting, could you ask them and handle it?

I can but probably not within the next 6 months :-)

 
 Thanks Scott
 
 Jacques
 
 Regards
 Scott
 On 17/06/2010, at 4:37 PM, Jacques Le Roux wrote:
 Hi Chatree,
 This message is not directed to you particularly, but rather intended to 
 educate users ;o)
 Please help yourself
 https://cwiki.apache.org/confluence/display/OFBIZ/Subscription
 There is a wiki search directly from the top of the OFBiz main page, try it!
 http://ofbiz.apache.org/
 And if you don't find all the infomration you need on this page, you may 
 even help others and complete it...
 Thanks
 Jacques
 From: Chatree Srichart chatree.srich...@gmail.com
 Can anyone tell me what a subscription in OFBiz for?
 About these entities:
 Subscription
 SubscriptionActivity
 SubscriptionCommEvent
 SubscriptionResource
 ProductSubscriptionResource
 Thank you,
 Regards,
 Chatree Srichart
 



smime.p7s
Description: S/MIME cryptographic signature


Re: Subscription Question

2010-06-17 Thread Jacques Le Roux

Scott Gray wrote:

On 17/06/2010, at 6:44 PM, Jacques Le Roux wrote:


Scott Gray wrote:

Let's not forget the mailing list archives either, virtually any topic you want 
to discuss has likely been discussed before:
http://ofbiz.135035.n4.nabble.com/
http://ofbiz.markmail.org/
Btw Jacques, I actually have access to all of the old mailing list mbox 
archives which I believe the nabble guy is able to
manually import if someone wanted to send them to him.


Yes this sounds interesting, could you ask them and handle it?


I can but probably not within the next 6 months :-)


If you want just send them me then, but I will ask Nabble 1st and will tell 
you...

Thanks


Jacques



Thanks Scott

Jacques


Regards
Scott
On 17/06/2010, at 4:37 PM, Jacques Le Roux wrote:

Hi Chatree,
This message is not directed to you particularly, but rather intended to 
educate users ;o)
Please help yourself
https://cwiki.apache.org/confluence/display/OFBIZ/Subscription
There is a wiki search directly from the top of the OFBiz main page, try it!
http://ofbiz.apache.org/
And if you don't find all the infomration you need on this page, you may even 
help others and complete it...
Thanks
Jacques
From: Chatree Srichart chatree.srich...@gmail.com

Can anyone tell me what a subscription in OFBiz for?
About these entities:
Subscription
SubscriptionActivity
SubscriptionCommEvent
SubscriptionResource
ProductSubscriptionResource
Thank you,
Regards,
Chatree Srichart




Re: OFBiz - Axax tutorial issue

2010-06-17 Thread sachin kanojiya
Hi,
 we r using this thing

  event type=service invoke=createPracticePerson/
  response name=success type=request value=json/

the same problem exist, but if we use

event type=jsonservice invoke=createPracticePerson /
response name=success type=none value=json/
 or
event type=jsonservice invoke=createPracticePerson/
response name=success type=request value=json/

   then we get the proper updated response on same page

 i  think there might be version problem.

Regard

Sachin Kanojiya



On Thu, Jun 17, 2010 at 12:15 PM, Jacques Le Roux 
jacques.le.r...@les7arts.com wrote:

 Should we not update this tutorial then?

 Jacques

 From: Deepak Dixit deepak.di...@hotwaxmedia.com

  Hello Vaibhav,

 This pattern is changed for calling ajax request. Instead of this we can
 use following pattern:
 response name=success type=request value=json/
 Please refer controller.xml of ecommerce component for more detail info.

 --
 Deepak Dixit


 vaibhav londhe wrote:

 Hello,

 check your request-map in controller.. if your event type=service then
 change it to
 event type =jsonservice.

 Thanx  Regards,
 Vaibhav Londhe



 On Wed, Jun 16, 2010 at 3:17 PM, mehdouch mehd...@hotmail.com wrote:



 HI,
 I have downloaded the practice_application_withAjax.tar.gz from the
 tutorial


 https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Tutorial+-+A+Beginners+Development+Guide
 and I found a problem when using the ajax section: this section show the
 list of persons and let you create a new person that is normally
 displayed
 in the end of the previus list.

 but in my case, the list is not updated until I click on the navigator's
 refresh button ( so what the meaning of using ajax ? )

 any help / suggestion please.


 --
 View this message in context:

 http://ofbiz.135035.n4.nabble.com/OFBiz-Axax-tutorial-issue-tp2257126p2257126.html
 Sent from the OFBiz - User mailing list archive at Nabble.com.












Re: Services semaphore attribute

2010-06-17 Thread Scott Gray
I'm pretty sure I documented this as part of the service engine guide in 
confluence.  I don't have a link handy.

Regards
Scott

On 17/06/2010, at 7:30 PM, Jacques Le Roux wrote:

 Hi Chirag,
 
 I think you are looking to use the wait value of the semaphore attribute. 
 Beware of the timeout though...
 You may combine with the other semaphore attributes if needed
xs:attribute name=semaphore-wait-seconds type=xs:int 
 default=300/
xs:attribute name=semaphore-sleep type=xs:int default=500/
 
 HTH
 
 Jacques
 Please use rather the user MLfor such questions, thanks...
  - Original Message - 
  From: Chirag Manocha 
  To: jacques.le.r...@les7arts.com 
  Sent: Thursday, June 17, 2010 9:11 AM
  Subject: Services semaphore attribute
 
 
  Hi Jacques, 
  Can you please tell me about semaphore attribute of service tag.
 
  The scenario is when I am getting multiple request(request is calling a 
 service) then I want the service to be called in sequence rather than 
 parallel,
 
  If you can provide some links to documentation that will be help,
 
  Thanks and Regards
  --
  Chirag Manocha
  +91-98735-47457
 



smime.p7s
Description: S/MIME cryptographic signature


Re: OFBiz - Axax tutorial issue

2010-06-17 Thread Jacques Le Roux

Then the tutorial should have a note about what syntax to use which each 
version...
Else I'm pretty sure this question will pop up again,

Could you take care of that Sachin?

Jacques

From: sachin kanojiya sach.kanojiy...@gmail.com

Hi,
we r using this thing

 event type=service invoke=createPracticePerson/
 response name=success type=request value=json/

the same problem exist, but if we use

event type=jsonservice invoke=createPracticePerson /
response name=success type=none value=json/
or
event type=jsonservice invoke=createPracticePerson/
response name=success type=request value=json/

  then we get the proper updated response on same page

i  think there might be version problem.

Regard

Sachin Kanojiya



On Thu, Jun 17, 2010 at 12:15 PM, Jacques Le Roux 
jacques.le.r...@les7arts.com wrote:


Should we not update this tutorial then?

Jacques

From: Deepak Dixit deepak.di...@hotwaxmedia.com

 Hello Vaibhav,


This pattern is changed for calling ajax request. Instead of this we can
use following pattern:
response name=success type=request value=json/
Please refer controller.xml of ecommerce component for more detail info.

--
Deepak Dixit


vaibhav londhe wrote:


Hello,

check your request-map in controller.. if your event type=service then
change it to
event type =jsonservice.

Thanx  Regards,
Vaibhav Londhe



On Wed, Jun 16, 2010 at 3:17 PM, mehdouch mehd...@hotmail.com wrote:




HI,
I have downloaded the practice_application_withAjax.tar.gz from the
tutorial


https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Tutorial+-+A+Beginners+Development+Guide
and I found a problem when using the ajax section: this section show the
list of persons and let you create a new person that is normally
displayed
in the end of the previus list.

but in my case, the list is not updated until I click on the navigator's
refresh button ( so what the meaning of using ajax ? )

any help / suggestion please.


--
View this message in context:

http://ofbiz.135035.n4.nabble.com/OFBiz-Axax-tutorial-issue-tp2257126p2257126.html
Sent from the OFBiz - User mailing list archive at Nabble.com.



















Re: Services semaphore attribute

2010-06-17 Thread Jacques Le Roux

Right, https://cwiki.apache.org/confluence/display/OFBTECH/Service+Engine+Guide

Simply type semaphore in the search box Jacopo implemented in the OFBiz main 
page

Jacques

Scott Gray wrote:

I'm pretty sure I documented this as part of the service engine guide in 
confluence.  I don't have a link handy.

Regards
Scott

On 17/06/2010, at 7:30 PM, Jacques Le Roux wrote:


Hi Chirag,

I think you are looking to use the wait value of the semaphore attribute. 
Beware of the timeout though...
You may combine with the other semaphore attributes if needed
   xs:attribute name=semaphore-wait-seconds type=xs:int default=300/
   xs:attribute name=semaphore-sleep type=xs:int default=500/

HTH

Jacques
Please use rather the user MLfor such questions, thanks...
 - Original Message -
 From: Chirag Manocha
 To: jacques.le.r...@les7arts.com
 Sent: Thursday, June 17, 2010 9:11 AM
 Subject: Services semaphore attribute


 Hi Jacques,
 Can you please tell me about semaphore attribute of service tag.

 The scenario is when I am getting multiple request(request is calling a 
service) then I want the service to be called in
sequence rather than parallel, 


 If you can provide some links to documentation that will be help,

 Thanks and Regards
 --
 Chirag Manocha
 +91-98735-47457




Re: Services semaphore attribute

2010-06-17 Thread Chirag Manocha
Thanks Jacques, Scott.

I saw the entity ServiceSemaphore. Why the primary key of this entity is 
serviceName ?
Like In my case when 10 requests come simultaneously, there is a service event 
in request. Now service needs to be called sequentially. Now when I use the 
semaphore attribute i.e. semaphore=wait, It gives exception:-
Message: SQL Exception while executing the following:INSERT INTO 
public.SERVICE_SEMAPHORE (SERVICE_NAME, LOCK_THREAD, LOCK_TIME, 
LAST_UPDATED_STAMP, LAST_UPDATE
D_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?) 
(ERROR: duplicate key value violates unique constraint pk_service_semaphore)


Regards 
-- 
Chirag Manocha 
Emforium Pvt. Ltd. 
Contact :- +91-98735-47457, +91-98263-19099 
Please don't print this Email unless you really need to - this will preserve 
trees on planet earth. 

- Original Message -
 From: Jacques Le Roux jacques.le.r...@les7arts.com
 To: user@ofbiz.apache.org
 Sent: Thursday, June 17, 2010 1:25:34 PM
 Subject: Re: Services semaphore attribute

 Right,
 https://cwiki.apache.org/confluence/display/OFBTECH/Service+Engine+Guide
 
 Simply type semaphore in the search box Jacopo implemented in the
 OFBiz main page
 
 Jacques
 
 Scott Gray wrote:
  I'm pretty sure I documented this as part of the service engine
  guide in confluence. I don't have a link handy.
 
  Regards
  Scott
 
  On 17/06/2010, at 7:30 PM, Jacques Le Roux wrote:
 
  Hi Chirag,
 
  I think you are looking to use the wait value of the semaphore
  attribute. Beware of the timeout though...
  You may combine with the other semaphore attributes if needed
 xs:attribute name=semaphore-wait-seconds type=xs:int
 default=300/ xs:attribute name=semaphore-sleep
 type=xs:int default=500/
 
  HTH
 
  Jacques
  Please use rather the user MLfor such questions, thanks...
   - Original Message -
   From: Chirag Manocha
   To: jacques.le.r...@les7arts.com
   Sent: Thursday, June 17, 2010 9:11 AM
   Subject: Services semaphore attribute
 
 
   Hi Jacques,
   Can you please tell me about semaphore attribute of service tag.
 
   The scenario is when I am getting multiple request(request is
   calling a service) then I want the service to be called in
  sequence rather than parallel,
 
   If you can provide some links to documentation that will be help,
 
   Thanks and Regards
   -- Chirag Manocha
   +91-98735-47457


Re: UTF-8 input

2010-06-17 Thread Jacques Le Roux

Hi Valentin,

At https://issues.apache.org/jira/browse/OFBIZ-3801 Sascha proposed a solution, 
could you try it please?

Thanks

Jacques

From: Jacques Le Roux jacques.le.r...@les7arts.com

Thanks Valentin,

I have reopened https://issues.apache.org/jira/browse/OFBIZ-3801

Jacques

From: V.S. valentin.soborni...@premiumwine.com.ua


http://ofbiz.135035.n4.nabble.com/svn-commit-r951119-ofbiz-trunk-framework-webapp-src-org-ofbiz-webapp-control-ContextFilter-java-td2242192.html#a2242192

--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/UTF-8-input-tp2254499p2257052.html
Sent from the OFBiz - User mailing list archive at Nabble.com.









Re: Services semaphore attribute

2010-06-17 Thread Scott Gray
There could be a bug in the code, the entity definition is correct because an 
entry gets put in that table when a semaphore service is begun and then removed 
when it completes.  The presence of a record in the entity is the indicator 
that the semaphore service is being run so any subsequent calls need to wait.

Obviously it shouldn't be trying to add another row for the same service, it 
should instead be waiting until the row is removed so that it can write a fresh 
row and begin the next service call in queue.

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 17/06/2010, at 9:23 PM, Chirag Manocha wrote:

 Thanks Jacques, Scott.
 
 I saw the entity ServiceSemaphore. Why the primary key of this entity is 
 serviceName ?
 Like In my case when 10 requests come simultaneously, there is a service 
 event in request. Now service needs to be called sequentially. Now when I use 
 the semaphore attribute i.e. semaphore=wait, It gives exception:-
 Message: SQL Exception while executing the following:INSERT INTO 
 public.SERVICE_SEMAPHORE (SERVICE_NAME, LOCK_THREAD, LOCK_TIME, 
 LAST_UPDATED_STAMP, LAST_UPDATE
 D_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?) 
 (ERROR: duplicate key value violates unique constraint pk_service_semaphore)
 
 
 Regards 
 -- 
 Chirag Manocha 
 Emforium Pvt. Ltd. 
 Contact :- +91-98735-47457, +91-98263-19099 
 Please don't print this Email unless you really need to - this will preserve 
 trees on planet earth. 
 
 - Original Message -
 From: Jacques Le Roux jacques.le.r...@les7arts.com
 To: user@ofbiz.apache.org
 Sent: Thursday, June 17, 2010 1:25:34 PM
 Subject: Re: Services semaphore attribute
 
 Right,
 https://cwiki.apache.org/confluence/display/OFBTECH/Service+Engine+Guide
 
 Simply type semaphore in the search box Jacopo implemented in the
 OFBiz main page
 
 Jacques
 
 Scott Gray wrote:
 I'm pretty sure I documented this as part of the service engine
 guide in confluence. I don't have a link handy.
 
 Regards
 Scott
 
 On 17/06/2010, at 7:30 PM, Jacques Le Roux wrote:
 
 Hi Chirag,
 
 I think you are looking to use the wait value of the semaphore
 attribute. Beware of the timeout though...
 You may combine with the other semaphore attributes if needed
   xs:attribute name=semaphore-wait-seconds type=xs:int
   default=300/ xs:attribute name=semaphore-sleep
   type=xs:int default=500/
 
 HTH
 
 Jacques
 Please use rather the user MLfor such questions, thanks...
 - Original Message -
 From: Chirag Manocha
 To: jacques.le.r...@les7arts.com
 Sent: Thursday, June 17, 2010 9:11 AM
 Subject: Services semaphore attribute
 
 
 Hi Jacques,
 Can you please tell me about semaphore attribute of service tag.
 
 The scenario is when I am getting multiple request(request is
 calling a service) then I want the service to be called in
 sequence rather than parallel,
 
 If you can provide some links to documentation that will be help,
 
 Thanks and Regards
 -- Chirag Manocha
 +91-98735-47457



smime.p7s
Description: S/MIME cryptographic signature


Re: Services semaphore attribute

2010-06-17 Thread Chirag Manocha
Which code ? Framework ?

While searching on topic I found this
http://ofbiz.markmail.org/search/?q=Semaphore#query:Semaphore%20list%3Aorg.apache.ofbiz.user+page:3+mid:ai2oszstroga6fpx+state:results

Jacques, How did u resolve that ? :-)


Regards 
-- 
Chirag Manocha 
Emforium Pvt. Ltd. 
Contact :- +91-98735-47457, +91-98263-19099 
Please don't print this Email unless you really need to - this will preserve 
trees on planet earth. 

- Original Message -
 From: Scott Gray scott.g...@hotwaxmedia.com
 To: user@ofbiz.apache.org
 Sent: Thursday, June 17, 2010 3:11:44 PM
 Subject: Re: Services semaphore attribute

 There could be a bug in the code, the entity definition is correct
 because an entry gets put in that table when a semaphore service is
 begun and then removed when it completes. The presence of a record in
 the entity is the indicator that the semaphore service is being run so
 any subsequent calls need to wait.
 
 Obviously it shouldn't be trying to add another row for the same
 service, it should instead be waiting until the row is removed so that
 it can write a fresh row and begin the next service call in queue.
 
 Regards
 Scott
 
 HotWax Media
 http://www.hotwaxmedia.com
 
 On 17/06/2010, at 9:23 PM, Chirag Manocha wrote:
 
  Thanks Jacques, Scott.
 
  I saw the entity ServiceSemaphore. Why the primary key of this
  entity is serviceName ?
  Like In my case when 10 requests come simultaneously, there is a
  service event in request. Now service needs to be called
  sequentially. Now when I use the semaphore attribute i.e.
  semaphore=wait, It gives exception:-
  Message: SQL Exception while executing the following:INSERT INTO
  public.SERVICE_SEMAPHORE (SERVICE_NAME, LOCK_THREAD, LOCK_TIME,
  LAST_UPDATED_STAMP, LAST_UPDATE
  D_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?,
  ?, ?) (ERROR: duplicate key value violates unique constraint
  pk_service_semaphore)
 
 
  Regards
  -- Chirag Manocha
  Emforium Pvt. Ltd.
  Contact :- +91-98735-47457, +91-98263-19099
  Please don't print this Email unless you really need to - this will
  preserve trees on planet earth.
 
  - Original Message -
  From: Jacques Le Roux jacques.le.r...@les7arts.com
  To: user@ofbiz.apache.org
  Sent: Thursday, June 17, 2010 1:25:34 PM
  Subject: Re: Services semaphore attribute
 
  Right,
  https://cwiki.apache.org/confluence/display/OFBTECH/Service+Engine+Guide
 
  Simply type semaphore in the search box Jacopo implemented in the
  OFBiz main page
 
  Jacques
 
  Scott Gray wrote:
  I'm pretty sure I documented this as part of the service engine
  guide in confluence. I don't have a link handy.
 
  Regards
  Scott
 
  On 17/06/2010, at 7:30 PM, Jacques Le Roux wrote:
 
  Hi Chirag,
 
  I think you are looking to use the wait value of the semaphore
  attribute. Beware of the timeout though...
  You may combine with the other semaphore attributes if needed
xs:attribute name=semaphore-wait-seconds type=xs:int
default=300/ xs:attribute name=semaphore-sleep
type=xs:int default=500/
 
  HTH
 
  Jacques
  Please use rather the user MLfor such questions, thanks...
  - Original Message -
  From: Chirag Manocha
  To: jacques.le.r...@les7arts.com
  Sent: Thursday, June 17, 2010 9:11 AM
  Subject: Services semaphore attribute
 
 
  Hi Jacques,
  Can you please tell me about semaphore attribute of service tag.
 
  The scenario is when I am getting multiple request(request is
  calling a service) then I want the service to be called in
  sequence rather than parallel,
 
  If you can provide some links to documentation that will be help,
 
  Thanks and Regards
  -- Chirag Manocha
  +91-98735-47457


Re: UTF-8 input

2010-06-17 Thread Jacques Le Roux
Thanks for the try Valentin!

Jacques
  - Original Message - 
  From: Валентин Соборников 
  To: Jacques Le Roux 
  Sent: Thursday, June 17, 2010 12:05 PM
  Subject: Re: UTF-8 input


  Hi Jacques

  Does NOT work.
  A situation same, as without a patch.



  Валентин Соборников
  ЗАО ПремиумВин
  г. Киев, ул. Набережно-Крещатицкая 10а
  тел. +38 044 4903120
  факс. +38 044 4903121


  17.06.2010 12:41, Jacques Le Roux пишет: 
Hi Valentin, 

At https://issues.apache.org/jira/browse/OFBIZ-3801 Sascha proposed a 
solution, could you try it please? 

Thanks 

Jacques 

From: Jacques Le Roux jacques.le.r...@les7arts.com 

  Thanks Valentin, 

  I have reopened https://issues.apache.org/jira/browse/OFBIZ-3801 

  Jacques 

  From: V.S. valentin.soborni...@premiumwine.com.ua 



http://ofbiz.135035.n4.nabble.com/svn-commit-r951119-ofbiz-trunk-framework-webapp-src-org-ofbiz-webapp-control-ContextFilter-java-td2242192.html#a2242192
 

-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/UTF-8-input-tp2254499p2257052.html 
Sent from the OFBiz - User mailing list archive at Nabble.com. 









Re: OFBiz - Axax tutorial issue

2010-06-17 Thread sachin kanojiya
hi,

r901367 service is not working in the event type we use
r 916252 on this revision it is working fine


Thanx  Regards,
sachin kanojiya


On Thu, Jun 17, 2010 at 1:24 PM, Jacques Le Roux 
jacques.le.r...@les7arts.com wrote:

 Then the tutorial should have a note about what syntax to use which each
 version...
 Else I'm pretty sure this question will pop up again,

 Could you take care of that Sachin?

 Jacques

 From: sachin kanojiya sach.kanojiy...@gmail.com

  Hi,
 we r using this thing

 event type=service invoke=createPracticePerson/
 response name=success type=request value=json/

 the same problem exist, but if we use

 event type=jsonservice invoke=createPracticePerson /
 response name=success type=none value=json/
or
 event type=jsonservice invoke=createPracticePerson/
 response name=success type=request value=json/

  then we get the proper updated response on same page

 i  think there might be version problem.

 Regard

 Sachin Kanojiya



 On Thu, Jun 17, 2010 at 12:15 PM, Jacques Le Roux 
 jacques.le.r...@les7arts.com wrote:

  Should we not update this tutorial then?

 Jacques

 From: Deepak Dixit deepak.di...@hotwaxmedia.com

  Hello Vaibhav,


 This pattern is changed for calling ajax request. Instead of this we can
 use following pattern:
 response name=success type=request value=json/
 Please refer controller.xml of ecommerce component for more detail info.

 --
 Deepak Dixit


 vaibhav londhe wrote:

  Hello,

 check your request-map in controller.. if your event type=service
 then
 change it to
 event type =jsonservice.

 Thanx  Regards,
 Vaibhav Londhe



 On Wed, Jun 16, 2010 at 3:17 PM, mehdouch mehd...@hotmail.com wrote:



  HI,
 I have downloaded the practice_application_withAjax.tar.gz from the
 tutorial



 https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Tutorial+-+A+Beginners+Development+Guide
 and I found a problem when using the ajax section: this section show
 the
 list of persons and let you create a new person that is normally
 displayed
 in the end of the previus list.

 but in my case, the list is not updated until I click on the
 navigator's
 refresh button ( so what the meaning of using ajax ? )

 any help / suggestion please.


 --
 View this message in context:


 http://ofbiz.135035.n4.nabble.com/OFBiz-Axax-tutorial-issue-tp2257126p2257126.html
 Sent from the OFBiz - User mailing list archive at Nabble.com.















Re: Services semaphore attribute

2010-06-17 Thread Jacques Le Roux

Ha, that's why you asked me directly.

I can't remember clearly but I guess I did not resolve it, else I'd have put a 
word about it.
Also IIRW I did not cross that again

Jacques

From: Chirag Manocha cmano...@emforium.com

Which code ? Framework ?

While searching on topic I found this
http://ofbiz.markmail.org/search/?q=Semaphore#query:Semaphore%20list%3Aorg.apache.ofbiz.user+page:3+mid:ai2oszstroga6fpx+state:results

Jacques, How did u resolve that ? :-)


Regards
--
Chirag Manocha
Emforium Pvt. Ltd.
Contact :- +91-98735-47457, +91-98263-19099
Please don't print this Email unless you really need to - this will preserve 
trees on planet earth.

- Original Message -

From: Scott Gray scott.g...@hotwaxmedia.com
To: user@ofbiz.apache.org
Sent: Thursday, June 17, 2010 3:11:44 PM
Subject: Re: Services semaphore attribute



There could be a bug in the code, the entity definition is correct
because an entry gets put in that table when a semaphore service is
begun and then removed when it completes. The presence of a record in
the entity is the indicator that the semaphore service is being run so
any subsequent calls need to wait.

Obviously it shouldn't be trying to add another row for the same
service, it should instead be waiting until the row is removed so that
it can write a fresh row and begin the next service call in queue.

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 17/06/2010, at 9:23 PM, Chirag Manocha wrote:

 Thanks Jacques, Scott.

 I saw the entity ServiceSemaphore. Why the primary key of this
 entity is serviceName ?
 Like In my case when 10 requests come simultaneously, there is a
 service event in request. Now service needs to be called
 sequentially. Now when I use the semaphore attribute i.e.
 semaphore=wait, It gives exception:-
 Message: SQL Exception while executing the following:INSERT INTO
 public.SERVICE_SEMAPHORE (SERVICE_NAME, LOCK_THREAD, LOCK_TIME,
 LAST_UPDATED_STAMP, LAST_UPDATE
 D_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?,
 ?, ?) (ERROR: duplicate key value violates unique constraint
 pk_service_semaphore)


 Regards
 -- Chirag Manocha
 Emforium Pvt. Ltd.
 Contact :- +91-98735-47457, +91-98263-19099
 Please don't print this Email unless you really need to - this will
 preserve trees on planet earth.

 - Original Message -
 From: Jacques Le Roux jacques.le.r...@les7arts.com
 To: user@ofbiz.apache.org
 Sent: Thursday, June 17, 2010 1:25:34 PM
 Subject: Re: Services semaphore attribute

 Right,
 https://cwiki.apache.org/confluence/display/OFBTECH/Service+Engine+Guide

 Simply type semaphore in the search box Jacopo implemented in the
 OFBiz main page

 Jacques

 Scott Gray wrote:
 I'm pretty sure I documented this as part of the service engine
 guide in confluence. I don't have a link handy.

 Regards
 Scott

 On 17/06/2010, at 7:30 PM, Jacques Le Roux wrote:

 Hi Chirag,

 I think you are looking to use the wait value of the semaphore
 attribute. Beware of the timeout though...
 You may combine with the other semaphore attributes if needed
   xs:attribute name=semaphore-wait-seconds type=xs:int
   default=300/ xs:attribute name=semaphore-sleep
   type=xs:int default=500/

 HTH

 Jacques
 Please use rather the user MLfor such questions, thanks...
 - Original Message -
 From: Chirag Manocha
 To: jacques.le.r...@les7arts.com
 Sent: Thursday, June 17, 2010 9:11 AM
 Subject: Services semaphore attribute


 Hi Jacques,
 Can you please tell me about semaphore attribute of service tag.

 The scenario is when I am getting multiple request(request is
 calling a service) then I want the service to be called in
 sequence rather than parallel,

 If you can provide some links to documentation that will be help,

 Thanks and Regards
 -- Chirag Manocha
 +91-98735-47457







Re: Services semaphore attribute

2010-06-17 Thread Scott Gray
Yes framework, or more specifically the code in the service engine that handles 
the semaphore services.

Regards
Scott

On 17/06/2010, at 10:02 PM, Chirag Manocha wrote:

 Which code ? Framework ?
 
 While searching on topic I found this
 http://ofbiz.markmail.org/search/?q=Semaphore#query:Semaphore%20list%3Aorg.apache.ofbiz.user+page:3+mid:ai2oszstroga6fpx+state:results
 
 Jacques, How did u resolve that ? :-)
 
 
 Regards 
 -- 
 Chirag Manocha 
 Emforium Pvt. Ltd. 
 Contact :- +91-98735-47457, +91-98263-19099 
 Please don't print this Email unless you really need to - this will preserve 
 trees on planet earth. 
 
 - Original Message -
 From: Scott Gray scott.g...@hotwaxmedia.com
 To: user@ofbiz.apache.org
 Sent: Thursday, June 17, 2010 3:11:44 PM
 Subject: Re: Services semaphore attribute
 
 There could be a bug in the code, the entity definition is correct
 because an entry gets put in that table when a semaphore service is
 begun and then removed when it completes. The presence of a record in
 the entity is the indicator that the semaphore service is being run so
 any subsequent calls need to wait.
 
 Obviously it shouldn't be trying to add another row for the same
 service, it should instead be waiting until the row is removed so that
 it can write a fresh row and begin the next service call in queue.
 
 Regards
 Scott
 
 HotWax Media
 http://www.hotwaxmedia.com
 
 On 17/06/2010, at 9:23 PM, Chirag Manocha wrote:
 
 Thanks Jacques, Scott.
 
 I saw the entity ServiceSemaphore. Why the primary key of this
 entity is serviceName ?
 Like In my case when 10 requests come simultaneously, there is a
 service event in request. Now service needs to be called
 sequentially. Now when I use the semaphore attribute i.e.
 semaphore=wait, It gives exception:-
 Message: SQL Exception while executing the following:INSERT INTO
 public.SERVICE_SEMAPHORE (SERVICE_NAME, LOCK_THREAD, LOCK_TIME,
 LAST_UPDATED_STAMP, LAST_UPDATE
 D_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?,
 ?, ?) (ERROR: duplicate key value violates unique constraint
 pk_service_semaphore)
 
 
 Regards
 -- Chirag Manocha
 Emforium Pvt. Ltd.
 Contact :- +91-98735-47457, +91-98263-19099
 Please don't print this Email unless you really need to - this will
 preserve trees on planet earth.
 
 - Original Message -
 From: Jacques Le Roux jacques.le.r...@les7arts.com
 To: user@ofbiz.apache.org
 Sent: Thursday, June 17, 2010 1:25:34 PM
 Subject: Re: Services semaphore attribute
 
 Right,
 https://cwiki.apache.org/confluence/display/OFBTECH/Service+Engine+Guide
 
 Simply type semaphore in the search box Jacopo implemented in the
 OFBiz main page
 
 Jacques
 
 Scott Gray wrote:
 I'm pretty sure I documented this as part of the service engine
 guide in confluence. I don't have a link handy.
 
 Regards
 Scott
 
 On 17/06/2010, at 7:30 PM, Jacques Le Roux wrote:
 
 Hi Chirag,
 
 I think you are looking to use the wait value of the semaphore
 attribute. Beware of the timeout though...
 You may combine with the other semaphore attributes if needed
  xs:attribute name=semaphore-wait-seconds type=xs:int
  default=300/ xs:attribute name=semaphore-sleep
  type=xs:int default=500/
 
 HTH
 
 Jacques
 Please use rather the user MLfor such questions, thanks...
 - Original Message -
 From: Chirag Manocha
 To: jacques.le.r...@les7arts.com
 Sent: Thursday, June 17, 2010 9:11 AM
 Subject: Services semaphore attribute
 
 
 Hi Jacques,
 Can you please tell me about semaphore attribute of service tag.
 
 The scenario is when I am getting multiple request(request is
 calling a service) then I want the service to be called in
 sequence rather than parallel,
 
 If you can provide some links to documentation that will be help,
 
 Thanks and Regards
 -- Chirag Manocha
 +91-98735-47457



smime.p7s
Description: S/MIME cryptographic signature


Re: OFBiz - Axax tutorial issue

2010-06-17 Thread Jacques Le Roux

Thanks, so let's forget it

Jacques

From: sachin kanojiya sach.kanojiy...@gmail.com
hi,

r901367 service is not working in the event type we use
r 916252 on this revision it is working fine


Thanx  Regards,
sachin kanojiya


On Thu, Jun 17, 2010 at 1:24 PM, Jacques Le Roux 
jacques.le.r...@les7arts.com wrote:


Then the tutorial should have a note about what syntax to use which each
version...
Else I'm pretty sure this question will pop up again,

Could you take care of that Sachin?

Jacques

From: sachin kanojiya sach.kanojiy...@gmail.com

 Hi,

we r using this thing

event type=service invoke=createPracticePerson/
response name=success type=request value=json/

the same problem exist, but if we use

event type=jsonservice invoke=createPracticePerson /
response name=success type=none value=json/
   or
event type=jsonservice invoke=createPracticePerson/
response name=success type=request value=json/

 then we get the proper updated response on same page

i  think there might be version problem.

Regard

Sachin Kanojiya



On Thu, Jun 17, 2010 at 12:15 PM, Jacques Le Roux 
jacques.le.r...@les7arts.com wrote:

 Should we not update this tutorial then?


Jacques

From: Deepak Dixit deepak.di...@hotwaxmedia.com

 Hello Vaibhav,



This pattern is changed for calling ajax request. Instead of this we can
use following pattern:
response name=success type=request value=json/
Please refer controller.xml of ecommerce component for more detail info.

--
Deepak Dixit


vaibhav londhe wrote:

 Hello,


check your request-map in controller.. if your event type=service
then
change it to
event type =jsonservice.

Thanx  Regards,
Vaibhav Londhe



On Wed, Jun 16, 2010 at 3:17 PM, mehdouch mehd...@hotmail.com wrote:



 HI,

I have downloaded the practice_application_withAjax.tar.gz from the
tutorial



https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Tutorial+-+A+Beginners+Development+Guide
and I found a problem when using the ajax section: this section show
the
list of persons and let you create a new person that is normally
displayed
in the end of the previus list.

but in my case, the list is not updated until I click on the
navigator's
refresh button ( so what the meaning of using ajax ? )

any help / suggestion please.


--
View this message in context:


http://ofbiz.135035.n4.nabble.com/OFBiz-Axax-tutorial-issue-tp2257126p2257126.html
Sent from the OFBiz - User mailing list archive at Nabble.com.























Consona Corporation Acquires Open-Source and Cloud ERP Software Provider Compiere Inc.

2010-06-17 Thread Jacques Le Roux

Thanks to Christian (on Twitter),

http://www.erpgraveyard.com/2010/06/consona-compiere.html

Jacques



Re: UTF-8 input

2010-06-17 Thread Jacques Le Roux

Hi Valentin,

This time, I'm quite sure Sascha fixed the problem (it's almost the same than 
before + a test)
https://issues.apache.org/jira/browse/OFBIZ-3801 could you try it please?

Thanks

Jacques

From: Jacques Le Roux jacques.le.r...@les7arts.com
Thanks for the try Valentin!

Jacques
 - Original Message - 
 From: Валентин Соборников

 To: Jacques Le Roux
 Sent: Thursday, June 17, 2010 12:05 PM
 Subject: Re: UTF-8 input


 Hi Jacques

 Does NOT work.
 A situation same, as without a patch.



 Валентин Соборников
 ЗАО ПремиумВин
 г. Киев, ул. Набережно-Крещатицкая 10а
 тел. +38 044 4903120
 факс. +38 044 4903121


 17.06.2010 12:41, Jacques Le Roux пишет:
   Hi Valentin,

   At https://issues.apache.org/jira/browse/OFBIZ-3801 Sascha proposed a 
solution, could you try it please?

   Thanks

   Jacques

   From: Jacques Le Roux jacques.le.r...@les7arts.com

 Thanks Valentin,

 I have reopened https://issues.apache.org/jira/browse/OFBIZ-3801

 Jacques

 From: V.S. valentin.soborni...@premiumwine.com.ua


   
http://ofbiz.135035.n4.nabble.com/svn-commit-r951119-ofbiz-trunk-framework-webapp-src-org-ofbiz-webapp-control-ContextFilter-java-td2242192.html#a2242192

   -- 
   View this message in context: http://ofbiz.135035.n4.nabble.com/UTF-8-input-tp2254499p2257052.html

   Sent from the OFBiz - User mailing list archive at Nabble.com.











Catalog Security Group

2010-06-17 Thread kaliagaurav

Hi All

I have created two Catalogs and associated them with two different Parties
respectively. And I have created Username/Password for one of the party and
added a group to it CATALOGADMIN Catalog Admin group, has all catalog
permissions.

Now I want that one party should not be able to view any other Catalog
(Demo,Test,Rental) except the one which is associated with that.

Please suggest how can i achieve this.

TIA

Regards
Gaurav
-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Catalog-Security-Group-tp2258950p2258950.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: UTF-8 input

2010-06-17 Thread V.S.

Yes!
Now works correctly. 
Thanks.
-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/UTF-8-input-tp2254499p2258974.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: UTF-8 input

2010-06-17 Thread Jacques Le Roux

Thanks Valentin!

Jacques

From: V.S. valentin.soborni...@premiumwine.com.ua


Yes!
Now works correctly. 
Thanks.

--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/UTF-8-input-tp2254499p2258974.html
Sent from the OFBiz - User mailing list archive at Nabble.com.





OFBiz business

2010-06-17 Thread pavan kesar
Hi All,
How do you find the ofbiz business.  Now that, the economy is picking up, do
you see companies taking initiatives for ERP, CRM and ECommerce deployments

Where do companies advertise for ofbiz consultants.

Hoping to get positive replies.

With regards
Pavan.


Re: OFBiz business

2010-06-17 Thread Jacques Le Roux

From: pavan kesar pavan.ke...@gmail.com

Hi All,
How do you find the ofbiz business.  Now that, the economy is picking up, do


Not in Europe :/


you see companies taking initiatives for ERP, CRM and ECommerce deployments


Not much in France.


Where do companies advertise for ofbiz consultants.


Looks for service provider in wiki from main page

Jacques


Hoping to get positive replies.

With regards
Pavan.





Re: APIs for ofBiz

2010-06-17 Thread BJ Freeman

also depends on what is being done.
if your not using a public face like ecommerce then if the intranets is 
secure so are the apps.

Boeing for instance sets up security through routers to different locations.
I work with an API for Yahoo. They require the level of audit that Visa 
requires, since they use Visa in their payment provider. it takes months 
to get approved and you have to have the customer base that makes it 
worthwhile for them to validate you.



=
BJ Freeman
http://bjfreeman.elance.com
Strategic Power Office with Supplier Automation  
http://www.businessesnetwork.com/automation/viewforum.php?f=52
Specialtymarket.com  http://www.specialtymarket.com/

Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man
Linkedin 
http://www.linkedin.com/profile?viewProfile=key=1237480locale=en_UStrk=tab_pro



Milind Parikh sent the following on 6/17/2010 3:27 PM:

I am sure that some of you have seen the Slashdot Story on APIs for
retailers.
http://developers.slashdot.org/story/10/06/17/1837240/Developers-New-Opportunity-mdash-Retailers-Open-APIs.


I have been thinking (and unfortunately just thinking) about the feasibility
of integrating this into ofBiz for some time. This dovetails into Pavan's
recent question about ofBiz. Anyways since security would need to be
paramount in this case, I am wondering whether at a higher level is ofBiz
secure enough? I  know that the question will devolve into secure enough for
what.  My point in asking the question is to let the question devolve for
gathering the collective wisdom. Secure enough for hosting an retailer's
catalog online and provide queryable APIs to generate more sales (and
provide limited inventory visibility).

Regards
-- Milind





Re: APIs for ofBiz

2010-06-17 Thread BJ Freeman

BTW EDI is a form of API as well.
it uses AS1 and AS2 which required encrypted and security keys.
The the service I provide, for suppler inventory, I use security keys.
this pretty much he practice for google, yahoo, amazon.

=
BJ Freeman
http://bjfreeman.elance.com
Strategic Power Office with Supplier Automation  
http://www.businessesnetwork.com/automation/viewforum.php?f=52
Specialtymarket.com  http://www.specialtymarket.com/

Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man
Linkedin 
http://www.linkedin.com/profile?viewProfile=key=1237480locale=en_UStrk=tab_pro



Milind Parikh sent the following on 6/17/2010 3:27 PM:

I am sure that some of you have seen the Slashdot Story on APIs for
retailers.
http://developers.slashdot.org/story/10/06/17/1837240/Developers-New-Opportunity-mdash-Retailers-Open-APIs.


I have been thinking (and unfortunately just thinking) about the feasibility
of integrating this into ofBiz for some time. This dovetails into Pavan's
recent question about ofBiz. Anyways since security would need to be
paramount in this case, I am wondering whether at a higher level is ofBiz
secure enough? I  know that the question will devolve into secure enough for
what.  My point in asking the question is to let the question devolve for
gathering the collective wisdom. Secure enough for hosting an retailer's
catalog online and provide queryable APIs to generate more sales (and
provide limited inventory visibility).

Regards
-- Milind





Re: Catalog Security Group

2010-06-17 Thread Rishi Solanki
Can ProdCatalogRole entity by setting party role as owner of that catalog.
In your permission service out true/false on the basis of this record.

Rishi Solanki
Manager, Enterprise Software Development
HotWax Media Pvt. Ltd.
Direct: +91-9893287847
http://www.hotwaxmedia.com


On Thu, Jun 17, 2010 at 8:21 PM, kaliagaurav gaurav.ka...@techblue.co.ukwrote:


 Hi All

 I have created two Catalogs and associated them with two different Parties
 respectively. And I have created Username/Password for one of the party and
 added a group to it CATALOGADMIN Catalog Admin group, has all catalog
 permissions.

 Now I want that one party should not be able to view any other Catalog
 (Demo,Test,Rental) except the one which is associated with that.

 Please suggest how can i achieve this.

 TIA

 Regards
 Gaurav
 --
 View this message in context:
 http://ofbiz.135035.n4.nabble.com/Catalog-Security-Group-tp2258950p2258950.html
 Sent from the OFBiz - User mailing list archive at Nabble.com.