Re: Disable a drop-down form widget from *Forms.xml

2015-04-21 Thread Foo Shyn Chung
implement that finally... Jacques Le 22/12/2011 02:17, Foo Shyn Chung a écrit : Hi Jacques, It is true and currently i'm able to dynamically alter the dropdown box through the use of event and action attributes of the form field. However, i need to by default set the dropdown box as disabled

OFBiz Developer

2013-06-11 Thread Foo Shyn Chung
Hi all, We're currently looking for developers with OFBiz experience to help implementing Web Service (SOAP/Restful) functionality to the OFBiz framework. We understand that for SOAP implementation, OFBiz provides an easy option by setting the flag in XML to turn a service into public consumable

Paginate list without using performFind

2012-08-07 Thread Foo Shyn Chung
Hi guys, I have a find page with pagination working fine if there's no filter applied. However if i search with a criteria on my filters and when i click on any of the pagination button (i.e. next, last, previous etc) the result will be blank. I didn't use the performFind method in the list form

Re: Announcement: OFBiz Mini-language Overhaul

2012-07-11 Thread Foo Shyn Chung
Hurray! As such i'll be able to port this into my application by updating the framework/minilang component from release 12 branch? Thanks FooShyn On Wed, Jul 11, 2012 at 2:08 PM, Adrian Crum adrian.c...@sandglass-software.com wrote: Ofbiz's home-grown scripting language - Mini-language - is

Re: Announcement: OFBiz Mini-language Overhaul

2012-07-11 Thread Foo Shyn Chung
Ok, thanks a lot! Thanks FooShyn On Wed, Jul 11, 2012 at 2:18 PM, Adrian Crum adrian.c...@sandglass-software.com wrote: You should update the entire project. -Adrian On 7/11/2012 7:16 AM, Foo Shyn Chung wrote: Hurray! As such i'll be able to port this into my application by updating

Re: Display UILabels dynamically?

2012-07-05 Thread Foo Shyn Chung
. www.hotwaxmedia.com Contact :- +91-98267-54548 Skype :- deepakdixit On Jul 5, 2012, at 3:08 PM, Foo Shyn Chung wrote: Hi all, I'm not sure whether this is a obvious function or not, but I can't find much info about it from the net. Currently I have a set of key + values stored in a entity

Re: Display UILabels dynamically?

2012-07-05 Thread Foo Shyn Chung
Ok found it, it's CommonEntityLabels.xml .Thanks for the pointer :) Thanks FooShyn On Thu, Jul 5, 2012 at 6:10 PM, Deepak Agarwal dagarwa...@gmail.com wrote: Setup whole project in eclipse and use Ctrl+Shift+R for the lookup. On Thu, Jul 5, 2012 at 3:38 PM, Foo Shyn Chung ipoh

add-error and check-errors not working in minilang services

2012-07-03 Thread Foo Shyn Chung
Hi all, I found that the add-error and check-errors behavior in the minilang services is not working. Found the following email archive but after patch to it, it is still not working.

Re: add-error and check-errors not working in minilang services

2012-07-03 Thread Foo Shyn Chung
) Jacques From: Foo Shyn Chung ipoh...@gmail.com Hi all, I found that the add-error and check-errors behavior in the minilang services is not working. Found the following email archive but after patch to it, it is still not working. http://ofbiz.135035.n4.nabble.**com/Re-svn-commit-r1331811

Re: add-error and check-errors not working in minilang services

2012-07-03 Thread Foo Shyn Chung
a public holiday without passing in the estimated start date. Or did i test it wrongly? Thanks FooShyn On Tue, Jul 3, 2012 at 5:04 PM, Adrian Crum adrian.c...@sandglass-software.com wrote: Could you provide some sample code please? -Adrian On 7/3/2012 7:27 AM, Foo Shyn Chung wrote: Hi all

Re: add-error and check-errors not working in minilang services

