RE: render the select element as a list box in ftl

2009-06-16 Thread Jack Liu
Hi Ashish,
It works properly.

-Original Message-
From: Ashish Nagar [mailto:ashish.na...@hotwaxmedia.com] 
Sent: 2009年6月16日 13:20
To: user@ofbiz.apache.org
Subject: Re: render the select element as a list box in ftl

Hello Jack,

Can you please check that can you make any option default selected using
option selected value=bb/option?

Thanks  Regards,
--
Ashish Nagar

Jack Liu wrote:
 But why does it render normally when I copy it from ftl page to htm page?
 It's the problem of ftl or OFBiz itself?

 -Original Message-
 From: Scott Gray [mailto:scott.g...@hotwaxmedia.com] 
 Sent: 2009年6月16日 11:13
 To: user@ofbiz.apache.org
 Subject: Re: render the select element as a list box in ftl

 Good question, I don't know but I'm sure google will.

 Regards
 Scott

 - Original Message -
 From: Jack Liu jack@aicent.com
 To: user@ofbiz.apache.org
 Sent: Tuesday, June 16, 2009 1:07:21 PM (GMT+1000) Auto-Detected
 Subject: RE: render the select element as a list box  in ftl

 Scott, you are right. I can't see any list box in Quick Admin as rendered in 
 my own page.
 I use ie7.0. How should I do with this browser?
 Thank you.

 -Original Message-
 From: Scott Gray [mailto:scott.g...@hotwaxmedia.com] 
 Sent: 2009年6月16日 10:42
 To: user@ofbiz.apache.org
 Subject: Re: render the select element as a list box in ftl

 Hrmm might be something specific to your browser, there's an example in this 
 file:
 EditProductQuickAdmin.ftl
 Viewable by Catalog - GZ-1000 - Quick Admin

 If that doesn't display properly then you'll need to dig into why not for 
 your browser.

 Regards
 Scott

 - Original Message -
 From: Jack Liu jack@aicent.com
 To: user@ofbiz.apache.org
 Sent: Tuesday, June 16, 2009 12:27:53 PM (GMT+1000) Auto-Detected
 Subject: RE: render the select element as a list box  in ftl

 Neither of multiple=multiple and multiple=true works.

 -Original Message-
 From: Scott Gray [mailto:scott.g...@hotwaxmedia.com] 
 Sent: 2009年6月16日 10:24
 To: user@ofbiz.apache.org
 Subject: Re: render the select element as a list box in ftl

 Try multiple=multiple

 Regards
 Scott

 HotWax Media
 http://www.hotwaxmedia.com
 801.657.2909

 - Original Message -
 From: Jack Liu jack@aicent.com
 To: user@ofbiz.apache.org
 Sent: Tuesday, June 16, 2009 12:20:10 PM (GMT+1000) Auto-Detected
 Subject: render the select element as a list box  in ftl

 Hi, All
 I took me about 1 hour to solve the problem, but failed at last.
 To me, I think it's a simple question. I just want to render the select
 element as a list box in ftl page and allow users to make multiple
 selections from the list of options.
 Code lists below:
tr
   td class=labelTestMulti/td
   tdselect name=testmul size=2 multiple
   option value=bb/option
   option value=aa/option
   option value=cc/option
/select
   /td
/tr
 But what I get is nothing but a little box with a horizontal line in it.
 When I copied it to html page, it works.

 Help me please, any suggestion is appreciated.

 Best Regards,

 Jack Liu 

   



Re: How Shark workflow works?

2009-06-16 Thread Ashish Vijaywargiya
FYI the mailing list doesn't support big attachment (As I have noticed 
that you can attach text files, like patch files but not images are 
allowed).
To overcome from this issue either you can create new jira issue for the 
discussion on Shark and attach file there for reference
or you can attach image on Nabble forum and refer the link on the 
mailing list.


--
Ashish

pardeep.ru...@lntinfotech.com wrote:


Hi,
I am also working on Shark in OFBiz. I  have read all of the previous 
replies regarding shark workflow ,
but in any of the mails I didn't get a clear picture how can I use 
shark workflow , as i want to use it

instead of ECAs and EDAs in OFBiz.

I have enabled the Shark Component. After enabling it I am able to see 
the *Shark Framework* with three links:

1.  XPDL Repositroy
2.  Process List
3.  WorkFlow List

I m attaching the screenshots for that which is(Fig A)

After that I clicked on* XPDL Repository* and Uploaded a 
*ofbiz_test.xpdl* and succesfully completed that

(Fig B).

Now when i click on *Process List* link on the main page  i am able to 
see the two workflow process defined in

the ofbiz_test.xpdl as shown in (Fig C)

And on clicking the *workflow List* link in didn't get anything 
there.(Fig D)


Now my problem is how to proceed further to implement workflow in OFBiz ?


Any help in this will be highly appreciated.

 





Thanks  Regards
Pardeep Ruhil
LT Infotech Ltd
Mumbai
*
Larsen  Toubro Infotech Ltd.*_
__www.Lntinfotech.com_ http://www.lntinfotech.com/

This Document is classified as:

LT Infotech Proprietary   LT Infotech Confidential   LT Infotech 
Internal Use Only   LT Infotech General Business  

This Email may contain confidential or privileged information for the 
intended recipient (s) If you are not the intended recipient, please 
do not use or disseminate the information, notify the sender and 
delete it from your system.



*Jacques Le Roux jacques.le.r...@les7arts.com*

06/15/2009 04:54 AM
Please respond to
user@ofbiz.apache.org



To
user@ofbiz.apache.org
cc

Subject
Re: How Shark workflow works?










smime.p7s
Description: S/MIME Cryptographic Signature


Re: Sending communication event to Party Group

2009-06-16 Thread Ashish Vijaywargiya
Hello Farouk,

I guess personal email are good option for such type of communication ;o)

--
Ashish

On Mon, Jun 15, 2009 at 9:02 PM, farouk alhassan osbert252...@yahoo.comwrote:

 Hi Kojo,
 I know this is out of context but just wanted to ask are you related to
 Gambrah Sampeney Kwabena???
 He was my mate at UNI




RE: render the select element as a list box in ftl

2009-06-16 Thread Jack Liu
Hi Scott.
I tried ie6.0, mozilla and firefox.
None of them renders the select element as a list box properly.




-Original Message-
From: Scott Gray [mailto:scott.g...@hotwaxmedia.com] 
Sent: 2009年6月16日 10:42
To: user@ofbiz.apache.org
Subject: Re: render the select element as a list box in ftl

Hrmm might be something specific to your browser, there's an example in this 
file:
EditProductQuickAdmin.ftl
Viewable by Catalog - GZ-1000 - Quick Admin

If that doesn't display properly then you'll need to dig into why not for your 
browser.

Regards
Scott

- Original Message -
From: Jack Liu jack@aicent.com
To: user@ofbiz.apache.org
Sent: Tuesday, June 16, 2009 12:27:53 PM (GMT+1000) Auto-Detected
Subject: RE: render the select element as a list box  in ftl

Neither of multiple=multiple and multiple=true works.

-Original Message-
From: Scott Gray [mailto:scott.g...@hotwaxmedia.com] 
Sent: 2009年6月16日 10:24
To: user@ofbiz.apache.org
Subject: Re: render the select element as a list box in ftl

Try multiple=multiple

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com
801.657.2909

- Original Message -
From: Jack Liu jack@aicent.com
To: user@ofbiz.apache.org
Sent: Tuesday, June 16, 2009 12:20:10 PM (GMT+1000) Auto-Detected
Subject: render the select element as a list box  in ftl

Hi, All
I took me about 1 hour to solve the problem, but failed at last.
To me, I think it's a simple question. I just want to render the select
element as a list box in ftl page and allow users to make multiple
selections from the list of options.
Code lists below:
   tr
td class=labelTestMulti/td
tdselect name=testmul size=2 multiple
option value=bb/option
option value=aa/option
option value=cc/option
 /select
/td
   /tr
But what I get is nothing but a little box with a horizontal line in it.
When I copied it to html page, it works.

Help me please, any suggestion is appreciated.

Best Regards,

Jack Liu 



Re: render the select element as a list box in ftl

2009-06-16 Thread Scott Gray
That's weird it works on Safari and I'm sure I tested it on Firefox last time I 
was working on that page.

You haven't modified the css have you?  Or better yet have you tested the quick 
admin page using the demo server?

Regards
Scott

- Original Message -
From: Jack Liu jack@aicent.com
To: user@ofbiz.apache.org
Sent: Tuesday, June 16, 2009 6:08:19 PM (GMT+1000) Auto-Detected
Subject: RE: render the select element as a list box  in ftl

Hi Scott.
I tried ie6.0, mozilla and firefox.
None of them renders the select element as a list box properly.




-Original Message-
From: Scott Gray [mailto:scott.g...@hotwaxmedia.com] 
Sent: 2009年6月16日 10:42
To: user@ofbiz.apache.org
Subject: Re: render the select element as a list box in ftl

