use-when

2012-05-07 Thread Pierre Smits
Hi all, I want to have a button only visible (with use-when on a field widget in a form) in an overview when following conditions are met: 1. when thruDate is null or empty 2. when thruDate is great or equal to now. I can get the first one going, but the second and thus the combo not. Who

Re: use-when

2012-05-07 Thread Ankit Jain
Try this for second condition use-when="${thruDate > nowTimestamp}". HTH Regards, Ankit Jain On Mon, May 7, 2012 at 12:31 PM, Pierre Smits wrote: > Hi all, > > I want to have a button only visible (with use-when on a field widget in a > form) in an overview when following conditions are met:

Re: file session.ser

2012-05-07 Thread Robert G.
I see thanks. I realised, that tomcat deletes this file on startup...so problem solved :) thanks! Robert G. wrote > > Hey, > > for what is the named file? Cause by a server crash (loop implementation > by myself :) ) this file size raised to over 4GB...is it kind of log file? > > Can I maybe

problem when use viewentity in viewentity with encrypt field

2012-05-07 Thread 叶双明
Hi all: for example, i define two viewentity: query by "PersonView", code: List list = delegator.findByAnd("PersonView",null); for(GenericValue p : list){

Shipping methods for a store

2012-05-07 Thread Boris Hamanov
Hi guys, I am having difficulty configuring a shipping method for my ecommerce store. My requerements are very simple. The shipping is fixed sum not matter how many items are in the order. I looked at the examples in specialpurpose\ecommerce\data\DemoShipping.xml I figured I will need only to ad

Re: use-when

2012-05-07 Thread Pierre Smits
Thanks Ankit Jain, It worked, but with a side effect. When only your suggestion (use-when="${thruDate > nowTimestamp}") it shows the button when thruDate is null. Regards, Pierre 2012/5/7 Ankit Jain > Try this for second condition use-when="${thruDate > nowTimestamp}". > > HTH > > Regards, >

Re: use-when

2012-05-07 Thread Nicolas Malin
Try this : use-when="${thruDate == void @or thruDate> nowTimestamp}" Nicolas Le 07/05/2012 11:33, Pierre Smits a écrit : Thanks Ankit Jain, It worked, but with a side effect. When only your suggestion (use-when="${thruDate> nowTimestamp}") it shows the button when thruDate is null. Regards,

Re: [jira] [Commented] (OFBIZ-4856) webapp "tempfiles" is not successfully loaded because of java.io.FileNotFoundException during startup

2012-05-07 Thread Pierre Smits
Jacopo, When do you stop pretending that committers like Hans work in cooperation with the community. Recent comment in JIRA's (e.g. OFBIZ-4130) and commit action (but not just those) clearly indicate that such committers are to busy to be bothered to work with the community to make the project be

Re: use-when

2012-05-07 Thread Ankit Jain
Pierre, I have already mentioned that its for second condition and for first its already working for you so combine both the condition like this. use-when="${thruDate==null || (thruDate > nowTimestamp)}" Regards, Ankit Jain On Mon, May 7, 2012 at 3:03 PM, Pierre Smits wrote: > Thanks Ankit J

Re: use-when

2012-05-07 Thread Pierre Smits
Nicolas, Ankit Jain, Thanks to both of you. The suggestion of Nicolas ( use-when="${thruDate == void @or thruDate> nowTimestamp}" ) still showed the button even when thruDate < nowTimestamp. The suggestion of Ankit Jain ( use-when="${thruDate==null || (thruDate > nowTimestamp)}" ) works. Regard

Re: Promotions, mutually exclusive

2012-05-07 Thread Sanjeev Gupta
I haven't seen anything on these lines either. Will probably need custom development to implements this feature. - Rgds Sanjeev www.sanjeevg.com @sanjeevgcom -- View this message in context: http://ofbiz.135035.n4.nabble.com/Promotions-mutually-exclusive-tp4604393p4614537.html Sent from t

Re: Promotions, mutually exclusive

2012-05-07 Thread Nick Rosser
Sanjeev, Yep, I agree. Also read some older threads that indicated this was not currently available. The suggestions in previous threads was to use the conditions to control this. So, if you had two promos ("a" and "B") and you didn't want to allow "A" to be combined with "B" then the conditio

Re: Customizing Login Screen for different components

2012-05-07 Thread Robert G.
Hello, I have a similar question. I use a differentiation if the user has javascript (short: JS) activated, or deactivated. In case of JS, I show a lot of content in a layered window, so I do not need the decorator, left and rightbar and so on. In the other case, I want to show all in the page, a

Help OFBiz Help - day

2012-05-07 Thread Pierre Smits
Dear All, Did you know that OFBiz contains a solution delivering a help to each screen accessed? And do you use it? Currently for following applications/components help is available: - Accounting - Commonext - Content - Humanres - Marketing - Order - Party - Product -

Re: Help OFBiz Help - day

2012-05-07 Thread Scott Gray
Please stop posting to both lists. Thanks Scott On 8/05/2012, at 1:54 AM, Pierre Smits wrote: > Dear All, > > Did you know that OFBiz contains a solution delivering a help to each > screen accessed? And do you use it? > > Currently for following applications/components help is available: > >

Re: Promotions, mutually exclusive

2012-05-07 Thread Sanjeev Gupta
I Agree Nick, this can't be implemented as a simple "and" "or". With large deployment, there will be several permutation and combinations. It will have to be promotions extension as well as DB entity. The way I look at it, there will be three kind of promotions 1) Promo's that can't be combined w

Re: Promotions, mutually exclusive

2012-05-07 Thread deb . panda
Agreed!!! But just to gauge the promotions that is available in Ofbiz, to the possible / "popular" promotions, I reckon we need a checklist. I am not sure if this is available yet... Deb From: Sanjeev Gupta To: user@ofbiz.apache.org Date: 05/07/2012 08:15 PM Subject: Re: Promotions, mutually

European VAT TaxAuthority and show prices with VAT included

2012-05-07 Thread Boris Hamanov
Hi, I would be grateful if somebody can share his EU VAT TaxAuthority or just point me to an example of how this is done. I found a thread with a lenghty discussion that talks about entering product prices without VAT and showing products with VAT calculated. http://markmail.org/message/gisfjrzqf3

Re: Ant run-test-list target

2012-05-07 Thread Jeffl
Okay, so it's just another ant build file which will somehow execute test targets in the main build via dependencies/calls to those targets. It's been awhile since I've played around with ant, but it doesn't sound too hard. Thanks for clarifying. -- Jeff -- View this message in context: http://

Re: Help OFBiz Help - day

2012-05-07 Thread Pierre Smits
Scott, Contrary to what you and Jacopo (see this) believe, the developer mailing is for the deve

product attributes and futures

2012-05-07 Thread Robert G.
hey guys, i have a question concerning the use of attributes and futures. I sell technical products, where I want to show technical specifications in a table view. just like: resuolution: 1024x768 luminance: 200cd/m2 reaction time: and so on I think attributes are the better choose for it

Re: Help OFBiz Help - day

2012-05-07 Thread Scott Gray
Please don't try and tell me what I believe, I have no problem with you posting to the dev list so long as you're contributing and not asking basic questions. But nobody else cross posts and most of us subscribe to both lists. You've done this repeatedly over the last few weeks, I understand th

Re: product attributes and futures

2012-05-07 Thread Info Olagos
Hello Robert, No idea. That not an added value for you. But i want just to say that i have the same problem with attributes. You have to copy them each time when you create a new product. Regards, Heidi 2012/5/7 Robert G. > hey guys, > > i have a question concerning the use of attributes and f

Re: product attributes and futures

2012-05-07 Thread Arun Kumar Batham
Hello Robert, I think you can try entity ProductCategoryAttribute to set the attributes for the whole category. You can also specify types of attribute from entity ProductCategoryTypeAttr. Thank you. Best Regards Arun Kumar Batham Hotwax Media On Tuesday 08 May 2012 02:45 AM, Robert G. w

Re: Customizing Login Screen for different components

2012-05-07 Thread Deepak Dixit
Hi Robert, Please refer doRequest RequestHandler.java. There is code exists for the same, you can change it as per your requirement or you can add additional check in login screen decorator to include decorator or only to show only loginscreen based on same check:

Re: European VAT TaxAuthority and show prices with VAT included

2012-05-07 Thread Jacques Le Roux
Though it does not give you precise instructions you are looking for, did you read https://cwiki.apache.org/confluence/display/OFBIZ/VAT ? Jacques From: "Boris Hamanov" Hi, I would be grateful if somebody can share his EU VAT TaxAuthority or just point me to an example of how this is done. I

condition in a xml form

2012-05-07 Thread enno tech
sir, in the "glsetupform.xml" document there is a form field "Listcompanies" which show a list of companies(organization parties). so, i want to add a condition in that form field say "condition that match the partyid with defaultorganizationpartyid(login organization id)" so the list only show t

Re: product attributes and futures

2012-05-07 Thread Ankit Jain
Hi Robert, I think features are the better choose, as you mentioned that the attributes will be same for all the products of a category then you can use these technical specifications as ProductFeature and associate to ProductFeatureCategory and then associate this ProductFeatureCategory to a Prod

Re: condition in a xml form

2012-05-07 Thread Ankit Jain
Hi Rahul, Please refer this https://cwiki.apache.org/OFBIZ/ofbiz-tutorial-a-beginners-development-guide.html HTH Regards, Ankit Jain On Tue, May 8, 2012 at 11:50 AM, enno tech wrote: > sir, > in the "glsetupform.xml" document there is a form field > "Listcompanies" which show a list of compa

Re: Promotions, mutually exclusive

2012-05-07 Thread Rishi Solanki
Here are my two cents on this thread; There are two kind of promotions exists in OFBiz, 1) sale promotion and 2) non sale promotion. For the sale promotion isSale flag set to Y else N. Both promotion in turn have their own capabilities that whether they are applicable using promo code or not. Now,