Re: ecommerce use

2008-10-16 Thread Raj Saini

Suhas,

That depends how much time and money you are ready to invest in the 
development.


1. Use OOTB e-commerce application.
2. Customize OOTB e-commerce with CSS and FTL changes
3. Write your own application using OOTB e-commerce as reference.

Thanks,

Raj


Suhas Yalgude wrote:

how can i use ecommerce application for my ecommerce site

thanks & regards,

Suhas

  




Re: ecommerce use

2008-10-16 Thread Chirag Manocha

Hello Suhas,
You can include the controller.xml of ecommerce application in your 
customized application controller and can create different views and 
data as per requirements in you component.


Suhas as you are new to OFBiz i would like you to create Practice 
application which will give you a lot of learning.
here is the link for practice application : 
http://docs.ofbiz.org/display/OFBIZ/OFBiz+Beginner%27s+Development+Guide+Using+Practice+Application


Thanks & Regards

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

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



Suhas Yalgude wrote:

how can i use ecommerce application for my ecommerce site

thanks & regards,

Suhas

  


ecommerce use

2008-10-16 Thread Suhas Yalgude
how can i use ecommerce application for my ecommerce site

thanks & regards,

Suhas


Re: Webtools generated XML directory doesn't import back in

2008-10-16 Thread BJ Freeman
I tried those David. never could get a 100% and like you mention then
you have the efforts to figure out what went wrong.


David E Jones sent the following on 10/16/2008 6:07 PM:
> 
> There are various ways to resolve the issue with foreign keys, and
> sorting files is not the easiest or most effective way to do this. BTW,
> the import directory service can kind of figure out the file order for
> you by trying a directory of files over and over and in each pass
> removing the successful files until all are loaded (or hopefully all are
> loaded). There is no need to do it manually (and on a side note, there
> are easier ways to do it manually than setting up your files as seed data).
> 
> A better approach is to just select the "dummy fks" checkbox and it will
> resolve missing foreign keys by adding a dummy record with just the pk.
> Use this only if you're pretty sure that all foreign keys will
> eventually be satisfied, otherwise you end up with "hanging" records
> that have no data and get around what foreign keys are meant to tell
> you, ie that data is missing that your data depends on. Still, the
> "dummy fks" approach is the only way to get around circular dependencies.
> 
> Another option, that Jacques kind of mentioned, is to use the
> Check/Update Database page to remove all fks and then load your data,
> then use that page again to add all fks back (And it will tell you if
> any fks are violated when they are added back).
> 
> -David
> 
> 
> On Oct 16, 2008, at 10:50 AM, BJ Freeman wrote:
> 
>> the problem, from my experience, is that there are relationships PFK
>> that do not get resolved.
>> the only way I have found to import is to make these all part of the
>> intial import through the build file, ofbiz-component.xml using the seed
>> reader, so you explicitly state which files get imported in what
>> sequence.
>> then do an
>> ant run-install-seed
>>
>> Todd Burdeinei sent the following on 10/16/2008 2:40 AM:
>>> Hello All,
>>> I hit a snag on importing the XML from an ofbiz install. I used the
>>> webtools
>>> to both generate the XML and attempt the import (import was called from
>>> webtools/control/EntityImportDir). On the destination machine I
>>> uploaded the
>>> exported files to a directory called xmlfiles. I used this as the
>>> path for
>>> the import.
>>>
>>> This is what the screen said:
>>>
>>> Results:
>>>
>>> Failed /home/user/xmldata/ReturnReason.xml adding to retry list for next
>>> pass
>>> 
>>>
>>> Failed /home/user/xmldata/ProdCatalogCategoryType.xml adding to retry
>>> list
>>> for next pass
>>>
>>> Pass 2 complete
>>>
>>> ---
>>>
>>> Succeeded: 7 of 367
>>>
>>> Failed: 360 of 367
>>>
>>> ---
>>>
>>> Failed Files:
>>>
>>> /home/user/xmldata/ReturnReason.xml
>>> 
>>>
>>>
>>> Any ideas? I tried markmail and the docs website. I appreciate any help
>>> Many thanks
> 
> 
> 


Re: Webtools generated XML directory doesn't import back in

2008-10-16 Thread David E Jones


There are various ways to resolve the issue with foreign keys, and  
sorting files is not the easiest or most effective way to do this.  
BTW, the import directory service can kind of figure out the file  
order for you by trying a directory of files over and over and in each  
pass removing the successful files until all are loaded (or hopefully  
all are loaded). There is no need to do it manually (and on a side  
note, there are easier ways to do it manually than setting up your  
files as seed data).


A better approach is to just select the "dummy fks" checkbox and it  
will resolve missing foreign keys by adding a dummy record with just  
the pk. Use this only if you're pretty sure that all foreign keys will  
eventually be satisfied, otherwise you end up with "hanging" records  
that have no data and get around what foreign keys are meant to tell  
you, ie that data is missing that your data depends on. Still, the  
"dummy fks" approach is the only way to get around circular  
dependencies.


Another option, that Jacques kind of mentioned, is to use the Check/ 
Update Database page to remove all fks and then load your data, then  
use that page again to add all fks back (And it will tell you if any  
fks are violated when they are added back).


-David


On Oct 16, 2008, at 10:50 AM, BJ Freeman wrote:


the problem, from my experience, is that there are relationships PFK
that do not get resolved.
the only way I have found to import is to make these all part of the
intial import through the build file, ofbiz-component.xml using the  
seed
reader, so you explicitly state which files get imported in what  
sequence.

then do an
ant run-install-seed

Todd Burdeinei sent the following on 10/16/2008 2:40 AM:

Hello All,
I hit a snag on importing the XML from an ofbiz install. I used the  
webtools
to both generate the XML and attempt the import (import was called  
from
webtools/control/EntityImportDir). On the destination machine I  
uploaded the
exported files to a directory called xmlfiles. I used this as the  
path for

the import.

This is what the screen said:

Results:

Failed /home/user/xmldata/ReturnReason.xml adding to retry list for  
next

pass


Failed /home/user/xmldata/ProdCatalogCategoryType.xml adding to  
retry list

for next pass

Pass 2 complete

---

Succeeded: 7 of 367

Failed: 360 of 367

---

Failed Files:

/home/user/xmldata/ReturnReason.xml



