Re: [SKYPE CALL] Confirmation of Date and Time for Documentation Call

2018-02-21 Thread Wai
What is the skype address to use?



--
Sent from: http://ofbiz.135035.n4.nabble.com/OFBiz-User-f135036.html


Re: New setup issues

2018-01-31 Thread Wai
It should be https://localhost:8443/ecommerce



--
Sent from: http://ofbiz.135035.n4.nabble.com/OFBiz-User-f135036.html


How to get n items from a table.

2017-10-30 Thread Wai
Is there a way to get the 1st n of items from a table



--
Sent from: http://ofbiz.135035.n4.nabble.com/OFBiz-User-f135036.html


get entry from table whose column contains minimum or maximum value

2017-10-30 Thread Wai
I want to read an entry from a table where a given column contains the
largest/smallest value.
Is there a way to achieve this without reading all entries and processing it
in code.



--
Sent from: http://ofbiz.135035.n4.nabble.com/OFBiz-User-f135036.html


Re: Difference [+0] and []

2017-09-25 Thread Wai
These are the valid syntaxes
[]...if list does not exist, create a new list and append item to it. If
list exist, append item to end of list 
[+0]...if list does not exist, create a new list and append item to it. If
list exist, insert item at beginning of list 



--
Sent from: http://ofbiz.135035.n4.nabble.com/OFBiz-User-f135036.html


Difference [+0] and []

2017-09-23 Thread Wai
What is the difference between the following code in an xml file:




If there are documentations to describe this please provide a link.
Thanks in advance.



--
Sent from: http://ofbiz.135035.n4.nabble.com/OFBiz-User-f135036.html


Re: [PROPOSAL]Request to enhance entity:SystemProperty.

2017-08-10 Thread Wai
Thanks for the reply. I shall take a look.
http://ofbiz.135035.n4.nabble.com/Re-Request-for-enhance-entity-SystemProperty-tp4709235p4709446.html



--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/PROPOSAL-Request-to-enhance-entity-SystemProperty-tp4709232p4709447.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: [PROPOSAL]Request to enhance entity:SystemProperty.

2017-08-09 Thread Wai
Anybody have a comment on this?



--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/PROPOSAL-Request-to-enhance-entity-SystemProperty-tp4709232p4709390.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Request for enhance entity:SystemProperty.

2017-08-06 Thread Wai
I would like to get some comments on a request to enhance the SystemProperty
entity.
It would be useful to add the following fields:

field: access
-this field is used to indicate if the entry is readable and/or writable
by the a user with admin access.
-valid values:


field: valueType
-this field is used to indicate the format of the value. It could be
used to aid validation
-valid values:


A second point.  The SystemProperty entity contains settings for the whole
system (even thought some are for specific components).  Would it be useful
to include user specific settings based on userLoginId.  If so, would that
be using SystemProperty or create a new entity (eg. UserProperty?)

Thanks.




--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Request-for-enhance-entity-SystemProperty-tp4709232.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: url encoding of java string in freemarker template file

2017-07-26 Thread Wai
Thanks



--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/url-encoding-of-java-string-in-freemarker-template-file-tp4708874p4708921.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


url encoding of java string in freemarker template file

