-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi.
I have a modal window and when I open it I get this error:
23-mar-2010 12:51:51 org.zkoss.zk.ui.impl.UiEngineImpl handleError:1114
GRAVE: >>org.zkoss.zk.ui.UiException: Not unique in the new ID space: BarraBotonesTareaNueva
BarraBotonesNuevaTarea is a Toolbar:
Toolbar BarraBotonesNuevaTarea = new Toolbar();
BarraBotonesNuevaTarea.setId("BarraBotonesTareaNueva");
BarraBotonesNuevaTarea.setAlign("center");
BarraBotonesNuevaTarea.setSclass("BotoneraMaestro");
BarraBotonesNuevaTarea.setStyle("margin-top:7px; border:none; background:transparent");
BarraBotonesNuevaTarea.setParent(SurBotoneraNuevaTarea);
And it's ID is unique.There isn't any other component in that modal window with that ID. In it's parent there isn't that ID neither.
I try to change the ID but no matter what I set that always throws this error.
Does anyone knows why?
Thank you very much!
Where's this code being run? It has to be firing multiple times...Have you put a breakpoint or S.o.p in it?
Asked: 2010-03-23 07:04:29 +0800
Seen: 1,699 times
Last updated: Mar 24 '10