2012-07-03 Thread Foo Shyn Chung
Thanks Adrian. Please keep me updated ya. Thanks FooShyn On Tue, Jul 3, 2012 at 5:32 PM, Adrian Crum adrian.c...@sandglass-software.com wrote: That code is correct and it should work. I will look into it. -Adrian On 7/3/2012 10:10 AM, Foo Shyn Chung wrote: if-empty field=parameters

Re: add-error and check-errors not working in minilang services

2012-07-03 Thread Foo Shyn Chung
:10 AM, Foo Shyn Chung wrote: if-empty field=parameters.estimatedStartDate add-error fail-message message=The FromDate is missing/ /add-error check-errors/ /if-empty Got this from the HumanRes services

Re: add-error and check-errors not working in minilang services

2012-07-03 Thread Foo Shyn Chung
Ok. Thanks lots. Thanks FooShyn On Tue, Jul 3, 2012 at 10:48 PM, Adrian Crum adrian.c...@sandglass-software.com wrote: I will be back-porting the Mini-language overhaul to the Release 12 branch some time next week. -Adrian On 7/3/2012 3:34 PM, Foo Shyn Chung wrote: I see. Anyway

Re: Restful service in ofbiz

2012-06-14 Thread Foo Shyn Chung
by following the same document but I used with 10.04 not sure about 12.04 but I think it will work with 12.04 also. :) Regards, Ankit Jain On Wed, Jun 13, 2012 at 4:56 PM, Foo Shyn Chung ipoh...@gmail.com wrote: Hi all, My current project needs to expose the ofbiz servce as web service

Re: Restful service in ofbiz

2012-06-14 Thread Foo Shyn Chung
On Thu, Jun 14, 2012 at 1:07 PM, Foo Shyn Chung ipoh...@gmail.com wrote: Thanx Ankit. I'm just curious whether the mentioned improvement in the article is being done or not (to have something like the expose=true for REST). Thanx FooShyn On Wed, Jun 13, 2012 at 7:41 PM, Ankit Jain

Re: Restful service in ofbiz

2012-06-14 Thread Foo Shyn Chung
at 5:35 PM, Ankit Jain ankit.i...@gmail.com wrote: I have tested it on advanced REST client on Chrome try this https://chrome.google.com/webstore/detail/hgmloofddffdnphfgcellkdfbfbjeloo HTH Regards, Ankit Jain On Thu, Jun 14, 2012 at 2:58 PM, Foo Shyn Chung ipoh...@gmail.com wrote

Re: Restful service in ofbiz

2012-06-14 Thread Foo Shyn Chung
Sorry my mistake. Mis-typed the header name in the PingResource and end up getting the wrong result. Am able to get it to work now. Thanks a lot for the help. Thanx FooShyn On Thu, Jun 14, 2012 at 5:46 PM, Foo Shyn Chung ipoh...@gmail.com wrote: I'm getting the same error

Re: startofbiz.bat obsolete?

2012-06-13 Thread Foo Shyn Chung
I see..thanks for the info. Thanx FooShyn On Wed, Jun 13, 2012 at 4:24 PM, Ankit Jain ankit.i...@gmail.com wrote: The .bat and .sh scripts are moved to tools directory or you can also use ant start to start ofbiz. Regards, Ankit Jain On Wed, Jun 13, 2012 at 1:50 PM, Foo Shyn Chung ipoh

Restful service in ofbiz

2012-06-13 Thread Foo Shyn Chung
Hi all, My current project needs to expose the ofbiz servce as web service and currently i'm thinking to expose them as restful service since from what i read on the line is that android is better suited with restful services. I have found this link whereby i'm able to export the service as a

Re: Multi form table row display

2012-06-05 Thread Foo Shyn Chung
Ok, manage to solve it by using the seperate-columns flag. Thanx FooShyn On Tue, Jun 5, 2012 at 12:59 AM, Foo Shyn Chung ipoh...@gmail.com wrote: Hi Viqar, Thanx for the reply. I'd gone through the cookbook but can't find the solution i'm looking for. The thing i'm looking at is the display

Re: Multi form table row display

