IComponent.getClientId() is now implemented on all tapestry components by
default in tapestry 4.1. (at least as many as I've caught so far, a few
stragglers might have escaped )
This will reliably tell you what the html element id is of any component,
when previously it was only available on Form components.
On 8/21/06, Patrick Moore <[EMAIL PROTECTED]> wrote:
Hi there --
I am using dojo's tooltip. It needs to know the id of the component that
it
responds to.
Use of Script is way over kill when all I want to do is get a html
element's id
to supply it to a dojo widget. Any ideas or example I can look at in the
source
code?
-Pat
This is what I would like to do:
<a href="#" jwcid="[EMAIL PROTECTED]" topicId="ognl:currentTopic.id">
<span jwcid="@Insert" value="ognl:currentTopic.topicName" /></a>
<span jwcid="@If" condition="ognl:currentTopicShortDescriptionSet"
element="span"
dojoType="tooltip" connectId="${PEANUT.id}"
toggle="fade"
toggleDuration="500"><span jwcid="@Insert"
value="ognl:currentTopic.shortDescriptiveText"/></span>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Jesse Kuhnert
Tapestry/Dojo/(and a dash of TestNG), team member/developer
Open source based consulting work centered around
dojo/tapestry/tacos/hivemind.