Hrmm might be something specific to your browser, there's an example in this 
file:
EditProductQuickAdmin.ftl
Viewable by Catalog - GZ-1000 - Quick Admin

If that doesn't display properly then you'll need to dig into why not for your 
browser.

Regards
Scott

- Original Message -
From: Jack Liu jack@aicent.com
To: user@ofbiz.apache.org
Sent: Tuesday, June 16, 2009 12:27:53 PM (GMT+1000) Auto-Detected
Subject: RE: render the select element as a list box  in ftl

Neither of multiple=multiple and multiple=true works.

-Original Message-
From: Scott Gray [mailto:scott.g...@hotwaxmedia.com] 
Sent: 2009年6月16日 10:24
To: user@ofbiz.apache.org
Subject: Re: render the select element as a list box in ftl

Try multiple=multiple

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com
801.657.2909

- Original Message -
From: Jack Liu jack@aicent.com
To: user@ofbiz.apache.org
Sent: Tuesday, June 16, 2009 12:20:10 PM (GMT+1000) Auto-Detected
Subject: render the select element as a list box  in ftl

Hi, All
I took me about 1 hour to solve the problem, but failed at last.
To me, I think it's a simple question. I just want to render the select
element as a list box in ftl page and allow users to make multiple
selections from the list of options.
Code lists below:
   tr
td class=labelTestMulti/td
tdselect name=testmul size=2 multiple
option value=bb/option
option value=aa/option
option value=cc/option
 /select
/td
   /tr
But what I get is nothing but a little box with a horizontal line in it.
When I copied it to html page, it works.

Help me please, any suggestion is appreciated.

Best Regards,

Jack Liu 



RE: render the select element as a list box in ftl

2009-06-16 Thread Jack Liu
No, I use the default ccs.
I just tested, quick admin page is ok with Maxthon but ie6.0 and 7.0 don't 
render it correctly.

-Original Message-
From: Scott Gray [mailto:scott.g...@hotwaxmedia.com] 
Sent: 2009年6月16日 16:22
To: user@ofbiz.apache.org
Subject: Re: render the select element as a list box in ftl

That's weird it works on Safari and I'm sure I tested it on Firefox last time I 
was working on that page.

You haven't modified the css have you?  Or better yet have you tested the quick 
admin page using the demo server?

Regards
Scott

- Original Message -
From: Jack Liu jack@aicent.com
To: user@ofbiz.apache.org
Sent: Tuesday, June 16, 2009 6:08:19 PM (GMT+1000) Auto-Detected
Subject: RE: render the select element as a list box  in ftl

Hi Scott.
I tried ie6.0, mozilla and firefox.
None of them renders the select element as a list box properly.




-Original Message-
From: Scott Gray [mailto:scott.g...@hotwaxmedia.com] 
Sent: 2009年6月16日 10:42
To: user@ofbiz.apache.org
Subject: Re: render the select element as a list box in ftl

Hrmm might be something specific to your browser, there's an example in this 
file:
EditProductQuickAdmin.ftl
Viewable by Catalog - GZ-1000 - Quick Admin

If that doesn't display properly then you'll need to dig into why not for your 
browser.

Regards
Scott

- Original Message -
From: Jack Liu jack@aicent.com
To: user@ofbiz.apache.org
Sent: Tuesday, June 16, 2009 12:27:53 PM (GMT+1000) Auto-Detected
Subject: RE: render the select element as a list box  in ftl

Neither of multiple=multiple and multiple=true works.

-Original Message-
From: Scott Gray [mailto:scott.g...@hotwaxmedia.com] 
Sent: 2009年6月16日 10:24
To: user@ofbiz.apache.org
Subject: Re: render the select element as a list box in ftl

Try multiple=multiple

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com
801.657.2909

- Original Message -
From: Jack Liu jack@aicent.com
To: user@ofbiz.apache.org
Sent: Tuesday, June 16, 2009 12:20:10 PM (GMT+1000) Auto-Detected
Subject: render the select element as a list box  in ftl

Hi, All
I took me about 1 hour to solve the problem, but failed at last.
To me, I think it's a simple question. I just want to render the select
element as a list box in ftl page and allow users to make multiple
selections from the list of options.
Code lists below:
   tr
td class=labelTestMulti/td
tdselect name=testmul size=2 multiple
option value=bb/option
option value=aa/option
option value=cc/option
 /select
/td
   /tr
But what I get is nothing but a little box with a horizontal line in it.
When I copied it to html page, it works.

Help me please, any suggestion is appreciated.

Best Regards,

Jack Liu 



