You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by Carlos Adolfo Ortiz Quiros <ca...@trebol.com.co> on 2007/12/10 14:36:06 UTC
On Tomahawk panelNavigation clickability
Hi
I just wonder why the panel navigation component calls the onclick javaScript event for each node in the hierarchy.
That is. If I have a tree like this
+ parent 1
+ parent 2
- child 1
- child 2
+ parent 3
- child 3
And if I click on child 2 then a on click event is called for each node above it, i.e., parent 2 and then for parent 1
CARLOS ADOLFO ORTIZ Q
Ingeniero de Desarrollo
TRÉBOL Software S.A.
Tel : (574)3110663 Fax : (574)3113474
Dirección Cll 16 # 28-195
Medellín - Colombia
http://www.trebol.com.co <http://www.trebol.com.co/>
La información de este mensaje y sus anexos son propiedad exclusiva
de TRÉBOL Software S.A. Es únicamente para el uso del destinatario
intencional y pueden contener información de carácter privado o
confidencial. Le informamos que cualquier revisión, retransmisión,
divulgación, copia o uso indebido del mismo está estrictamente
prohibida y será sancionada legalmente.
Information contained in this message and every attachment is property of TREBOL Software S.A. Only the destiny user is able to make use of the data here contained, which is private and/or confidential. Any revision, broadcasting, spreading, copy or illegal use of this information is strictly prohibited and will be sanctioned by legal means.
Re: On Tomahawk panelNavigation clickability
Posted by Christopher Cudennec <Sm...@gmx.net>.
Hi Carlos!
I guess it has to do with the processing of the Javascript event. Look
at this to get an understanding.
http://www.quirksmode.org/js/events_order.html
Nevertheless there is a way to get around this problem. It's describes here:
http://www.quirksmode.org/js/events_advanced.html
Hope hat helps.
Christopher
Carlos Adolfo Ortiz Quiros schrieb:
> Hi
>
>
>
> I just wonder why the panel navigation component calls the onclick javaScript event for each node in the hierarchy.
>
> That is. If I have a tree like this
>
> + parent 1
>
> + parent 2
>
> - child 1
>
> - child 2
>
> + parent 3
>
> - child 3
>
>
>
> And if I click on child 2 then a on click event is called for each node above it, i.e., parent 2 and then for parent 1
>
>
>
>
>
> CARLOS ADOLFO ORTIZ Q
>
> Ingeniero de Desarrollo
>
> TRÉBOL Software S.A.
>
> Tel : (574)3110663 Fax : (574)3113474
>
> Dirección Cll 16 # 28-195
>
> Medellín - Colombia
>
> http://www.trebol.com.co <http://www.trebol.com.co/>
>
>
>
> La información de este mensaje y sus anexos son propiedad exclusiva
> de TRÉBOL Software S.A. Es únicamente para el uso del destinatario
> intencional y pueden contener información de carácter privado o
> confidencial. Le informamos que cualquier revisión, retransmisión,
> divulgación, copia o uso indebido del mismo está estrictamente
> prohibida y será sancionada legalmente.
>
>
>
> Information contained in this message and every attachment is property of TREBOL Software S.A. Only the destiny user is able to make use of the data here contained, which is private and/or confidential. Any revision, broadcasting, spreading, copy or illegal use of this information is strictly prohibited and will be sanctioned by legal means.
> ------------------------------------------------------------------------
>
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.503 / Virus Database: 269.16.17/1179 - Release Date: 09.12.2007 11:06
>