Changes for File WSearchEditor.java

22 views
Skip to first unread message

Sergio Oropeza

unread,
Apr 23, 2014, 12:43:46 PM4/23/14
to idem...@googlegroups.com
Hello! I modified the file  WSearchEditor in method onEvent (). The added code does not allow the search window appears (in a field of search type) when changing the text to empty, and also clears the record ID searched before.


if (Events.ON_CHANGE.equals(e.getName()))
        {
            if (getComponent().getText().isEmpty()){      
                setValue(null);
                resetButtonState();
            }else{
                if (infoPanel != null)
                 {
                    infoPanel.detach();
                      infoPanel = null;
                 }
                actionText(getComponent().getText());
            }

        }

 
Change_WSearchEditor.patch

Hiep Lq

unread,
Apr 23, 2014, 12:54:46 PM4/23/14
to idem...@googlegroups.com
I have same requirement and make it in https://idempiere.atlassian.net/browse/IDEMPIERE-1777
you can reference.
with your modified, I remember have some issue (just don't remember exact what)
Reply all
Reply to author
Forward
0 new messages