Embedd .flv files in ftl

2007-08-02 Thread Bejoy Zac

Hi,

Is anyone know how to embed .flv files in ftls ???

Regads,
Bejoy
-- 
View this message in context: 
http://www.nabble.com/Embedd-.flv-files-in-ftl-tf4210477.html#a11977093
Sent from the OFBiz - User mailing list archive at Nabble.com.



RE: help w/error when running tutorial 2

2007-08-02 Thread Case Torres
I continued through the tutorial and the problem was fixed.

Thanks

-Original Message-
From: Case Torres [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 02, 2007 6:20 PM
To: user@ofbiz.apache.org
Subject: help w/error when running tutorial 2

Hello,

 

I'm stepping through the 2nd tutorial on the openstrategies.com site but
keep getting this error, java.lang.NullPointerException.

I've provided the console.log dump below but don't' understand it enough to
know where to look in the application.

Can someone can point in the right direction. TIA -- Case

 

2007-08-02 18:06:28,937 (http-0.0.0.0-8080-Processor4) [
RequestHandler.java:236:INFO ] [Processing Request]: main
sessionId=EEB70B2BB8D79B14182A7AAF3A371CE0.jvm1

2007-08-02 18:06:28,937 (http-0.0.0.0-8080-Processor4) [
RequestManager.java:116:INFO ] [RequestManager.getRequestAttribute] Value
for attribute "null" of uri "main" not found

2007-08-02 18:06:28,937 (http-0.0.0.0-8080-Processor4) [
RequestHandler.java:424:INFO ] [RequestHandler.doRequest]: Response is a
view. sessionId=EEB70B2BB8D79B14182A7AAF3A371CE0.jvm1

2007-08-02 18:06:28,937 (http-0.0.0.0-8080-Processor4) [
RequestHandler.java:577:INFO ] servletName=control, view=main
sessionId=EEB70B2BB8D79B14182A7AAF3A371CE0.jvm1

2007-08-02 18:06:28,937 (http-0.0.0.0-8080-Processor4) [
UtilJ2eeCompat.java:69 :INFO ] serverInfo: Apache Tomcat/5.5.20

2007-08-02 18:06:28,937 (http-0.0.0.0-8080-Processor4) [
UtilJ2eeCompat.java:78 :INFO ] Apache Tomcat detected, using
response.getWriter to write text out instead of response.getOutputStream

2007-08-02 18:06:28,953 (http-0.0.0.0-8080-Processor4) [
ScreenRenderer.java:220:INFO ] Found servlet context (application) attribute
that conflicts with parameter name, leaving request parameter in place for
name: _REQUEST_HANDLER_

2007-08-02 18:06:29,875 (http-0.0.0.0-8080-Processor4) [
UtilXml.java:243:DEBUG] XML Read 0.0s:
file:/C:/ofbiz/hot-deploy/hello2/widget/HelloScreens.xml

2007-08-02 18:06:29,890 (http-0.0.0.0-8080-Processor4) [
ControlServlet.java:196:ERROR] 

 runtime exception report
--

Error in request handler: 

Exception: java.lang.NullPointerException

Message: null

 stack trace
---

java.lang.NullPointerException

org.ofbiz.widget.screen.ModelScreenWidget.readSubWidgets(ModelScreenWidget.j
ava:81)

org.ofbiz.widget.screen.ModelScreenWidget$Section.(ModelScreenWidget.j
ava:216)

org.ofbiz.widget.screen.ModelScreen.(ModelScreen.java:67)

org.ofbiz.widget.screen.ScreenFactory.readScreenDocument(ScreenFactory.java:
167)

org.ofbiz.widget.screen.ScreenFactory.getScreenFromLocation(ScreenFactory.ja
va:115)

org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:104)

org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)

org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandl
er.java:78)

org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:642)

org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:426)

org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)

javax.servlet.http.HttpServlet.service(HttpServlet.java:595)

javax.servlet.http.HttpServlet.service(HttpServlet.java:688)

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:252)

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)

org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:248)

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:202)

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)

org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:213)

org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:178)

org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126
)

org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105
)

org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:107)

org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)

org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)

org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)