RE: render the select element as a list box in ftl

2009-06-16 Thread Jack Liu
Sorry, It's Firefox not Maxthon can render it correctly. 

-Original Message-
From: Jack Liu [mailto:jack@aicent.com] 
Sent: 2009年6月16日 16:36
To: user@ofbiz.apache.org
Subject: RE: render the select element as a list box in ftl

No, I use the default ccs.
I just tested, quick admin page is ok with Maxthon but ie6.0 and 7.0 don't 
render it correctly.

-Original Message-
From: Scott Gray [mailto:scott.g...@hotwaxmedia.com] 
Sent: 2009年6月16日 16:22
To: user@ofbiz.apache.org
Subject: Re: render the select element as a list box in ftl

That's weird it works on Safari and I'm sure I tested it on Firefox last time I 
was working on that page.

You haven't modified the css have you?  Or better yet have you tested the quick 
admin page using the demo server?

Regards
Scott

- Original Message -
From: Jack Liu jack@aicent.com
To: user@ofbiz.apache.org
Sent: Tuesday, June 16, 2009 6:08:19 PM (GMT+1000) Auto-Detected
Subject: RE: render the select element as a list box  in ftl

Hi Scott.
I tried ie6.0, mozilla and firefox.
None of them renders the select element as a list box properly.




-Original Message-
From: Scott Gray [mailto:scott.g...@hotwaxmedia.com] 
Sent: 2009年6月16日 10:42
To: user@ofbiz.apache.org
Subject: Re: render the select element as a list box in ftl

Hrmm might be something specific to your browser, there's an example in this 
file:
EditProductQuickAdmin.ftl
Viewable by Catalog - GZ-1000 - Quick Admin

If that doesn't display properly then you'll need to dig into why not for your 
browser.

Regards
Scott

- Original Message -
From: Jack Liu jack@aicent.com
To: user@ofbiz.apache.org
Sent: Tuesday, June 16, 2009 12:27:53 PM (GMT+1000) Auto-Detected
Subject: RE: render the select element as a list box  in ftl

Neither of multiple=multiple and multiple=true works.

-Original Message-
From: Scott Gray [mailto:scott.g...@hotwaxmedia.com] 
Sent: 2009年6月16日 10:24
To: user@ofbiz.apache.org
Subject: Re: render the select element as a list box in ftl

Try multiple=multiple

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com
801.657.2909

- Original Message -
From: Jack Liu jack@aicent.com
To: user@ofbiz.apache.org
Sent: Tuesday, June 16, 2009 12:20:10 PM (GMT+1000) Auto-Detected
Subject: render the select element as a list box  in ftl

Hi, All
I took me about 1 hour to solve the problem, but failed at last.
To me, I think it's a simple question. I just want to render the select
element as a list box in ftl page and allow users to make multiple
selections from the list of options.
Code lists below:
   tr
td class=labelTestMulti/td
tdselect name=testmul size=2 multiple
option value=bb/option
option value=aa/option
option value=cc/option
 /select
/td
   /tr
But what I get is nothing but a little box with a horizontal line in it.
When I copied it to html page, it works.

Help me please, any suggestion is appreciated.

Best Regards,

Jack Liu 



Re: render the select element as a list box in ftl

2009-06-16 Thread Ashish Nagar
Please verify that the page source of the generated web page contains
the desired dropdown code only once. You can check it using 'view page
source' option.

--
Ashish Nagar