Any ideas? I tried markmail and the docs website. I appreciate any  
help

Many thanks




Re: Advice needed: Integrating an External Webapp with OfBiz Order Application service layer via RMI...

2008-10-16 Thread BJ Freeman
let me expand on that.
Backend:
catalog is used to display the products.
content is used to display forums and blogs.
Promos is generated by the catalog to be diplayed.
reviews are from the content application.
configurable products use the catalog and manufacturing.
Cart is in the order application.
Login ability and info about the customer is in the Party application.
the login code is in the framework.
So you see there is not much in the ecommerce but a shell to display all
this info from other applications and the framework.


BJ Freeman sent the following on 10/16/2008 5:03 PM:
> 
> David Legg sent the following on 10/16/2008 4:21 PM:
>> Hi BJ,
>> Some people have sounded surprised that people would even consider not
>> using the built-in ecommerce web app.  Whilst I think the OfBiz
>> framework is very elegant you can't expect everyone to drop their
>> existing frameworks just to display a product list and a shopping basket!
> 
> yes, considering the ecommerce portion is just a shell without the backend.
> 
> 
> I don't see what you will get by trying to use the ecommerce apps with
> another  backend, unless that backend supplies the necessary support
> that the ofbiz backend does.
> 
> In that case it would be less effort then to use the ecommerce as a
> model but do the coding in same model as the backend you are working with.
> IMHO
> :D
> 
> 


Re: Advice needed: Integrating an External Webapp with OfBiz Order Application service layer via RMI...

2008-10-16 Thread BJ Freeman


David Legg sent the following on 10/16/2008 4:21 PM:
> Hi BJ,
> Some people have sounded surprised that people would even consider not
> using the built-in ecommerce web app.  Whilst I think the OfBiz
> framework is very elegant you can't expect everyone to drop their
> existing frameworks just to display a product list and a shopping basket!

yes, considering the ecommerce portion is just a shell without the backend.


I don't see what you will get by trying to use the ecommerce apps with
another  backend, unless that backend supplies the necessary support
that the ofbiz backend does.

In that case it would be less effort then to use the ecommerce as a
model but do the coding in same model as the backend you are working with.
IMHO
:D


Re: Advice needed: Integrating an External Webapp with OfBiz Order Application service layer via RMI...

2008-10-16 Thread Adrian Crum

David Legg wrote:
Some people have sounded surprised that people would even consider not 
using the built-in ecommerce web app.  Whilst I think the OfBiz 
framework is very elegant you can't expect everyone to drop their 
existing frameworks just to display a product list and a shopping basket!


I think you're mis-interpreting what was said. Raj said you can create 
your own eCommerce web application if you don't like the default.


As far as I know, very few people use the eCommerce application as-is in 
production. Most developers use the existing eCommerce application as a 
*guide* to design their own.


As far as dropping existing frameworks is concerned, some have found it 
easier to drop their existing framework and port their data over to 
OFBiz, rather than kludge together OFBiz with some other framework.


-Adrian


Re: Advice needed: Integrating an External Webapp with OfBiz Order Application service layer via RMI...

2008-10-16 Thread David Legg

Hi BJ,


there are RMI examples in ofbiz that if one spent the time could come up
with an RMI connector so another Web App or even an other cart could
access the Backend.
  


That sounds promising.  I'll take a closer look.  I think I can see what 
you are talking about in svn.


Some people have sounded surprised that people would even consider not 
using the built-in ecommerce web app.  Whilst I think the OfBiz 
framework is very elegant you can't expect everyone to drop their 
existing frameworks just to display a product list and a shopping basket!



ofbiz was designed so the back end could have other application layered
on it.
However theres is not active participation, at this, time to have such
connectors done.
  


I fully understand.

The idea of using RMI to connect a storefront with OfBiz is no different 
to sites which get their content from remote CMS repositories.


Regards,
David Legg



Re: PCI Security Standards Council Compliance

2008-10-16 Thread BJ Freeman
this is not an official ofbiz stance.
short answer you need a person that understands security and how to test
applications.

http://www.qualys.com/forms/google/pci_trial/?lsid=6874&leadsource=80886

on the fire wall and the Linux firewall  I have three ports open. 80,
443, and the webadmin port.
I change the web admin port on a regular basis. this is a hassle but
keep it from being found as easy. I review the log to see if any
attempts have been made against the port.


* Requirement 1 is about having a properly configured firewall. You
could get fancy and use a policy reporting tool or run an automated pen
testing tool to make sure the right attacks are blocked. But ultimately,
just make sure the customer has simple perimeter defenses in place and
working.
* As of PCI 1.2, which goes live in October, antivirus (Requirement
5) is now beyond Windows devices. You need to help customers think about
how they are going to "prove" viruses are blocked on Linux, Unix and Mac
OS X. It's not clear whether customers will be expected to load Symantec
on their mainframes, but ultimately, this is a pretty easy box to check.
this is especially true for the Content side of ofbiz.

* Change the default passwords (Requirement 2) on devices like
firewalls and servers. Yes, if you use the default password in a
wireless access point or any other device, you'll be owned. This isn't
hard, but most folks don't think about it.
I have added Eca that checks longing and sends a email to change it.
also an Eca for password strength. they are locked out if they do not
change or do not put in a proper strength password

A majority of attacks now directly target Web applications, so PCI pays
a lot of attention to securing Web applications in Requirement 6. Though
customers need to walk before they run, some customers focus on just
installing a Web application firewall and figure their work is done. Not
so much. The reality is that Web application firewalls and code reviews
(the key aspects of Requirement 6.6) are important, but most customers
don't know what they don't know. So run a Web application scanner on the
Internet-accessible applications and find out how porous those apps are.
Then you can figure out how to fix the issues.
This what you are ask here. but as the trunk is always changing there is
no pat answer, other than do the processes each time you upgrade.

Requirement 3 of PCI-DSS is all about protecting credit card data where
it lives -- the database. Many organizations focus on strengthening the
perimeter of the network, which I term an "outside-in" perspective.
That's great and important, but not sufficient. You also need to work
with your customers on looking from the inside out. This means finding
all the credit card data and figuring out what systems and/or resources
have access to the data. Ensure those attack vectors are protected. It
also makes sense to think about database monitoring and vulnerability
assessments to keep perspectives on the data, not just the systems.

