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 can help me out?

Regards,

Pierre


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:
>
>   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 can help me out?
>
> Regards,
>
> Pierre


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 delete it, cause it is to much data for my cvs :)
> 
> Kindy
> 
> Robert
> 


--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/file-session-ser-tp4613767p4614314.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


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){
println p.getString("socialSecurityNumber");
}

every thing is ok.

query by "PersonViewView", code:
List list = delegator.findByAnd("PersonViewView",null);
for(GenericValue p : list){
println p.getString("socialSecurityNumber");
}

get something like:
sn:322557bcf72a6244001fc2a9a1b35daf

and exception:
2012-05-06 16:48:40,296 (http-0.0.0.0-8443-2) [
EntityCrypto.java:94 :INFO ] Decrypt with DES key from standard key
name hash failed, trying old/funny variety of key name hash
2012-05-06 16:48:40,296 (http-0.0.0.0-8443-2) [
GenericDelegator.java:2603:WARN ]
 exception report --
Problem decrypting field [PersonViewView / socialSecurityNumber]
Exception: org.ofbiz.entity.EntityCryptoException
Message: org.ofbiz.base.util.GeneralException:
javax.crypto.BadPaddingException: Given final block not properly
padded (Given final block not properly padded)
(javax.crypto.BadPaddingException: Given final block not properly
padded (Given final block not properly padded))
...

Thanks!
-- 
叶双明


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 add in my data the following:



My store id is 9

The shipmentMethodTypeId="LOCAL_DELIVERY" is already preloaded in the DB
from demo data

Despite that in the Final Order Review page, it says:

Method: No Shipping

What else I could do to make that work?


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,
> 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:
> >
> >   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 can help me out?
> >
> > Regards,
> >
> > Pierre
>


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,

Pierre

2012/5/7 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:

   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 can help me out?

Regards,

Pierre



--
Nicolas MALIN
Consultant
Tél : 06.17.66.40.06
Site projet : http://www.neogia.org/
---
Société LibrenBerry
Tél : 02.48.02.56.12
Site : http://www.librenberry.net/



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 better.

You should ask yourself whether such committers are (still) a plus for the
project.

Regards,

Pierre

2012/5/7 Jacopo Cappellato 

