Duplicate Id on generate html

asked 2017-08-28 14:20:32 +0800

negima gravatar image negima

updated 2017-08-28 15:55:15 +0800

When I use a CListbox zk6.5.4 componant, zk generate a tpad or bpab div with a table and this html tags have the same id.

I custom the id-generator-class on zk.xml put I don't where is the prefix generate componant.


<panel title="${labels.text}">
            <label value="${labels.over}" />
            <cListbox id="clbEntry"
                showCheckbox="false" rows="5"
                <cListhead sizable="true">


CListbox have zkcomp143 id and over componants have zkcomp143-whith prefix

The html code:

<div id="zk_comp_143-bpad" style="font-size:0px;display:none;width:1px;">
<table id="zk_comp_143-bpad">
    <tr style="height: 0px;"><td> </td></tr>

You know why ?

Or you know where I can override the class how put a prefix id ?

Thanks for your help.

delete flag offensive retag edit


Clistbox? Is this a custom component?

chillworld ( 2017-08-29 04:38:46 +0800 )edit

yes it is !

negima ( 2017-08-29 09:21:24 +0800 )edit

Can you share the code on how it's created the clistbox?

chillworld ( 2017-08-30 20:07:52 +0800 )edit
Be the first one to answer this question!
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools




Asked: 2017-08-28 14:20:32 +0800

Seen: 8 times

Last updated: Aug 28 '17

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More