2012-06-04 Thread Foo Shyn Chung
Any one with any idea on this? Thanx FooShyn On Sun, Jun 3, 2012 at 1:03 PM, Foo Shyn Chung ipoh...@gmail.com wrote: Hi all, I notice that when i use multi form to list down records with editable fields, those editable field will all be seperated by a dash instead of a td like a usual html

Re: Adding calendar to a form widget

2012-06-04 Thread Foo Shyn Chung
Hi, Which version of Ofbiz that you're using? Button tag is generated instead of a 'a' tag for the calendar image when i use the date-time tag in the Form xml. button class=ui-datepicker-trigger type=button/button FYI the version i'm using is 11.04 Thanx FooShyn On Mon, Jun 4, 2012 at 6:32

Re: Multi form table row display

2012-06-04 Thread Foo Shyn Chung
Hi Viqar, Thanx for the reply. I'd gone through the cookbook but can't find the solution i'm looking for. The thing i'm looking at is the display of those editable fields when they're in the table in a multi form. Any idea? Thanx FooShyn On Mon, Jun 4, 2012 at 11:43 PM, mohd Viqar

Re: Adding calendar to a form widget

2012-06-04 Thread Foo Shyn Chung
Am not sure about version 12.04, but 11.04 has some enhancement that personally i think is great over 10.04 so likewise i think 12.04 should be the same =) Thanx FooShyn On Mon, Jun 4, 2012 at 11:07 PM, G.Ben g.benabdel...@gmail.com wrote: Thank you, I think that I'm working with 10.04 and

Re: Ui Labels

2012-06-04 Thread Foo Shyn Chung
Hi Ben, Personally i think it's best to stick with the UiLabel although you're still using one language, because it would promote the re-usability of the label in your application. Furthermore changes to the label can be done at a single place with a UiLabel. My 2 cents. Thanx FooShyn On Mon,

Re: Adding calendar to a form widget

2012-06-03 Thread Foo Shyn Chung
Hi, Do you mean a date field? If so you can use the date or date-time tag on your form definition in the xml to create the date field widget. Thanx FooShyn On Mon, Jun 4, 2012 at 6:41 AM, G.Ben g.benabdel...@gmail.com wrote: Hi everyone, Is it possible to add a calendar in a widget form ?

Re: Adding calendar to a form widget

2012-06-03 Thread Foo Shyn Chung
Ops i mean date-time type=date / Thanx FooShyn On Mon, Jun 4, 2012 at 12:05 PM, Foo Shyn Chung ipoh...@gmail.com wrote: Hi, Do you mean a date field? If so you can use the date or date-time tag on your form definition in the xml to create the date field widget. Thanx FooShyn On Mon

Multi form table row display

2012-06-02 Thread Foo Shyn Chung
Hi all, I notice that when i use multi form to list down records with editable fields, those editable field will all be seperated by a dash instead of a td like a usual html table. Wonder is there a reason for this? Possible for us to change it so that it is displayed in a normal html table

Re: Custom Lookup form

2012-05-29 Thread Foo Shyn Chung
AM, Foo Shyn Chung wrote: Hi, Anyone with any knowledge or idea on this? Thanx FooShyn On Thu, May 24, 2012 at 3:41 PM, Foo Shyn Chungipoh...@gmail.com wrote: Hi all, I understand that there's a javascript call_fieldlookup3 that can be use if i want to populate 2 fields from

Re: Custom Lookup form

2012-05-28 Thread Foo Shyn Chung
Hi, Anyone with any knowledge or idea on this? Thanx FooShyn On Thu, May 24, 2012 at 3:41 PM, Foo Shyn Chung ipoh...@gmail.com wrote: Hi all, I understand that there's a javascript call_fieldlookup3 that can be use if i want to populate 2 fields from the lookup result. What about if i need

Re: Portlet specification

2012-05-23 Thread Foo Shyn Chung
) that this functionality not be named portlet. Best Regards, Ruth Hoffman Adaptive Enterprise Solutions, LLC. http://www.myofbiz.com On 5/23/12 6:21 AM, Foo Shyn Chung wrote: Hi all, Just want to check, does anyone knows that whether the portlet in Ofbiz is actually in compliance

