another even simpler alternative it NOT to use an ID at all. In repeated elements this is often not necessary at all. If you need to listen to events, simply forward the events to a common ancestor. See: https://www.zkoss.org/wiki/ZKDeveloper'sReference/EventHandling/EventForwarding, Robert
cor3000 ( 2017-01-11 01:25:33 +0800 )edit-
FEATURED COMPONENTS
can you post your code? Include do implement
chillworld ( 2017-01-10 08:19:18 +0800 )editidscope
so normally you can re use your id's under an include.Edit: Sorry I have some trouble with this comment section, I will be back. I can't answer the whole thing, I make a little fiddle and post it here
pemko ( 2017-01-10 10:32:15 +0800 )edithttp://pastebin.com/QpweCYih <-- here is my answer
pemko ( 2017-01-10 10:34:24 +0800 )editHello
I can't use that. Maybe it's because of the version?
Failed to load /productselector/wizard/components/group.zul
Cause: Component definition not found: idspace in [LanguageDefinition: xul/html], [SYS file:/C:/*/wizard/components/group.zul line 2 col 14]
pemko ( 2017-01-10 12:23:39 +0800 )editthen you can use a window, or create your own component what extends for example div and implements idspace.(implementing the interface is enough, no extra things needed)
chillworld ( 2017-01-10 14:17:31 +0800 )edit