2017-07-25 Thread Wai
In a freemarker template, I have the following. Of course, it can also come
from a java method.
<#assign
test=Static["java.lang.String"].format("http://example.com/page?a=1=2;) >
result1=${test}
result2=${test?url('utf-8')}

The output to the webbrowser shows...
result1=http://example.com/page?a=1=2
result2=http%26%23x3a%3B%26%23x2f%3B%26%23x2f%3Bexample.com%26%23x2f%3Bpage%26%23x3f%3Ba%26%23x3d%3B1%26amp%3Bb%26%23x3d%3B2
 

I'm interesting in the following correct output...
result1=http://example.com/page?a=1=2
result2=http%3A%2F%2Fexample.com%2Fpage%3Fa%3D1%26b%3D2


Could someone tell me what is the problem and how to solve it.
Thanks in advance.




--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/url-encoding-of-java-string-in-freemarker-template-file-tp4708874.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: plugin and hotdeploy

2017-03-03 Thread Wai
I've added a new thread in the dev list for more discussion
http://ofbiz.135035.n4.nabble.com/discussion-With-plugins-is-hot-deploy-necessary-td4702976.html



--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/plugin-and-hotdeploy-tp4702922p4702977.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


plugin and hotdeploy

2017-03-02 Thread Wai
Now that the plugin is in place for ofbiz.  Is there a difference between
hotdeploy components and that of plugins components?
Thanks



--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/plugin-and-hotdeploy-tp4702922.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


product.productTypeId explained?

2017-02-25 Thread Wai
Hello,

Could someone give a brief example of products/services that each of the
following productTypeId represents? Or alternatively, provide a document
that describes these types?

Thanks

   product_type_id   | parent_type_id  | is_physical | is_digital |
has_table |description
-+-+-++---+--
 AGGREGATED_CONF | AGGREGATED  | Y   | N  | N
| Configurable Good Configuration
 AGGREGATEDSERV_CONF | AGGREGATED  | Y   | N  | N
| Configurable Service Configuration
 AGGREGATED  | GOOD| Y   | N  | N
| Configurable Good
 DIGITAL_GOOD| GOOD| N   | Y  | N
| Digital Good
 FINDIG_GOOD | GOOD| Y   | Y  | N
| Finished/Digital Good
 FINISHED_GOOD   | GOOD| Y   | N  | N
| Finished Good
 MARKETING_PKG   | GOOD| Y   | N  | N
| Marketing Package
 RAW_MATERIAL| GOOD| Y   | N  | N
| Raw Material
 SUBASSEMBLY | GOOD| Y   | N  | N
| Subassembly
 WIP | GOOD| Y   | N  | N
| Work In Process
 MARKETING_PKG_AUTO  | MARKETING_PKG   | Y   | N  | N
| Marketing Package: Auto Manufactured
 MARKETING_PKG_PICK  | MARKETING_PKG   | Y   | N  | N
| Marketing Package: Pick Assembly
 AGGREGATED_SERVICE  | SERVICE_PRODUCT | Y   | N  | N
| Configurable Service using inventory
 ASSET_USAGE | | Y   | N  | N
| Fixed Asset Usage
 ASSET_USAGE_OUT_IN  | | Y   | N  | N
| Fixed Asset Usage For Rental of an asset which is shipped from and
returned to inventory
 GOOD| | Y   | N  | N
| Good
 SCRUM_ITEM  | | ||  
| Product From Scrum
 SERVICE | | N   | N  | N
| Service
 SERVICE_PRODUCT | | Y   | N  | N
| Service a product using inventory






--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/product-productTypeId-explained-tp4702794.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Ofbiz support creation of temporary tables in database?

2014-12-04 Thread Wai
Hello community,
Does ofbiz support creating temporary tables?
Thanks
Wai



--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Ofbiz-support-creation-of-temporary-tables-in-database-tp4659338.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Ofbiz support creation of temporary tables in database?

2014-12-04 Thread Wai
Hello,

Thanks for the reply. I'm familiar with the view-entity as well as the
DynamicViewEntity class.

What I wanted to accomplish is to aggregate the person's firstName,
middleName, lastName into one field so that I can use a single search filter
to filter in or out the appropriate entries of a resulting join operation.

I was thinking of creating a temporary table to store these aggregated
strings and then use the temporary table to join with other tables
accordingly.  This way, I can let the database do all the work of filtering
and let the screen widget do the paging as usual.

Otherwise, I would have to perform a join with entities Party, Person. Then
read all the entries and concatenate by code, the firstName, middleName,
lastName and then store the aggregated name into an unused GenericValue
field (eg. firstName or something else), then perform the filtering in my
code and then let the screen widget output the listing.

I could use ... 
view-entity
alias name=fullPersonName
complex-alias operator=||
complex-alias-field entity-alias=PERSON field=firstName/
complex-alias-field entity-alias=PERSON field=middleName/
...

But the above would be database server specific.  Hence, I would like to
avoid it.

What I want to do seems very common and I would like to know if anyone has
already accomplished this and give some insight.

Thanks in advance,
Wai




--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Ofbiz-support-creation-of-temporary-tables-in-database-tp4659338p4659352.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Proposal to remove catalog's Template Path Prefix field from user interface

2012-06-12 Thread Wai
@Mike

Thanks for the clarification.  The Content Path Prefix is clear now. 
Hence, in practice, it would mean that an ofbiz owner would have to create a
mount point for each NFS mount in the image component.  I agree that this
feature is useful in  an ofbiz single-tenant operating mode.  But it would
not be practical in a multi-tenant operating mode.

As a side note. If ofbiz is to be multi-tenant capable. I think a
consideration should be taken for any feature that would conflict with this.

@Jacques

Yes, part of my concern about this issue does deal with multi-tenant
support.

Thanks,
Wai

--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Proposal-to-remove-catalog-s-Template-Path-Prefix-field-from-user-interface-tp4633296p4633461.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Proposal to remove catalog's Template Path Prefix field from user interface

2012-06-11 Thread Wai
Hello David,

I'm not sure to whom you're addressing your post.  Since I'm the originator,
I'll give a reply.

A catalog's Template Path Prefix field is used to specify the path prefix
to a particular screen widget file containing the screen to use for listing
products in the ecommerce website.

The reason for this post is that the code blindly prepends the value of this
field to the category's Detail Screen field.  Resulting in a final file
path that will always cause an exception.  Hence this code had never
worked.

As you can see from the original posting, the resulting path to the target
screen to use makes no sense.

Since this code never worked since 2006. It is therefore reasonable that no
one has ever used this feature.  And it is unlikely that the originator of
the code could possibly have used it successfully unless he made changes to
his own version of ofbiz.

That's why I proposed to have this code and associated ui be hidden or
removed.  If not the code, at least hide the ui part.

I'll log a jira on this so that the community can keep track.

Wai

--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Proposal-to-remove-catalog-s-Template-Path-Prefix-field-from-user-interface-tp4633296p4633446.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Proposal to remove catalog's Template Path Prefix field from user interface

2012-06-11 Thread Wai
I've read the help and doc as well and I could not understand what it says.
:-(  As a result, I had to get the real doc from the code.

My comment on the bug with Template Path Prefix was already explained.

Regarding a catalog's Content Path Prefix field, it also exhibits the same
flaw. That of blindly prepending this field.  This field is generally used
to specify the product images to be shown in the ecommerce component.

When this field is empty, the generated image tag in ecommerce is shown
below (note that it is using image webapp context):

/images/products/ENCHILADAS/small.png 

If you were to specify /zzz for Content Path Prefix, the resulting url
for the generated image tag is shown below (note that it is using zzz
webapp context):

/zzz/images/products/ENCHILADAS/small.png 

As you can see.  Content Path Prefix specifies a zzz webapp context with
a subdirectory image.  I doubt this was the intent of the field.  The
question is, where exactly are you supposed to place this field value?

Wai

--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Proposal-to-remove-catalog-s-Template-Path-Prefix-field-from-user-interface-tp4633296p4633448.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Proposal to remove catalog's Template Path Prefix field from user interface

2012-06-11 Thread Wai
One additional comment.
Template Path Prefix and Content Path Prefix as it is implemented would
not make sense in a multitenant ofbiz setup.

--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Proposal-to-remove-catalog-s-Template-Path-Prefix-field-from-user-interface-tp4633296p4633451.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Proposal to remove catalog's Template Path Prefix field from user interface

2012-06-07 Thread Wai
Hello,

Anyone knowledgeable in this area to give some insight?

Thanks

--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Proposal-to-remove-catalog-s-Template-Path-Prefix-field-from-user-interface-tp4633296p462.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Proposal to remove catalog's Template Path Prefix field from user interface

2012-06-06 Thread Wai

Does anyone know how a catalog's Template Path Prefix field is used from
http://demo-trunk.ofbiz.apache.org/catalog/control/EditProdCatalog?prodCatalogId=DemoCatalog
It seems that the code blindly prepends the Template Path Prefix value to
the category's Detail Screen field.

Hence, if a catalog's Template Path Prefix is zzz and a category's
Detail Screen is somedetailscreen, the resulting screen that ofbiz looks
for is /zzzsomedetailscreen.  Which ofbiz would not be able to locate
based on the format of the screen location.

If a catalog's Template Path Prefix is zzz and a category's Detail
Screen is
component://ecommerce/widget/CatalogScreens.xml#somedetailscreen, the
resulting screen that ofbiz looks for is
/zzzcomponent://ecommerce/widget/CatalogScreens.xml#somedetailscreen. 
Which ofbiz would not be able to located due to the improper format.

Since this code never worked since 2006 when it was first placed into the
svn repository.  I don't think anyone has made use of it since.

I propose to remove the catalog's Template Path Prefix field from the
catalog's user interface to reduce the confusion.

Could someone in the community give some insight to this field.

Thanks,
Wai


--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Proposal-to-remove-catalog-s-Template-Path-Prefix-field-from-user-interface-tp4633296.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: From/Thru date for catalog

2012-05-31 Thread Wai
Even though a catalog can be used by multiple stores.  I do not see how it is
not feasible from an operational point of view.

If a catalog is expired because it is no longer applicable (eg. last
summer's product line).  Retiring a catalog should be reflected in all
stores using the catalog.  All stores making use of the retired catalog
should first verify that the catalog is active for the store in addition to
verifying that the catalog is indeed active.  If the catalog is found to be
expired, ofbiz would hide the retired catalog from selection at the
visitor's store (or website).

This offers a central point for management of catalogs.

Wai

--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/From-Thru-date-for-catalog-tp4632586p4632870.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: From/Thru date for catalog

2012-05-29 Thread Wai
ProductStoreCatalog entity provides store, catalog applicability.  The
From/Thru field provide a way to expire this association.  But it does not
give any indication that a particular catalog is no longer of use for a
business.

Over the years, catalogs are created and retired.  Hence, catalogs for
different purposes are accumulated over the years.  I'm more referring to a
catalog that is no longer of use for business purposes and need to be
retired and/or deleted.

So back to the original question.  Does it make sense to implement a
From/Thru date for the entity ProdCatalog?

Thanks,
Wai

--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/From-Thru-date-for-catalog-tp4632586p4632702.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


From/Thru date for catalog

2012-05-28 Thread Wai
Is there currently a way to delete or expire catalogs?

If not, would it be useful to add From/Thru fields in the ProdCatalog
entity?

Thanks
Wai

--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/From-Thru-date-for-catalog-tp4632586.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Content Path Prefix and Template Path Prefix fields for catalog

2012-05-25 Thread Wai
In
https://demo-trunk.ofbiz.apache.org:8443/catalog/control/EditProdCatalog?prodCatalogId=DemoCatalog

Regarding the fields Content Path Prefix and Template Path Prefix.

1. What are their purpose?
3. If these fields are defined, are these values applicable only to the
catalog or does it apply to the associated categories as well?

Thanks in advance.
Wai

--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Content-Path-Prefix-and-Template-Path-Prefix-fields-for-catalog-tp4632448.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Associate Party To Product

2012-05-03 Thread Wai
Hello All,

In the following link.
https://demo-trunk.ofbiz.apache.org:8443/catalog/control/EditProductParties?productId=GZ-1000

Could someone explain or direct me to resources to find out what Associate
Party to Product is and how it is supposed to be used and under what
situation would one use it?

Tia,
Wai

--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Associate-Party-To-Product-tp4606257.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Need vote for new appearance for flatgrey theme

2012-04-16 Thread Wai
Hello Community,

I have implemented some changes to the flatgrey theme and would like to get
a vote from the community about its appeal and whether the community would
be willing to adopt it as a standard for the flatgrey theme.

Could you check it out and let me know if it should be or not.

The issue in jira is ofbiz-4768 and the 2 patches are (NOTE: apply either
one or the other at one time):

https://issues.apache.org/jira/secure/attachment/12522723/ofbiz-style1.patch
Patch for Flatgrey Style 1 

https://issues.apache.org/jira/secure/attachment/12522724/ofbiz-style2.patch 
Patch for Flatgrey Style 2 


Thanks,
Wai

--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Need-vote-for-new-appearance-for-flatgrey-theme-tp4560787p4560787.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Remote debugging port 5005, 8091

2012-04-02 Thread Wai
Hello All,
Could someone tell me why the remote debugging port is set to 5005 when
running ofbiz on Windows and 8091 on a Linux?
Thanks
Wai

--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Remote-debugging-port-5005-8091-tp4525277p4525277.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: ImageDataResource, VideoDataResource, AudioDataResource, OtherDataResource

2012-02-10 Thread Wai
I agree that it's not much trouble to do the extra work of deleting an entry
from one table and creating another in another table.  The point was that
it's an extra step that was not required.  Hence simplifying the management
process.  Even querying the database related to these separated tables
become more complicated then it needs to be (ie. query all contents for a
particular party/category/etc).

Unfortunately, I am not familiar with database tuning as it related to
separate blob types so I cannot comment on it.

My proposal was to all the experienced ofbiz developers.  If no one can
justify an advantage of having separate ImageDataResource,
VideoDataResource, AudioDataResource, OtherDataResource.  Perhaps it would
be better to only use ImageDataResource to store binary file uploads and
deprecate all the others.

Thanks,
Wai

--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/ImageDataResource-VideoDataResource-AudioDataResource-OtherDataResource-tp4354343p4377820.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: ImageDataResource, VideoDataResource, AudioDataResource, OtherDataResource

2012-02-09 Thread Wai
Hello,

I don't understand what useful functional purpose it would serve to separate
these different types of blobs into the separate entities when
DataResource.mimeTypeId/Content.mimeTypeId would help to distinguish one
type of blob from another.

The complication with having separate entities for each type of uploaded
binary files types is one of management.

For a scenario where a user stores a photo to the content component (which
ends up storing the image data into DataResource and ImageDataResource). 
Now, when the user decides later to change the content to another type of
file (eg. a video file) for the same contentId, then ofbiz would have to
make the necessary changes of destroying the entry in ImageDataResource and
store the uploaded video data to VideoDataResource for the same
DataResource.dataResourceId/Content.dataResourceId.  This is rather
complicated for maintenance purposes.

I propose to only use ImageDataResource for storing any kind of blob content
and rely on Content.mimeTypeId and/or DataResource.mimeTypeId to identify
the format of the blob.  Hence deprecating
VideoDataResource,AudioDataResource,OtherDataResource.

Any insight/comment is appreciated.

Thanks,
Wai


--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/ImageDataResource-VideoDataResource-AudioDataResource-OtherDataResource-tp4354343p4373608.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: ImageDataResource, VideoDataResource, AudioDataResource, OtherDataResource

2012-02-06 Thread Wai
Hello,
Anyone can comment on this?
Thanks,
Wai

--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/ImageDataResource-VideoDataResource-AudioDataResource-OtherDataResource-tp4354343p4362520.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


ImageDataResource, VideoDataResource, AudioDataResource, OtherDataResource

2012-02-03 Thread Wai
Hello All,

What is the purpose of having the following separate entities:

ImageDataResource
VideoDataResource
AudioDataResource
OtherDataResource

Couldn't all these entities be lumped into one, since they all store blobs
and it is associated with the entity DataResource that specify a mimeType to
identity it.

Was it designed this way to serve some specific purpose?

Thanks,
Wai

--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/ImageDataResource-VideoDataResource-AudioDataResource-OtherDataResource-tp4354343p4354343.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


How to use Layered Navigation

2012-01-30 Thread Wai
Hello All,

Could someone give me some pointers in locating and using the layered
navigation feature.
I've enabled the associated code in
specialpurpose/ecommerce/widget/CatalogScreens.xml and I'm not seeing
anything different with viewing the gizmo and widget categories, in
ecommerce component, as compared to when layered navigation was disabled.

https://cwiki.apache.org/OFBIZ/main-new-features-in-2009.html tells me,

...One of the biggest featured introduced in Ecommerce and which was
Layered Navigation of Categories. Layered navigation in an Ecommerce
application allows the user to filter the product listing based on
categories, features and price ranges. The user can apply multiple filters
to the given product listing. He can narrow or expand his search and try
different filter combinations so as to find the desired product

Where do I find this filter?  How/where do I go about creating multiple
filters?

tia
Wai

--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/How-to-use-Layered-Navigation-tp4343036p4343036.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Is category linkOneImageUrl and linkTwoImageUrl ever used in ofbiz?

2012-01-11 Thread Wai
Hello,

Is linkOneImageUrl and linkTwoImageUrl (and associated fields in entity
ProductCategory) of a category ever used in ofbiz?  If so, what is it used
for?

Thanks,
Wai

--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Is-category-linkOneImageUrl-and-linkTwoImageUrl-ever-used-in-ofbiz-tp4287276p4287276.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Is here a way to discover whether ofbiz is currently processing a GET or a POST

2011-12-30 Thread Wai
Are there any flags or methods currently implemented within ofbiz to let me
know whether the current request is a GET or a POST, other than referring to
ControlServlet.doGet() and ControlServlet.doPost().

Tia
Wai

--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Is-here-a-way-to-discover-whether-ofbiz-is-currently-processing-a-GET-or-a-POST-tp4246972p4246972.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Info about content component

2011-12-25 Thread Wai
Hello All,

Could someone direct me to the source documentation (doc, books, etc) from
which the content manager was based on.  I'm trying to understand some of
the concepts in this component.

Tia,
Wai

--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Info-about-content-component-tp4233213p4233213.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Calling multiple services

2011-12-22 Thread Wai

Is there any advantage/difference between Sample1 and Sample2 when it comes
to calling multiple services?

Sample1:

service name=someService_1 engine=group ...
group
invoke name=someService_A/
invoke name=someService_B/
/group
/service


Sample2:

service name=someService_2 engine=simple
location=.../SomeServices.xml invoke=someService_2 ...
...
/service

File SomeServices.xml
-
simple-method method-name=someService_2...
call-service service-name=someService_A ../call-service
call-service service-name=someService_B ../call-service
/simple-method

--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Calling-multiple-services-tp4226530p4226530.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Browse Catalogs/Categories tree change request.

2011-12-21 Thread Wai
Hello,

Anyone with knowledge on the Browse Catalogs/Categories tree care to give
some insight?

Thanks,
Wai

--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Browse-Catalogs-Categories-tree-change-request-tp4215442p4222849.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


How to use ProductCategory.detailScreen

2011-12-19 Thread Wai
Hello All,

When editing category details, ofbiz provides a textbox for the user to
enter a custom detail screen that would be stored in entity
ProductCategory.detailScreen.

I cannot find in the code where the specified screen is actually
used--outside of assignments.

Could someone enlighten me as to what it is used for and how it is supposed
to be used?

TIA
Wai

--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/How-to-use-ProductCategory-detailScreen-tp4213628p4213628.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Is creating Catalog name for different locales available?

2011-12-19 Thread Wai
Hello All,

When editing a catalog, I noticed that there is no option to create catalog
name in a different language.  Is this feature missing?

TIA
Wai

--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Is-creating-Catalog-name-for-different-locales-available-tp4213653p4213653.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Browse Catalogs/Categories tree change request.

2011-12-19 Thread Wai
Hello All,

Currently, when a user clicks on a catalog entry in the Browse
Catalogs/Categories tree.  The appropriate edit catalog page is shown.  The
issue is that the url at the browser address bar remains unchanged after the
interaction.

Doing some research, I found that when a user clicks on the tree entry, an
ajax request for EditProdCatalogAjax was triggered.
At first I thought it was a simple matter to modify the EditProdCatalogAjax
request-map with the following.  But that did not work as it ended up
showing the target page within the previous page (ie. the entire target page
inside div id=content-main-section class=leftonly of the previous
page).

response name=success type=request-redirect value=EditProdCatalog
redirect-parameter name=prodCatalogId/
/response

I don't understand why clicking on a catalog tree entry should result in an
ajax call.  Wouldn't it be better for each tree entry to be a simple link to
the appropriate target page.  Unless it was created this way to serve
another purpose that I've yet to encounter.

Any insight is greatly appreciated.

tia,
Wai


--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Browse-Catalogs-Categories-tree-change-request-tp4215442p4215442.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Advantage of calling services as opposed to calling underlying service implementation

2011-12-13 Thread Wai
Hello All,

Is there an advantage of using dispatch.runSync() to invoke a service as
opposed to calling the underlying service implementation directly.

Is the advantage only with transaction processing?
Could it be that as a service, I would have the option of calling the
service asynchronously (ie with dispatch.runAsync()?
What other reason would I choose to call a service as opposed to calling the
underlying method that implements the service?  

TIA
Wai

--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Advantage-of-calling-services-as-opposed-to-calling-underlying-service-implementation-tp4191569p4191569.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: vendors and suppliers

2011-12-12 Thread Wai
Hello All,

Just to add a little more confusion.

Given the owner of the organization that is running ofbiz.  This
organization is organized into self contained business units.  Each business
unit was created to develop/market/sell a certain product line.

1. All outside companies that sell to the organization or any of its
business units are considered suppliers in ofbiz.
2. The organization and any of its business units that sell to outside
companies are called vendors in ofbiz.

How would the owner of the organization classify business units that
sell/buy from each other?  Are they considered supplier or vendor or both. 
Ie. do these business units have entries in both VendorProduct and
SupplierProduct?  Or do the owner just use roles to distinguish them?

TIA,
Wai

--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/vendors-and-suppliers-tp4168824p4186730.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


mySql max_allowed_packet configuration in entityengine.xml ?

2011-12-09 Thread Wai
I'm running ofbiz (based off of trunk) with mysqld Ver 5.1.49 on linux.

While trying to upload a large image file via
https://http://demo-trunk.ofbiz.apache.org/partymgr/control/viewprofile?partyId=Company,
I got the following relevant message from ofbiz:

(Packet for query is too large (16888785  1048576). You can change this
value on the server by setting the max_allowed_packet' variable.))

Further research indicates that I need to use the following command to start
mysql server.

#mysqld --max_allowed_packet=some_larger_value

Could someone tell me if there is an equivalent attribute that I can use in
the entityengine.xml that I can configure rather than having to remember to
use the above command when starting the mysql server.  This would help to
reduce the number of things to remember when using the ofbiz in another
system.

Thanks,
Wai

--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/mySql-max-allowed-packet-configuration-in-entityengine-xml-tp4178210p4178210.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Data too long for column in mysql

2011-12-07 Thread Wai
Hello byersa,

This is a rather late comment for this post.  Did you by any chance find a
solution to this problem?

Thanks,
Wai

--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Data-too-long-for-column-in-mysql-tp152173p4170898.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: APACHE_OFBIZ_HTML

2011-12-05 Thread Wai
should be http://ofbiz.businessesnetwork.com/cmssite/cms/APACHE_OFBIZ_HTML


--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/APACHE-OFBIZ-HTML-tp4160628p4161761.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: APACHE_OFBIZ_HTML

2011-12-05 Thread Wai
Hello BJ,

Could you tell me when
http://ofbiz.businessesnetwork.com/cmssite/cms/APACHE_OFBIZ_HTML was last
updated?  Is there a way to find this information?

Thanks

--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/APACHE-OFBIZ-HTML-tp4160628p4161769.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Helper,Worker,Wrapper

2011-11-14 Thread Wai
Hello All,

Could someone tell me the difference between a Helper class, a Worker class,
and a Wrapper class.  How would I decide whether to create one over another? 
I cannot seem to get the bigger picture just looking at the code.

Thanks All

--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Helper-Worker-Wrapper-tp4041022p4041022.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: access to different component requires login process

2011-10-27 Thread Wai
I think this problem might be something I did with my working copy of
rev1182636.  I cannot reproduce it in rev1182636.

Unfortunately, I cannot get the latest from the trunk to see if it works
well as it crashes (some problem with
component://common/widget/CommonScreens.xml#GlobalDecorator).

I'll have to find out what's wrong on my side.

Thanks

--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/access-to-different-component-requires-login-process-tp3941033p3945272.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


access to different component requires login process

2011-10-26 Thread Wai
Hello All,

Having logged in to use one ofbiz component, I have to perform another login
process whenever I make use of another component.  I vaguely remember a
posting that mentioned that this is the way ofbiz works.  Does anyone have
any tips to allow a user to login once and allow the user to access other
components (given that the user has permission to do so) without having to
go through the login process again? 

Thanks.

--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/access-to-different-component-requires-login-process-tp3941033p3941033.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Birt,Fop...which to use?

2011-10-17 Thread Wai
Hello All,

Do Birt reports (*rptdesign) serve the same purpose as Apache Fop related
files (*fo.ftl).  If so, is there a current preference at this stage of
development for ofbiz as to which to use when designing formatted outputs
(ie. Pdf, ps, etc)?

Thanks

--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Birt-Fop-which-to-use-tp3914086p3914086.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: creating a new user login

2011-10-16 Thread Wai
Here is a link to a page that allows you to create a new username without an
associated party/partygroup.

   https://demo-trunk.ofbiz.apache.org/partymgr/control/FindUserLogin

Take note of the create new button.  This button will result in a request
to https://demo-trunk.ofbiz.apache.org/partymgr/control/createnewlogin ,
that allows you to create a new username without an associated
party/partygroup

My proposal is to correct the
https://demo-trunk.ofbiz.apache.org/partymgr/control/createnewlogin page to
contain functionality to select an existing party (or create a new party)
and then associate the newly created username to it.

The request map for createnewlogin is located in
component://common/webcommon/WEB-INF/security-controller.xml. This can be
found from the tool you specified previously,
https://demo-trunk.ofbiz.apache.org/webtools/control/ArtifactInfo

Clearly, this conflicts with your previous statement, ...you will see there
is no direct call from a webpage to the url.  it is part of other processes.
  Unless we're referring to different areas.

Thanks


--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/creating-a-new-user-login-tp3905814p3910064.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Page Push/Following...Push URL...Follow session

2011-10-16 Thread Wai
Hello, BJ

component://party/widget/partymgr/VisitScreens.xml#FindVisits  does exist in
the trunk.  It was my mistake.  I didn't do a timely update of my checked
out version.

I've continued the posting in the dev list.

Thanks

--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Page-Push-Following-Push-URL-Follow-session-tp3903077p3910155.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Page Push/Following...Push URL...Follow session

2011-10-15 Thread Wai
The screen you referred to,
component://party/widget/partymgr/VisitScreens.xml#FindVisits, does not
exist.
From what I see, 9.04 and the trunk as it relates to Page Push/Following
functionality have not changed.  It is still partially implemented.

As mentioned, the ofbiz trunk still allows a user to specify input for this
functionality.  Even though it doesn't do much.

I would suggest removing the Page Push/Following prompts from the UI.  If
there's no objections, I'll create an issue in jira to have it removed from
the UI.

As a reference, that page is accessed via
https://localhost:8443/partymgr/control/visitdetail?visitId=1.

Thanks


--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Page-Push-Following-Push-URL-Follow-session-tp3903077p3908795.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: creating a new user login

2011-10-15 Thread Wai
The procedure you mentioned in creating a username for an existing
party/partygroup is what I have expected to be the proper procedure.

The original intent of this posting was that ofbiz allows me to create just
a username without an associated party/partygroup.  After which, I cannot
associate the username with a party/partygroup.  Hence, the username cannot
be associated with a security group.  Hence, no access to ofbiz using this
username.  In short, the newly created username is useless.

I think that this is a bug and the button to create just a new userlogin
should be removed or the screen should be enhanced to specify an existing
party/partygroup that the username is to be associated with.

The page I'm referring to is
https://localhost:8443/partymgr/control/createnewlogin

Thanks

--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/creating-a-new-user-login-tp3905814p3908846.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


creating a new user login

2011-10-14 Thread Wai
Hello All,

from https://localhost:8443/partymgr/control/createnewlogin

Ofbiz permits me to create a new user login.  But does not allow me to place
the new user login into a security group, does not allow me to associate it
with an existing party/partygroup.  As a result, the new user cannot be used
to access any components.

Am I missing some steps.

Thanks,
Wai

--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/creating-a-new-user-login-tp3905814p3905814.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: creating a new user login

2011-10-14 Thread Wai
That can't be done.

When a new username is created, it is not associated with a party.
Attempting to locate the user name using the party search page
(https://localhost:8443/partymgr/control/main) does not yield the newly
created username.

Since the party search cannot locate the username, and the username is not
already associated with a party/partygroup, there is no way I can view the
party profile page to work with the securitygroup and permission portion.

Any other suggestion would be appreciated or is this a bug?

Thanks,
Wai

--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/creating-a-new-user-login-tp3905814p3906688.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: creating a new user login

2011-10-14 Thread Wai
On a second note.
Does it make sense to define a username to allow a person to access the
ofbiz components without an associated party or partygroup info?  I could
not think of any instance where such a situation would be useful.
Thanks

--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/creating-a-new-user-login-tp3905814p3906739.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Page Push/Following...Push URL...Follow session

2011-10-13 Thread Wai
Hello All,

This question is related to a previous post of a few years ago.

http://ofbiz.135035.n4.nabble.com/Page-Push-Following-td163975.html

I would like to know what is the purpose of feature Page
Push/Following...Push URL...Follow session.  The functionality is not
used in Ofbiz.  I'm not sure what is the purpose of this functionality. 
What kind of problem is it trying to solve and how exactly is it supposed to
be used.

Having looked at the code, CommonEvents.java, there is not much in there
that answers my question.  I think it is missing some important
functionality.

Thanks,
Wai 

--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Page-Push-Following-Push-URL-Follow-session-tp3903077p3903077.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: one component includes a screen from another component--clarification

2011-10-06 Thread Wai
Given that componentA uses the screens of componentB and componentB makes use
of its own decorator screens.

After some analysis, I discovered that when componentB's screen uses its own
decorator screens specified with
location=${parameters.mainDecoratorLocation}, the value of 'location'
attribute actually refers to componentA's directory as specified in
componentA's web.xml.

Hence, I can solve the problem by, when referring to decorator screens,
replacing location=${parameters.mainDecoratorLocation} to
location=component://componentB/widget/CommonScreens.xml#SomeDecoratorScreen.
Ie. hardcoding the location of componentB's decorator screen file.

Thanks all for helping out.
Wai

--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/one-component-includes-a-screen-from-another-component-clarification-tp3875463p3878611.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


one component includes a screen from another component--clarification

2011-10-05 Thread Wai
Hello,

I would like to get a clarification of the following:

I have 2 components.  ComponentA and componentB.

In componentA, I define a screen, ComponentAScreen.
In componentB, I defined a screen, ComponentBScreen.
ComponentBScreen uses decorators defined in CommonScreens.xml in
componentB's component directory.
ComponentAScreen includes ComponentBScreen.

The problem is that when I tried to display a page defined by
ComponentAScreen, I get an ScreenRenderer exception indicating that it
cannot find the decorator referenced by ComponentBScreen.  Further
investigation showed that the decorator screens in ComponentBScreen was
referenced using the directory path of componentA.

Could someone verify that this is how things are supposed to work???

Thanks,
Wai



--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/one-component-includes-a-screen-from-another-component-clarification-tp3875463p3875463.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


product virtual/variant both set

2011-02-18 Thread Wai

Could someone give me an example of a product that has both virtual and
variant flag set.
Thanks

-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/product-virtual-variant-both-set-tp3313141p3313141.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: product virtual/variant both set

2011-02-18 Thread Wai

I thought that a variant of a product existed only for a product that is
marked virtual and a virtual product holds no inventory.

-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/product-virtual-variant-both-set-tp3313142p3313152.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: product virtual/variant both set

2011-02-18 Thread Wai

I think this thread is similar to what is being discussed on another thread,
'more than one unit of measue fo the same product: advice requested'.

A store owner would deal with the incoming packaging type from the supplier
and provide as a service to a customer through another form of packaging. 
Eg. store owner get 1 package of 50 bottles of water from his supplier but
sells them as a package of 10 bottles to his customers.

My understanding of your explanation is that 'one' bottle of water would be
a product marked as virtual and a variant product representing a package of
10 bottles would also be created.  And when a store owner received from his
supplier one package of 50 bottles of water, his inventory, for the virtual
product, would be raised by 50.  When the store owner sells his package of
10 bottles to a customer, his virtual product inventory will be decremented
by 10.  The associated variant product inventory is unchanged.

This implies that a virtual product can indeed hold inventory and that a
variant product does not necessarily have to have any inventory associated
with it.

Please let me know if my understanding is correct,
Thanks
-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/product-virtual-variant-both-set-tp3313142p3313191.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


How to pronouce ofbiz

2011-02-03 Thread Wai

Hello All,

Is there a standard for pronouncing ofbiz?
Is it O-F-Biz or is it OFF-Biz?

Thanks
-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/How-to-pronouce-ofbiz-tp3258850p3258850.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


party,partygroup and relationships

2010-08-25 Thread Wai

Hello All,

Could someone tell me if a party or partygroup that is defined in ofbiz
_must_ have some sort of PartyRelationship with another party or partygroup
with a given role?

In short, does it make sense to have a party defined that has no
relationship to any other defined party or party group?

Thanks
Wai
-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/party-partygroup-and-relationships-tp2338933p2338933.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: party,partygroup and relationships

2010-08-25 Thread Wai

Thanks BJ, I'm aware of that.
This would indicates that a PartyRelationship entry exist and it is marked
as _NA_.
What I meant is, must all party and partygroup created in ofbiz require a
corresponding, one or more, entries in PartyRelationship?  If that is not
so, under what condition would this be the case?
I'm assuming that a party or partygroup created in ofbiz must serve some
purpose to the organization(s). Hence some sort of relationship must exist. 
Otherwise it would make no sense to create it.
Thanks
Wai
-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/party-partygroup-and-relationships-tp2338933p2339016.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


OrderItemRole entity

2010-08-13 Thread Wai

OrderItemRole entity is defined in the database schema but it is not
reference in ofbiz code.
Could someone tell me what this entity is used for?
Thanks
-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/OrderItemRole-entity-tp2324602p2324602.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


username stored in browser cookie?

2010-07-31 Thread Wai

Hello All,

I notice that ofbiz stores the username inside a browser cookie.  I would
like to get some comments as to whether this is a potential security risk?
eg...

JSESSIONID=E4CADD25A32162D92C31DC938C108DFE.jvm1; OFBiz.Visitor=10025;
mystuff.autoUserLoginId=admin

Thanks
-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/username-stored-in-browser-cookie-tp2308984p2308984.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: username stored in browser cookie?

2010-07-31 Thread Wai

Not necessarily. I depends on what kind of information is stored in the
cookie.
I just think that storing a username in the cookie constitutes a security
risk as that is 50% of the authentication process.

-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/username-stored-in-browser-cookie-tp2308984p2309020.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: username stored in browser cookie?

2010-07-31 Thread Wai

BJ,
does ofbiz actually store the password in the cookie?  Because a cookie is
really a text file, anybody who has access to a browser cache would be able
to see it.
A regular person can see the contents of a cookie just by typing in
javascript:document.cookie in the address of the browser.

From your previous posting, I take it that ofbiz should be run in an
intranet environment.  But that would not quite work for people using ofbiz
ecommerce app.  Since the ecommerce app stores the username in the cookie as
well.
Wai
-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/username-stored-in-browser-cookie-tp2308984p2309026.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Release 9.04 and version #s

2010-07-31 Thread Wai

Hello All,

I have a suggestion.  It might be helpful if the svn revision# and/or tag
become part of the filename itself.

For nightly builds, the filename could be:
apache-ofbiz-build-somesvnrevisionnumber.zip
For official releases, the filename could be: apache-ofbiz-sometagname.zip,
where a tagname is created in svn to mark the revision that is used in
the release.
where tagname=RELEASE_majorversion#_minorversion#_maintversion#

This way, a user or developer could use the information to identify the
precise revision to confirm/resolve bugs, and so forth.

Thanks,
Wai
-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Release-9-04-and-version-s-tp2308121p2309044.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: username stored in browser cookie?

2010-07-31 Thread Wai

David,
Thanks for the clarification.  I suspected that BJ was joking about the
password.

I was running ecommerce app with the username 'ecomUser1'.  Looking at the
browser cookie, the username is indeed stored in the cookie for
ecommerice.autoUserLoginId

JSESSIONID=6CE1F96832E46AEECF2F537D8CA6419B.jvm1; OFBiz.Visitor=10041;
ecommerce.autoUserLoginId=ecomUser1

Even after logout, the username still persists.  eg.

OFBiz.Visitor=10041; ecommerce.autoUserLoginId=ecomUser1

What this implies is that, on a public computer, the next person would be
able to find out the username of the last person that used the ofbiz
ecommerce app.

Just as an aside, my paypal account cookie does not contain the username. 
Here is a sample.  As you can see, there is username/email address in the
cookie.

s_sess=%20s_cc%3Dtrue%3B%20s_refresh%3DMy%2720Account%2570Overview%3B%20s_sq%3D%3B

Likewise with skype, there is no personally identifiable info:

__utma=184135460.640743321.1280604163.1280607163.1280704163.1;
__utmb=184135760.1.10.1280704163; __utmc=184137460;
__utmz=184175460.1280604163.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none);
s_cc=true; s_sq=%5B%5BB%5D%5D;
s_vi=[CS]v1|262A3C72051D3AF6-4731C035DA5D[CE];
SC=CC=:CCY=CAD:LC=en-us:LIM=:TM=1280704288:TS=1280704264:TZ=-04%7C00:VAT=:VER=;
mbox=check#true#1280607257|session#1280704173508-139822#1280706057|PC#1280607173508-137822.17#1283176197

Nevertheless, I was always under the impression that when an application
authenticates a user, only a token is stored in the browser cookie to
identify the user.  This token is usually the session id.

Thanks

-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/username-stored-in-browser-cookie-tp2308984p2309061.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Proper use of thruDate

2010-07-15 Thread Wai

Hello,
What is the best practice in using the thruDate of an item.
I know that when deleting or expiring an item, it is best to just fill in
the thruDate.  The reason behind this is to have a record of deleted/expired
items.

What if an item needs to be reused again.  Is it a matter of emptying out
the thruDate or setting it to a future expiry date?  If this is the best
practice, how would ofbiz keep track of whether an item has ever been
expired?

Thanks in advance
-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Proper-use-of-thruDate-tp2290914p2290914.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: feature category and feature configuration

2010-06-30 Thread Wai Tam

Hello,

Any takers for this question?

Thanks,
Wai
--
Take for example I have the following virtual products and associated
variants with the shown features

polo shirt
  color:
  red...price $1
  green...price $2
  size:
  small...price $3
  medium...price $4
clown shirt
  color:
  red...price $5
  green...price $6
  size:
  small...price $7
  medium...price $8
dress pant
  color:
  red...price $9
  green...price $10
  size:
  small...price $11
  medium...price $12

All of these product variants use the same similar product feature
categories 'color' and 'size' and the features have differing pricing
depending on what virtual product it applies to.  Does that mean it is
necessary to create separate feature categories and associated features for
Polo shirt, Clown shirt, and dress pant as specified below?

ProductFeatureCategory:
  POLOSHIRT_COLOR
ProductFeature:
  POLOSHIRT_COLOR_RED
  POLOSHIRT_COLOR_GREEN
  POLOSHIRT_SIZE_SMALL
  POLOSHIRT_SIZE_MEDIUM

ProductFeatureCategory:
  CLOWNSHIRT_COLOR
ProductFeature:
  CLOWNSHIRT_COLOR_RED
  CLOWNSHIRT_COLOR_GREEN
  CLOWNSHIRT_SIZE_SMALL
  CLOWNSHIRT_SIZE_MEDIUM

ProductFeatureCategory:
  DRESSPANT_COLOR
ProductFeature:
  DRESSPANT_COLOR_RED
  DRESSPANT_COLOR_GREEN
  DRESSPANT_SIZE_SMALL
  DRESSPANT_SIZE_MEDIUM

If the above configuration is correct, does that imply that in practice,
features and feature categories easily grow to be very large and difficult
to manage?

Thanks
Wai 
-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/feature-category-and-feature-configuration-tp2272592p2272736.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


feature category and feature configuration

2010-06-29 Thread Wai Tam

Take for example I have the following virtual products and associated
variants with the shown features

polo shirt
  color:
  red...price $1
  green...price $2
  size:
  small...price $3
  medium...price $4
clown shirt
  color:
  red...price $5
  green...price $6
  size:
  small...price $7
  medium...price $8
dress pant
  color:
  red...price $9
  green...price $10
  size:
  small...price $11
  medium...price $12

All of these product variants use the same similar product feature
categories 'color' and 'size' and the features have differing pricing
depending on what virtual product it applies to.  Does that mean it is
necessary to create separate feature categories and associated features for
Polo shirt, Clown shirt, and dress pant as specified below?

ProductFeatureCategory:
  POLOSHIRT_COLOR
ProductFeature:
  POLOSHIRT_COLOR_RED
  POLOSHIRT_COLOR_GREEN
  POLOSHIRT_SIZE_SMALL
  POLOSHIRT_SIZE_MEDIUM

ProductFeatureCategory:
  CLOWNSHIRT_COLOR
ProductFeature:
  CLOWNSHIRT_COLOR_RED
  CLOWNSHIRT_COLOR_GREEN
  CLOWNSHIRT_SIZE_SMALL
  CLOWNSHIRT_SIZE_MEDIUM

ProductFeatureCategory:
  DRESSPANT_COLOR
ProductFeature:
  DRESSPANT_COLOR_RED
  DRESSPANT_COLOR_GREEN
  DRESSPANT_SIZE_SMALL
  DRESSPANT_SIZE_MEDIUM

If the above configuration is correct, does that imply that in practice,
features and feature categories easily grow to be very large and difficult
to manage?

Thanks
Wai

-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/feature-category-and-feature-configuration-tp2272592p2272592.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: prodCatalogCategoryType: (one),(many) when assoc categories to catalog

2010-06-25 Thread Wai Tam

Hello,
Anyone familiar with this posting?
Thanks
-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/prodCatalogCategoryType-one-many-when-assoc-categories-to-catalog-tp2267665p2268784.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: prodCatalogCategoryType: (one),(many) when assoc categories to catalog

2010-06-25 Thread Wai Tam

Heres the content of the original post.  Hope it gets through.
Thanks,
Wai
--

When associating a category to a catalog, the user is presented with the
following prodCatalogCategoryType options in the dropdown box:

Admin Allow (One) Browse Root (One) Default Search (One) Ebay Root (One)
Most Popular (One) Other Search (Many) Promotions (One) Purchase Allow (One)
Quick Add (Many) View Allow (One) What's New (One)

Could someone clarify 'One' and 'Many'?

My understanding is that a 'One' indicates that of all categories associated
with the catalog, a given prodCatalogCategoryType can only be assign to one
category.

eg. Using Browse Root (One). Of all categories inside the catalog, only
one category can be associated with the catalog with Browse Root (One) as
the prodCatalogCategoryType.

The 'Many' would indicate that of all categories associated with the
catalog. One or more categories can have the same prodCatalogCategoryType.

Please correct my understanding where appropriate.

Thanks 


-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/prodCatalogCategoryType-one-many-when-assoc-categories-to-catalog-tp2267665p2268939.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


prodCatalogCategoryType: (one),(many) when assoc categories to catalog

2010-06-24 Thread Wai Tam

When associating a category to a catalog, the user is presented with the
following prodCatalogCategoryType options in the dropdown box:

Admin Allow (One)
Browse Root (One)
Default Search (One)
Ebay Root (One)
Most Popular (One)
Other Search (Many)
Promotions (One)
Purchase Allow (One)
Quick Add (Many)
View Allow (One)
What's New (One)

Could someone clarify 'One' and 'Many'?

My understanding is that a 'One' indicates that of all categories associated
with the catalog, a given prodCatalogCategoryType can only be assign to one
category.

eg. Using Browse Root (One).  Of all categories inside the catalog, only
one category can be associated with the catalog with Browse Root (One) as
the prodCatalogCategoryType.

The 'Many' would indicate that of all categories associated with the
catalog.  One or more categories can have the same prodCatalogCategoryType.

Please correct my understanding where appropriate.

Thanks
-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/prodCatalogCategoryType-one-many-when-assoc-categories-to-catalog-tp2267665p2267665.html
Sent from the OFBiz - User mailing list archive at Nabble.com.