Re: Adding condition in DynamicViewEntity without declaring it to be an Alias

2012-04-17 Thread Foo Shyn Chung
Thanx. So any further updates that we need to make on the Jira? Thanx FooShyn On Mon, Apr 16, 2012 at 9:40 PM, Jacques Le Roux jacques.le.r...@les7arts.com wrote: Thanks Foo Shyn Chung, I have changed some points, more important: only bug fixes get into branches releases: no possible

Re: Empty String in entity-condition

2012-04-17 Thread Foo Shyn Chung
at 9:16 AM, Foo Shyn Chung ipoh...@gmail.com wrote: Hi all, I need to check a field for empty string value in my entity-condition. I search through the net but can't find a workable solution for me (tried using nullField or removing the value attributes but both doesn't work). What i

Re: Adding condition in DynamicViewEntity without declaring it to be an Alias

2012-04-16 Thread Foo Shyn Chung
: DynamicViewEntity is shown instead. Any workaround on this? Thanx FooShyn On Mon, Apr 16, 2012 at 12:36 PM, Foo Shyn Chung ipoh...@gmail.com wrote: Hi, I can't find such property, possible to point to me which attributes that would likely to be able to configure this? Thanx FooShyn

Re: Adding condition in DynamicViewEntity without declaring it to be an Alias

2012-04-16 Thread Foo Shyn Chung
-map field-name=importSessionId rel-field-name=sessionId/ field-bound rel-field-name=status rel-field-value=ERROR/ /view-link This produces something like this: select * from a left join b on a.importSessionId = b.sessionId and status='ERROR' On Mon, Apr 16, 2012 at 9:35 AM, Foo Shyn Chung

Re: Adding condition in DynamicViewEntity without declaring it to be an Alias

2012-04-16 Thread Foo Shyn Chung
through a patch into a Jira issue https://cwiki.apache.org/**confluence/display/OFBADMIN/** OFBiz+Contributors+Best+**Practiceshttps://cwiki.apache.org/confluence/display/OFBADMIN/OFBiz+Contributors+Best+Practices Jacques Foo Shyn Chung wrote: Hi Daniel, I'm not sure how the contribution

Re: Adding condition in DynamicViewEntity without declaring it to be an Alias

2012-04-15 Thread Foo Shyn Chung
Hi, Anyone encountered this problem before? On Fri, Apr 13, 2012 at 7:09 PM, Foo Shyn Chung ipoh...@gmail.com wrote: Hi all, I have a situation whereby there's a filter i need to add into the view-entity created via DynamicViewEntity, however this field is not being declared with an Alias

Re: Adding condition in DynamicViewEntity without declaring it to be an Alias

2012-04-15 Thread Foo Shyn Chung
dont include in the query. I think the Dynamic query you can do the same. Foo Shyn Chung ipoh...@gmail.com a következőt írta: Hi all, I have a situation whereby there's a filter i need to add into the view-entity created via DynamicViewEntity, however this field is not being declared

Adding condition in DynamicViewEntity without declaring it to be an Alias

2012-04-13 Thread Foo Shyn Chung
Hi all, I have a situation whereby there's a filter i need to add into the view-entity created via DynamicViewEntity, however this field is not being declared with an Alias field. The reason for this is because my SQL is actually a group by statement with sum in the fields to get a total sales

Re: view-entity view-link for multiple aliases

2012-04-12 Thread Foo Shyn Chung
On second thought, is there anything similar to the JdbcTemplate in Spring framework that let you run customized SQL directly on OFBiz? Thanx FooShyn On Wed, Apr 11, 2012 at 10:56 PM, Foo Shyn Chung ipoh...@gmail.com wrote: Hi all, I have a view created via the DynamicViewEntity in a groovy

Re: view-entity view-link for multiple aliases

2012-04-12 Thread Foo Shyn Chung
Shyn Chung ipoh...@gmail.com On second thought, is there anything similar to the JdbcTemplate in Spring framework that let you run customized SQL directly on OFBiz? Thanx FooShyn On Wed, Apr 11, 2012 at 10:56 PM, Foo Shyn Chung ipoh...@gmail.com wrote: Hi all, I have a view created via