Jack Liu wrote:
 Hi Ashish,
 It works properly.

 -Original Message-
 From: Ashish Nagar [mailto:ashish.na...@hotwaxmedia.com] 
 Sent: 2009年6月16日 13:20
 To: user@ofbiz.apache.org
 Subject: Re: render the select element as a list box in ftl

 Hello Jack,

 Can you please check that can you make any option default selected using
 option selected value=bb/option?

 Thanks  Regards,
 --
 Ashish Nagar

 Jack Liu wrote:
   
 But why does it render normally when I copy it from ftl page to htm page?
 It's the problem of ftl or OFBiz itself?

 -Original Message-
 From: Scott Gray [mailto:scott.g...@hotwaxmedia.com] 
 Sent: 2009年6月16日 11:13
 To: user@ofbiz.apache.org
 Subject: Re: render the select element as a list box in ftl

 Good question, I don't know but I'm sure google will.

 Regards
 Scott

 - Original Message -
 From: Jack Liu jack@aicent.com
 To: user@ofbiz.apache.org
 Sent: Tuesday, June 16, 2009 1:07:21 PM (GMT+1000) Auto-Detected
 Subject: RE: render the select element as a list box  in ftl

 Scott, you are right. I can't see any list box in Quick Admin as rendered in 
 my own page.
 I use ie7.0. How should I do with this browser?
 Thank you.

 -Original Message-
 From: Scott Gray [mailto:scott.g...@hotwaxmedia.com] 
 Sent: 2009年6月16日 10:42
 To: user@ofbiz.apache.org
 Subject: Re: render the select element as a list box in ftl

 Hrmm might be something specific to your browser, there's an example in this 
 file:
 EditProductQuickAdmin.ftl
 Viewable by Catalog - GZ-1000 - Quick Admin

 If that doesn't display properly then you'll need to dig into why not for 
 your browser.

 Regards
 Scott

 - Original Message -
 From: Jack Liu jack@aicent.com
 To: user@ofbiz.apache.org
 Sent: Tuesday, June 16, 2009 12:27:53 PM (GMT+1000) Auto-Detected
 Subject: RE: render the select element as a list box  in ftl

 Neither of multiple=multiple and multiple=true works.

 -Original Message-
 From: Scott Gray [mailto:scott.g...@hotwaxmedia.com] 
 Sent: 2009年6月16日 10:24
 To: user@ofbiz.apache.org
 Subject: Re: render the select element as a list box in ftl

 Try multiple=multiple

 Regards
 Scott

 HotWax Media
 http://www.hotwaxmedia.com
 801.657.2909

 - Original Message -
 From: Jack Liu jack@aicent.com
 To: user@ofbiz.apache.org
 Sent: Tuesday, June 16, 2009 12:20:10 PM (GMT+1000) Auto-Detected
 Subject: render the select element as a list box  in ftl

 Hi, All
 I took me about 1 hour to solve the problem, but failed at last.
 To me, I think it's a simple question. I just want to render the select
 element as a list box in ftl page and allow users to make multiple
 selections from the list of options.
 Code lists below:
tr
  td class=labelTestMulti/td
  tdselect name=testmul size=2 multiple
  option value=bb/option
  option value=aa/option
  option value=cc/option
   /select
  /td
/tr
 But what I get is nothing but a little box with a horizontal line in it.
 When I copied it to html page, it works.

 Help me please, any suggestion is appreciated.

 Best Regards,

 Jack Liu 

   
 

   



Re: Are OFBiz portlets JSR 168 compliant?

2009-06-16 Thread Shi Jinghai
We'll do this in this year (view part only, edit may be in next year).
We have completed view portlets for viewvc, svn, archiva, bugzilla and
opencms.

We'll put the result here:
http://langhua.org/

Shi Jinghai/Beijing Langhua Ltd.


在 2009-06-15一的 21:37 -0400,Ruth Hoffman写道:
 Thanks David for clarifying. I have not had a chance to look at the My 
 Portal application - but will do so soon.
 For what it is worth, I never thought much about the portal/portlet (JSR 
 168/268) fade [way too much work for such a small return] until 
 recently when I bumped into an entire industry built around the 
 Websphere Portal Server and all the non-existent or impossible to use 
 software that IBM had talked customers into buying.  Seems like lots of 
 people spent lots of money implementing Websphere Portal Server and have 
 little to show for it, except for some portlets.
 
 Ruth
 
 
 David E Jones wrote:
  No, the portal/portlet stuff in OFBiz doesn't have much to do with JSR 
  168/268. In discussions about that standard it didn't seem to help 
  with what we wanted to do in OFBiz, and in fact it would cause some 
  problems like not being able to use Screen Widget definitions as 
  portlets (the OFBiz portlet implementation is basically a database 
  record pointing to a screen definition).
 
  You may have already done this, but the My Portal application is a 
  great place to look at what Bruno, Hans, and others have done with 
  this. You can create your own portal pages and configure any existing 
  portal page (for the OOTB pages this creates a user-specific variant 
  of the portal page), configure columns on the pages, and 
  add/remove/move portlets. Also in the specialpurpose/myportal 
  component there are lots of good examples of how to configure portal 
  pages and configure/implement portlets (often reusing all or parts of 
  other screens in OFBiz).
 
  -David
 
 
  On Jun 15, 2009, at 12:44 PM, Ruth Hoffman wrote:
 
  Hi All:
  Are these portlets in the JSR 168 sense? Has someone integrated a 
  portal server to work with OFBiz and Tomcat? If so, that is really 
  neat! Any documentation?
 
  Regards,
  Ruth
 
 
 



Gant-chart

2009-06-16 Thread Torstein Hegbom
I am testing the project manager application.

 