This will depend if you use a seperate db server. if you have the single
server and the ports are closed. you only have to worry about having the
webtools accessible.

Logging event and other key data is the focus of Requirement 10. While
it's easy to meet this requirement, it's hard to do it right. To meet
the spirit of PCI-DSS you just need to gather some event data and keep
it for a while. But that won't necessarily help your customers when they
have to respond to an incident. I advise customers to log as much as
they can, from networks, systems, databases, applications, physical
security systems and so on. The more log data, the better.

Make sure the customer is protecting the log data -- this includes
storing off- device and cryptographically signing and sequencing -- to
make sure it can be used as evidence in a prosecution. The customer can
always throw log data out if they don't need it -- hopefully, they won't!
also run a cron job looking for holes.
I see a lot of customers that are just looking to check the box that
says "compliance," as opposed to focusing on protecting the credit card
data. Compliance is not a thing you finish, so when I talk to folks I
always caution them against taking an "audit-centric" view of
compliance. Many security gurus say security is a process, not a product
or an audit, and they are right. The best way you can help your clients
and ensure they don't have silly compliance errors is to help them
understand the lifecycle of information protection. For better or worse,
security people are never finished, and this philosophical adjustment is
the best gift you can give to any client.



phug sent the following on 10/16/2008 2:47 PM:
> Thanks for the quick reply. 
> 
> Setting the router/firewall policies issue aside, my follow-up then is
> what's required for a 'proper installation' of OfBiz to prepare for a PCI
> audit.  If we follow the Apache OfBiz Production Setup Guide, is that enough
> to secure O

Re: PCI Security Standards Council Compliance

2008-10-16 Thread phug

Thanks for the quick reply. 

Setting the router/firewall policies issue aside, my follow-up then is
what's required for a 'proper installation' of OfBiz to prepare for a PCI
audit.  If we follow the Apache OfBiz Production Setup Guide, is that enough
to secure OfBiz for us to then tackle the network issues (router/firewall)?
http://docs.ofbiz.org/display/OFBTECH/Apache+OFBiz+Technical+Production+Setup+Guide

Has anyone gone though a PCI audit and is willing to share some insights
into what is covered in one of these audits? 

Has anyone used a 3rd-party audit service or would recommend one from
experience such as:
McAfee - http://www.mcafeesecure.com/us/pci-intro.jsp
Truste - https://getcertified.truste.org/ecommerce/
403 Labs - http://www.403labs.com/solution/vulnerability

Thx,
-PH

-- 
View this message in context: 
http://www.nabble.com/PCI-Security-Standards-Council-Compliance-tp19982416p20016814.html
Sent from the OFBiz - User mailing list archive at Nabble.com.



Re: presentation layer created by JSP

2008-10-16 Thread BJ Freeman
ofbiz migrated from JSP to Freemaker and widgets.
the last reminiscences is the error.jsp.
If this is because JSP is what your familar with, I suggest you look at
the widgets and freemaker files.

byte sent the following on 10/16/2008 1:05 PM:
> I am interest how can I access input and output parameter for a service in
> JSP file ?
> Output parameters might be access by request object in the JSP files.
> Please give some idea for accessing the input parameters.
> 
> 
> 
> byte wrote:
>> Hello 
>>
>> Is there some sample of presentation layer developed with JSP ? 
>> If there is some sample with form please tell me.
>>
>>
>> 10x all 
>>
>>
> 


Re: presentation layer created by JSP

2008-10-16 Thread Adrian Crum

Why are you using JSP?

-Adrian

byte wrote:

I am interest how can I access input and output parameter for a service in
JSP file ?
Output parameters might be access by request object in the JSP files.
Please give some idea for accessing the input parameters.



byte wrote:
Hello 

Is there some sample of presentation layer developed with JSP ? 
If there is some sample with form please tell me.



10x all 







Re: presentation layer created by JSP

2008-10-16 Thread byte

I am interest how can I access input and output parameter for a service in
JSP file ?
Output parameters might be access by request object in the JSP files.
Please give some idea for accessing the input parameters.



byte wrote:
> 
> Hello 
> 
> Is there some sample of presentation layer developed with JSP ? 
> If there is some sample with form please tell me.
> 
> 
> 10x all 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/presentation-layer-created-by-JSP-tp1113p20016603.html
Sent from the OFBiz - User mailing list archive at Nabble.com.



Re: Advice needed: Integrating an External Webapp with OfBiz Order Application service layer via RMI...

2008-10-16 Thread Vince M. Clark
I would appreciate that very much. Please send to my email address. 

Thanks! 

- Original Message - 
From: "Raj Saini" <[EMAIL PROTECTED]> 
To: user@ofbiz.apache.org 
Sent: Thursday, October 16, 2008 11:41:49 AM (GMT-0700) America/Denver 
Subject: Re: Advice needed: Integrating an External Webapp with OfBiz Order 
Application service layer via RMI... 

Vince, 

This application is not yet in production. However, I can share the test 
system URL with you privately. 

Thanks 

Raj 

Vince M. Clark wrote: 
> Raj - I would love to know more about the Liferay integration. Also would you 
> be willing to share a URL so we can see how it looks? 
> 
> 
> - Original Message - 
> From: "Raj Saini" <[EMAIL PROTECTED]> 
> To: user@ofbiz.apache.org 
> Sent: Thursday, October 16, 2008 4:13:27 AM (GMT-0700) America/Denver 
> Subject: Re: Advice needed: Integrating an External Webapp with OfBiz Order 
> Application service layer via RMI... 
> 
> Hi David, 
> 
> I had the exactly same feeling you have now when I started looking at 
> the OFBiz as e-commerce solution. Immediate thought that came to me why 
> not to have my own store front in the technology of I like for example a 
> JSP, struts etc etc. Looking deep into the system I found it was a 
> unwarranted thought and current framework (widgets, screens, freemarker 
> etc.) are no less than other frameworks. 
> 
> Going back to your question, what exactly you mean by clearly separate 
> store front? To me it looks clearly separate as you can create your own 
> web application and have your e-commerce store front as you want without 
> keeping any thing from the default technologies. 
> 
> If you are looking for network level communication, I think RMI is the 
> way to go if both of the applications are Java based. Recently, I had 
> integrated OFBiz with a Liferay Portal where store front was written as 
> a set of portlets. 
> 
> Thanks, 
> 
> Raj 
> 
> David Legg wrote: 
> 
>> Hi DeAngelo, 
>> 
>> I'm a 'me-too' on this subject. 
>> 
>> It's only in the last week I got round to trying out OfBiz. After the 
>> initial Wow! factor died down I quickly realized that the storefront 
>> looks almost hard-wired to the back-end. In the short time I've been 
>> subscribed to the list I've seen several similar requests for advice 
>> on how to cleanly separate the store front from the backend with no 
>> apparent solution so far. 
>> 
>> 
>>> 2) This app needs an ecommerce solutio. So in this non-ofbiz webapp, a 
>>> user can add a bunch of items to a shopping cart , and click "buy" 
>>> and have 
>>> ofbiz handle the rest. Now, the products may be added to OFBiz using 
>>> one of 
>>> the out-of-the-box applications, but the user should browse the product 
>>> catalog and buy shopping cart items from the external webapp 
>>> 
>> Regards, 
>> David Legg 
>> 
>> 
>> 
> 
> 
> 