view-entity view-link for multiple aliases

2012-04-11 Thread Foo Shyn Chung
Hi all, I have a view created via the DynamicViewEntity in a groovy script. This view of mine consist of few tables and another view which is declared in a entitymodel.xml in another module. In one of the join, the link need to consist of relationship from 3 tables, i.e. select * from ((tableA

Re: view-entity within view-entity selection issue

2012-04-09 Thread Foo Shyn Chung
the component-load.xml and explicitly stating the sequence, everything started to work like a charm. Hope this can help whoever that's facing the same problem. Thanx FooShyn On Sun, Apr 8, 2012 at 12:01 PM, Foo Shyn Chung ipoh...@gmail.com wrote: The problem is my SQL need to have left join on two

Re: view-entity within view-entity selection issue

2012-04-09 Thread Foo Shyn Chung
From: Foo Shyn Chung ipoh...@gmail.com I'd managed to solve the problem. It seems that the entitymodel.xml loads according to the sequence of the component to be loaded as well. For example, in my case, the view-entity ViewOfficerPaymentInfo is being declared in the Payment entitymodel.xml

Re: view-entity within view-entity selection issue

2012-04-07 Thread Foo Shyn Chung
need from the 2 others. (ie using directly real entities you used in both others) Jacques From: Foo Shyn Chung ipoh...@gmail.com Further on the issue, i tried moving the selection from using the entity-condition in xml to a groovy script and using delegator.findList. However the problem

Re: view-entity within view-entity selection issue

2012-04-06 Thread Foo Shyn Chung
at 5:30 PM, Foo Shyn Chung ipoh...@gmail.com wrote: Hi all, I'm having issue trying to select a view entity field from within another view entity. I have to view entity currently, first one looks like this: view-entity entity-name=ViewOfficerPaymentInfo package-name=com.trideas.ams.payment

view-entity within view-entity selection issue

2012-04-05 Thread Foo Shyn Chung
Hi all, I'm having issue trying to select a view entity field from within another view entity. I have to view entity currently, first one looks like this: view-entity entity-name=ViewOfficerPaymentInfo package-name=com.trideas.ams.payment title=OfficerPayment joins OfficerPaymentCommission

fo ftl pagination

2012-03-28 Thread Foo Shyn Chung
Hi all, Sorry if this sounds noob as this is the first time i'm generating a report via the fo.ftl route. I'd managed to create the report and generated it to a pdf file, however i notice that, when the page break, it actually breaks between the data within a row, rather than breaking gracefully

Re: fo ftl pagination

2012-03-28 Thread Foo Shyn Chung
-together attribute like this: fo:block keep-together=always Name IC Phone /fo:block On Mar 28, 2012, at 10:50 AM, Foo Shyn Chung wrote: Hi all, Sorry if this sounds noob as this is the first time i'm generating a report via the fo.ftl route. I'd managed to create the report

Re: Reports on OFBIZ: use fo.ftl or Birt?

2012-03-27 Thread Foo Shyn Chung
; this is part of a larger plan to create an ecosystem of OFBiz components (like Birt but hopefully other reporting tools like JasperReports) that can be downloaded and plugged into OFBiz. Kind regards, Jacopo On Mar 27, 2012, at 7:57 AM, Foo Shyn Chung wrote: Hi all, I noticed

Re: Using delegator in Java Events

2012-03-26 Thread Foo Shyn Chung
this is not intended (could be an OOTB bug I mean) Jacques From: Foo Shyn Chung ipoh...@gmail.com Hi all, I'm using Ofbiz 11.04 branch as the base for my project currently. The database i'm using is Postgres. In one of the module, due to the restriction of using the service, i need to use

Reports on OFBIZ: use fo.ftl or Birt?

2012-03-26 Thread Foo Shyn Chung
Hi all, I noticed that in Ofbiz reporting are either done using Birt or fo.ftl. I'm a bit confused in which one should i use to work on my report. Does Ofbiz endorse using fo.ftl further or will Ofbiz continue be using Birt (and update the Birt library) in the future? Any pointer or advice?

Using delegator in Java Events

2012-03-23 Thread Foo Shyn Chung
Hi all, I'm using Ofbiz 11.04 branch as the base for my project currently. The database i'm using is Postgres. In one of the module, due to the restriction of using the service, i need to use Java Events to retrieve the value from a form and save it into the database. I'm using the delegator to

Using Freemarker 2.3.19

2012-03-07 Thread Foo Shyn Chung
Hi all, I found out that for freemarker to support the .now syntax i need to upgrade the freemarker library to 2.3.17 or above. I check the trunk repository, and found that it was upgraded to 2.3.15 but then was subsequently downgraded to 2.3.10 by Hans. Just wondering is it that running

Re: Using Freemarker 2.3.19

2012-03-07 Thread Foo Shyn Chung
contacted the creator of freemarker, but he could not reproduce the problem. Regards, Hans On 03/08/2012 11:33 AM, Foo Shyn Chung wrote: Hi all, I found out that for freemarker to support the .now syntax i need to upgrade the freemarker library to 2.3.17 or above. I check the trunk

Re: Using Freemarker 2.3.19

2012-03-07 Thread Foo Shyn Chung
Ya found out about nowTimestamp after a search. Thanx both. FooShyn On Thu, Mar 8, 2012 at 2:30 PM, Adrian Crum adrian.c...@sandglass-software.com wrote: Use nowTimestamp. -Adrian On 3/8/2012 6:25 AM, Foo Shyn Chung wrote: I see.. then i think i have to find a workaround on this...we

Defining attribute in servces.xml

2012-02-16 Thread Foo Shyn Chung
Hi all, I'm encountering a problem whereby i have fields in a form that has variable naming in the name attributes that need to pass into a service, but can't do so because i can't define it in the services.xml The scenario is that, i have a major form, and there's this sub section of fields

Re: Defining attribute in servces.xml

2012-02-16 Thread Foo Shyn Chung
service calls; Hope this helps. - Sakthi On Thu, Feb 16, 2012 at 8:50 PM, Foo Shyn Chung ipoh...@gmail.com wrote: Hi all, I'm encountering a problem whereby i have fields in a form that has variable naming in the name attributes that need to pass into a service, but can't do so because

Specialized Types in Entity field type

2012-01-30 Thread Foo Shyn Chung
Hi all, I found that there are certain type are being defined as Specialized Types in the fieldtypedb.xml . i wonder why are they termed 'special' as the sql-type and java-type are basically almost the same. 1 example is tel-number where the sql-type is TEXT and the java-type is String

Re: Question on services methods

2012-01-29 Thread Foo Shyn Chung
Got it. Thanx for the explaination. =) On Sun, Jan 29, 2012 at 3:44 PM, David E Jones d...@me.com wrote: Thread safety issues come from the use of static fields in a class, not static methods. -David Foo Shyn Chung wrote: Hi all, This may sounds stupid, please spare me =p. I've

Question on services methods

2012-01-18 Thread Foo Shyn Chung
Hi all, This may sounds stupid, please spare me =p. I've noticed that methods in the Services class are written as static and i'd come across a discussion thread that talked about why it is so. (http://osdir.com/ml/user.ofbiz.apache.org/2009-09/msg00284.html) However, there are times that a

Re: Numeric only input for form field

2012-01-11 Thread Foo Shyn Chung
Got it. Thanks a lot! =) On Wed, Jan 11, 2012 at 6:50 PM, Bilgin Ibryam bibr...@gmail.com wrote: On 11 January 2012 10:36, Foo Shyn Chung ipoh...@gmail.com wrote: Hi Bilgin, Thanks. In that case, is there any way i can put in jquery scripts in the form-widget xml? Yes, here

Re: Numeric only input for form field

2012-01-10 Thread Foo Shyn Chung
-software.com wrote: Use the mask attribute in the text element. -Adrian On 1/10/2012 7:48 AM, Foo Shyn Chung wrote: Hi all, I have an input which is suppose to be numeric only. On the form the field i use is text, however i have problem trying to make it numerical only. Have tried googling around

Re: WYSIWYG editor

2012-01-09 Thread Foo Shyn Chung
the WYSIWYG editor and store the content with tag information in the DB (ElectronicText). 2012/1/9 Foo Shyn Chung ipoh...@gmail.com: Hi all, I'm wondering is there any WYSIWYG panel to be used within ofbiz. What i meant is something like the administrator panel for a website, where

Numeric only input for form field

2012-01-09 Thread Foo Shyn Chung
Hi all, I have an input which is suppose to be numeric only. On the form the field i use is text, however i have problem trying to make it numerical only. Have tried googling around but found not viable solution, any help? FYI i'm using the Form Widget to generate the form, not freemarker

WYSIWYG editor

2012-01-08 Thread Foo Shyn Chung
Hi all, I'm wondering is there any WYSIWYG panel to be used within ofbiz. What i meant is something like the administrator panel for a website, where the content show will be exactly like the one displayed, with bold or underlined Text for example. Since ofbiz contains a ecommerce module, is

Re: Disable a drop-down form widget from *Forms.xml

2011-12-21 Thread Foo Shyn Chung
and will try to come out with some contribution, but first i need to find out how to test xsd changes locally =) Thanx FooShyn On Thu, Dec 22, 2011 at 4:45 AM, Jacques Le Roux jacques.le.r...@les7arts.com wrote: Hi FooShyn, From: Foo Shyn Chung ipoh...@gmail.com I did tried to set the use-when

