Menu

#439 VCreateFrom.create should be more flexible

closed
3
2008-09-28
2008-05-27
Teo Sarca
No

Now, VCreateFrom.create(GridTab) factory method supports only some hardcoded types. If you are creating a new document and add an "CreateFrom" field you will need to modify this method in order to support your custom VCreateFrom* dialog, which means modifying the "core".

I am proposing to introduce a new method:
VCreateFrom.registerClass(int AD_Table_ID, Class cl) which will register a new VCreateFrom* custom class.
VCreateForm.create method should use this informations.

What do you think ?

Best regards,
Teo Sarca

Discussion

  • Teo Sarca

    Teo Sarca - 2008-09-12
    • status: open --> pending
     
  • Teo Sarca

    Teo Sarca - 2008-09-12

    Revision: 6434
    http://adempiere.svn.sourceforge.net/adempiere/?rev=6434&view=rev
    Author: teo_sarca
    Date: 2008-09-12 10:10:23 +0000 (Fri, 12 Sep 2008)

    Log Message:
    -----------
    FR [ 1974354 ] VCreateFrom.create should be more flexible

    Modified Paths:
    --------------
    branches/stable/client/src/org/compiere/grid/VCreateFrom.java
    branches/stable/client/src/org/compiere/grid/VCreateFromInvoice.java
    branches/stable/client/src/org/compiere/grid/VCreateFromRMA.java
    branches/stable/client/src/org/compiere/grid/VCreateFromShipment.java
    branches/stable/client/src/org/compiere/grid/VCreateFromStatement.java

     
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 15 days (the time period specified by
    the administrator of this Tracker).

     
  • SourceForge Robot

    • status: pending --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB