Re: Customers e-mail verification to complete registration

2008-09-29 Thread David E Jones


On Sep 28, 2008, at 11:17 PM, Bruno Busco wrote:

2) Since we have no captcha function I am worried about robots that  
could
generate thousands of false accounts filling up the database. Having  
neither
captcha and e-mail verification could expose the ecommerce too much,  
don't

you think so?


What is the worst case scenario for these? Extra registrations?

There are many forms of denial-of-service attacks, I must admit I've  
never heard of one that specifically targets automated account  
creation on ecommerce sites. Usually automated account creation is  
used for sites where public postings can be made, like free email and  
public forums and such.


Whatever the case, it's really not my decision unless I'm running an  
ecommerce company myself. That's something I'd generally leave up to a  
client to decide on. If someone did ask my opinion, I'd say the  
inconvenience to a customer (and corresponding abandoned carts) may  
not be worth it. Of course, it should also be considered that adding  
captcha and/or email verification may not have any effect on customer  
conversion rates and what what. If a company really wanted to know  
either way the best approach would be to do random testing of using  
and not using each across a large customer base.


-David



Re: entity-one

2008-09-29 Thread Surya Kusumakar

Hello Adithi ,
To know more about data preparation logic and data presentation logic 
you can visit following  link :

http://docs.ofbiz.org/display/OFBADMIN/Best+Practices+Guide
--
Thanks  and Regards
Surya Kusumakar
HotwaxMedia Pvt Ltd.
www.hotwaxmedia.com


awdesh parihar wrote:

Hello Adithi ,

Now in ofbiz we are using groovy instead of bsh , we use groovy when there
is need to prepare more complex data(like mathematical operation ) .

We can perform CRUD operation without groovy file unless there is no need of
complex data preparation .

  


Re: entity-one

2008-09-29 Thread awdesh parihar
Hello Adithi ,

Now in ofbiz we are using groovy instead of bsh , we use groovy when there
is need to prepare more complex data(like mathematical operation ) .

We can perform CRUD operation without groovy file unless there is no need of
complex data preparation .

-- 
--
Thanks  and Regards
Awdesh Singh Parihar
HotwaxMedia Pvt Ltd.
www.hotwaxmedia.com


Re: Setting Transaction Timeout

2008-09-29 Thread ian tabangay
For the third scenario, can you please elaborate on how the
transaction-timeout is determined? Supposing that I have a service that
accepts the csv stream (say Service A) and calls a service to add or update
information (say Service B), what I understood from what you said was the
transaction-timeout for Service A is not being used and I should only be
concerned about the transaction-timeout set for Service B. Is this correct?

Ian

On Mon, Sep 29, 2008 at 11:46 PM, BJ Freeman <[EMAIL PROTECTED]> wrote:

> if you look at the webtools xml imports you can see how there are set
> normally at 2 hours.
> for if you using the dataimport then the same is true.
> if your importing csv as a stream and calling the services to add or
> updated information then you are only concerned with one call at a time,
> so long time out are not needed.


Re: Upload CSV throws java.lang.ClassCastException: java.nio.HeapByteBuffe

2008-09-29 Thread ian tabangay
I found the problem. Uploaded file (key as "uploadedFile") should be type
casted as ByteBuffer instead of byte[].

Ian

On Tue, Sep 30, 2008 at 4:03 AM, Jacques Le Roux <
[EMAIL PROTECTED]> wrote:

> The error I get in Ecmlipse debugger says ClassCastException: Cannot cast
> java.nio.HeapByteBuffer (id=6002) to byte[]
> Same problem on both Linux( Ubuntu 8.04)/Windows (XpSp3)
>
> Seems related to
> http://markmail.org/message/tdvztevawd2hc5mv
>
> No time to look further yet. Maybe Al has an idea ?
>
> Jacques


Re: entity-one

2008-09-29 Thread Surya Kusumakar

Hello Adithi,
Ofbiz best practice for performing CRUD operations is to write services 
and yes we can use Groovy for creating, updating ,retrieving and 
deleting data i.e for data preparation.Using Groovy we can get data from 
the database on the fly.

---
Thanks  and Regards
Surya Kusumakar
HotwaxMedia Pvt Ltd.
www.hotwaxmedia.com


Divesh Dutta wrote:
engine="entity-auto" invoke="create" auth="true">

   Create a Example
   main-action="CREATE"/>

   
   
   
   
   
   

1)This is service definition.you dont need override tag here.if you 
implement any interface just like when we implement any class in 
java,then you need override tag.


2)engine="entity-auto":: reason for using this tag is given below in 
this link:
http://www.nabble.com/The-fancy-new-entity-auto-service-execution-engine-td18674040.html 



3)engine="entity-auto" invoke="create" play the role for creating the 
records for the default-entity "Example."


4)  
   
   This tag  automatically includes primary key and non primary key 
of  default-entity-name="Example"

   Additional tags can be added by:

5)6)Please refer to practice application.I have already given you the 
link.most of the answer of your question are given over there.



Thanks And Regards

Divesh Dutta

Hotwax Media Pvt Ltd.

















Re: Main New features in OFBiz updated

2008-09-29 Thread BJ Freeman
subscribe to the commits and dev mailing list as well
the commits shows everything added to ofbiz as it happens.
in the dev you can track the jiras where webpos started.
you can read the archives to catch up.
http://docs.ofbiz.org/display/OFBADMIN/Mailing+Lists

Sven Wesley sent the following on 9/29/2008 3:15 PM:
> I saw that the september work includes "Web Pos" and I tried to find more
> info about it, and I failed to find any. What is is all about?
> 
> Impressive list of features by the way. I'm going to leave 4.0 for a newer
> main drop instead.
> 
> Regards,
> Sven
> 
> 2008/9/29 Jacques Le Roux <[EMAIL PROTECTED]>
> 
>> Hi Marco,
>>
>> Wooo, impressive work. I just wonder from 1st glance if it's not too much.
>> Remember we speal about *Main* here... I'm afraid if we put too much it will
>> be diluted. Maybe we could have a link from top wher we could show details ?
>>
>> Jacques
>>
>> From: <[EMAIL PROTECTED]>
>>
>>  Hi to all,
>>> I have updated the "Main New Features in OFBiz" document in confluence
>>> from May to September 2008.
>>> It's not so perfect but it's better than have it empty.
>>> Anyone interested can update/remove the messages wrong.
>>>
>>> Thanks
>>> Marco
>>>
>>>
>>>
> 



Re: Upload CSV throws java.lang.ClassCastException: java.nio.HeapByteBuffe

2008-09-29 Thread Jacques Le Roux
The error I get in Ecmlipse debugger says 
ClassCastException: Cannot cast java.nio.HeapByteBuffer (id=6002) to byte[]

Same problem on both Linux( Ubuntu 8.04)/Windows (XpSp3)

Seems related to
http://markmail.org/message/tdvztevawd2hc5mv

No time to look further yet. Maybe Al has an idea ?

Jacques

From: "ian tabangay" <[EMAIL PROTECTED]>

Hi. I was testing the Upload CSV in
https://demo.hotwaxmedia.com/partymgr/control/addressMatchMap to check on an
error and got this instead:

 exception report
--
Service invocation error
Exception: org.ofbiz.service.GenericServiceException
Message: Service target threw an unexpected exception
(java.nio.HeapByteBuffer)
 stack trace
---
org.ofbiz.service.GenericServiceException: Service target threw an
unexpected exception (java.nio.HeapByteBuffer)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:108)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:54)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:384)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:149)
org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:334)
org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:454)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:281)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:198)
org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:78)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:255)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
java.lang.Thread.run(Thread.java:595)
java.lang.ClassCastException: java.nio.HeapByteBuffer
org.ofbiz.party.party.PartyServices.importAddressMatchMapCsv(PartyServices.java:1635)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:96)
 [snip] 

Ian



Re: Main New features in OFBiz updated

2008-09-29 Thread Sven Wesley
I saw that the september work includes "Web Pos" and I tried to find more
info about it, and I failed to find any. What is is all about?

Impressive list of features by the way. I'm going to leave 4.0 for a newer
main drop instead.

Regards,
Sven

2008/9/29 Jacques Le Roux <[EMAIL PROTECTED]>

> Hi Marco,
>
> Wooo, impressive work. I just wonder from 1st glance if it's not too much.
> Remember we speal about *Main* here... I'm afraid if we put too much it will
> be diluted. Maybe we could have a link from top wher we could show details ?
>
> Jacques
>
> From: <[EMAIL PROTECTED]>
>
>  Hi to all,
>>
>> I have updated the "Main New Features in OFBiz" document in confluence
>> from May to September 2008.
>> It's not so perfect but it's better than have it empty.
>> Anyone interested can update/remove the messages wrong.
>>
>> Thanks
>> Marco
>>
>>
>>