Disable a drop-down form widget from *Forms.xml

2011-12-20 Thread Foo Shyn Chung
Hi all, I'd been searching through google but not having luck with the issue. The scenario is that I need to display a drop-down that is disabled by default, and then having another drop-down that will enabled it back if a certain option is being selected. I'd managed to done the hard part by

Re: Failing to populate list-option

2011-12-20 Thread Foo Shyn Chung
wrote: Keep it simple, use field name=geoId drop-down allow-empty=true entity-options entity-name=**GeoAssocAndGeoToWithState description=${geoName} entity-constraint name=geoIdFrom value=MYS/ /entity-options /drop-down /field Jacques From: Foo Shyn Chung

Re: Disable a drop-down form widget from *Forms.xml

2011-12-20 Thread Foo Shyn Chung
, 2011 at 6:50 PM, Jacques Le Roux jacques.le.r...@les7arts.com wrote: Try with use-when field attribute, there are plenty of examples, maybe not exactly the one you are looking for, but it's doable Jacques From: Foo Shyn Chung ipoh...@gmail.com Hi all, I'd been searching through google

Re: Failing to populate list-option

2011-12-19 Thread Foo Shyn Chung
you have in log? (just a relevant snippet) Jacques From: Foo Shyn Chung ipoh...@gmail.com Hi guys, Just to check, anyone has an idea on how to populate a dropdown list with the result from getAssociatedStateList in the Form Widget xml? The scenario is that i just need the dropdown box