Re: Advice needed: Integrating an External Webapp with OfBiz Order Application service layer via RMI...

2008-10-16 Thread Raj Saini

Vince,

This application is not yet in production. However, I can share the test 
system URL with you privately.


Thanks

Raj

Vince M. Clark wrote:
Raj - I would love to know more about the Liferay integration. Also would you be willing to share a URL so we can see how it looks? 



- Original Message - 
From: "Raj Saini" <[EMAIL PROTECTED]> 
To: user@ofbiz.apache.org 
Sent: Thursday, October 16, 2008 4:13:27 AM (GMT-0700) America/Denver 
Subject: Re: Advice needed: Integrating an External Webapp with OfBiz Order Application service layer via RMI... 

Hi David, 

I had the exactly same feeling you have now when I started looking at 
the OFBiz as e-commerce solution. Immediate thought that came to me why 
not to have my own store front in the technology of I like for example a 
JSP, struts etc etc. Looking deep into the system I found it was a 
unwarranted thought and current framework (widgets, screens, freemarker 
etc.) are no less than other frameworks. 

Going back to your question, what exactly you mean by clearly separate 
store front? To me it looks clearly separate as you can create your own 
web application and have your e-commerce store front as you want without 
keeping any thing from the default technologies. 

If you are looking for network level communication, I think RMI is the 
way to go if both of the applications are Java based. Recently, I had 
integrated OFBiz with a Liferay Portal where store front was written as 
a set of portlets. 

Thanks, 

Raj 

David Legg wrote: 
  
Hi DeAngelo, 

I'm a 'me-too' on this subject. 

It's only in the last week I got round to trying out OfBiz. After the 
initial Wow! factor died down I quickly realized that the storefront 
looks almost hard-wired to the back-end. In the short time I've been 
subscribed to the list I've seen several similar requests for advice 
on how to cleanly separate the store front from the backend with no 
apparent solution so far. 


2) This app needs an ecommerce solutio. So in this non-ofbiz webapp, a 
user can add a bunch of items to a shopping cart , and click "buy" 
and have 
ofbiz handle the rest. Now, the products may be added to OFBiz using 
one of 
the out-of-the-box applications, but the user should browse the product 
catalog and buy shopping cart items from the external webapp 
  
Regards, 
David Legg 







  




Re: Advice needed: Integrating an External Webapp with OfBiz Order Application service layer via RMI...

2008-10-16 Thread Vince M. Clark
Raj - I would love to know more about the Liferay integration. Also would you 
be willing to share a URL so we can see how it looks? 


- Original Message - 
From: "Raj Saini" <[EMAIL PROTECTED]> 
To: user@ofbiz.apache.org 
Sent: Thursday, October 16, 2008 4:13:27 AM (GMT-0700) America/Denver 
Subject: Re: Advice needed: Integrating an External Webapp with OfBiz Order 
Application service layer via RMI... 

Hi David, 

I had the exactly same feeling you have now when I started looking at 
the OFBiz as e-commerce solution. Immediate thought that came to me why 
not to have my own store front in the technology of I like for example a 
JSP, struts etc etc. Looking deep into the system I found it was a 
unwarranted thought and current framework (widgets, screens, freemarker 
etc.) are no less than other frameworks. 

Going back to your question, what exactly you mean by clearly separate 
store front? To me it looks clearly separate as you can create your own 
web application and have your e-commerce store front as you want without 
keeping any thing from the default technologies. 

If you are looking for network level communication, I think RMI is the 
way to go if both of the applications are Java based. Recently, I had 
integrated OFBiz with a Liferay Portal where store front was written as 
a set of portlets. 

Thanks, 

Raj 

David Legg wrote: 
> Hi DeAngelo, 
> 
> I'm a 'me-too' on this subject. 
> 
> It's only in the last week I got round to trying out OfBiz. After the 
> initial Wow! factor died down I quickly realized that the storefront 
> looks almost hard-wired to the back-end. In the short time I've been 
> subscribed to the list I've seen several similar requests for advice 
> on how to cleanly separate the store front from the backend with no 
> apparent solution so far. 
> 
>> 2) This app needs an ecommerce solutio. So in this non-ofbiz webapp, a 
>> user can add a bunch of items to a shopping cart , and click "buy" 
>> and have 
>> ofbiz handle the rest. Now, the products may be added to OFBiz using 
>> one of 
>> the out-of-the-box applications, but the user should browse the product 
>> catalog and buy shopping cart items from the external webapp 
> 
> Regards, 
> David Legg 
> 
> 



Re: Webtools generated XML directory doesn't import back in

2008-10-16 Thread BJ Freeman
the problem, from my experience, is that there are relationships PFK
that do not get resolved.
the only way I have found to import is to make these all part of the
intial import through the build file, ofbiz-component.xml using the seed
reader, so you explicitly state which files get imported in what sequence.
then do an
ant run-install-seed