org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processC
onnection(Http11BaseProtocol.java:664)

org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
a:527)

org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
rkerThread.java:80)

org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:684)

java.lang.Thread.run(Thread.java:534)




 

2007-08-02 18:06:29,968 (http-0.0.0.0-8080-Processor4) [
ControlServl

help w/error when running tutorial 2

2007-08-02 Thread Case Torres
Hello,

 

I'm stepping through the 2nd tutorial on the openstrategies.com site but
keep getting this error, java.lang.NullPointerException.

I've provided the console.log dump below but don't' understand it enough to
know where to look in the application.

Can someone can point in the right direction. TIA -- Case

 

2007-08-02 18:06:28,937 (http-0.0.0.0-8080-Processor4) [
RequestHandler.java:236:INFO ] [Processing Request]: main
sessionId=EEB70B2BB8D79B14182A7AAF3A371CE0.jvm1

2007-08-02 18:06:28,937 (http-0.0.0.0-8080-Processor4) [
RequestManager.java:116:INFO ] [RequestManager.getRequestAttribute] Value
for attribute "null" of uri "main" not found

2007-08-02 18:06:28,937 (http-0.0.0.0-8080-Processor4) [
RequestHandler.java:424:INFO ] [RequestHandler.doRequest]: Response is a
view. sessionId=EEB70B2BB8D79B14182A7AAF3A371CE0.jvm1

2007-08-02 18:06:28,937 (http-0.0.0.0-8080-Processor4) [
RequestHandler.java:577:INFO ] servletName=control, view=main
sessionId=EEB70B2BB8D79B14182A7AAF3A371CE0.jvm1

2007-08-02 18:06:28,937 (http-0.0.0.0-8080-Processor4) [
UtilJ2eeCompat.java:69 :INFO ] serverInfo: Apache Tomcat/5.5.20

2007-08-02 18:06:28,937 (http-0.0.0.0-8080-Processor4) [
UtilJ2eeCompat.java:78 :INFO ] Apache Tomcat detected, using
response.getWriter to write text out instead of response.getOutputStream

2007-08-02 18:06:28,953 (http-0.0.0.0-8080-Processor4) [
ScreenRenderer.java:220:INFO ] Found servlet context (application) attribute
that conflicts with parameter name, leaving request parameter in place for
name: _REQUEST_HANDLER_

2007-08-02 18:06:29,875 (http-0.0.0.0-8080-Processor4) [
UtilXml.java:243:DEBUG] XML Read 0.0s:
file:/C:/ofbiz/hot-deploy/hello2/widget/HelloScreens.xml

2007-08-02 18:06:29,890 (http-0.0.0.0-8080-Processor4) [
ControlServlet.java:196:ERROR] 

 runtime exception report
--

Error in request handler: 

Exception: java.lang.NullPointerException

Message: null

 stack trace
---

java.lang.NullPointerException

org.ofbiz.widget.screen.ModelScreenWidget.readSubWidgets(ModelScreenWidget.j
ava:81)

org.ofbiz.widget.screen.ModelScreenWidget$Section.(ModelScreenWidget.j
ava:216)

org.ofbiz.widget.screen.ModelScreen.(ModelScreen.java:67)

org.ofbiz.widget.screen.ScreenFactory.readScreenDocument(ScreenFactory.java:
167)

org.ofbiz.widget.screen.ScreenFactory.getScreenFromLocation(ScreenFactory.ja
va:115)

org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:104)

org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)

org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandl
er.java:78)

org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:642)

org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:426)

org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)

javax.servlet.http.HttpServlet.service(HttpServlet.java:595)

javax.servlet.http.HttpServlet.service(HttpServlet.java:688)

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:252)

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)

org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:248)

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:202)

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)

org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:213)

org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:178)

org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126
)

org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105
)

org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:107)

org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)

org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)

org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)

org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processC
onnection(Http11BaseProtocol.java:664)

org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
a:527)

org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
rkerThread.java:80)

org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:684)

java.lang.Thread.run(Thread.java:534)




 

2007-08-02 18:06:29,968 (http-0.0.0.0-8080-Processor4) [
ControlServlet.java:206:ERROR] An error occurred, going to the errorPage:
/error/error.jsp