Ofbiz Setup menu

2011-12-15 Thread Foo Shyn Chung
Hi guys, I notice that when i click on the Party or My Portal component, the Setup component is not appearing in the main app bar. However when i click on other components, including those that i'd created in hot-deploy folder, the Setup menu will appear. Would like to know how ofbiz control the

Re: Multi page listing mechanism

2011-10-24 Thread Foo Shyn Chung
usage. Hence i'm trying to figure out what's the problem. A lot of thanks for any comments or advice. Thank you FooShyn On Wed, Oct 12, 2011 at 12:18 AM, BJ Freeman bjf...@free-man.net wrote: are you using an entity OTTB? Some DB will not handle Cursors. Foo Shyn Chung sent the following on 10

Multi page listing mechanism

2011-10-06 Thread Foo Shyn Chung
Hi guys, Would like to ask what is the mechanism used in Ofbiz for multi page listing? Currently we have a live site whereby the listing would resulted in a few thousands rows being returned and displayed on multiple page on the screen. We found that once the data amount hit a certain amount,

Re: Multi page listing mechanism

2011-10-06 Thread Foo Shyn Chung
PM, Bilgin Ibryam bibr...@gmail.com wrote: On Thu, Oct 6, 2011 at 8:48 AM, Foo Shyn Chung ipoh...@gmail.com wrote: Hi guys, Hi FooShyn, Would like to ask what is the mechanism used in Ofbiz for multi page listing? have a look at java.sql.ResultSet.EntityListIterator class

