myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leonardo Uribe" <lu4...@gmail.com>
Subject Re: t:panelTab onclick attribute doesn’t seem to work
Date Tue, 29 Jul 2008 13:21:06 GMT
On Sun, Jul 27, 2008 at 6:47 PM, mahendan <mahendan@mahendan.com> wrote:

>
> Hi All,
>
> I am using tomahawak 1.1.6 with facelets and I am trying to call a custom
> javascript function when the user clicks on tab2.
>
> This is what i got:
>
> <script type="text/javascript">
> <!--
>  function hello() {
>    alert("Hello");
>  }
> -->
> </script>
>
> <t:panelTabbedPane serverSideTabSwitch="false">
>  <t:panelTab id="tab1" label="Tab1">
>    Tab 1 data
>  </t:panelTab>
>
>  <t:panelTab id="tab2" label="Tab2" onclick="hello()">
>   Tab 2
>  </t:panelTab>
> </t:panelTabbedPane>
>
> When I look at the generated HTML I don't see the call to hello(). Can
> someone please help me and let me know what I am doing wrong?
>
> Thanks,
>
> Mahendan
>
>
Could you create a issue about this, so someone could check it and solve it?
It will be a big help.

http://issues.apache.org/jira/browse/TOMAHAWK

regards

Leonardo Uribe

Mime
View raw message