Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0014025Openbravo ERPZ. Otherspublic2010-07-21 14:202010-12-09 16:03
shuehner 
iperdomo 
urgentminorhave not tried
closedfixed 
5
2.50 
 
No
User Interface Selector
No
0014025: The 'Filter Expression' field should also use the callout to help with testing a js-expression (similar to Default Expression)
The same callout which is used for evaluating a 'Default Expression' should also be used for the 'Filter Expression' field.

This allows more rapid evaluation/testing of js-expressions there also.
No tags attached.
blocks feature request 0013458 closed iperdomo It should be possible to assignes default values for fields on selectors 
diff 14025.diff (1,845) 2010-07-21 14:21
https://issues.openbravo.com/file_download.php?file_id=2792&type=bug
Issue History
2010-07-21 14:20shuehnerNew Issue
2010-07-21 14:20shuehnerAssigned To => iperdomo
2010-07-21 14:20shuehnerOBNetwork customer => No
2010-07-21 14:20shuehnerRelationship addedblocks 0013458
2010-07-21 14:21shuehnerFile Added: 14025.diff
2010-07-21 14:21shuehnerNote Added: 0029441
2010-07-21 19:08iperdomoStatusnew => scheduled
2010-07-21 19:08iperdomofix_in_branch => pi
2010-07-22 09:38hgbotCheckin
2010-07-22 09:38hgbotNote Added: 0029463
2010-07-22 09:38hgbotStatusscheduled => resolved
2010-07-22 09:38hgbotResolutionopen => fixed
2010-07-22 09:38hgbotFixed in SCM revision => http://code.openbravo.com/erp/mods/org.openbravo.userinterface.selector/rev/eefd1ddf034093dfc98b30e94144113f12b158a2 [^]
2010-07-22 16:23shuehnerNote Added: 0029471
2010-07-22 16:23shuehnerStatusresolved => closed
2010-12-09 16:03anonymoussf_bug_id0 => 3133324

Notes
(0029441)
shuehner   
2010-07-21 14:21   
Attached possible patch for attaching the callout to the second field also + a mini change to be able to cope with both input fieldnames.
(0029463)
hgbot   
2010-07-22 09:38   
Repository: erp/mods/org.openbravo.userinterface.selector
Changeset: eefd1ddf034093dfc98b30e94144113f12b158a2
Author: Iván Perdomo <ivan.perdomo <at> openbravo.com>
Date: Thu Jul 22 09:37:58 2010 +0200
URL: http://code.openbravo.com/erp/mods/org.openbravo.userinterface.selector/rev/eefd1ddf034093dfc98b30e94144113f12b158a2 [^]

Fixes issue 14025: Added callout to filter expression
- Apply diff provided in the issue
- Moved info/warning messages to AD_Message

---
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/userinterface/selector/DefaultExpressionCallout.java
---
(0029471)
shuehner   
2010-07-22 16:23   
Reviewed & Tested on selector module from hg, rev: eefd1ddf0340
Now callout is used in both places to evaluate the entered js-expression.