Multiple ofbiz instance with different domain names

2011-10-06 Thread Foo Shyn Chung
Hi guys, I have managed to setup and run 2 Ofbiz instances in a single machine. Using IP with different ports, i can use them without any issue. However, i would need to setup different domain names for each of them, for example: www.abc.com should points to 127.0.0.1:8080 while

Re: Multiple ofbiz instance with different domain names

2011-10-06 Thread Foo Shyn Chung
something similar at the httpd level with mod_proxy_ajp and virtual hosts. Sam On 7 Oct 2011, at 11:04, Foo Shyn Chung wrote: Hi guys, I have managed to setup and run 2 Ofbiz instances in a single machine. Using IP with different ports, i can use them without any issue. However

Re: Error handling in PartyMapProcs.xml not working?

2011-09-05 Thread Foo Shyn Chung
. It works correctly in both versions. Or to introduces needed changes from them into 10.04, if you really need this release... Jacques From: Foo Shyn Chung ipoh...@gmail.com I was using 10.4...no i didn't trunk demo. Thanx FooShyn On Sat, Sep 3, 2011 at 6:15 AM, Jacques Le Roux

Re: Error handling in PartyMapProcs.xml not working?

2011-09-02 Thread Foo Shyn Chung
... The dev ML thread was opened for another reason, and I received also this message thru the OFBiz MLs, no needs to put my email on I will have a look later... Jacques From: Foo Shyn Chung ipoh...@gmail.com Hi Jacques, Thanx for the answer. I'm just wondering, isn't the PartyMapProcs method

Re: Error handling in PartyMapProcs.xml not working?

2011-08-31 Thread Foo Shyn Chung
received also this message thru the OFBiz MLs, no needs to put my email on I will have a look later... Jacques From: Foo Shyn Chung ipoh...@gmail.com Hi Jacques, Thanx for the answer. I'm just wondering, isn't the PartyMapProcs method should act as a filter itself, and prompt the relevant

Re: Error handling in PartyMapProcs.xml not working?

2011-08-30 Thread Foo Shyn Chung
. I don't see any obvious reason to not have them consistent. So I think we should fix that. FooShyn: For your problem you should follow the same way and add your field as mandatory not only in your customisation of PartyMapProcs but also in createPerson/updatePerson Jacques From: Foo Shyn

Re: Error handling in PartyMapProcs.xml not working?

2011-08-25 Thread Foo Shyn Chung
Hi all, I was trying to add on a field to the Person entity, and to make this field a compulsory field. I added a check in the person map processor in the PartyMapProcs.xml as below: process field=nriccopy/not-emptyfail-property resource=PartyUiLabels

Error handling in PartyMapProcs.xml not working?

2011-08-24 Thread Foo Shyn Chung
Hi all, I was trying to add on a field to the Person entity, and to make this field a compulsory field. I added a check in the person map processor in the PartyMapProcs.xml as below: process field=nriccopy/not-emptyfail-property resource=PartyUiLabels

Re: Distributing Ofbiz without the source file

2011-08-12 Thread Foo Shyn Chung
the removes the .svn folder and you define other folders and or files. another way is to write a script to copy folder to a new root folder with the folders/files, like the create-component in the build.xml Foo Shyn Chung sent the following on 8/11/2011 9:32 PM: Hi All, We're currently using

Distributing Ofbiz without the source file

2011-08-11 Thread Foo Shyn Chung
Hi All, We're currently using Ofbiz as the base framework and build custom modules on top of it and distribute it to our clients. However we would like to exclude all the java files from the distribute package, and after some search through google i can't manage to find any existing solution (or