tomahawk 1.1.6 Sun RI 1.1_01 I realise that both MyFaces CommandLInk and Sun RI 1.2 CommandLink can handle the onclick attribute nicely, and I'll be upgrading ASAP, but meanwhile I need to workaround it.
What I've done is augmented the Tomahawk DataScroller to pass through onkeypress and onmousedown and I'm using these attributes instead. On 02/11/2007, rlubke <[EMAIL PROTECTED]> wrote: > > What version of the RI and what version of Tomahawk? > > > Stewart Cambridge wrote: > > > > Hi Myfaces Users, > > > > I'm using a Tomahawk dataScroller component with a Tomahawk dataTable on a > > page. > > I have the onclick attribute set on the dataScroller, with the idea > > that each rendered link for first, last, previous, next, etc would > > have its onclick attribute set. > > > > Unfortunately, the onclick is not being rendered and I wondered if (a) > > it was because I was using the Sun RI rather than MyFaces, and Sun's > > CommandLink doesn't support onclick, or if (b) I was just using it > > incorrectly. Could someone enlighten me please? > > > > Tracing through in a debugger seems to show the DataScroller setting > > onclick on the CommandLink each facet (link.setOnclick()), so I > > thought that it was using Tomahawk's CommandLink quite happily. But > > it's rendering as though it were a Sun RI CommandLink. > > > > Any advise please? > > > > Thanks, > > > > Stewart > > > > > > -- > View this message in context: > http://www.nabble.com/dataScroller-onclick-with-Sun-RI-tf4737384.html#a13551129 > Sent from the MyFaces - Users mailing list archive at Nabble.com. > >