It seems to me that the project manager application gantt-diagram does not
display correctly. 

 

Am I wrong? It seems that the duration is not correctly calculated.

 

Look at the following link:

https://demo904.ofbiz.org/projectmgr/control/ganttChart?projectId=9000

 

Thanks,

Torstein Hegbom



running unit-tests for party component

2009-06-16 Thread aswath narayana
Hello,
I was trying to run unit-tests.  I did the following

ant run-single-test-suite -Dcomponent=party  console

Thanks
-Aswath

I got the following errors in the console

 [java] 2009-06-16 16:36:45,656 (main) [ JunitContainer.java:73
:INFO ] [JUNIT] Pass: true | # Tests: 4 | # Failed: 0 # Errors: 0
 [java] 2009-06-16 16:36:45,656 (main) [ JunitContainer.java:76
:INFO ] [JUNIT] - ERRORS
- [JUNIT]
 [java] 2009-06-16 16:36:45,656 (main) [ JunitContainer.java:79
:INFO ] None
 [java] 2009-06-16 16:36:45,656 (main) [ JunitContainer.java:85
:INFO ] [JUNIT]
-- [JUNIT]
 [java] org.ofbiz.base.start.StartupException: Cannot start()
org.ofbiz.testtools.TestRunContainer (No tests found (${test.component} /
${test.suiteName} / null))
 [java] at
org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:103)
 [java] at
org.ofbiz.base.start.Start.startStartLoaders(Start.java:271)
 [java] at org.ofbiz.base.start.Start.startServer(Start.java:320)
 [java] at org.ofbiz.base.start.Start.start(Start.java:324)
 [java] at org.ofbiz.base.start.Start.main(Start.java:407)
 [java] org.ofbiz.base.container.ContainerException: No tests found
(${test.component} / ${test.suiteName} / null)
 [java] at
org.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:112)
 [java] at
org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:101)
 [java] at
org.ofbiz.base.start.Start.startStartLoaders(Start.java:271)
 [java] at org.ofbiz.base.start.Start.startServer(Start.java:320)
 [java] 2009-06-16 16:36:45,656 (main) [ JunitContainer.java:86
:INFO ] [JUNIT]  FAILURES
 [JUNIT]
 [java] at org.ofbiz.base.start.Start.start(Start.java:324)
 [java] at org.ofbiz.base.start.Start.main(Start.java:407)
 [java] org.ofbiz.base.container.ContainerException: No tests found
(${test.component} / ${test.suiteName} / null)


Re: running unit-tests for party component

2009-06-16 Thread Ashish Vijaywargiya
I haven't tried this ant target. Will explore it soon and will let you 
know how to use it.


In the meantime you can try following command to test party component:
java -Xmx1024M -jar ofbiz.jar -test -component=party

--
Ashish

aswath narayana wrote:

Hello,
I was trying to run unit-tests.  I did the following

ant run-single-test-suite -Dcomponent=party  console

Thanks
-Aswath

I got the following errors in the console

 [java] 2009-06-16 16:36:45,656 (main) [ JunitContainer.java:73
:INFO ] [JUNIT] Pass: true | # Tests: 4 | # Failed: 0 # Errors: 0
 [java] 2009-06-16 16:36:45,656 (main) [ JunitContainer.java:76
:INFO ] [JUNIT] - ERRORS
- [JUNIT]
 [java] 2009-06-16 16:36:45,656 (main) [ JunitContainer.java:79
:INFO ] None
 [java] 2009-06-16 16:36:45,656 (main) [ JunitContainer.java:85
:INFO ] [JUNIT]
-- [JUNIT]
 [java] org.ofbiz.base.start.StartupException: Cannot start()
org.ofbiz.testtools.TestRunContainer (No tests found (${test.component} /
${test.suiteName} / null))
 [java] at
org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:103)
 [java] at
org.ofbiz.base.start.Start.startStartLoaders(Start.java:271)
 [java] at org.ofbiz.base.start.Start.startServer(Start.java:320)
 [java] at org.ofbiz.base.start.Start.start(Start.java:324)
 [java] at org.ofbiz.base.start.Start.main(Start.java:407)
 [java] org.ofbiz.base.container.ContainerException: No tests found
(${test.component} / ${test.suiteName} / null)
 [java] at
org.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:112)
 [java] at
org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:101)
 [java] at