2007-08-02 18:06:29,984 (http-0.0.0.0-8080-Processor4) [
ControlServlet.java:213:ERROR] Including errorPage: /error/error.jsp

 

Case Torres

http://www.casetorrestech.com


An Invitation from Abhishake Agarwal

2007-08-02 Thread Abhishake Agarwal
Dear *ofbiz-user*,

Weblo Member abhi332 (Abhishake Agarwal) has invited you to join
Weblo.com- the hottest Virtual World on the Net!
Click
Hereto
join Weblo for FREE, build your Virtual Empire and Make Money!

Weblo is a virtual world based on the real world. You build a profile for
yourself and then on your favorite people, places and things. Have fun while
getting paid for doing what you already do online. It doesn't cost anything
to join so come and register. Remember to add me as a friend!


RE: two ofbiz application communicating through SOAP

2007-08-02 Thread Akotaobi, Uche
[snip]

[jin1212]
> I can see issues right now with database syncing. For example,
> different products with same id. Unless there is a way to identify
> the global productId from a clientProductId, I just dont see how
> this can be done. 

[Uche Akotaobi] 
> How about making a "MachineInfo" entity with a "machineId"
> field and "run-install-seed"ing it with a different GUID for
> each server?  Then you could have your services return that
> ID, combine it with an existing field to make a new primary
> key, or whatever.  The possibilities are limitless.

[Pradeep Chaudhary]
> You can set unique "sequenced-id-prefix" value for the delegator in
> entityengine.xml for each ofbiz instance. This will ensure that the all the
> sequence generated from a ofbiz instance have prefix attached to primary
> key. This makes is easy to identify between two different instances.


Very interesting!  I can see uses for this--thanks for the tip.

-- 
Uche O. Akotaobi
Workflow Engineer
Xerox Corporation
701 South Aviation Blvd., ESAE-116
El Segundo, CA  90245
Phone (310) 333-2403  Internal 8*823-2403
Fax (310) 333-8419
[EMAIL PROTECTED]

XEROX
Technology.  Document Management.  Consulting Services

www.xerox.com


Re: Free Shipping

2007-08-02 Thread Dave Tenerowicz

We are going to need the free shipping for an implementation we are doing.

David- in your earlier response (Feb 8, 2006) to this issue you said
"Since then most just do free shipping through the shipping rules. "

Where are these shipping rules set?
Are you suggesting the creation of a Ship Method of Free shipping with a 
Flat Price of $0.00?


Thanks
-Dave


Jacques Le Roux wrote:

Good point David,

I will comment them out, as is java  free shipping code.

Jacques

De : "David E Jones" <[EMAIL PROTECTED]>
  

If by "remove" you mean comment it out, then yeah that would be good.

-David


Jacques Le Roux wrote:


Free shipping promo has been disabled for a while now.
http://www.nabble.com/Dev---are-free-shipping-adjustments-disabled-right-now--tf1087629.html#a2835769

BTW I wonder why we keep this promo in demo data since this topic pop up every 
quarter. I propose to remove it, if no complaints
  

I
  

will do it soon...

Jacques

- Message d'origine - 
De : "Richard Fleming" <[EMAIL PROTECTED]>

À : "OFBIZUSER" 
Envoyé : mercredi 1 août 2007 06:23
Objet : Free Shipping


  

Hi all -

I've set up a promo for free shipping. It doesn't work for me. any help would 
be appreciated. The setup is:

conditions:
The "cart total" > 75
no action categories.

actions: "free shipping"
blank quantity
blank amount
blank item
blank party

I added the promo to the web store. There is only one shipping method 
associated to the web store -
UPS ground - flat amount

At checkout, the shipping method shows up as the flat amount regardless of the 
cart total.

Thanks
Rick








  


--
Dave Tenerowicz
[EMAIL PROTECTED]

Office: 303.493.6727
Mobile 303.906.6116
Fax 303.814.8330

Visit us at http://www.salmonllc.com



Re: log4j Syslog Appender

2007-08-02 Thread Adrian Crum

I got it working. Setting debug="true" in the configuration element helped me 
track it down.


