Re: SECA on invoke, and error handling

2011-09-06 Thread Scott Gray
run-on-error=true, run this eca service even when the main service flow contains an error condition ignore-error=true, do not allow an error return from this service to cause an error condition in the main service flow For example if you have a validate event eca with ignore-error=false that

Re: SECA on invoke, and error handling

2011-09-06 Thread Anne
Thanks Scott. But I now think it's more complicated than that. After BJ's comment I spent nearly all of today going through the code (ServiceDispatcher.java and friends) to try to answer my question. I had hoped to avoid doing that, for what I thought was a simple question. It's looking like it

Re: SECA on invoke, and error handling

2011-09-06 Thread BJ Freeman
Also if the parameter is not specifically set false, it is evaluated true. Anne sent the following on 9/6/2011 3:19 AM: Thanks Scott. But I now think it's more complicated than that. After BJ's comment I spent nearly all of today going through the code (ServiceDispatcher.java and friends) to

Re: SECA on invoke, and error handling

2011-09-06 Thread Scott Gray
The main service will never run if an error condition exists, I don't think that is something I would consider unexpected. I'm not really sure why the context validation is skipped but I don't think it matters much since the main service won't be run anyway. But anyway, just consider the main

Need help getting started with creating some specialized ProductPromoRules

2011-09-06 Thread Justin Robinson
I have been written quite a bit of code within the ofbiz framework, but I really need some advice on where to start for this. I have searched the source to see where lookups for entity ProductPromoRule occur. This is usually a starting point for me with any customization to ofbiz. But well the

Export to Excel (CSV) Does not support Internationalization

2011-09-06 Thread Iyad Khaddam
Hi, There are many places where we can export screens to CSV, like the one in Accounting ( https://localhost:8443/accounting/control/AcctgTransEntriesSearchResultsCsv.csv ) I'm using Arabic. When exporting to CSV, the file opens in excel correctly, but all arabic words are encoded incorrectly. I

Re: MyPortal Projects Tab

2011-09-06 Thread Tolu Williams
I just took a look now, it describes permissions for the myportal component demo users, I already added the MYPORTAL_CUSTOMER to the user in my situation.. I have assigned that same customer access to a project i created. I assigned them as a client billing Common resource. Am i missing something

Re: Export to Excel (CSV) Does not support Internationalization

2011-09-06 Thread BJ Freeman
The view-map, the type=“screencsv” to invoke the “csv screen renderer” also set the content-type=“text/csv” and encoding=UTF-8 Iyad Khaddam sent the following on 9/6/2011 7:12 AM: Hi, There are many places where we can export screens to CSV, like the one in Accounting (

Re: Need help getting started with creating some specialized ProductPromoRules

2011-09-06 Thread BJ Freeman
I use https://demo-trunk.ofbiz.apache.org:8443/webtools/control/ViewRelations?entityName=ProductPromoRule to start. then https://demo-trunk.ofbiz.apache.org:8443/webtools/control/ArtifactInfo I am not sure that Artifact will give you all but it does help. Justin Robinson sent the following on

Re: Export to Excel (CSV) Does not support Internationalization

2011-09-06 Thread Iyad Khaddam
Hi BJ Freeman, Thanks for your reply. Actually, the problem is not related to OFBIZ, it is a problem in Excel. Excel would use ASCII to import CSV files. If you have a CSV file with a different encoding than ASCII, then you have to use the import tool in excel that will allow you to specify the

Re: Export to Excel (CSV) Does not support Internationalization

2011-09-06 Thread BJ Freeman
Ok what I was trying to communicate was two things. 1) the use of screencvs 2) adding the encoding tag in the view-map. I am working on being able to have the same view-map name but with different Types, content-type, and encoding. The way the same widgets can be used but produce different

Re: Export to Excel (CSV) Does not support Internationalization

2011-09-06 Thread Mike
I use Excel 2007, and there are many character import options available for csv: Excel - Data - From Text - CHOOSE FILE - select delimited - File Origin (Dropdown Menu): 55 Entries, including UTF-8 This is stock Excel, as far as I can tell. If you are going to use UTF-8, it needs to be