[ http://issues.apache.org/jira/browse/OFBIZ-51?page=comments#action_12417668 ]
Jacopo Cappellato commented on OFBIZ-51: ---------------------------------------- Scott, in svn r. 7861 I've committed a slightly modified patch for the first part of your work (patch for the quickAddVariant service). Now it is possible to assign a sequenceNum to the variants. Thanks for this. About the second part, I'd like to better understand Si's comments: Si can you help us with this? In my opinion adding a new input field (not an hidden one) to the quickAddVariants' form, so that the user can optionally specify a sequence num for the new variants would be a more flexible approach; if we want to prepopulate the sequenceNum's input fields with a default value I think it's better to do this inside the ftl template (instead of inside a service): in this way it will be easier to customize (for example if you want sequences like 1,2,3.. or 10, 20, 30..). Jacopo > SequenceNum for ProdAssocs when using QuickAddVariants > ------------------------------------------------------ > > Key: OFBIZ-51 > URL: http://issues.apache.org/jira/browse/OFBIZ-51 > Project: The Open For Business Project > Type: Improvement > Components: product > Versions: SVN trunk > Reporter: Scott Gray > Attachments: VarProdAssocSeqNum-final.patch > > Hi > The attached patch inserts values in the sequenceNum field on the Variant -> > Virtual product associations when using the Quick Add Variants screen. The > sequenceNum is generated in the same order as the feature combinations > displayed on screen, this seems to be the best way to sequence the ProdAssocs > by default and certainly (in my case at least) beats no default sequencing. > Regards > Scott -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