>
> On May 7, 2012, at 11:20 AM, Hans Bakker wrote:
>
> > Jacopo,
> >
> > no license issues: the file was copied over as is, including the
> header..
> >
> > the fact is: if we cannot copy code from an Apache project before
> completely investigating it...
>
> Ok, I have checked and the code that is causing the main problems is the
> one that makes use of the public static fields and that code doesn't come
> from Cocoon, so I have to assume it is your code.
>
> >
> > let me know, did you investigate the free marker code before including
> the jar?
>
> what do you mean? There is no relation between including an external jar
> file and copying some code from a source file and include it into your own
> source code without really understanding it. So please, stop here this
> attempt to attack to change topics and distract from the code in question.
>
> Jacopo
>
> >
> > Regards,
> > Hans
> >
> > P.S do not worry, apart from smaller changes I will avoid the framework
> as much as possible and always advertise that we are application
> programmers.
> >
> >
> > On 05/07/2012 03:59 PM, Jacopo Cappellato (JIRA) wrote:
> >> [
> https://issues.apache.org/jira/browse/OFBIZ-4856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13269462#comment-13269462]
> >>
> >> Jacopo Cappellato commented on OFBIZ-4856:
> >> --
> >>
> >> I am sorry Hans, but if you have copied code from another project we
> have to keep track of it and it is not an option to forget about this...
> this may cause license issues.
> >> We cannot commit code that is broken or only partially working and then
> pretend that others will fix it: do you and anyone else understand that
> this way of doing (at least in the last 2 years) is really unacceptable?
> >> If you do not know how to implement a thread safety class you should
> not touch the framework code.
> >> Questions to all committers: should we revert this work? or are we
> willing to refactor it to make it really usable? Volunteers?
> >>
> >>> webapp "tempfiles" is not successfully loaded because of
> java.io.FileNotFoundException during startup
> >>>
> -
> >>>
> >>> Key: OFBIZ-4856
> >>> URL: https://issues.apache.org/jira/browse/OFBIZ-4856
> >>> Project: OFBiz
> >>>  Issue Type: Bug
> >>>  Components: framework
> >>>Affects Versions: SVN trunk
> >>>Reporter: Leon
> >>> Fix For: SVN trunk
> >>>
> >>> Attachments: OFBIZ-4856.patch
> >>>
> >>>
> >>> During startup, there's a "java.io.FileNotFoundException" thrown out
> when ofbiz trying to load webapp "tempfiles" which is defined by
> framework/images component.
> >>> The file not found is "runtime/tempfiles/WEB-INF/web.xml". This file
> does not exist from the very first, catalina container will use default
> web.xml instead.
> >>> I apply a patch for this issue to catch the
> "java.io.FileNotFoundException" and bypass it.
> >> --
> >> This message is automatically generated by JIRA.
> >> If you think it was sent incorrectly, please contact your JIRA
> administrators:
> https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
> >> For more information on JIRA, see:
> http://www.atlassian.com/software/jira
> >>
> >>
> >
>
>


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 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,
>> 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:
>> >
>> >   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 can help me out?
>> >
>> > Regards,
>> >
>> > Pierre
>>


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.

Regards,

Pierre


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 the OFBiz - User mailing list archive at Nabble.com.


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 conditions 
for "B" would need to be defined in a "not condition" for "A".


This could work for simply combinations but when there are several 
promos active at one time then it will be impossible to control. We will 
implement a simple parameter to control this in BigFish -- happy to 
contribute if folks think this is useful. We're also thinking about 
having a matrix of possible combinations for the next version of 
BigFish, again happy to contribute back to the project.


Best Regards,

Nick Rosser
nros...@salmonllc.com
O: 516.742.7888 x221
C: 516.901.1720


On 5/7/2012 7:19 AM, Sanjeev Gupta wrote:

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 the OFBiz - User mailing list archive at Nabble.com.


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, as it is as default in ofbiz (with decorator and so
on).

My problem is now the XML authentification. If the user is not logged in, it
shows the loginscreen with all decorator etc. BUt i just need the
login-screen. If I overwrite the loginscreen, I have the problem with users
without JS activated, cause the decorators etc. are not shown. So my
question is, if I have to check this in the java file, and return another
respons to make the differentiation, or can I do sth. in xml? Like a session
value check with if/else ... or are there other possibilities?

please let me know.

Robert

--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Customizing-Login-Screen-for-different-components-tp2291046p4614781.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


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
   - SpecialPurpose/Ebay
   - SpecialPurpose/EbayStore
   - SpecialPurpose/Example
   - SpecialPurpose/Googlebase
   - SpecialPurpose/ProjectMgr
   - SpecialPurpose/Scrum

But, the help documents aren't complete (and in several cases not
up-to-date) and for some applications/components totally missing (e.g.
manufacturing). Also, documents mainly exist in English (only a few
documents are in e.g. Dutch, Italian of French).

As you would probably agree, the help document for a screen should be the
first place to look when an end-user looks for help.

What if we create a dedicated 'Help-OFBiz-Help' moment to improve and
extend the help documents?
Create the structure for applications that don't have it currently, create
the missing English documents for each screen accessible, embed it in the
help structure and extend the localized versions?

How do you feel about this plan? Please provide your feedback/thoughts on
this and how you can contribute, in order for us to establish a plan.

Regards,