Re: entity-one

2008-09-29 Thread Mridul Pathak
Hi Divesh, Aditi
For #1 I would just like to add that its not necessary to use override
tags with interfaces only.  You can obviously use them when you use
 tag in you service definition.  So the use of 
tag in this service definition is completely fine and as this service
definition comes from OFBiz itself, it can't be wrong :).  The use of
 tag is to override the behavior of a field that comes from an
interface or  tag or some other implemented service, in our
service definition.

On Mon, Sep 29, 2008 at 8:27 PM, Divesh Dutta
<[EMAIL PROTECTED]>wrote:

>  engine="entity-auto" invoke="create" auth="true">
>   Create a Example
>main-action="CREATE"/>
>   
>   
>   
>   
>   
>   
>
> 1)This is service definition.you dont need override tag here.if you
> implement any interface just like when we implement any class in java,then
> you need override tag.
>
> 2)engine="entity-auto":: reason for using this tag is given below in this
> link:
>
> http://www.nabble.com/The-fancy-new-entity-auto-service-execution-engine-td18674040.html
>
> 3)engine="entity-auto" invoke="create" play the role for creating the
> records for the default-entity "Example."
>
> 4)  
>   
>   This tag  automatically includes primary key and non primary key of
>  default-entity-name="Example"
>   Additional tags can be added by:
> 
> 5)
> 6)Please refer to practice application.I have already given you the
> link.most of the answer of your question are given over there.
>
>
>
> Thanks And Regards
>
> Divesh Dutta
>
> Hotwax Media Pvt Ltd.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>


-- 
Thanks & Regards
Mridul Pathak
Hotwax Media
http://www.hotwaxmedia.com
[EMAIL PROTECTED]


Re: Disappearing Logo, Shifted Buttons in IE7

2008-09-29 Thread Jacques Le Roux

Works well OOTB (just checked), no ideas

Jacques

From: "Jack McKinney" <[EMAIL PROTECTED]>
I am building a web store based on OFBiz that implements a complex 
ordering procedure (our product requires a lot of data from the customer.)


We have function working well to collect product implementation 
information from the customer and expect to go live in the next few months.


However, while checking out the site using Firefox and IE7 I noticed 
that IE7 flashes the logo the first time a page is displayed then 
displays blank space where the logo should be.  I uploaded our logo and 
connected it to the  standard web site in the back office. The html for 
the logo is the normal generated by OFBiz:


   
   
This happens on every page in IE 7.

In addition, the [Next] buttons in the checkout sequence are displayed 
at the far right, under the information column, making them hard for a 
customer to find.


Everything works as expected in Firefox!

Does anyone have any suggestions about the causes or fixes for these IE 
7 issues?


--
Jack D. McKinney
Walnut Glenn Systems
5001 Jennie Kate Lane
Lexington, KY 40510
Phone: 859.233.4299 
Cell:859.433.4299




Re: Main New features in OFBiz updated

2008-09-29 Thread Jacques Le Roux

Hi Marco,

Wooo, impressive work. I just wonder from 1st glance if it's not too much. Remember we speal about *Main* here... 
I'm afraid if we put too much it will be diluted. Maybe we could have a link from top wher we could show details ?


Jacques

From: <[EMAIL PROTECTED]>

Hi to all,

I have updated the "Main New Features in OFBiz" document in confluence from May 
to September 2008.
It's not so perfect but it's better than have it empty.
Anyone interested can update/remove the messages wrong.

Thanks
Marco




Re: Main New features in OFBiz updated

2008-09-29 Thread David E Jones


I haven't reviewed it yet, but it's a good thing to do in general so  
thank you for working on this Marco.


-David


On Sep 29, 2008, at 9:41 AM, [EMAIL PROTECTED] wrote:


Hi to all,

I have updated the "Main New Features in OFBiz" document in  
confluence from May to September 2008.

It's not so perfect but it's better than have it empty.
Anyone interested can update/remove the messages wrong.

Thanks
Marco





ApacheCon Travel Assitance

2008-09-29 Thread David E Jones


Another message from the ASF Travel Assistance Committee about  
ApacheCon assitance:


-

The Travel Assistance Committee is taking in applications for those  
wanting

to attend ApacheCon US 2008 between the 3rd and 7th November 2008 in New
Orleans.

The Travel Assistance Committee is looking for people who would like  
to be
able to attend ApacheCon US 2008 who need some financial support in  
order to

get there. There are VERY few places available and the criteria is high,
that aside applications are open to all open source developers who  
feel that

their attendance would benefit themselves, their project(s), the ASF and
open source in general.

Financial assistance is available for flights, accommodation and  
entrance
fees either in full or in part, depending on circumstances. It is  
intended
that all our ApacheCon events are covered, so it may be prudent for  
those in
Europe and or Asia to wait until an event closer to them comes up -  
you are

all welcome to apply for ApacheCon US of course, but there must be
compelling reasons for you to attend an event further away that your  
home

location for your application to be considered above those closer to the
event location.

More information can be found on the main Apache website at
http://www.apache.org/travel/index.html - where you will also find a  
link to

the application form and details for submitting.

Time is very tight for this event, so applications are open now and  
will end
on the 2nd October 2008 - to give enough time for travel arrangements  
to be

made.

Good luck to all those that will apply.

Regards,

The Travel Assistance Committee


Re: Displaying product attributes in ecommerce site?

2008-09-29 Thread Bilgin Ibryam
On Mon, 2008-09-29 at 05:45 -0700, jaki wrote:
> Suppose I have a laptop as a product. I have added attributes such as
> cpu
> type, memory, video adapter, etc. for the product using catalog
> manager. I
> would like for these attributes to be displayed in that products page
> in the
> ecommerce site along with other info like price, weight, etc. which
> usually
> gets displayed for all products. I was hoping for a simpler way to do
> this
> than having to modify the code. 


If you don't want to deal with aggregated products and production runs,
but only to visualize some info, you may use also product features.
For an example of this, take a look at productFeatureType SIZE and how
it is visualized in product page.

Bilgin



Re: JavaPOS Epson's TM-U220PD

2008-09-29 Thread BJ Freeman
parallel is considered legacy, since the trend is usb,
wirless(802.11B/G), and bluetooth.
though you can write a parallel driver, I suggest you get a USB,
Wireless or Bluetooth coverter.
they range from $10 to about $90.

