That depends on which version of tapestry you are using.
There is a new "optionRenderer" parameter to PropertySelection in Tapestry 4.1.2 (which I seem to have forgotten to document, fixing that tonight now that I've noticed) which allows you to pass in a custom version of http://tapestry.apache.org/tapestry4.1/apidocs/org/apache/tapestry/form/IOptionRenderer.html- which should allow you to write whatever you want. On 6/14/07, Deepa Iyer <[EMAIL PROTECTED]> wrote:
Hi, I am using PropertySelection component to create a drop down list in tapestry. The 'model' attribute equals a List of values which is getting pulled form the database. Now I want to add separate title attributes(displaying tooltip text) to my each and every option of the drop down. Is there a way to do this? Because when I do it, the title attribute gets assigned to the select tag and not to individual option tags. I want to do this using PropertySelction only in tapestry. It is quite urgent for my project. Any help will be appreciated. Thanks, Deepa
-- Jesse Kuhnert Tapestry/Dojo team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com