Pierre


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:
> 
>   - Accounting
>   - Commonext
>   - Content
>   - Humanres
>   - Marketing
>   - Order
>   - Party
>   - Product
>   - SpecialPurpose/Ebay
>   - SpecialPurpose/EbayStore
>   - SpecialPurpose/Example
>   - SpecialPurpose/Googlebase
>   - SpecialPurpose/ProjectMgr
>   - SpecialPurpose/Scrum
> 
> But, the help documents aren't complete (and in several cases not
> up-to-date) and for some applications/components totally missing (e.g.
> manufacturing). Also, documents mainly exist in English (only a few
> documents are in e.g. Dutch, Italian of French).
> 
> As you would probably agree, the help document for a screen should be the
> first place to look when an end-user looks for help.
> 
> What if we create a dedicated 'Help-OFBiz-Help' moment to improve and
> extend the help documents?
> Create the structure for applications that don't have it currently, create
> the missing English documents for each screen accessible, embed it in the
> help structure and extend the localized versions?
> 
> How do you feel about this plan? Please provide your feedback/thoughts on
> this and how you can contribute, in order for us to establish a plan.
> 
> Regards,
> 
> Pierre



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 with any other promotions - typically the
ones that are x% on your shopping carts.
2) Promo's that can clubbed with any other promotions - lets say get
sunglasses free with shoes. 
3) Finally the ones that can be only clubbed with specific promotions - this
is were it'll get complex and will need the matrix or associations. 

For the first two, you can work with just having another field to flag the
promotions. For the third kind may need a new table itself to manage
association.. 



-
Rgds
Sanjeev
www.sanjeevg.com
@sanjeevgcom
--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Promotions-mutually-exclusive-tp4604393p4614994.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


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 exclusive



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 with any other promotions - typically 
the
ones that are x% on your shopping carts.
2) Promo's that can clubbed with any other promotions - lets say get
sunglasses free with shoes. 
3) Finally the ones that can be only clubbed with specific promotions - 
this
is were it'll get complex and will need the matrix or associations. 

For the first two, you can work with just having another field to flag the
promotions. For the third kind may need a new table itself to manage
association.. 



-
Rgds
Sanjeev
www.sanjeevg.com
@sanjeevgcom
--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Promotions-mutually-exclusive-tp4604393p4614994.html

Sent from the OFBiz - User mailing list archive at Nabble.com.


=-=-=
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you




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/gisfjrzqf3auxfgh#query:+page:1+mid:gc3tmnj4z6gj3yyi+state:results
I could not find a useful example of how is this configured in practise,
any help there, please?

Kind Regards,
Boris


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://ofbiz.135035.n4.nabble.com/Ant-run-test-list-target-tp4609039p4615489.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


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 developers of the project. That
means intended for anyone participating in developing code ánd the
community. It is not the
Only-for-committers-who-do-code-only-and-where-other-communitiy-members-may-only-ask-limited-questions-per-issue"
mailing list.

Some community members may have chosen to only read the dev mail. I want to
invite them as well to pariticpate in the "Help OFBiz Help"-day.

Pierre


2012/5/7 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:
> >
> >   - Accounting
> >   - Commonext
> >   - Content
> >   - Humanres
> >   - Marketing
> >   - Order
> >   - Party
> >   - Product
> >   - SpecialPurpose/Ebay
> >   - SpecialPurpose/EbayStore
> >   - SpecialPurpose/Example
> >   - SpecialPurpose/Googlebase
> >   - SpecialPurpose/ProjectMgr
> >   - SpecialPurpose/Scrum
> >
> > But, the help documents aren't complete (and in several cases not
> > up-to-date) and for some applications/components totally missing (e.g.
> > manufacturing). Also, documents mainly exist in English (only a few
> > documents are in e.g. Dutch, Italian of French).
> >
> > As you would probably agree, the help document for a screen should be the
> > first place to look when an end-user looks for help.
> >
> > What if we create a dedicated 'Help-OFBiz-Help' moment to improve and
> > extend the help documents?
> > Create the structure for applications that don't have it currently,
> create
> > the missing English documents for each screen accessible, embed it in the
> > help structure and extend the localized versions?
> >
> > How do you feel about this plan? Please provide your feedback/thoughts on
> > this and how you can contribute, in order for us to establish a plan.
> >
> > Regards,
> >
> > Pierre
>
>


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. But I want to set the
attributes for the whole category, that my employees which create the new
products, have a template and just need to fill in the data for each
categorie. On that way they do not have to check all the time the other
products to get the attribute names. I want that each product has all the
same attributes in that category and all in the same order.

is that possible? I found attributes for the category, but I think this is
wrong for me, cause they are not shown on the product configuration in that
category.

Has anyone an idea?

Kindly

Robert

--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/product-attributes-and-futures-tp4615815.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


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 that you think your 
messages are very important but I can assure you they are no more important 
that anyone else's and we all seem to get by just fine by choosing one list to 
post our messages to.  It's just basic netiquette.

Regards
Scott

On 8/05/2012, at 8:46 AM, Pierre Smits wrote:

> Scott,
> 
> Contrary to what you and Jacopo (see
> this)
> believe, the developer mailing is for the developers of the project. That
> means intended for anyone participating in developing code ánd the
> community. It is not the
> Only-for-committers-who-do-code-only-and-where-other-communitiy-members-may-only-ask-limited-questions-per-issue"
> mailing list.
> 
> Some community members may have chosen to only read the dev mail. I want to
> invite them as well to pariticpate in the "Help OFBiz Help"-day.
> 
> Pierre
> 
> 
> 2012/5/7 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:
>>> 
>>>  - Accounting
>>>  - Commonext
>>>  - Content
>>>  - Humanres
>>>  - Marketing
>>>  - Order
>>>  - Party
>>>  - Product
>>>  - SpecialPurpose/Ebay
>>>  - SpecialPurpose/EbayStore
>>>  - SpecialPurpose/Example
>>>  - SpecialPurpose/Googlebase
>>>  - SpecialPurpose/ProjectMgr
>>>  - SpecialPurpose/Scrum
>>> 
>>> But, the help documents aren't complete (and in several cases not
>>> up-to-date) and for some applications/components totally missing (e.g.
>>> manufacturing). Also, documents mainly exist in English (only a few
>>> documents are in e.g. Dutch, Italian of French).
>>> 
>>> As you would probably agree, the help document for a screen should be the
>>> first place to look when an end-user looks for help.
>>> 
>>> What if we create a dedicated 'Help-OFBiz-Help' moment to improve and
>>> extend the help documents?
>>> Create the structure for applications that don't have it currently,
>> create
>>> the missing English documents for each screen accessible, embed it in the
>>> help structure and extend the localized versions?
>>> 
>>> How do you feel about this plan? Please provide your feedback/thoughts on
>>> this and how you can contribute, in order for us to establish a plan.
>>> 
>>> Regards,
>>> 
>>> Pierre
>> 
>> 



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 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. But I want to set the
> attributes for the whole category, that my employees which create the new
> products, have a template and just need to fill in the data for each
> categorie. On that way they do not have to check all the time the other
> products to get the attribute names. I want that each product has all the
> same attributes in that category and all in the same order.
>
> is that possible? I found attributes for the category, but I think this is
> wrong for me, cause they are not shown on the product configuration in that
> category.
>
> Has anyone an idea?
>
> Kindly
>
> Robert
>
> --
> View this message in context:
> http://ofbiz.135035.n4.nabble.com/product-attributes-and-futures-tp4615815.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>



-- 
Olagos bvba
http://www.olagos.eu 
http://www.olagos.com
http://www.olagos.be
http://www.olagos.nl
Olagos team
Heesterbos 5
2570 Duffel
Belgium


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. wrote:

category, that my employees which create the new
products, have a template and just need to fill in the data for each
categorie.


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:


if (!"success".equalsIgnoreCase(checkLoginReturnString)) {
// previous URL already saved by event, so just do as the 
return says...
eventReturn = checkLoginReturnString;
// if the request is an ajax request we don't want to return 
the default login check
if 
(!"XMLHttpRequest".equals(request.getHeader("X-Requested-With"))) {
requestMap = requestMapMap.get("checkLogin");
} else {
requestMap = requestMapMap.get("ajaxCheckLogin");
}
}
===


Thanks & Regards
-- 
Deepak Dixit


On May 7, 2012, at 6:51 PM, Robert G. wrote:

> 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, as it is as default in ofbiz (with decorator and so
> on).
> 
> My problem is now the XML authentification. If the user is not logged in, it
> shows the loginscreen with all decorator etc. BUt i just need the
> login-screen. If I overwrite the loginscreen, I have the problem with users
> without JS activated, cause the decorators etc. are not shown. So my
> question is, if I have to check this in the java file, and return another
> respons to make the differentiation, or can I do sth. in xml? Like a session
> value check with if/else ... or are there other possibilities?
> 
> please let me know.
> 
> Robert
> 
> --
> View this message in context: 
> http://ofbiz.135035.n4.nabble.com/Customizing-Login-Screen-for-different-components-tp2291046p4614781.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.



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 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/gisfjrzqf3auxfgh#query:+page:1+mid:gc3tmnj4z6gj3yyi+state:results
I could not find a useful example of how is this configured in practise,
any help there, please?

Kind Regards,
Boris



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 the default organization party(log in
organizationparty  in which party an user is loged in)


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 ProductCategory through
ProductFeatureCategoryAppl. Please have a look to these entity
relationship.

HTH

Regards,
Ankit Jain



On Tue, May 8, 2012 at 2:45 AM, Robert G.  wrote:
> 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. But I want to set the
> attributes for the whole category, that my employees which create the new
> products, have a template and just need to fill in the data for each
> categorie. On that way they do not have to check all the time the other
> products to get the attribute names. I want that each product has all the
> same attributes in that category and all in the same order.
>
> is that possible? I found attributes for the category, but I think this is
> wrong for me, cause they are not shown on the product configuration in that
> category.
>
> Has anyone an idea?
>
> Kindly
>
> Robert
>
> --
> View this message in context: 
> http://ofbiz.135035.n4.nabble.com/product-attributes-and-futures-tp4615815.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.


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 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 the default organization party(log in
> organizationparty  in which party an user is loged in)


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, in this case if sales manager provide all the multiple promo codes to
single customer then it is totally depended on the business requirement
they have, so would be good if we go thru the following options;

- Add additional field on the ProductPromo entity that whether user wants
to apply it if other promotions are already set into the cart or not. It
will work as once the promotion applies then it will remove all the other
promotion from the cart.
- Or add a promotion conflict screen which shows all the promotion
conflicts within the date range, and sales manager then resolve manually
one by one.

Sending additional parameter will tightly coupled the things from front
store and it will always apply the single promotion at a time. If you want
to go thru this option only, then better to add capability on product store
level so that the parameter will be configurable.

The reason behind this suggestion is, if any customer receives more than
one promo code from any website within same date range and if it is not
mention that the last  code won't work if newer applies in that case
customer always expect that the both code gives him discount mentioned.

Thanks for raising this, enjoy to think on it.

--
Rishi Solanki
Manager, Enterprise Software Development
HotWax Media Pvt. Ltd.
Direct: +91-9893287847
http://www.hotwaxmedia.com


On Mon, May 7, 2012 at 8:28 PM,  wrote:

> 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 exclusive
>
>
>
> 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 with any other promotions - typically
> the
> ones that are x% on your shopping carts.
> 2) Promo's that can clubbed with any other promotions - lets say get
> sunglasses free with shoes.
> 3) Finally the ones that can be only clubbed with specific promotions -
> this
> is were it'll get complex and will need the matrix or associations.
>
> For the first two, you can work with just having another field to flag the
> promotions. For the third kind may need a new table itself to manage
> association..
>
>
>
> -
> Rgds
> Sanjeev
> www.sanjeevg.com
> @sanjeevgcom
> --
> View this message in context:
>
> http://ofbiz.135035.n4.nabble.com/Promotions-mutually-exclusive-tp4604393p4614994.html
>
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>
> =-=-=
> Notice: The information contained in this e-mail
> message and/or attachments to it may contain
> confidential or privileged information. If you are
> not the intended recipient, any dissemination, use,
> review, distribution, printing or copying of the
> information contained in this e-mail message
> and/or attachments to it are strictly prohibited. If
> you have received this communication in error,
> please notify us by reply e-mail or telephone and
> immediately and permanently delete the message
> and any attachments. Thank you
>
>
>