org.ofbiz.base.start.Start.startStartLoaders(Start.java:271)
 [java] at org.ofbiz.base.start.Start.startServer(Start.java:320)
 [java] 2009-06-16 16:36:45,656 (main) [ JunitContainer.java:86
:INFO ] [JUNIT]  FAILURES
 [JUNIT]
 [java] at org.ofbiz.base.start.Start.start(Start.java:324)
 [java] at org.ofbiz.base.start.Start.main(Start.java:407)
 [java] org.ofbiz.base.container.ContainerException: No tests found
(${test.component} / ${test.suiteName} / null)

  


smime.p7s
Description: S/MIME Cryptographic Signature


RE: render the select element as a list box in ftl

2009-06-16 Thread Jack Liu
Yes, definitely.
I got the source code through the browse then saved it as a html page, which 
renders the list box properly.


-Original Message-
From: Ashish Nagar [mailto:ashish.na...@hotwaxmedia.com] 
Sent: 2009年6月16日 18:12
To: user@ofbiz.apache.org
Subject: Re: render the select element as a list box in ftl

Please verify that the page source of the generated web page contains
the desired dropdown code only once. You can check it using 'view page
source' option.

--
Ashish Nagar

Jack Liu wrote:
 Hi Ashish,
 It works properly.

 -Original Message-
 From: Ashish Nagar [mailto:ashish.na...@hotwaxmedia.com] 
 Sent: 2009年6月16日 13:20
 To: user@ofbiz.apache.org
 Subject: Re: render the select element as a list box in ftl

 Hello Jack,

 Can you please check that can you make any option default selected using
 option selected value=bb/option?

 Thanks  Regards,
 --
 Ashish Nagar

 Jack Liu wrote:
   
 But why does it render normally when I copy it from ftl page to htm page?
 It's the problem of ftl or OFBiz itself?

 -Original Message-
 From: Scott Gray [mailto:scott.g...@hotwaxmedia.com] 
 Sent: 2009年6月16日 11:13
 To: user@ofbiz.apache.org
 Subject: Re: render the select element as a list box in ftl

 Good question, I don't know but I'm sure google will.

 Regards
 Scott

 - Original Message -
 From: Jack Liu jack@aicent.com
 To: user@ofbiz.apache.org
 Sent: Tuesday, June 16, 2009 1:07:21 PM (GMT+1000) Auto-Detected
 Subject: RE: render the select element as a list box  in ftl

 Scott, you are right. I can't see any list box in Quick Admin as rendered in 
 my own page.
 I use ie7.0. How should I do with this browser?
 Thank you.

 -Original Message-
 From: Scott Gray [mailto:scott.g...@hotwaxmedia.com] 
 Sent: 2009年6月16日 10:42
 To: user@ofbiz.apache.org
 Subject: Re: render the select element as a list box in ftl

 Hrmm might be something specific to your browser, there's an example in this 
 file:
 EditProductQuickAdmin.ftl
 Viewable by Catalog - GZ-1000 - Quick Admin

 If that doesn't display properly then you'll need to dig into why not for 
 your browser.

 Regards
 Scott

 - Original Message -
 From: Jack Liu jack@aicent.com
 To: user@ofbiz.apache.org
 Sent: Tuesday, June 16, 2009 12:27:53 PM (GMT+1000) Auto-Detected
 Subject: RE: render the select element as a list box  in ftl

 Neither of multiple=multiple and multiple=true works.

 -Original Message-
 From: Scott Gray [mailto:scott.g...@hotwaxmedia.com] 
 Sent: 2009年6月16日 10:24
 To: user@ofbiz.apache.org
 Subject: Re: render the select element as a list box in ftl

 Try multiple=multiple

 Regards
 Scott

 HotWax Media
 http://www.hotwaxmedia.com
 801.657.2909

 - Original Message -
 From: Jack Liu jack@aicent.com
 To: user@ofbiz.apache.org
 Sent: Tuesday, June 16, 2009 12:20:10 PM (GMT+1000) Auto-Detected
 Subject: render the select element as a list box  in ftl

 Hi, All
 I took me about 1 hour to solve the problem, but failed at last.
 To me, I think it's a simple question. I just want to render the select
 element as a list box in ftl page and allow users to make multiple
 selections from the list of options.
 Code lists below:
tr
  td class=labelTestMulti/td
  tdselect name=testmul size=2 multiple
  option value=bb/option
  option value=aa/option
  option value=cc/option
   /select
  /td
/tr
 But what I get is nothing but a little box with a horizontal line in it.
 When I copied it to html page, it works.

 Help me please, any suggestion is appreciated.

 Best Regards,

 Jack Liu 

   
 

   



Regarding User authorization is required for this service Error

2009-06-16 Thread Radhakrishna Kotakonda
Hi to All,
 