Adrian Crum wrote:

Has anyone used the log4j Syslog appender with OFBiz? I'm trying to use 
it on my copy but it's not working. I've searched the 'net and copied 
the examples, but it still doesn't work.


Any help would be appreciated!

-Adrian



log4j Syslog Appender

2007-08-02 Thread Adrian Crum
Has anyone used the log4j Syslog appender with OFBiz? I'm trying to use it on my copy but it's not 
working. I've searched the 'net and copied the examples, but it still doesn't work.


Any help would be appreciated!

-Adrian


POS linked to remote server

2007-08-02 Thread Gurcharan Singh
Hello,

I've been trying to integrate POS module to a remote server and added the IP
addresss of the server to  tag in the
serviceengine.xmlfile, but the module is still not accessing the
server. Will appreciate if
anyone can provide insight how to integrate POS to a remote server.

Changes done in serviceengine.xml-


http://168.0.0.100:8080/webtools/control/httpService"/>


Regards,
Gurcharan

-- 
www.digitalmediainitiatives.com


Re: what is the role of in the tag ?

2007-08-02 Thread Jacques Le Roux
Same as in simple-method (most of actions are shared, also with forms), there 
(in a service with simple-methods xml file) you can
use content completion to know more... This is true for all tags in 
simple-method.

The widget.xsd files are not updated regarding content completion yet... Any 
help appreciated...

Jacques

De : "sqlien" <[EMAIL PROTECTED]>


xsl-fo question on border around page

2007-08-02 Thread Brett Palmer
I'm trying to create a "certificate" PDF report using xsl-fo, but I
can't get the border to show around the whole page.  I am able to get
borders on single cells in a table but not around the whole page.

Does anyone have a simple sample of how this would work?


Here is what I have for the border around a single cell:

http://www.w3.org/1999/XSL/Format";>











   
 <#list questionsAndAnswers as qAndA >
   <#if qAndA.question.surveyQuestionId == "Q7">

 
${(qAndA.response.textResponse)?if_exists}


   
  


 
   



Any suggestions would be appreciated.  Also a good website with
samples that work with the latest ofbiz.  Most of the samples I have
used are no longer compatible with the ofbiz xsl-fo library.

Thanks in advance,

Brett


Re: POS order status change error

2007-08-02 Thread Jacques Le Roux
Great Bilgin,

I will have a look soon... (tomorrow I hope)

Jacques

De : "Bilgin Ibryam" <[EMAIL PROTECTED]>
> 
> Jacques,
> 
> I created a jira and attached a patch here
> https://issues.apache.org/jira/browse/OFBIZ-1176
> You can take a look, also may be you can asnwer to my question :)
> 
> Bilgin
> -- 
> View this message in context: 
> http://www.nabble.com/POS-order-status-change-error-tf4192871.html#a11963782
> Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: POS order status change error

2007-08-02 Thread Bilgin Ibryam

Jacques,

I created a jira and attached a patch here
https://issues.apache.org/jira/browse/OFBIZ-1176
You can take a look, also may be you can asnwer to my question :)

Bilgin
-- 
View this message in context: 
http://www.nabble.com/POS-order-status-change-error-tf4192871.html#a11963782
Sent from the OFBiz - User mailing list archive at Nabble.com.



what is the role of in the tag ?

2007-08-02 Thread sqlien


-- 
View this message in context: 
http://www.nabble.com/what-is-the-role-of-%3Centiy-condition%3E-in-the-tag-%3Cscreen%3E---tf4205919.html#a11963779
Sent from the OFBiz - User mailing list archive at Nabble.com.



Re: find-by-primary-key vs find-by-and vs entity-condition

2007-08-02 Thread David Cuenca
The core of the matter is if there is any difference in the SQL
generated, and then, the only little difference between any of this
methods would be if they construct or not a list (thing that should be
nearly instantaneous).  So, I will try to look at the SQL generated.

Thanks for your reply,
David