Todd Burdeinei sent the following on 10/16/2008 2:40 AM:
> Hello All,
> I hit a snag on importing the XML from an ofbiz install. I used the webtools
> to both generate the XML and attempt the import (import was called from
> webtools/control/EntityImportDir). On the destination machine I uploaded the
> exported files to a directory called xmlfiles. I used this as the path for
> the import.
> 
> This is what the screen said:
> 
> Results:
> 
> Failed /home/user/xmldata/ReturnReason.xml adding to retry list for next
> pass
> 
> 
> Failed /home/user/xmldata/ProdCatalogCategoryType.xml adding to retry list
> for next pass
> 
> Pass 2 complete
> 
> ---
> 
> Succeeded: 7 of 367
> 
> Failed: 360 of 367
> 
> ---
> 
> Failed Files:
> 
> /home/user/xmldata/ReturnReason.xml
> 
> 
> 
> Any ideas? I tried markmail and the docs website. I appreciate any help
> Many thanks


Re: Advice needed: Integrating an External Webapp with OfBiz Order Application service layer via RMI...

2008-10-16 Thread BJ Freeman
The concept is that ofbiz is the backend and the store front(ecommerce)
is just an application that uses the framework.
Ofbiz is not Ecommerce, though it has an application that supports
Ecommerce.
So yes the Ecommerce depends on the backend.
there are RMI examples in ofbiz that if one spent the time could come up
with an RMI connector so another Web App or even an other cart could
access the Backend.
ofbiz was designed so the back end could have other application layered
on it.
However theres is not active participation, at this, time to have such
connectors done.



David Legg sent the following on 10/16/2008 2:28 AM:
> Hi DeAngelo,
> 
> I'm a 'me-too' on this subject.
> 
> It's only in the last week I got round to trying out OfBiz.  After the
> initial Wow! factor died down I quickly realized that the storefront
> looks almost hard-wired to the back-end.  In the short time I've been
> subscribed to the list I've seen several similar requests for advice on
> how to cleanly separate the store front from the backend with no
> apparent solution so far.
> 
>> 2)  This app needs an ecommerce solutio.  So in this non-ofbiz webapp, a
>> user can add a bunch of items to a shopping cart , and click "buy" and
>> have
>> ofbiz handle the rest.  Now, the products may be added to OFBiz using
>> one of
>> the out-of-the-box applications,  but the user should browse the product
>> catalog and buy shopping cart items from the external webapp
> 
> Regards,
> David Legg
> 
> 
> 
> 


Re: Advice needed: Integrating an External Webapp with OfBiz Order Application service layer via RMI...

2008-10-16 Thread DeAngelo Lampkin
On Thu, Oct 16, 2008 at 4:26 AM, David Legg <[EMAIL PROTECTED]>wrote:

> Hi Raj,
>
>  ...what exactly you mean by clearly separate store front? To me it looks
>> clearly separate as you can create your own web application and have your
>> e-commerce store front as you want without keeping any thing from the
>> default technologies.
>>
>
> I don't wish to hijack DeAngelo's thread but...


By all means, hijack away!  The more conversation the better.

-DeAngelo


Re: Advice needed: Integrating an External Webapp with OfBiz Order Application service layer via RMI...

2008-10-16 Thread Adrian Crum

David Legg wrote:
To me the ideal solution would be to have a library of POJOs that 
implement a storefront and a shopping basket API and use spring 
configuration to establish settings like where the database is.  Then I 
could incorporate those beans in a JSP page or a Cocoon pipeline or a 
Struts app as appropriate.  I think it is the distributed nature of the 
configuration which is a stumbling block at the moment.


I think your view on this subject may change after spending some time 
with OFBiz. Not everyone will agree that the solution you describe is ideal.


Cobbling together a bunch of libraries might seem like a cool idea, but 
it will take a lot more work to set up and maintain. The OFBiz framework 
is designed to get you up and running quickly.


I've been working with OFBiz for four years, and I shudder to think of 
using POJOs, beans, or (yuck) JSPs to build a website. The combination 
of OFBiz screen widgets, Groovy scripts, FreeMarker templates, and the 
OFBiz mini-language is far easier to use.


-Adrian


Re: DIffernce between context root and context path

2008-10-16 Thread adithi agarwal
Thankyou for ur reply..



- Original Message 
From: Jacques Le Roux <[EMAIL PROTECTED]>
To: user@ofbiz.apache.org
Sent: Tuesday, October 14, 2008 10:47:58 AM
Subject: Re: DIffernce between context root and context path

From: "adithi agarwal" <[EMAIL PROTECTED]>
> Hi 
> Can some one tell me what is the contextPath and contextRoot which we compare 
> in appbar.ftl
> 
> Thankyou

Simply put ${contextPath} and ${thisApp} in appbar.ftl to see them on screen. 
You should understand.

Jacques



  

Re: Advice needed: Integrating an External Webapp with OfBiz Order Application service layer via RMI...

2008-10-16 Thread David Legg

Hi Raj,

If your application runs in another container/server and it is Java, 
RMI is the way to go.


I'll have a look... thanks.

David Legg.


Save the DOLLAR

2008-10-16 Thread Johnny Kewl

Petition : Save the DOLLAR

http://answers.yahoo.com/question/index?qid=20081016021357AAsrnFR&r=w

I'm asking the geeks, because the politicians and bankers dont know what the 
hell they doing...

Dont answer here... go to the link.

Thanks

---
HARBOR : http://www.kewlstuff.co.za/index.htm
The most powerful application server on earth.
The only real POJO Application Server.
See it in Action : http://www.kewlstuff.co.za/cd_tut_swf/whatisejb1.htm
---
If you cant pay in gold... get lost...
http://coolharbor.100free.com/debt/usadebt.htm 



Re: Advice needed: Integrating an External Webapp with OfBiz Order Application service layer via RMI...

2008-10-16 Thread Raj Saini

David Legg wrote:

Hi Raj,

...what exactly you mean by clearly separate store front? To me it 
looks clearly separate as you can create your own web application and 
have your e-commerce store front as you want without keeping any 
thing from the default technologies.


I don't wish to hijack DeAngelo's thread but... like him, I have my 
own preferred web framework (Cocoon) into which I would like to bolt 
on an estore.  However, I'd rather not end up with a Frankenstein 
monster with a big bolt holding it all together!  I'm taking great 
pains to ensure that the look and feel of the site is managed in one 
place.  If I bolt OfBiz on the side I will have to keep two sets of 
templates in sync with each other.


To me the ideal solution would be to have a library of POJOs that 
implement a storefront and a shopping basket API and use spring 
configuration to establish settings like where the database is.  Then 
I could incorporate those beans in a JSP page or a Cocoon pipeline or 
a Struts app as appropriate.  I think it is the distributed nature of 
the configuration which is a stumbling block at the moment.