Since a year this [xyz] service working everyday as a scheduled service.
Yesterday it failed due to --- 
  User authorization is required for this service
 
Error Message :
Service [xyz] threw an unexpected exception/error
Exception: org.ofbiz.service.ServiceAuthException
Message: User authorization is required for this service: xyz
 
Thank you very much in advace.
 
Have a nice day,
Radhakrishna
 
 


Some stuff you should know (otherwise known as a disclaimer):

The information in this message is confidential and may be legally privileged. 
It is intended solely for the addressee. Access to this message by anyone else 
is unauthorised.  If you are not the intended recipient, any disclosure, 
copying, printing or distribution of the message, or any action or omission 
taken by you in reliance on it, is prohibited and may be unlawful.  Any 
opinions expressed in this e-mail, are those of the individual, and do not 
necessarily reflect those of the company. If you have received this message in 
error, please delete the message and any attachment(s) from your mailbox and 
contact I Want One of Those Ltd on customersupp...@iwantoneofthose.com.  Thank 
you.

 




Re: Regarding User authorization is required for this service Error

2009-06-16 Thread BJ Freeman
1)what if anything has changed on your system?
2)What permission is it checking for?
3)sometime i get weird errors that restarting the server fixes. I
believe it has to do with corrupt cache but have not been able to
isolate it.

Radhakrishna Kotakonda sent the following on 6/16/2009 6:56 AM:
 Hi to All,
  
 Since a year this [xyz] service working everyday as a scheduled service.
 Yesterday it failed due to --- 
   User authorization is required for this service
  
 Error Message :
 Service [xyz] threw an unexpected exception/error
 Exception: org.ofbiz.service.ServiceAuthException
 Message: User authorization is required for this service: xyz
  
 Thank you very much in advace.
  
 Have a nice day,
 Radhakrishna
  
  
 
 
 Some stuff you should know (otherwise known as a disclaimer):
 
 The information in this message is confidential and may be legally 
 privileged. It is intended solely for the addressee. Access to this message 
 by anyone else is unauthorised.  If you are not the intended recipient, any 
 disclosure, copying, printing or distribution of the message, or any action 
 or omission taken by you in reliance on it, is prohibited and may be 
 unlawful.  Any opinions expressed in this e-mail, are those of the 
 individual, and do not necessarily reflect those of the company. If you have 
 received this message in error, please delete the message and any 
 attachment(s) from your mailbox and contact I Want One of Those Ltd on 
 customersupp...@iwantoneofthose.com.  Thank you.
 
  
 
 
 

-- 
BJ Freeman
http://www.businessesnetwork.com/automation
http://bjfreeman.elance.com
http://www.linkedin.com/profile?viewProfile=key=1237480locale=en_UStrk=tab_pro
Systems Integrator.



org.ofbiz.webapp.event.EventHandlerException: Problems processing event: java.lang.StackOverflowError

2009-06-16 Thread Heidi Dehaes
Hello,

I added some text language conversions to the EcommerceUILabel.xml file in
the Ecommerce subdirectory of the version 09.04 of ofbiz. These text
language conversions are used on the same page.
But from now on if i switch to another language i have the following error:

Erreur lors de l'appel de l'événement:
org.ofbiz.webapp.event.EventHandlerException: Problems processing event:
java.lang.StackOverflowError (null)

How can i prevent the stackoverflowerror? Can i increase some parameter
anywhere??

thanks in advance,
Heidi
Olagos bvba


Oder Prefix is duplicated

2009-06-16 Thread BJ Freeman
In accounting componet you can enter an order prefix
In ProductStore you can enter a prefix.
The result is the prefixes are concatenated for Sales orders.
I am not sure why the Accounting one since you many have many product
stores and each would have a different prefix. One possiblity is that it
was meant for PO only.
the accounting does not allow assignment by productstore, unless I
missed something.

so if no one has a reason to have the Accounting order prefix or want to
use it for PO's only let me know





-- 
BJ Freeman
http://www.businessesnetwork.com/automation
http://bjfreeman.elance.com
http://www.linkedin.com/profile?viewProfile=key=1237480locale=en_UStrk=tab_pro
Systems Integrator.



Adding Resource to task in Project manager

2009-06-16 Thread farouk alhassan
I am trying to add resources to a task as described in this document:

http://docs.ofbiz.org/display/OFBENDUSER/Project+Manager+Application+Roles

but I keep getting this error





  
The Following Errors Occurred:
In set-nonpk-fields a value was not found with the specified valueAcsr: 
assignment, not setting fields
How do I fix this.
Thanks
Regards