Skip to main content
1-Visitor
April 14, 2011
Question

tabpanel script

  • April 14, 2011
  • 2 replies
  • 1057 views
The customer wants a tabbed dialog in Editor. I made a nice XUI dialog
with a

tabbox with several tabpanels. We need an event to occur when a tab is
clicked. We placed a <script with=" ev:event="DOMActivate"> inside a
tabpanel with an Application.alert but nothing ever happens on
clicking the tabpanel- no error, nothing is wrong with the xui or the
javascript, - we have tried setting ev:event to all the available
events but nothing ever happens on click. -Anybody got any ideas as to
how to fire off some code from a tabpanel? - or has anybody found that a
DOMActivate <script> doesn't work inside a tabpanel?... seems like
clicking a tab would be a DOM activation but maybe not...?



Todd Hicks
Manager, Editorial Desktop Tools - Content Technology
Wolters Kluwer Global Platform Organization
(415) 868-2024 (HomeOffice@US Pacific Time)
todd.hicks@wolterskluwer.com
<blocked::<a style="COLOR:" blue;=" text-decoration:=" underline&quot;=" target="_BLANK" href="mailto:todd.hicks@wolterskluwer.com">">mailto:todd.hicks@wolterskluwer.com>



    2 replies

    1-Visitor
    April 14, 2011
    Hey, Todd...

    Try putting a <script ev:event="DOMAttrModified"> in the <tabbox>, so
    it will fire when the "selection" attribute changes.

    -Brandon 🙂


    On Thu, Apr 14, 2011 at 6:05 PM, Hicks, Todd
    <todd.hicks@wolterskluwer.com> wrote:
    > The customer wants a tabbed dialog in Editor. I made a nice XUI dialog
    > with a
    >
    > tabbox with several tabpanels. We need an event to occur when a tab is
    > clicked. We placed a <script with=" ev:event="DOMActivate"> inside a tabpanel
    > with an Application.alert but nothing ever happens on clicking the
    > tabpanel- no error, nothing is wrong with the xui or the javascript, - we
    > have tried setting ev:event to all the available events but nothing ever
    > happens on click. –Anybody got any ideas as to how to fire off some code
    > from a tabpanel? – or has anybody found that a DOMActivate <script> doesn’t
    > work inside a tabpanel?... seems like clicking a tab would be a DOM
    > activation but maybe not…?
    >
    >
    >
    > Todd Hicks
    > Manager,Editorial Desktop Tools - Content Technology
    > Wolters Kluwer Global Platform Organization
    > (415)868-2024 (HomeOffice@US Pacific Time)
    > todd.hicks@wolterskluwer.com
    >
    >
    >
    > -----End Original Message-----
    1-Visitor
    April 14, 2011
    Rterreyryruryryuyt