Branden Strickland sent the following on 9/29/2008 6:42 AM:
> Epson ADK does NOT offer support on Parallel port access to their printers.
> I don't know why... They offer Serial, and TCP/IP, but not Parralell.  I
> suggest getting a new modual for the back of the printer, they're roughly
> 20-30 US dollars from a place like pos-guys.com.
> 
> I spent probably 3 months trying to figure that out... Called Epson and the
> whole works.   No Parralell... Rats!
> 
> Hope this helped.
> 
> On Mon, Sep 29, 2008 at 6:18 AM, Jacques Le Roux <
> [EMAIL PROTECTED]> wrote:
> 
>> Which program is asking you this question ? You mean XML file to fill in
>> OFBiz ?
>> I had a quick look and thought 1st about PortType attribute but maybe
>> deviceBus is better, to check in ADK documentation...
>> Also I never noticed that there were duplicates in the attribure generated
>> by the ADK (same in
>> http://docs.ofbiz.org/pages/viewpage.action?pageId=5063)
>> For instance
>>   Parity
>>   PortName
>>   FlowControl
>> But actually they are not since they are case sensitive I guess. So maybe
>> we should kept them same (upper and lower) but I'm unsure
>> of that, since some are generated as they are now (I only modified PortName
>> in Linux and it worked fine)... Odd !
>>
>> Jacques
>>
>> From: "gopalbi" <[EMAIL PROTECTED]>
>>
>>
>>> Hello Friends,
>>>
>>> I've got a TM-U220PD with paralell port, also I downloaded Epson JavaPOS
>>> ADK. When I want to add my TM-U220PD there is a section where the program
>>> ask me what kind of port I am using, I want to say paralell but it doesn't
>>> have that option (only serial, usb, wired and wireless). My question is
>>> that
>>> if the TM-T88IV with paralell interface support JavaPOS?
>>>
>>> Thanks in Advance
>>>
>>> Thanks & Regards:
>>> Gopal Bisht
>>> --
>>> View this message in context:
>>> http://www.nabble.com/JavaPOS-Epson%27s-TM-U220PD-tp19720753p19720753.html
>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>>
>>>
> 



Re: Setting Transaction Timeout

2008-09-29 Thread BJ Freeman
if you look at the webtools xml imports you can see how there are set
normally at 2 hours.
for if you using the dataimport then the same is true.
if your importing csv as a stream and calling the services to add or
updated information then you are only concerned with one call at a time,
so long time out are not needed.

ian tabangay sent the following on 9/29/2008 8:11 AM:
> Some of my transactions came from a batch information (csv or xml). This can
> easily go more than hundreds of records. In any case, I wanted to understand
> how ofbiz sets the transaction-timeout.
> 
> Ian
> 
> On Mon, Sep 29, 2008 at 10:45 PM, BJ Freeman <[EMAIL PROTECTED]> wrote:
> 
>> I guess my first question is what is the need to do this?
>> why not allow the transaction enough time to complete.
>> my reason for this is under heavy usage the 300 may not be enough, so
>> you would have to go back and change all your hard coded timeouts.
>>
>>
>> ian tabangay sent the following on 9/29/2008 2:51 AM:
>>> Hi. I would like to ask how transaction timeouts are set for the whole
>> form.
>>> For example:
>>> If I have the following:
>>>   - Screen A has a transaction-timeout of 600
>>>   - Screen A has a form which calls on Service B which has a
>>> transaction-timeout of 0
>>>   - Service B calls Service C which has a transaction-timeout of 300
>>> How long before I would get the error
>>> org.ofbiz.entity.transaction.GenericTransactionException: Roll back error
>>> (with no rollbackOnly cause found), could not commit transaction, was
>> rolled
>>> back instead: javax.transaction.RollbackException: Transaction timout
>>> (Transaction timout)?
>>>
>>> Thanks!
>>> Ian
>>>
>>
> 



Main New features in OFBiz updated

2008-09-29 Thread [EMAIL PROTECTED]
Hi to all,

I have updated the "Main New Features in OFBiz" document in confluence from May 
to September 2008.
It's not so perfect but it's better than have it empty.
Anyone interested can update/remove the messages wrong.

Thanks
Marco



Re: entity-one

2008-09-29 Thread adithi agarwal
Hi
In practice application its written that we use groovy files or bsh files...So 
do these files  help in saving and displaying data from database.Is Beanshell 
or Groovy a suggestable one...For a simple application to create,display,update 
and delete data,is groovy or Beanshell files required...(or Are widgets are 
sufficient)

Thanks



- Original Message 
From: Pranay Pandey <[EMAIL PROTECTED]>
To: user@ofbiz.apache.org
Sent: Monday, September 29, 2008 8:12:37 AM
Subject: Re: entity-one

Hello Aditi,

This will really help you, If you will learn working in OFBiz with  
steps not in one shot.

Please refer this document for helping yourself : 
http://docs.ofbiz.org/display/OFBIZ/OFBiz+Beginner%27s+Development+Guide+Using+Practice+Application

This will really help you a lot.


Thanks & Regards
--
Pranay Pandey
HotWax Media Pvt. Ltd.
[EMAIL PROTECTED]
www.hotwaxmedia.com

Office : +917314093684
Direct : +919826035576



On Sep 29, 2008, at 8:32 PM, adithi agarwal wrote:

> Hi Divesh..
>
> Thankyou for your patience.
> I think the explanation you have given is for updating the existing  
> data.
> I am not yet clear with the storing of data(creation)..
> Can you please say something about that.( I dint understand the  
> service fro create)
>
> Thankyou very much..
>
>
>
> - Original Message 
> From: Divesh Dutta <[EMAIL PROTECTED]>
> To: user@ofbiz.apache.org
> Sent: Monday, September 29, 2008 7:31:49 AM
> Subject: Re: entity-one
>
> hi adithi,
> well you have asked lots of question.i am trying to answer them  
> one
> by one.
>
> 
> this tag fetches generic value object for entity Example from  
> database and put it in a value-name"example".This tag is used when  
> we make service implementation for updating or deleting.we get  
> single generic value object of entity to be deleted or updated.
>
> for example look at this :
>  description="update a Party">
>
> name="lookedUpValue"/>
>
>
>
>
> here single generic value object of Party entity is fetched from  
> database and placed in "lookedupvalue".then all non primary key we  
> give from forms are stored in "lookedupvalue".that means  
> "lookedupvalue" contains field which we wanted to update and other  
> fields which are updated on.And then  tag store this  
> fields in database.
>
> Thanks And Regards
> Divesh Dutta
> Hotwax Media Pvt Ltd.
>
>
>
>
> adithi agarwal wrote:
>> Hi all,
>> Iam trying to create a  user(ie store the data of a user). I have  
>> questions regarding thisplease I would be obliged if someone  
>> clears my doubts
>> I have an entity in entitymodel.xml.
>> That entity has four fields in it.(There is no primary key in it  
>> for now)
>> In data dir I guess there should be a xml file starting with entity- 
>> engine-xml--What exactly is the use of this file and what data do  
>> we write in it and what is seed data(is it the data we see in our  
>> dropdown lists?)
>> Is entitygroup.xml mantatory or optional.
>> Iam refering the "example" application for this..
>> What does entity-one tag means ...
>> 
>> What does:
>> use-when="example==null" mean?
>> when example is null it targets to"createExample" in controller.xml
>> and createExample in controller points to service  
>> name=createExample in  services.xml which is:
>>
>> > engine="entity-auto" invoke="create" auth="true">
>>Create a Example
>>> main-action="CREATE"/>
>>
>>
>>
>>
>>
>>
>>
>> Iam not clear with this service can someone explain this in detail  
>> please
>>
>> Thankyou very much..
>>
>>
>>
>>
>
>
>


  

Disappearing Logo, Shifted Buttons in IE7

2008-09-29 Thread Jack McKinney
I am building a web store based on OFBiz that implements a complex 
ordering procedure (our product requires a lot of data from the customer.)


We have function working well to collect product implementation 
information from the customer and expect to go live in the next few months.


However, while checking out the site using Firefox and IE7 I noticed 
that IE7 flashes the logo the first time a page is displayed then 
displays blank space where the logo should be.  I uploaded our logo and 
connected it to the  standard web site in the back office. The html for 
the logo is the normal generated by OFBiz:


   
   
This happens on every page in IE 7.

In addition, the [Next] buttons in the checkout sequence are displayed 
at the far right, under the information column, making them hard for a 
customer to find.


Everything works as expected in Firefox!

Does anyone have any suggestions about the causes or fixes for these IE 
7 issues?


--
Jack D. McKinney
Walnut Glenn Systems
5001 Jennie Kate Lane
Lexington, KY 40510
Phone: 859.233.4299 
Cell:859.433.4299




Re: entity-one

2008-09-29 Thread adithi agarwal
Thankyou so much Divesh..it is very helpful and yes I ll go through the 
practice application





- Original Message 
From: Divesh Dutta <[EMAIL PROTECTED]>
To: user@ofbiz.apache.org
Sent: Monday, September 29, 2008 7:57:59 AM
Subject: Re: entity-one


Create a Example








1)This is service definition.you dont need override tag here.if you 
implement any interface just like when we implement any class in 
java,then you need override tag.

2)engine="entity-auto":: reason for using this tag is given below in 
this link:
http://www.nabble.com/The-fancy-new-entity-auto-service-execution-engine-td18674040.html

3)engine="entity-auto" invoke="create" play the role for creating the 
records for the default-entity "Example."

4)  

This tag  automatically includes primary key and non primary key of  
default-entity-name="Example"
Additional tags can be added by:

5)

Re: entity-one

2008-09-29 Thread Pranay Pandey

Hello Aditi,

This will really help you, If you will learn working in OFBiz with  
steps not in one shot.


Please refer this document for helping yourself : 
http://docs.ofbiz.org/display/OFBIZ/OFBiz+Beginner%27s+Development+Guide+Using+Practice+Application

This will really help you a lot.


Thanks & Regards
--
Pranay Pandey
HotWax Media Pvt. Ltd.
[EMAIL PROTECTED]
www.hotwaxmedia.com

Office : +917314093684
Direct : +919826035576



On Sep 29, 2008, at 8:32 PM, adithi agarwal wrote:


Hi Divesh..

Thankyou for your patience.
I think the explanation you have given is for updating the existing  
data.

I am not yet clear with the storing of data(creation)..
Can you please say something about that.( I dint understand the  
service fro create)


Thankyou very much..



- Original Message 
From: Divesh Dutta <[EMAIL PROTECTED]>
To: user@ofbiz.apache.org
Sent: Monday, September 29, 2008 7:31:49 AM
Subject: Re: entity-one