Jacques Le Roux wrote:
> Strange question, quick answer. 
>
> I guess by nature it can't be as efficient (you may have a look at SQL 
> generated), and with by-and you get a list not an entity...
>
> Jacques
>
> De : "David Cuenca" <[EMAIL PROTECTED]>
>   
>> Hello list,
>> I know that the most logical method for obtaining an entity instance
>> having its primary keys must be "use find-by-primary-key!", but are
>> find-by-and and entity-condition as efficient as find-by-primary-key
>> with the same conditions?
>>
>> Regards,
>> David Cuenca
>> 



request-redirect passes many information by GET

2007-08-02 Thread David Cuenca
Hello list,
We have some entries in the controller.xml that are executing some
events (registering,modifying or unregistering information). After doing
this work we want to show a view with the new information. This view is
in another entry in controller.xml. Moreover, we want the web-browser
url to change.
The first approach to this problem is to use request-redirect to cause
another request to the Control Servlet. But this request-redirect passes
the original request information by GET method, and sometimes there is
many information!
Another approach is to use request-redirect-noparam but we need a few of
these params.

Can we use the same event to clear from the request the params that will
no longer be used? Will the control servlet "respect" this clears? How
to clear the request? Is there another solution?


Regards,
David Cuenca


Re: wml and ofbiz

2007-08-02 Thread Pradeep Chaudhary
In WAP 2.0 WML is replaced by XHTML. So for implementing it in ofbiz
you just need to implement ftl files using limited XHTML tags allowed
for mobiles. You will have to search for google for XHTML MP. Start
from following link:
http://www.developershome.com/wap/xhtmlmp/xhtml_mp_tutorial.asp?page=wmlFeaturesLost2

Pradeep

On 7/21/07, wadian09 <[EMAIL PROTECTED]> wrote:
>
> i want to develope a application which work both on PC as well as on Mobile
> phone  using ofbiz framework
> now problem is ofbiz server is not able to execute the wml pages.
> is there any patches or package are need to implemt?
> i guess that for supporting the UI ofbiz have viewhandler classes e.g. for
> ftl and pdf.
> is anything availbale for WML?
>
> or ofbiz support any such technology which also support by cellphone?
> --
> View this message in context: 
> http://www.nabble.com/wml-and-ofbiz-tf4121041.html#a11720079
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>


Re: two ofbiz application communicating through SOAP

2007-08-02 Thread Pradeep Chaudhary
You can set unique "sequenced-id-prefix" value for the delegator in
entityengine.xml for each ofbiz instance. This will ensure that the
all the sequence generated from a ofbiz instance have prefix attached
to primary key. This makes is easy to identify between two different
instances.

Pradeep

On 7/31/07, Akotaobi, Uche <[EMAIL PROTECTED]> wrote:
> [jin1212]
>
> > Hello,
> >Our company has the need to physically have
> > accounting/manufacturing portion of Ofbiz on server A, and
> > e-commerce apps on server B,C,D .. etc.
> > The servers will have to communicate through web services
> > call provided all relevent services have 'export' flag set to
> > true. I would like to know if this is even possible
>
>
> Sure--Apache Axis makes web service calls pretty simple.
>
>
> > because Ofbiz uses a a single database for all its applications.
>
>
> That's easily changed in framework/entity/config/entityengine.xml.  Either 
> add a new  with a different name and then refer to that group for 
> all of your custom entities or edit the existing org.ofbiz group-map.  Change 
> the "localderby" to something else like "localpostgres", add the JDBC driver 
> to framework/entity/lib/jdbc, and edit the JDBC connection settings.
>
> http://ofbiz.apache.org/docs/entity.html
>
>
> > I can see issues right now with database syncing. For example, different
> > products with same id. Unless there is a way to identify the global
> > productId from a clientProductId, I just dont see how this can be done.
>
>
> How about making a "MachineInfo" entity with a "machineId" field and 
> "run-install-seed"ing it with a different GUID for each server?  Then you 
> could have your services return that ID, combine it with an existing field to 
> make a new primary key, or whatever.  The possibilities are limitless.
>
>
> --
> Uche O. Akotaobi
> Workflow Engineer
> Xerox Corporation
> 701 South Aviation Blvd., ESAE-116
> El Segundo, CA  90245
> Phone (310) 333-2403  Internal 8*823-2403
> Fax (310) 333-8419
> [EMAIL PROTECTED]
>
> XEROX
> Technology.  Document Management.  Consulting Services
>
> www.xerox.com
>


