For the short term, I have found that reading the Data Model book helps me
to understand the UI.

Longer term, I don't know if there is anything similar in the java framework
we could use, but I have had success in the past using the C# field
validation events.  It at least gave clear error messages when there was
something wrong with the user input.  That said, I haven't delved into the
ofbiz UI much.

My 2c.

C

-----Original Message-----
From: BJ Freeman [mailto:[EMAIL PROTECTED] 
Sent: Sunday, November 18, 2007 4:56 PM
To: dev@ofbiz.apache.org
Subject: Re: [jira] Commented: (OFBIZ-1399) Cannot create a category for a
catalog

How about a place do work out best practices for UI enhancement.
Not so much to implement but to have the hooks necessary for those that
want to differnt UI.
Like we have tool tips.
maybe a condition to show UI components in different states.


Jacques Le Roux (JIRA) sent the following on 11/18/2007 2:24 PM:
>     [
https://issues.apache.org/jira/browse/OFBIZ-1399?page=com.atlassian.jira.plu
gin.system.issuetabpanels:comment-tabpanel#action_12543426 ] 
> 
> Jacques Le Roux commented on OFBIZ-1399:
> ----------------------------------------
> 
> I agree with both of you :
> 
> 1. It's counter intuitive at first sight
> 2. As soon as you are familiar with concepts there are no longer any
problems (sometimes it takes 2 or even more tries to get it)
> 
> Remember the 1st time you used a keyboard ? ;o)
> 
> Anyway, creating an intuitive UI for an ERP is something we can call a
challenge ! 
> 
> The better should be to create a clear list of needs with solutions (like
not only prev. and next buttons for list but 1st, last, pages list, etc.)
> Then why not discussing around best ideas, a challenge, I told you ... We
are here to stay !
> 
>> Cannot create a category for a catalog
>> --------------------------------------
>>
>>                 Key: OFBIZ-1399
>>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1399
>>             Project: OFBiz
>>          Issue Type: Bug
>>          Components: framework
>>    Affects Versions: SVN trunk
>>         Environment: OpenSuse 10.3
>> Eclipse3.3
>> SVN trunk sources downloaded on Nov 12,2007
>> java version "1.6.0_03"
>> Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
>> Java HotSpot(TM) Client VM (build 1.6.0_03-b05, mixed mode)
>>            Reporter: Yin T
>>            Assignee: Jacques Le Roux
>>             Fix For: SVN trunk
>>
>>
>> goto https://localhost:8443/catalog/control/main
>> click "Catalog" menuitem in application bar.
>> create new catalog.
>> associated new catalog with "OFBiz E-Commerce Store"
>> create new product category
>> Received the following error message on the page...
>> The Following Errors Occurred:
>> ERROR: Could not complete the Add Category To ProdCatalog
[file:/home/wt5/wteclipse-workspace/ofbiz/applications/product/script/org/of
biz/product/catalog/CatalogServices.xml#addProductCategoryToProdCatalog]
process [problem creating the newEntity value: Error while inserting:
[GenericEntity:ProdCatalogCategory][createdStamp,2007-11-12
13:24:12.924(java.sql.Timestamp)][createdTxStamp,2007-11-12
13:24:12.78(java.sql.Timestamp)][fromDate,2007-11-12
13:24:12.924(java.sql.Timestamp)][lastUpdatedStamp,2007-11-12
13:24:12.924(java.sql.Timestamp)][lastUpdatedTxStamp,2007-11-12
13:24:12.78(java.sql.Timestamp)][prodCatalogCategoryTypeId,PCCT_ADMIN_ALLW(j
ava.lang.String)][prodCatalogId,wt-catalog1-id(java.lang.String)][productCat
egoryId,wt-catalog1-category1-id(java.lang.String)][sequenceNum,null()][thru
Date,null()] (SQL Exception while executing the following:INSERT INTO
OFBIZ.PROD_CATALOG_CATEGORY (PROD_CATALOG_ID, PRODUCT_CATEGORY_ID,
PROD_CATALOG_CATEGORY_TYPE_ID, FROM_DATE, THR
U_DATE, SEQUENCE_NUM, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP,
CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (A
truncation error was encountered trying to shrink VARCHAR
'wt-catalog1-category1-id' to length 20.))]
> 

Reply via email to