Hi,

on top of Ivan's explanation, be aware that it is planned in future releases to 
enhance Openbravo Application dictionary so "selectors" (searchers) are defined 
in the dictionary (by its datasource, filtering fields, values shown in the 
grid, in and out paramenters) so users can define new selectors (or modify the 
existing ones) instead of coding them.

Ismael

-----Mensaje original-----
De: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] nombre de
Iván Perdomo
Enviado el: viernes, 13 de junio de 2008 11:48
Para: [email protected]
Asunto: Re: [Openbravo-development] How to create our customize searcher


Hi, 

We call it "Selector". To build a custom selector you need to:

1. Create a new reference of type "Search Validation"
2. Define the Java class in the "Selector class" tab
3. Define the table and column in the "Selector Reference" tab
4. If you need to pass other parameters to the selector, you can define
it as IN parameters in "Selector Reference Columns". If you need to
receive more than one parameter from the selector, you need to define
it as OUT parameter.
5. Create (or copy) the Java class, html, xml of the new selector. The
Business Partner selector source is located under the info [1] folder. 

[1] e.g. /opt/AppsOpenbravo/src/org/openbravo/erpCommon/info

Hope it helps

Cheers,

-- 
Iván Perdomo

On Fri, 13 Jun 2008 14:00:28 +0530
"Pranay Joshi" <[EMAIL PROTECTED]> wrote:

> Hello All,
> I want to create a new Searcher for the custom window same as the
> Business Partner Searcher . How do I do that ?
> 
> Regards,
> Pranay




-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Openbravo-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-development


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Openbravo-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-development

Reply via email to