hi adithi,
well you have asked lots of question.i am trying to answer them  
one

by one.


this tag fetches generic value object for entity Example from  
database and put it in a value-name"example".This tag is used when  
we make service implementation for updating or deleting.we get  
single generic value object of entity to be deleted or updated.


for example look at this :
description="update a Party">

   
   name="lookedUpValue"/>

   
   

   

here single generic value object of Party entity is fetched from  
database and placed in "lookedupvalue".then all non primary key we  
give from forms are stored in "lookedupvalue".that means  
"lookedupvalue" contains field which we wanted to update and other  
fields which are updated on.And then  tag store this  
fields in database.


Thanks And Regards
Divesh Dutta
Hotwax Media Pvt Ltd.




adithi agarwal wrote:

Hi all,
Iam trying to create a  user(ie store the data of a user). I have  
questions regarding thisplease I would be obliged if someone  
clears my doubts

I have an entity in entitymodel.xml.
That entity has four fields in it.(There is no primary key in it  
for now)
In data dir I guess there should be a xml file starting with entity- 
engine-xml--What exactly is the use of this file and what data do  
we write in it and what is seed data(is it the data we see in our  
dropdown lists?)

Is entitygroup.xml mantatory or optional.
Iam refering the "example" application for this..
What does entity-one tag means ...

What does:
use-when="example==null" mean?
when example is null it targets to"createExample" in controller.xml
and createExample in controller points to service  
name=createExample in  services.xml which is:


engine="entity-auto" invoke="create" auth="true">

   Create a Example
   main-action="CREATE"/>

   
   
   
   
   
   

Iam not clear with this service can someone explain this in detail  
please


Thankyou very much..












Re: Setting Transaction Timeout

2008-09-29 Thread ian tabangay
Some of my transactions came from a batch information (csv or xml). This can
easily go more than hundreds of records. In any case, I wanted to understand
how ofbiz sets the transaction-timeout.

Ian

On Mon, Sep 29, 2008 at 10:45 PM, BJ Freeman <[EMAIL PROTECTED]> wrote:

> I guess my first question is what is the need to do this?
> why not allow the transaction enough time to complete.
> my reason for this is under heavy usage the 300 may not be enough, so
> you would have to go back and change all your hard coded timeouts.
>
>
> ian tabangay sent the following on 9/29/2008 2:51 AM:
> > Hi. I would like to ask how transaction timeouts are set for the whole
> form.
> >
> > For example:
> > If I have the following:
> >   - Screen A has a transaction-timeout of 600
> >   - Screen A has a form which calls on Service B which has a
> > transaction-timeout of 0
> >   - Service B calls Service C which has a transaction-timeout of 300
> > How long before I would get the error
> > org.ofbiz.entity.transaction.GenericTransactionException: Roll back error
> > (with no rollbackOnly cause found), could not commit transaction, was
> rolled
> > back instead: javax.transaction.RollbackException: Transaction timout
> > (Transaction timout)?
> >
> > Thanks!
> > Ian
> >
>
>


Re: entity-one

2008-09-29 Thread adithi agarwal
Hi Divesh..

Thankyou for your patience.
I think the explanation you have given is for updating the existing data.
I am not yet clear with the storing of data(creation)..
Can you please say something about that.( I dint understand the service fro 
create)

Thankyou very much..



- Original Message 
From: Divesh Dutta <[EMAIL PROTECTED]>
To: user@ofbiz.apache.org
Sent: Monday, September 29, 2008 7:31:49 AM
Subject: Re: entity-one

hi adithi,
well you have asked lots of question.i am trying to answer them one 
by one.


this tag fetches generic value object for entity Example from database and put 
it in a value-name"example".This tag is used when we make service 
implementation for updating or deleting.we get single generic value object of 
entity to be deleted or updated.

for example look at this :







here single generic value object of Party entity is fetched from database and 
placed in "lookedupvalue".then all non primary key we give from forms are 
stored in "lookedupvalue".that means "lookedupvalue" contains field which we 
wanted to update and other fields which are updated on.And then  
tag store this fields in database.

Thanks And Regards
Divesh Dutta
Hotwax Media Pvt Ltd.




adithi agarwal wrote:
>  Hi all,
> Iam trying to create a  user(ie store the data of a user). I have questions 
> regarding thisplease I would be obliged if someone clears my doubts
> I have an entity in entitymodel.xml.
> That entity has four fields in it.(There is no primary key in it for now)
> In data dir I guess there should be a xml file starting with 
> entity-engine-xml--What exactly is the use of this file and what data do we 
> write in it and what is seed data(is it the data we see in our dropdown 
> lists?)
> Is entitygroup.xml mantatory or optional.
> Iam refering the "example" application for this..
> What does entity-one tag means ...
> 
> What does:
> use-when="example==null" mean?
> when example is null it targets to"createExample" in controller.xml
> and createExample in controller points to service name=createExample in  
> services.xml which is:
>
>  engine="entity-auto" invoke="create" auth="true">
> Create a Example
>  main-action="CREATE"/>
> 
> 
> 
> 
> 
> 
>
> Iam not clear with this service can someone explain this in detail please
>
> Thankyou very much..
>
>
>  
>  



  

Re: newline in widgets..

2008-09-29 Thread Adrian Crum
The screen widgets were not intended to contain styling code - that way they 
can be used for multiple rendering platforms.

The only way to change the spacing of your widget elements is through a style 
sheet - that is by design.

-Adrian


--- On Mon, 9/29/08, adithi agarwal <[EMAIL PROTECTED]> wrote:

> From: adithi agarwal <[EMAIL PROTECTED]>
> Subject: newline in widgets..
> To: "user@ofbiz.apache.org" 
> Date: Monday, September 29, 2008, 5:43 AM
> Hii
> Can someone tell me how can we use a newline character in
> screen widgets(like we give  in html)as of now
> am not using any style sheets..
> 
> Thankyou


  


Re: entity-one

2008-09-29 Thread Divesh Dutta
engine="entity-auto" invoke="create" auth="true">

   Create a Example
   main-action="CREATE"/>

   
   
   
   
   
   

1)This is service definition.you dont need override tag here.if you 
implement any interface just like when we implement any class in 
java,then you need override tag.


2)engine="entity-auto":: reason for using this tag is given below in 
this link:

http://www.nabble.com/The-fancy-new-entity-auto-service-execution-engine-td18674040.html

3)engine="entity-auto" invoke="create" play the role for creating the 
records for the default-entity "Example."


4)  
   
   This tag  automatically includes primary key and non primary key of  
default-entity-name="Example"
   Additional tags can be added by:

5)6)Please refer to practice application.I have already given you the link.most of the answer of your question 
are given over there.



Thanks And Regards

Divesh Dutta

Hotwax Media Pvt Ltd.
















Re: Setting Transaction Timeout

2008-09-29 Thread BJ Freeman
I guess my first question is what is the need to do this?
why not allow the transaction enough time to complete.
my reason for this is under heavy usage the 300 may not be enough, so
you would have to go back and change all your hard coded timeouts.


ian tabangay sent the following on 9/29/2008 2:51 AM:
> Hi. I would like to ask how transaction timeouts are set for the whole form.
> 
> For example:
> If I have the following:
>   - Screen A has a transaction-timeout of 600
>   - Screen A has a form which calls on Service B which has a
> transaction-timeout of 0
>   - Service B calls Service C which has a transaction-timeout of 300
> How long before I would get the error
> org.ofbiz.entity.transaction.GenericTransactionException: Roll back error
> (with no rollbackOnly cause found), could not commit transaction, was rolled
> back instead: javax.transaction.RollbackException: Transaction timout
> (Transaction timout)?
> 
> Thanks!
> Ian
> 



Re: Displaying product attributes in ecommerce site?

2008-09-29 Thread Jacques Le Roux
And If you only need to put static informations about your composite product, then simply put them in the long description (content 
menu in product, not general tab appli)


Jacques

From: "Sumit Pandit" <[EMAIL PROTECTED]>

Jackie,

I now I got your question,

The type of product you are talking about is AGGREGATED product. These
are the configurable type product, as you mention in your example.
For this purpose following entities are associated with it :

1) ProductConfigItem : Here you have to add your configuration item
(CPU type , memory...) .

2) ProductConfig : Now  we have to associate it (configItemId) to the
productId.

3) ProductConfigOption : Now in next phase we need to provide the
option to the configItemId and here you can add your all options
(256MB, 512MB, 1024MB)


I think this will help.


