Hi Rong,

That may well be true.  I assume the menu and item names are included so that 
javascript can find the elements easily.  But that ability mostly disappears 
when "UtilMisc.<String> addToBigDecimalInMap(context, "menuUniqueItemIndex", 
BigDecimal.ONE);" got added to the mix.  So I'm not sure what the point is, but 
then I haven't looked closely at all of the related code.

Regards
Scott

p.s. please consider subscribing to the lists rather than using nabble, it has 
the bad habit of stripping the context of the email

On 13/03/2014, at 3:49 PM, Rong Nguyen wrote:

> Hi Scott,
> If we can "generate a string that is guaranteed to be unique", we can just
> assign:
>> String uniqueItemName = new_String_generated_by_new_method;
> and don't need to include: menuItem.getModelMenu().getName() + "_" +
> menuItem.getName() 
> 
> 
> 
> -----
> Rong Nguyen
> 
> Olbius JSC
> Deliver highest business value
> http://www.olbius.com/
> --
> View this message in context: 
> http://ofbiz.135035.n4.nabble.com/Re-svn-commit-r1576891-in-ofbiz-trunk-applications-content-config-applications-content-widget-compdo-tp4649225p4649226.html
> Sent from the OFBiz - Dev mailing list archive at Nabble.com.

Reply via email to