Concurrent Modification exception in createPartyRelationship

2007-08-02 Thread Pradeep Chaudhary
I am getting ConcurrentModificationException in
createPartyRelationship service. The errors are related to updating of
cache on creating of party relationship generic value. This does not
happens every time. I am not able to identify what could be causing
the error assuming that cache modification are synchronized in
CacheLineTable.

Can anybody give any clues.

Pradeep



2007-07-28 16:13:27,956 (TP-Processor206)
[SimpleMethod.java:runSubOps:925 :ERROR] ::
 runtime exception report --
Error in simple-method operation []:
java.util.ConcurrentModificationException
Exception: java.util.ConcurrentModificationException
Message: null
 stack trace ---
java.util.ConcurrentModificationException
org.apache.commons.collections.map.AbstractLinkedMap$LinkIterator.nextEntry(AbstractLinkedMap.java:559)
org.apache.commons.collections.map.AbstractLinkedMap$KeySetIterator.next(AbstractLinkedMap.java:459)
java.util.AbstractCollection.addAll(AbstractCollection.java:319)
org.ofbiz.base.util.cache.CacheLineTable.keySet(CacheLineTable.java:184)
org.ofbiz.base.util.cache.UtilCache.getCacheLineKeys(UtilCache.java:586)
org.ofbiz.entity.cache.AbstractEntityConditionCache.storeHook(AbstractEntityConditionCache.java:191)
org.ofbiz.entity.cache.AbstractEntityConditionCache.storeHook(AbstractEntityConditionCache.java:170)
org.ofbiz.entity.cache.AbstractEntityConditionCache.storeHook(AbstractEntityConditionCache.java:145)
org.ofbiz.entity.cache.Cache.remove(Cache.java:119)
org.ofbiz.entity.GenericDelegator.clearCacheLine(GenericDelegator.java:2269)
org.ofbiz.entity.GenericDelegator.clearCacheLine(GenericDelegator.java:2254)
org.ofbiz.entity.GenericDelegator.create(GenericDelegator.java:579)
org.ofbiz.minilang.method.entityops.CreateValue.exec(CreateValue.java:65)
org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:920)
org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:560)
org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:107)
org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:89)
org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:77)
org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:52)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:338)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:212)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:114)


Re: new to ofbiz

2007-08-02 Thread Jacques Le Roux
Look for validate in entities definitions

Jacques
 
> how can i validate that text field in form/widget contains numeric data or
> accept numeric data only
> -- 
> View this message in context: 
> http://www.nabble.com/new-to-ofbiz-tf4204069.html#a11958262
> Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: find-by-primary-key vs find-by-and vs entity-condition

2007-08-02 Thread Jacques Le Roux
Strange question, quick answer. 

I guess by nature it can't be as efficient (you may have a look at SQL 
generated), and with by-and you get a list not an entity...

Jacques

De : "David Cuenca" <[EMAIL PROTECTED]>
> Hello list,
> I know that the most logical method for obtaining an entity instance
> having its primary keys must be "use find-by-primary-key!", but are
> find-by-and and entity-condition as efficient as find-by-primary-key
> with the same conditions?
> 
> Regards,
> David Cuenca


find-by-primary-key vs find-by-and vs entity-condition

2007-08-02 Thread David Cuenca
Hello list,
I know that the most logical method for obtaining an entity instance
having its primary keys must be "use find-by-primary-key!", but are
find-by-and and entity-condition as efficient as find-by-primary-key
with the same conditions?

Regards,
David Cuenca


Re: Please kindly unsubscribe me

2007-08-02 Thread Scott Gray
Hi Souvik

I password is not required to unsubscribe, simply send a blank email to
[EMAIL PROTECTED] from the address you subscribed with.

Regards
Scott

On 02/08/07, Souvik Saha Bhowmik <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I am no longer an user of Ofbiz and I have forgot my password to the user
> list. Can someone please do the needful to unsubscribe me from the List.
>
> with regards
> Souvik Saha Bhowmik
>