--
Thanks and Regards
Sumit Pandit.
HotWaxMedia, Inc
http://www.hotwaxmedia.com

On Sep 29, 2008, at 6:15 PM, jaki wrote:



Suppose I have a laptop as a product. I have added attributes such
as cpu
type, memory, video adapter, etc. for the product using catalog
manager. I
would like for these attributes to be displayed in that products
page in the
ecommerce site along with other info like price, weight, etc. which
usually
gets displayed for all products. I was hoping for a simpler way to
do this
than having to modify the code.


Sumit Pandit-3 wrote:


Jackie,

I got what you want but can you please more elaborate with any
example(if possible ) that  what kind of attribute you want to
display
on the ecommerce  page.


--
Thanks and Regards
Sumit Pandit.
HotWaxMedia, Inc
http://www.hotwaxmedia.com

On Sep 29, 2008, at 4:55 PM, jaki wrote:



I have added a few custom attributes for a product using its
attributes page
in catalog manager. But none of them get displayed in the ecommerce
site for
that product. Is there something you have to set or can this be done
only by
code modification?


Sumit Pandit-3 wrote:


Jackie,

Some more information will helpful.


--
Thanks and Regards
Sumit Pandit.
HotWaxMedia, Inc
http://www.hotwaxmedia.com

On Sep 29, 2008, at 4:36 PM, jaki wrote:



How do you display the attribues added for a product on that
products page in
the ecommerce app?
--
View this message in context:
http://www.nabble.com/Displaying-product-attributes-in-ecommerce-site--tp19721812p19721812.html
Sent from the OFBiz - User mailing list archive at Nabble.com.







--
View this message in context:
http://www.nabble.com/Displaying-product-attributes-in-ecommerce-site--tp19721812p19722087.html
Sent from the OFBiz - User mailing list archive at Nabble.com.







--
View this message in context: 
http://www.nabble.com/Displaying-product-attributes-in-ecommerce-site--tp19721812p19723206.html
Sent from the OFBiz - User mailing list archive at Nabble.com.








Re: newline in widgets..

2008-09-29 Thread BJ Freeman
are you wanting to have different rows, if so that is  covered in the
Style sheets.
if you wanting to block a text use div, this is also covered by classes
in the Style sheet.
This was a philosophy developed on presentation layout some time ago.
Your other option is to use an ftl called by a widget so you can format
the way you want.


  

adithi agarwal sent the following on 9/29/2008 5:43 AM:
> Hii
> Can someone tell me how can we use a newline character in screen widgets(like 
> we give  in html)as of now am not using any style sheets..
> 
> Thankyou
> 
> 
> 
>   



Re: entity-one

2008-09-29 Thread Divesh Dutta

hi adithi,
you may  also visit this link : 
http://ofbiz.apache.org/dtds/simple-methods.xsd

this contains function  of entity one.this may help you.
Thanks And Regards
Divesh Dutta
Hotwax Media Pvt Ltd.


adithi agarwal wrote:

 Hi all,
Iam trying to create a  user(ie store the data of a user). I have questions 
regarding thisplease I would be obliged if someone clears my doubts
I have an entity in entitymodel.xml.
That entity has four fields in it.(There is no primary key in it for now)
In data dir I guess there should be a xml file starting with 
entity-engine-xml--What exactly is the use of this file and what data do we 
write in it and what is seed data(is it the data we see in our dropdown lists?)
Is entitygroup.xml mantatory or optional.
Iam refering the "example" application for this..
What does entity-one tag means ...

What does:
use-when="example==null" mean?
when example is null it targets to"createExample" in controller.xml
and createExample in controller points to service name=createExample in  
services.xml which is:


Create a Example








Iam not clear with this service can someone explain this in detail please

Thankyou very much..


  
  


Re: entity-one

2008-09-29 Thread Divesh Dutta

hi adithi,
well you have asked lots of question.i am trying to answer them one 
by one.



this tag fetches generic value object for entity Example from database and put it in a 
value-name"example".This tag is used when we make service implementation for 
updating or deleting.we get single generic value object of entity to be deleted or 
updated.

for example look at this :

   
   
   
   
   

here single generic value object of Party entity is fetched from database and placed in 
"lookedupvalue".then all non primary key we give from forms are stored in "lookedupvalue".that 
means "lookedupvalue" contains field which we wanted to update and other fields which are updated on.And 
then  tag store this fields in database.

Thanks And Regards
Divesh Dutta
Hotwax Media Pvt Ltd.




adithi agarwal wrote:

 Hi all,
Iam trying to create a  user(ie store the data of a user). I have questions 
regarding thisplease I would be obliged if someone clears my doubts
I have an entity in entitymodel.xml.
That entity has four fields in it.(There is no primary key in it for now)
In data dir I guess there should be a xml file starting with 
entity-engine-xml--What exactly is the use of this file and what data do we 
write in it and what is seed data(is it the data we see in our dropdown lists?)
Is entitygroup.xml mantatory or optional.
Iam refering the "example" application for this..
What does entity-one tag means ...

What does:
use-when="example==null" mean?
when example is null it targets to"createExample" in controller.xml
and createExample in controller points to service name=createExample in  
services.xml which is:


Create a Example








Iam not clear with this service can someone explain this in detail please

Thankyou very much..


  
  


Re: entity-one

2008-09-29 Thread Brajesh Patel
Hi Adithi,
First you can read OFBiz framework file that is simple-methods.xsd, this
file give more knowledge  about simple method tag.


On Mon, Sep 29, 2008 at 7:43 PM, adithi agarwal <[EMAIL PROTECTED]>wrote:

>  Hi all,
> Iam trying to create a  user(ie store the data of a user). I have questions
> regarding thisplease I would be obliged if someone clears my doubts
> I have an entity in entitymodel.xml.
> That entity has four fields in it.(There is no primary key in it for
> now)
> In data dir I guess there should be a xml file starting with
> entity-engine-xml--What exactly is the use of this file and what data do we
> write in it and what is seed data(is it the data we see in our dropdown
> lists?)
> Is entitygroup.xml mantatory or optional.
> Iam refering the "example" application for this..
> What does entity-one tag means ...
> 
> What does:
> use-when="example==null" mean?
> when example is null it targets to"createExample" in controller.xml
> and createExample in controller points to service name=createExample in
>  services.xml which is:
>
>  engine="entity-auto" invoke="create" auth="true">
>Create a Example
> main-action="CREATE"/>
>
>
>
>
>
>
>
> Iam not clear with this service can someone explain this in detail please
>
> Thankyou very much..
>
>
>


Re: newline in widgets..

2008-09-29 Thread adithi agarwal
yeah it separates with a bar in between..

Thankyou



- Original Message 
From: Rishi Solanki <[EMAIL PROTECTED]>
To: user@ofbiz.apache.org
Sent: Monday, September 29, 2008 6:59:36 AM
Subject: Re: newline in widgets..

Hello Aditi,

In Screen widget the you may separate two successive line using

put it in between two labels. But I think it will separate it by a bar.

- Rishi Solanki

On Mon, Sep 29, 2008 at 7:19 PM, adithi agarwal <[EMAIL PROTECTED]>wrote:

> Thanks for your reply Harsha but it did not work..
> I actually have the 2 labels  in two different lines but they were looking
> two close so I was trying to  give some gap between two
> lines. did not work
>
> Regards
>
>
>
> - Original Message 
> From: Harsha Chadhar <[EMAIL PROTECTED]>
> To: user@ofbiz.apache.org
> Sent: Monday, September 29, 2008 6:15:22 AM
> Subject: Re: newline in widgets..
>
> Adithi,
>  You may use a blank  tag for the purpose.
> Regards
> Harsha
>
> adithi agarwal wrote:
> > Hii
> > Can someone tell me how can we use a newline character in screen
> widgets(like we give  in html)as of now am not using any style
> sheets..
> >
> > Thankyou
> >
> >
> >
> >
> >
>
>
>
>



-- 
Rishi Solanki
Enterprise Software Developer
HotWax Media Pvt. Ltd.



  

entity-one

2008-09-29 Thread adithi agarwal
 Hi all,
Iam trying to create a  user(ie store the data of a user). I have questions 
regarding thisplease I would be obliged if someone clears my doubts
I have an entity in entitymodel.xml.
That entity has four fields in it.(There is no primary key in it for now)
In data dir I guess there should be a xml file starting with 
entity-engine-xml--What exactly is the use of this file and what data do we 
write in it and what is seed data(is it the data we see in our dropdown lists?)
Is entitygroup.xml mantatory or optional.
Iam refering the "example" application for this..
What does entity-one tag means ...

What does:
use-when="example==null" mean?
when example is null it targets to"createExample" in controller.xml
and createExample in controller points to service name=createExample in  
services.xml which is:


Create a Example








Iam not clear with this service can someone explain this in detail please

Thankyou very much..


  

Re: Displaying product attributes in ecommerce site?

2008-09-29 Thread Sumit Pandit

Jackie,

I now I got your question,

The type of product you are talking about is AGGREGATED product. These  
are the configurable type product, as you mention in your example.

For this purpose following entities are associated with it :

1) ProductConfigItem : Here you have to add your configuration item  
(CPU type , memory...) .


2) ProductConfig : Now  we have to associate it (configItemId) to the  
productId.


3) ProductConfigOption : Now in next phase we need to provide the  
option to the configItemId and here you can add your all options  
(256MB, 512MB, 1024MB)



I think this will help.


--
Thanks and Regards
Sumit Pandit.
HotWaxMedia, Inc
http://www.hotwaxmedia.com

On Sep 29, 2008, at 6:15 PM, jaki wrote:



Suppose I have a laptop as a product. I have added attributes such  
as cpu
type, memory, video adapter, etc. for the product using catalog  
manager. I
would like for these attributes to be displayed in that products  
page in the
ecommerce site along with other info like price, weight, etc. which  
usually
gets displayed for all products. I was hoping for a simpler way to  
do this

than having to modify the code.


Sumit Pandit-3 wrote:


Jackie,

I got what you want but can you please more elaborate with any
example(if possible ) that  what kind of attribute you want to  
display

on the ecommerce  page.


--
Thanks and Regards
Sumit Pandit.
HotWaxMedia, Inc
http://www.hotwaxmedia.com

On Sep 29, 2008, at 4:55 PM, jaki wrote:



I have added a few custom attributes for a product using its
attributes page
in catalog manager. But none of them get displayed in the ecommerce
site for
that product. Is there something you have to set or can this be done
only by
code modification?


Sumit Pandit-3 wrote:


Jackie,

Some more information will helpful.


--
Thanks and Regards
Sumit Pandit.
HotWaxMedia, Inc
http://www.hotwaxmedia.com

On Sep 29, 2008, at 4:36 PM, jaki wrote:



How do you display the attribues added for a product on that
products page in
the ecommerce app?
--
View this message in context:
http://www.nabble.com/Displaying-product-attributes-in-ecommerce-site--tp19721812p19721812.html
Sent from the OFBiz - User mailing list archive at Nabble.com.







--
View this message in context:
http://www.nabble.com/Displaying-product-attributes-in-ecommerce-site--tp19721812p19722087.html
Sent from the OFBiz - User mailing list archive at Nabble.com.







--
View this message in context: 
http://www.nabble.com/Displaying-product-attributes-in-ecommerce-site--tp19721812p19723206.html
Sent from the OFBiz - User mailing list archive at Nabble.com.





Re: newline in widgets..

2008-09-29 Thread Rishi Solanki
Hello Aditi,

In Screen widget the you may separate two successive line using

put it in between two labels. But I think it will separate it by a bar.

- Rishi Solanki

On Mon, Sep 29, 2008 at 7:19 PM, adithi agarwal <[EMAIL PROTECTED]>wrote:

> Thanks for your reply Harsha but it did not work..
> I actually have the 2 labels  in two different lines but they were looking
> two close so I was trying to  give some gap between two
> lines. did not work
>
> Regards
>
>
>
> - Original Message 
> From: Harsha Chadhar <[EMAIL PROTECTED]>
> To: user@ofbiz.apache.org
> Sent: Monday, September 29, 2008 6:15:22 AM
> Subject: Re: newline in widgets..
>
> Adithi,
>  You may use a blank  tag for the purpose.
> Regards
> Harsha
>
> adithi agarwal wrote:
> > Hii
> > Can someone tell me how can we use a newline character in screen
> widgets(like we give  in html)as of now am not using any style
> sheets..
> >
> > Thankyou
> >
> >
> >
> >
> >
>
>
>
>



-- 
Rishi Solanki
Enterprise Software Developer
HotWax Media Pvt. Ltd.


RE: JavaPOS Epson's TM-U220PD

2008-09-29 Thread Rajeev Gupta
Brandon,

 

What product from posguys.com are you using? Can you give the model number,
if possible? Thanks for sharing your experience.

 

 