If you want to run your application within the OFBiz container , you can 
have a look at various event handlers configured in the e-commerce 
controller.xml. There are event handlers for Java, SOAP etc. Thought I 
have not tried, you can write your own event handler to handle the 
Cocoon request pipeline. However, please note that this will need you to 
write all the logic you find out of the box in the ecommerce component.


If your application runs in another container/server and it is Java, RMI 
is the way to go. You can still use the service framework and reuse most 
of the services of OFBiz. My suggestion is to create facade RMI services 
instead of modifying the exiting one.


Thanks,

Raj




Re: Advice needed: Integrating an External Webapp with OfBiz Order Application service layer via RMI...

2008-10-16 Thread Peter Sparkes

Hi,

I too - have my own preferred web framework (Cocoon) into which I would 
like to bolt on an estore.


Regards

Peter Sparkes

Hi Raj,

...what exactly you mean by clearly separate store front? To me it 
looks clearly separate as you can create your own web application and 
have your e-commerce store front as you want without keeping any 
thing from the default technologies.


I don't wish to hijack DeAngelo's thread but... like him, I have my 
own preferred web framework (Cocoon) into which I would like to bolt 
on an estore.  However, I'd rather not end up with a Frankenstein 
monster with a big bolt holding it all together!  I'm taking great 
pains to ensure that the look and feel of the site is managed in one 
place.  If I bolt OfBiz on the side I will have to keep two sets of 
templates in sync with each other.


To me the ideal solution would be to have a library of POJOs that 
implement a storefront and a shopping basket API and use spring 
configuration to establish settings like where the database is.  Then 
I could incorporate those beans in a JSP page or a Cocoon pipeline or 
a Struts app as appropriate.  I think it is the distributed nature of 
the configuration which is a stumbling block at the moment.


Of course all those things may exist already and I haven't spotted 
them...
Maybe I should take a closer look at the GenericDelegator class which 
I see is used a lot in things like 
org.ofbiz.order.shoppingcart.ShoppingCart.java



Regards,
David Legg



No virus found in this incoming message.
Checked by AVG. 
Version: 8.0.100 / Virus Database: 270.8.1/1727 - Release Date: 15/10/2008 20:02
  




Re: eBay

2008-10-16 Thread Peter Sparkes

Hi Flopa,

Thanks for the advice, I will investigate

Regards

Peter

Hi,

There is a folder "specialpurpose" having a basic version of ebay and 
googlebase integration.
For advanced usage, it might be necessary to use ebay WSDL and SOAP 
based calls rather than default implementation from there. Except 
products export and orders import nothing else is already done. A 
backend integration might not be available as long as it depends on 
different software used on the backend


regards,
Flopa

Hi,

I am new to OFBiz. I have a client who wants to have a website and an 
eBay shop.


Please, can I generate/maintain  an eBay shop using OFBiz, ie 
automatically upload from OFBiz to the eBay store server and do the 
back office stuff (invoices, stock control etc.) through OFBiz ?


Thanks

Peter Sparkes





No virus found in this incoming message.
Checked by AVG. 
Version: 8.0.100 / Virus Database: 270.8.1/1727 - Release Date: 15/10/2008 20:02
  




Re: Advice needed: Integrating an External Webapp with OfBiz Order Application service layer via RMI...

2008-10-16 Thread David Legg

Hi Raj,

...what exactly you mean by clearly separate store front? To me it 
looks clearly separate as you can create your own web application and 
have your e-commerce store front as you want without keeping any thing 
from the default technologies.


I don't wish to hijack DeAngelo's thread but... like him, I have my own 
preferred web framework (Cocoon) into which I would like to bolt on an 
estore.  However, I'd rather not end up with a Frankenstein monster with 
a big bolt holding it all together!  I'm taking great pains to ensure 
that the look and feel of the site is managed in one place.  If I bolt 
OfBiz on the side I will have to keep two sets of templates in sync with 
each other.


To me the ideal solution would be to have a library of POJOs that 
implement a storefront and a shopping basket API and use spring 
configuration to establish settings like where the database is.  Then I 
could incorporate those beans in a JSP page or a Cocoon pipeline or a 
Struts app as appropriate.  I think it is the distributed nature of the 
configuration which is a stumbling block at the moment.


Of course all those things may exist already and I haven't spotted them...
Maybe I should take a closer look at the GenericDelegator class which I 
see is used a lot in things like 
org.ofbiz.order.shoppingcart.ShoppingCart.java



Regards,
David Legg



Re: eBay

2008-10-16 Thread Florin Popa

Hi,

There is a folder "specialpurpose" having a basic version of ebay and 
googlebase integration.
For advanced usage, it might be necessary to use ebay WSDL and SOAP 
based calls rather than default implementation from there. Except 
products export and orders import nothing else is already done. A 
backend integration might not be available as long as it depends on 
different software used on the backend


regards,
Flopa

Hi,

I am new to OFBiz. I have a client who wants to have a website and an 
eBay shop.


Please, can I generate/maintain  an eBay shop using OFBiz, ie 
automatically upload from OFBiz to the eBay store server and do the 
back office stuff (invoices, stock control etc.) through OFBiz ?


Thanks

Peter Sparkes





eBay

2008-10-16 Thread Peter Sparkes

Hi,

I am new to OFBiz. I have a client who wants to have a website and an 
eBay shop.


Please, can I generate/maintain  an eBay shop using OFBiz, ie 
automatically upload from OFBiz to the eBay store server and do the back 
office stuff (invoices, stock control etc.) through OFBiz ?


Thanks

Peter Sparkes


Re: call_cal

2008-10-16 Thread awdesh parihar
Are you including global decorator screen inside your main decorator , if
not please include global Decorator and try again.


-- 
--
Awdesh Parihar


Re: Webtools generated XML directory doesn't import back in

2008-10-16 Thread Jacques Le Roux

This could be a key issue. One way to cope with that is to use "Check/Update 
Database" Webtools option.
Watch also for timeout in the screen and log

Jacques

From: "Todd Burdeinei" <[EMAIL PROTECTED]>

Hello All,
I hit a snag on importing the XML from an ofbiz install. I used the webtools
to both generate the XML and attempt the import (import was called from
webtools/control/EntityImportDir). On the destination machine I uploaded the
exported files to a directory called xmlfiles. I used this as the path for
the import.

