[OGo-Developer] OWFormElementName

Stéphane Corthésy developer@opengroupware.org
Thu, 2 Nov 2006 15:42:25 +0100


Hi all,

While trying to update an old (> 2 years) SOPE application to SOPE  
4.5 I encountered a problem where form elements would be confused  
with one another. This happens for instance if we reuse a component  
in several place on a page, a common occurence.

In our opinion the cause of the problem is that the default name  
returned for element names is not a unique ID anymore, but uses the  
element's wod given name (see code below, from WOInput.m in  
NGObjWeb). This should not be the case, even if it helps Javascripting.

Am I missing something? Is there a way to force a unique ID without  
changing the code below?

Thanks in advance,

Stéphane

P.-S.
This question has been posted on macosx@opengroupware.org list a few  
weeks ago by Marco Scheurer, but got no response. I hope I'll have  
more luck here.