-Original Message-
From: Branden Strickland [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 29, 2008 9:43 AM
To: user@ofbiz.apache.org; Jacques Le Roux
Subject: Re: JavaPOS Epson's TM-U220PD

 

Epson ADK does NOT offer support on Parallel port access to their printers.

I don't know why... They offer Serial, and TCP/IP, but not Parralell.  I

suggest getting a new modual for the back of the printer, they're roughly

20-30 US dollars from a place like pos-guys.com.

 

I spent probably 3 months trying to figure that out... Called Epson and the

whole works.   No Parralell... Rats!

 

Hope this helped.

 

On Mon, Sep 29, 2008 at 6:18 AM, Jacques Le Roux <

[EMAIL PROTECTED]> wrote:

 

> Which program is asking you this question ? You mean XML file to fill in

> OFBiz ?

> I had a quick look and thought 1st about PortType attribute but maybe

> deviceBus is better, to check in ADK documentation...

> Also I never noticed that there were duplicates in the attribure generated

> by the ADK (same in

> http://docs.ofbiz.org/pages/viewpage.action?pageId=5063)

> For instance

>   Parity

>   PortName

>   FlowControl

> But actually they are not since they are case sensitive I guess. So maybe

> we should kept them same (upper and lower) but I'm unsure

> of that, since some are generated as they are now (I only modified
PortName

> in Linux and it worked fine)... Odd !

> 

> Jacques

> 

> From: "gopalbi" <[EMAIL PROTECTED]>

> 

> 

>> Hello Friends,

>> 

>> I've got a TM-U220PD with paralell port, also I downloaded Epson JavaPOS

>> ADK. When I want to add my TM-U220PD there is a section where the program

>> ask me what kind of port I am using, I want to say paralell but it
doesn't

>> have that option (only serial, usb, wired and wireless). My question is

>> that

>> if the TM-T88IV with paralell interface support JavaPOS?

>> 

>> Thanks in Advance

>> 

>> Thanks & Regards:

>> Gopal Bisht

>> --

>> View this message in context:

>>
http://www.nabble.com/JavaPOS-Epson%27s-TM-U220PD-tp19720753p19720753.html

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

>> 

>> 

> 



Re: newline in widgets..

2008-09-29 Thread adithi agarwal
Thanks for your reply Harsha but it did not work..
I actually have the 2 labels  in two different lines but they were looking two 
close so I was trying to  give some gap between two lines. did 
not work

Regards



- Original Message 
From: Harsha Chadhar <[EMAIL PROTECTED]>
To: user@ofbiz.apache.org
Sent: Monday, September 29, 2008 6:15:22 AM
Subject: Re: newline in widgets..

Adithi,
  You may use a blank  tag for the purpose.
Regards
Harsha

adithi agarwal wrote:
> Hii
> Can someone tell me how can we use a newline character in screen widgets(like 
> we give  in html)as of now am not using any style sheets..
>
> Thankyou
>
>
>
>  
>  


  

Re: JavaPOS Epson's TM-U220PD

2008-09-29 Thread Branden Strickland
Epson ADK does NOT offer support on Parallel port access to their printers.
I don't know why... They offer Serial, and TCP/IP, but not Parralell.  I
suggest getting a new modual for the back of the printer, they're roughly
20-30 US dollars from a place like pos-guys.com.

I spent probably 3 months trying to figure that out... Called Epson and the
whole works.   No Parralell... Rats!

Hope this helped.

On Mon, Sep 29, 2008 at 6:18 AM, Jacques Le Roux <
[EMAIL PROTECTED]> wrote:

> Which program is asking you this question ? You mean XML file to fill in
> OFBiz ?
> I had a quick look and thought 1st about PortType attribute but maybe
> deviceBus is better, to check in ADK documentation...
> Also I never noticed that there were duplicates in the attribure generated
> by the ADK (same in
> http://docs.ofbiz.org/pages/viewpage.action?pageId=5063)
> For instance
>   Parity
>   PortName
>   FlowControl
> But actually they are not since they are case sensitive I guess. So maybe
> we should kept them same (upper and lower) but I'm unsure
> of that, since some are generated as they are now (I only modified PortName
> in Linux and it worked fine)... Odd !
>
> Jacques
>
> From: "gopalbi" <[EMAIL PROTECTED]>
>
>
>> Hello Friends,
>>
>> I've got a TM-U220PD with paralell port, also I downloaded Epson JavaPOS
>> ADK. When I want to add my TM-U220PD there is a section where the program
>> ask me what kind of port I am using, I want to say paralell but it doesn't
>> have that option (only serial, usb, wired and wireless). My question is
>> that
>> if the TM-T88IV with paralell interface support JavaPOS?
>>
>> Thanks in Advance
>>
>> Thanks & Regards:
>> Gopal Bisht
>> --
>> View this message in context:
>> http://www.nabble.com/JavaPOS-Epson%27s-TM-U220PD-tp19720753p19720753.html
>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>
>>
>


Re: newline in widgets..

2008-09-29 Thread Harsha Chadhar

Adithi,
 You may use a blank  tag for the purpose.
Regards
Harsha

adithi agarwal wrote:

Hii
Can someone tell me how can we use a newline character in screen widgets(like we give 
 in html)as of now am not using any style sheets..

Thankyou



  
  




Re: validations

2008-09-29 Thread Surya Kusumakar

Hello Adithi,
Once your control has been passed through FTLand form ,validations  can 
be done  at events using Simple Map Processors like this :


   
   
   
   property="PracticeFirstNameMissingError" resource="PracticeUiLabels"/>

   
  
   

   
   
   
   property="PracticeLastNameMissingError" resource="PracticeUiLabels"/>

   
   
   
and even in form you can specify which field is required :

and in service :

This optional ="false" specifies this particular field is compulsory.

--
Thanks and Regards
Surya Kusumakar
Hotwax Media Pvt Ltd.
www.hotwaxmedia.com
Divesh Dutta wrote:

Hi Adithi,
validations for field can be done using EVENTS. you can refer practice 
applications.you can refer this below given link:
http://docs.ofbiz.org/display/OFBIZ/OFBiz+Beginner%27s+Development+Guide+Using+Practice+Application 

In part-3 you may get more details about EVENTS.Probably this may 
solve your problem.


Thanks and Regards
Divesh Dutta
HotWax Media, Inc.
adithi agarwal wrote:

Hii all

Can someone explain me how we get the error messages..Where do we do 
the validations for the fields..


Thankyou








Re: validations

2008-09-29 Thread Divesh Dutta

Hi Adithi,
validations for field can be done using EVENTS. you can refer practice 
applications.you can refer this below given link:

http://docs.ofbiz.org/display/OFBIZ/OFBiz+Beginner%27s+Development+Guide+Using+Practice+Application
In part-3 you may get more details about EVENTS.Probably this may solve 
your problem.


Thanks and Regards
Divesh Dutta
HotWax Media, Inc.
adithi agarwal wrote:

Hii all

Can someone explain me how we get the error messages..Where do we do the 
validations for the fields..

Thankyou



  
  


Re: validations

2008-09-29 Thread Ravindra Mandre

Adithi,
You can use validations in FTL files by including Validation file into your 
screen file. if this is not sufficient then please provide some more 
information on your requirement.

--
Thanks & Regards,

Ravindra Mandre
HotWax Media, Inc.
http://www.hotwaxmedia.com
[EMAIL PROTECTED]
---
Mobile   : +91 - 9300023686



validations

2008-09-29 Thread adithi agarwal
Hii all

Can someone explain me how we get the error messages..Where do we do the 
validations for the fields..

Thankyou



  

Re: Displaying product attributes in ecommerce site?

2008-09-29 Thread jaki

Suppose I have a laptop as a product. I have added attributes such as cpu
type, memory, video adapter, etc. for the product using catalog manager. I
would like for these attributes to be displayed in that products page in the
ecommerce site along with other info like price, weight, etc. which usually
gets displayed for all products. I was hoping for a simpler way to do this
than having to modify the code. 


Sumit Pandit-3 wrote:
> 
> Jackie,
> 
> I got what you want but can you please more elaborate with any  
> example(if possible ) that  what kind of attribute you want to display  
> on the ecommerce  page.
> 
> 
> --
> Thanks and Regards
> Sumit Pandit.
> HotWaxMedia, Inc
> http://www.hotwaxmedia.com
> 
> On Sep 29, 2008, at 4:55 PM, jaki wrote:
> 
>>
>> I have added a few custom attributes for a product using its  
>> attributes page
>> in catalog manager. But none of them get displayed in the ecommerce  
>> site for
>> that product. Is there something you have to set or can this be done  
>> only by
>> code modification?
>>
>>
>> Sumit Pandit-3 wrote:
>>>
>>> Jackie,
>>>
>>> Some more information will helpful.
>>>
>>>
>>> --
>>> Thanks and Regards
>>> Sumit Pandit.
>>> HotWaxMedia, Inc
>>> http://www.hotwaxmedia.com
>>>
>>> On Sep 29, 2008, at 4:36 PM, jaki wrote:
>>>

 How do you display the attribues added for a product on that
 products page in
 the ecommerce app?
 -- 
 View this message in context:
 http://www.nabble.com/Displaying-product-attributes-in-ecommerce-site--tp19721812p19721812.html
 Sent from the OFBiz - User mailing list archive at Nabble.com.

>>>
>>>
>>>
>>
>> -- 
>> View this message in context:
>> http://www.nabble.com/Displaying-product-attributes-in-ecommerce-site--tp19721812p19722087.html
>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Displaying-product-attributes-in-ecommerce-site--tp19721812p19723206.html
Sent from the OFBiz - User mailing list archive at Nabble.com.



newline in widgets..

2008-09-29 Thread adithi agarwal
Hii
Can someone tell me how can we use a newline character in screen widgets(like 
we give  in html)as of now am not using any style sheets..

Thankyou



  

Re: Displaying product attributes in ecommerce site?

2008-09-29 Thread Sumit Pandit

Jackie,

I got what you want but can you please more elaborate with any  
example(if possible ) that  what kind of attribute you want to display  
on the ecommerce  page.



--
Thanks and Regards
Sumit Pandit.
HotWaxMedia, Inc
http://www.hotwaxmedia.com

On Sep 29, 2008, at 4:55 PM, jaki wrote:



I have added a few custom attributes for a product using its  
attributes page
in catalog manager. But none of them get displayed in the ecommerce  
site for
that product. Is there something you have to set or can this be done  
only by

code modification?


Sumit Pandit-3 wrote:


Jackie,

Some more information will helpful.


--
Thanks and Regards
Sumit Pandit.
HotWaxMedia, Inc
http://www.hotwaxmedia.com

On Sep 29, 2008, at 4:36 PM, jaki wrote:



How do you display the attribues added for a product on that
products page in
the ecommerce app?
--
View this message in context:
http://www.nabble.com/Displaying-product-attributes-in-ecommerce-site--tp19721812p19721812.html
Sent from the OFBiz - User mailing list archive at Nabble.com.







--
View this message in context: 
http://www.nabble.com/Displaying-product-attributes-in-ecommerce-site--tp19721812p19722087.html
Sent from the OFBiz - User mailing list archive at Nabble.com.





Re: Displaying product attributes in ecommerce site?

2008-09-29 Thread Chirag Manocha

Hello Jackie,
The entity used for this is ProductAttribute & relation between Product 
and ProductAttribute is one-to-many.

You can directly do this by code modification. Nothing has to be set for it.

Regards

Chirag Manocha
HotWax Media
http://www.hotwaxmedia.com

Email   :- [EMAIL PROTECTED]
Contact :- +91-982-631-9099



jaki wrote:

I have added a few custom attributes for a product using its attributes page
in catalog manager. But none of them get displayed in the ecommerce site for
that product. Is there something you have to set or can this be done only by
code modification?


Sumit Pandit-3 wrote:
  

Jackie,

Some more information will helpful.


--
Thanks and Regards
Sumit Pandit.
HotWaxMedia, Inc
http://www.hotwaxmedia.com

On Sep 29, 2008, at 4:36 PM, jaki wrote:


How do you display the attribues added for a product on that  
products page in

the ecommerce app?
--
View this message in context:
http://www.nabble.com/Displaying-product-attributes-in-ecommerce-site--tp19721812p19721812.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

  





  


Re: EU VAT integration

2008-09-29 Thread Mike Wern
Your links are very helpful.  

-Mike.


- Original Message 
From: Jacques Le Roux <[EMAIL PROTECTED]>
To: user@ofbiz.apache.org
Sent: Sunday, September 28, 2008 3:43:49 PM
Subject: Re: EU VAT integration

At this stage you might be interested by
http://docs.ofbiz.org/display/OFBTECH/OFBiz%27s+Tax+Authority+Data+Model
http://docs.ofbiz.org/display/OFBIZ/VAT

Jacques

From: "Mike Wern" <[EMAIL PROTECTED]>
> Hi,
>
> Im new to ofbiz. Id like to ask if ofbiz can be integrated with EU VAT tax 
> system  for ecommerce store ? I am not exactly sure 
> about the exact EU VAT facility that my client needs. But they are 
> considering ofbiz if it has a way to integrate or use external 
> EU tax service solution providers. I hope to get more information or 
> requirement from my client as soon as i can better advise 
> them on how ofbiz can be customized on different tax systems required  by EU.
>
> Thanks,
>
> Marlowe
>
>
>
> 


  

Re: EU VAT integration

2008-09-29 Thread Mike Wern
Sounds like i got to do some digging. Will follow the tip and thanks for the 
warm welcome.

-Mike



- Original Message 
From: BJ Freeman <[EMAIL PROTECTED]>
To: user@ofbiz.apache.org
Sent: Sunday, September 28, 2008 11:14:35 AM
Subject: Re: EU VAT integration

Mike welcome
it may be a few days before you get a response.
there is VAT in ofbiz you can search the mailing archives for the latest
discussion, till someone responds.

Mike Wern sent the following on 9/27/2008 5:40 PM:
> Hi,
> 
> Im new to ofbiz. Id like to ask if ofbiz can be integrated with EU VAT tax 
> system  for ecommerce store ? I am not exactly sure about the exact EU VAT 
> facility that my client needs. But they are considering ofbiz if it has a way 
> to integrate or use external EU tax service solution providers. I hope to get 
> more information or requirement from my client as soon as i can better advise 
> them on how ofbiz can be customized on different tax systems required  by EU.
> 
> Thanks,
> 
> Marlowe
> 
> 
> 
>  


  

Re: Displaying product attributes in ecommerce site?

2008-09-29 Thread jaki

I have added a few custom attributes for a product using its attributes page
in catalog manager. But none of them get displayed in the ecommerce site for
that product. Is there something you have to set or can this be done only by
code modification?


Sumit Pandit-3 wrote:
> 
> Jackie,
> 
> Some more information will helpful.
> 
> 
> --
> Thanks and Regards
> Sumit Pandit.
> HotWaxMedia, Inc
> http://www.hotwaxmedia.com
> 
> On Sep 29, 2008, at 4:36 PM, jaki wrote:
> 
>>
>> How do you display the attribues added for a product on that  
>> products page in
>> the ecommerce app?
>> -- 
>> View this message in context:
>> http://www.nabble.com/Displaying-product-attributes-in-ecommerce-site--tp19721812p19721812.html
>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Displaying-product-attributes-in-ecommerce-site--tp19721812p19722087.html
Sent from the OFBiz - User mailing list archive at Nabble.com.



Re: Displaying product attributes in ecommerce site?

2008-09-29 Thread Sumit Pandit

Jackie,

Some more information will helpful.


--
Thanks and Regards
Sumit Pandit.
HotWaxMedia, Inc
http://www.hotwaxmedia.com

On Sep 29, 2008, at 4:36 PM, jaki wrote:



How do you display the attribues added for a product on that  
products page in

the ecommerce app?
--
View this message in context: 
http://www.nabble.com/Displaying-product-attributes-in-ecommerce-site--tp19721812p19721812.html
Sent from the OFBiz - User mailing list archive at Nabble.com.





Displaying product attributes in ecommerce site?

2008-09-29 Thread jaki

How do you display the attribues added for a product on that products page in
the ecommerce app? 
-- 
View this message in context: 
http://www.nabble.com/Displaying-product-attributes-in-ecommerce-site--tp19721812p19721812.html
Sent from the OFBiz - User mailing list archive at Nabble.com.



Re: JavaPOS Epson's TM-U220PD

2008-09-29 Thread Jacques Le Roux

Which program is asking you this question ? You mean XML file to fill in OFBiz ?
I had a quick look and thought 1st about PortType attribute but maybe deviceBus 
is better, to check in ADK documentation...
Also I never noticed that there were duplicates in the attribure generated by 
the ADK (same in
http://docs.ofbiz.org/pages/viewpage.action?pageId=5063)
For instance
   Parity
   PortName
   FlowControl
But actually they are not since they are case sensitive I guess. So maybe we 
should kept them same (upper and lower) but I'm unsure
of that, since some are generated as they are now (I only modified PortName in 
Linux and it worked fine)... Odd !

Jacques

From: "gopalbi" <[EMAIL PROTECTED]>


Hello Friends,

I've got a TM-U220PD with paralell port, also I downloaded Epson JavaPOS
ADK. When I want to add my TM-U220PD there is a section where the program
ask me what kind of port I am using, I want to say paralell but it doesn't
have that option (only serial, usb, wired and wireless). My question is that
if the TM-T88IV with paralell interface support JavaPOS?

Thanks in Advance

Thanks & Regards:
Gopal Bisht
--
View this message in context: 
http://www.nabble.com/JavaPOS-Epson%27s-TM-U220PD-tp19720753p19720753.html
Sent from the OFBiz - User mailing list archive at Nabble.com.





Setting Transaction Timeout

2008-09-29 Thread ian tabangay
Hi. I would like to ask how transaction timeouts are set for the whole form.

For example:
If I have the following:
  - Screen A has a transaction-timeout of 600
  - Screen A has a form which calls on Service B which has a
transaction-timeout of 0
  - Service B calls Service C which has a transaction-timeout of 300
How long before I would get the error
org.ofbiz.entity.transaction.GenericTransactionException: Roll back error
(with no rollbackOnly cause found), could not commit transaction, was rolled
back instead: javax.transaction.RollbackException: Transaction timout
(Transaction timout)?

Thanks!
Ian


JavaPOS Epson's TM-U220PD

2008-09-29 Thread gopalbi

Hello Friends,

I've got a TM-U220PD with paralell port, also I downloaded Epson JavaPOS
ADK. When I want to add my TM-U220PD there is a section where the program
ask me what kind of port I am using, I want to say paralell but it doesn't
have that option (only serial, usb, wired and wireless). My question is that
if the TM-T88IV with paralell interface support JavaPOS?

Thanks in Advance

Thanks & Regards:
Gopal Bisht
-- 
View this message in context: 
http://www.nabble.com/JavaPOS-Epson%27s-TM-U220PD-tp19720753p19720753.html
Sent from the OFBiz - User mailing list archive at Nabble.com.



Re: Variant vs feature explosion

2008-09-29 Thread Jacques Le Roux

Thanks you Hans !

Cheers

Jacques

From: "Hans Bakker" <[EMAIL PROTECTED]>

The main differences you mentioned already. Another difference is that
in feature explosion, the final variant is only created at the moment
the specific variant is ordered if it did not yet exist.

Regards,
Hans

On Sun, 2008-09-28 at 18:21 +0200, Jacques Le Roux wrote:

Hi,

Reading Product Entity comments, I know that "variant explosion will work to about 200 variants and feature explosion has almost 
no limits".

I see also that with feature explosion you can give a price to each feature 
(right ?).
It seems also, from some comments I cursorily read, that feature explosion can 
take more time to compute.
Are there other differences, at the business level, between this 2 
virtualVariantMethod  ?

Thanks

Jacques


--
Antwebsystems.com: Quality OFBiz services for competitive prices





Re: Freemarker

2008-09-29 Thread Harsha Chadhar

Also u can try and take help with the following:

http://freemarker.sourceforge.net/docs/

you can search for several examples in OfBiz regarding the usage of 
Ftl's by searching for similar tags like



   



that calls for an Ftl.And in the respective file u can see the rest.

Thanks and Regards
Harsha

BJ Freeman wrote:

ofbiz has been migrating from Freemaker to widgets.
Freemaker pages are use in widgets for thing that are easier in freemaker
You will find a lot more in ver 3.0, which is not actively supported.
Not sure where you can get the ver 3.0 now.
the best documentation is to look up the handler in the controller, for
ftl and read the code.
then do a search in the webapp folders for *.ftl and read them
also read the *.groovy files that process data before and after the ftl.
usually the name for the groovy is the same as the ftl file.



Geotek office sent the following on 9/28/2008 10:52 PM:
  

Hello

I can not find any documentation about developing ofbiz applications with presentaion layer witch 
is created by freemarker templates.

If there is some documentation please share with me.l
If there is some good example application in OFbiz (applicaion with presentaion layer implemented by freenarker templates) please tell me. 

I am new to OFbiz. Is there some difference if i create service implemented  by java and use freemarker tempaltes or I use xml for define the presentaion layer ? (I mean the difference in the service itself)  

10x