Agree with Naoki, just use jQuery to decorate the markup rendered by Click.

There are many jQuery tip plugins that does this e.g:

http://plugins.learningjquery.com/cluetip/

kind regards

bob


Naoki Takezoe wrote:
Hi easydoor,

You have to override CheckList#render().

Other solution,
It would be possible to decorate <li> by JavaScript.
CheckList renders following HTML:

<ul id="form_name_ul">
  <li>
    <label for="name_0" class="checkListLabel">
    <input type="checkbox"  value="1" id="name_0"
name="standardList"/>Item 1</label>
  </li>
  <li>
    <label for="name_1" class="checkListLabel">
    <input type="checkbox"  value="2" id="name_1"
name="standardList"/>Item 2</label>
  </li>
</ul>

You would be able to pick <li> and insert <a> using JavaScript.

Hope this helps!

2009/9/10 easydoor <[email protected]>:
Hi all,
I'd like to add a link on each option of a CheckList to display a jQuery
tootip.
I tried to use the HtmlStringBuffer with the render method on each option.
But this render method refers to a Select List and not a CheckList

Thank you for your help




Reply via email to