This is what the screen said:

Results:

Failed /home/user/xmldata/ReturnReason.xml adding to retry list for next
pass


Failed /home/user/xmldata/ProdCatalogCategoryType.xml adding to retry list
for next pass

Pass 2 complete

---

Succeeded: 7 of 367

Failed: 360 of 367

---

Failed Files:

/home/user/xmldata/ReturnReason.xml



Any ideas? I tried markmail and the docs website. I appreciate any help
Many thanks
--
Todd Burdeinei



Re: call_cal

2008-10-16 Thread Suhas Yalgude
I have added to my common decoder then also it is not working

































thanks and regards
Suhas Yalgude

On Thu, Oct 16, 2008 at 1:14 PM, BJ Freeman <[EMAIL PROTECTED]> wrote:

> value="/images/fieldlookup.js" global="true"/>
> /images is setup as a html reference.
>
> Suhas Yalgude sent the following on 10/16/2008 12:33 AM:
>  > yes i have done but not working
> > i have tried
> >  > value="component://framewotk/images/calendar_date_select.js"
> global="true"/>
> >
> >
> > i also tried following
> >
> > copied calendar_date_select.js to my folder
> > and then changed as follows
> >  > global="true"/>
> >
> > but any how it is not working
> >
> > please help.
> >
> > thanks & regards,
> >
> > Suhas
> >
> > On Thu, Oct 16, 2008 at 11:11 AM, Chirag Manocha <
> > [EMAIL PROTECTED]> wrote:
> >
> >> You can see this in CommonScreens.xml file of common component.
> >> with this the ready reference is
> >>  >> value="/images/calendar_date_select.js" global="true"/>
> >>
> >> Thanks & Regards
> >>
> >> Chirag Manocha
> >> HotWax Media
> >> http://www.hotwaxmedia.com
> >> 
> >> Email   :- [EMAIL PROTECTED]
> >> Contact :- +91-982-631-9099
> >>
> >>
> >>
> >>  Suhas Yalgude wrote:
> >>
> >>> please tell me how to included calendar_date_select.js in screen.
> >>>
> >>>
> >>> On Wed, Oct 15, 2008 at 5:42 PM, Chirag Manocha <
> >>> [EMAIL PROTECTED]> wrote:
> >>>
> >>>
> >>>
>  I think calendar_date_select.js is not included in screen.
>  This js file have function call_cal(...)
> 
>  Please provide more information if it doesnt help you.
> 
>  Thanks & Regards
> 
>  Chirag Manocha
>  HotWax Media
>  http://www.hotwaxmedia.com
>  
>  Email   :- [EMAIL PROTECTED]
>  Contact :- +91-982-631-9099
> 
> 
> 
> 
>  Vikas Mayur wrote:
> 
> 
> 
> >  Please provide more information like what you did, what you want to
> do,
> > any error logs etc.
> >
> > Vikas
> >
> > On Oct 15, 2008, at 5:30 PM, Suhas Yalgude wrote:
> >
> > I have got one date-time field. It is giving error that object
> required
> >
> >
> >> because of it is not geting call_cal. please help
> >>
> >>
> >>
> >
> >>>
> >
>


Re: Advice needed: Integrating an External Webapp with OfBiz Order Application service layer via RMI...

2008-10-16 Thread Raj Saini

Hi David,

I had the exactly same feeling you have now when I started looking at 
the OFBiz as e-commerce solution. Immediate thought that came to me why 
not to have my own store front in the technology of I like for example a 
JSP, struts etc etc. Looking deep into the system I found it was a 
unwarranted thought and current framework (widgets, screens, freemarker 
etc.) are no less than other frameworks.


Going back to your question, what exactly you mean by clearly separate 
store front? To me it looks clearly separate as you can create your own 
web application and have your e-commerce store front as you want without 
keeping any thing from the default technologies.


If you are looking for network level communication, I think RMI is the 
way to go if both of the applications are Java based. Recently, I had 
integrated OFBiz with a Liferay Portal where store front was written as 
a set of portlets.


Thanks,

Raj

David Legg wrote:

Hi DeAngelo,

I'm a 'me-too' on this subject.

It's only in the last week I got round to trying out OfBiz.  After the 
initial Wow! factor died down I quickly realized that the storefront 
looks almost hard-wired to the back-end.  In the short time I've been 
subscribed to the list I've seen several similar requests for advice 
on how to cleanly separate the store front from the backend with no 
apparent solution so far.



2)  This app needs an ecommerce solutio.  So in this non-ofbiz webapp, a
user can add a bunch of items to a shopping cart , and click "buy" 
and have
ofbiz handle the rest.  Now, the products may be added to OFBiz using 
one of

the out-of-the-box applications,  but the user should browse the product
catalog and buy shopping cart items from the external webapp


Regards,
David Legg






Webtools generated XML directory doesn't import back in

2008-10-16 Thread Todd Burdeinei
Hello All,
I hit a snag on importing the XML from an ofbiz install. I used the webtools
to both generate the XML and attempt the import (import was called from
webtools/control/EntityImportDir). On the destination machine I uploaded the
exported files to a directory called xmlfiles. I used this as the path for
the import.

This is what the screen said:

Results:

Failed /home/user/xmldata/ReturnReason.xml adding to retry list for next
pass


Failed /home/user/xmldata/ProdCatalogCategoryType.xml adding to retry list
for next pass

Pass 2 complete

---

Succeeded: 7 of 367

Failed: 360 of 367

---

Failed Files:

/home/user/xmldata/ReturnReason.xml



Any ideas? I tried markmail and the docs website. I appreciate any help
Many thanks
-- 
Todd Burdeinei


Re: Advice needed: Integrating an External Webapp with OfBiz Order Application service layer via RMI...

2008-10-16 Thread David Legg

Hi DeAngelo,

I'm a 'me-too' on this subject.

It's only in the last week I got round to trying out OfBiz.  After the 
initial Wow! factor died down I quickly realized that the storefront 
looks almost hard-wired to the back-end.  In the short time I've been 
subscribed to the list I've seen several similar requests for advice on 
how to cleanly separate the store front from the backend with no 
apparent solution so far.



2)  This app needs an ecommerce solutio.  So in this non-ofbiz webapp, a
user can add a bunch of items to a shopping cart , and click "buy" and have
ofbiz handle the rest.  Now, the products may be added to OFBiz using one of
the out-of-the-box applications,  but the user should browse the product
catalog and buy shopping cart items from the external webapp


Regards,
David Legg



Re: call_cal

2008-10-16 Thread Ravindra Mandre

Hi
you are not given right location of your js file in xml file in value . 
may be for that its not working . pass the location where your java 
script file is stored. for reference look into ecommerce component.


Regards
Ravindra Mandre
Hotwax Media Inc.



query

2008-10-16 Thread Abhishake Agarwal
Hi,

Please let me know how shipInfo List get populated in ShoppingCart.java
while loading a cart from order.

Regards,
Abhishake


Re: call_cal

2008-10-16 Thread BJ Freeman

/images is setup as a html reference.

Suhas Yalgude sent the following on 10/16/2008 12:33 AM:
> yes i have done but not working
> i have tried
>  value="component://framewotk/images/calendar_date_select.js" global="true"/>
> 
> 
> i also tried following
> 
> copied calendar_date_select.js to my folder
> and then changed as follows
>  global="true"/>
> 
> but any how it is not working
> 
> please help.
> 
> thanks & regards,
> 
> Suhas
> 
> On Thu, Oct 16, 2008 at 11:11 AM, Chirag Manocha <
> [EMAIL PROTECTED]> wrote:
> 
>> You can see this in CommonScreens.xml file of common component.
>> with this the ready reference is
>> > value="/images/calendar_date_select.js" global="true"/>
>>
>> Thanks & Regards
>>
>> Chirag Manocha
>> HotWax Media
>> http://www.hotwaxmedia.com
>> 
>> Email   :- [EMAIL PROTECTED]
>> Contact :- +91-982-631-9099
>>
>>
>>
>>  Suhas Yalgude wrote:
>>
>>> please tell me how to included calendar_date_select.js in screen.
>>>
>>>
>>> On Wed, Oct 15, 2008 at 5:42 PM, Chirag Manocha <
>>> [EMAIL PROTECTED]> wrote:
>>>
>>>
>>>
 I think calendar_date_select.js is not included in screen.
 This js file have function call_cal(...)

 Please provide more information if it doesnt help you.

 Thanks & Regards

 Chirag Manocha
 HotWax Media
 http://www.hotwaxmedia.com
 
 Email   :- [EMAIL PROTECTED]
 Contact :- +91-982-631-9099




 Vikas Mayur wrote:



>  Please provide more information like what you did, what you want to do,
> any error logs etc.
>
> Vikas
>
> On Oct 15, 2008, at 5:30 PM, Suhas Yalgude wrote:
>
> I have got one date-time field. It is giving error that object required
>
>
>> because of it is not geting call_cal. please help
>>
>>
>>
>
>>>
> 


Re: call_cal

2008-10-16 Thread Suhas Yalgude
yes i have done but not working
i have tried



i also tried following

copied calendar_date_select.js to my folder
and then changed as follows


but any how it is not working

please help.

thanks & regards,

Suhas

On Thu, Oct 16, 2008 at 11:11 AM, Chirag Manocha <
[EMAIL PROTECTED]> wrote:

> You can see this in CommonScreens.xml file of common component.
> with this the ready reference is
>  value="/images/calendar_date_select.js" global="true"/>
>
> Thanks & Regards
>
> Chirag Manocha
> HotWax Media
> http://www.hotwaxmedia.com
> 
> Email   :- [EMAIL PROTECTED]
> Contact :- +91-982-631-9099
>
>
>
>  Suhas Yalgude wrote:
>
>> please tell me how to included calendar_date_select.js in screen.
>>
>>
>> On Wed, Oct 15, 2008 at 5:42 PM, Chirag Manocha <
>> [EMAIL PROTECTED]> wrote:
>>
>>
>>
>>> I think calendar_date_select.js is not included in screen.
>>> This js file have function call_cal(...)
>>>
>>> Please provide more information if it doesnt help you.
>>>
>>> Thanks & Regards
>>>
>>> Chirag Manocha
>>> HotWax Media
>>> http://www.hotwaxmedia.com
>>> 
>>> Email   :- [EMAIL PROTECTED]
>>> Contact :- +91-982-631-9099
>>>
>>>
>>>
>>>
>>> Vikas Mayur wrote:
>>>
>>>
>>>
  Please provide more information like what you did, what you want to do,
 any error logs etc.

 Vikas

 On Oct 15, 2008, at 5:30 PM, Suhas Yalgude wrote:

 I have got one date-time field. It is giving error that object required


> because of it is not geting call_cal. please help
>
>
>


>>>
>>
>>
>


how to unscribe

2008-10-16 Thread BJ Freeman
http://docs.ofbiz.org/display/OFBADMIN/Mailing+Lists

茆文俊 sent the following on 10/15/2008 11:28 PM:
> undescribed
> 
> -Original Message-
> From: BJ Freeman [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, October 16, 2008 2:20 PM
> To: user@ofbiz.apache.org
> Subject: Re: call_cal
> 
> do a search of the code for
> calendar_date_select.js
> you will find it in xml files
> in ecommerce, framework, and specialpurpose
> then search for those files in the code.
> these will give you examples on how to include it in other screens.
> 
> Suhas Yalgude sent the following on 10/15/2008 10:34 PM:
>> please tell me how to included calendar_date_select.js in screen.
>>
>>
>> On Wed, Oct 15, 2008 at 5:42 PM, Chirag Manocha <
>> [EMAIL PROTECTED]> wrote:
>>
>>> I think calendar_date_select.js is not included in screen.
>>> This js file have function call_cal(...)
>>>
>>> Please provide more information if it doesnt help you.
>>>
>>> Thanks & Regards
>>>
>>> Chirag Manocha
>>> HotWax Media
>>> http://www.hotwaxmedia.com
>>> 
>>> Email   :- [EMAIL PROTECTED]
>>> Contact :- +91-982-631-9099
>>>
>>>
>>>
>>>
>>> Vikas Mayur wrote:
>>>
  Please provide more information like what you did, what you want to do,
 any error logs etc.

 Vikas

 On Oct 15, 2008, at 5:30 PM, Suhas Yalgude wrote:

 I have got one date-time field. It is giving error that object required
> because of it is not geting call_cal. please help
>
> 
> 
>