Hi all,

I am having a few problems with the TabSet component from the
T5Components collection. For those that don't know its a fairly simple
CSS Tab set which uses Java Script to show and hide various Div tags
to give the effect of dynamic tabs. It uses Ajax to silently inform
Tapestry of the current tab so page reloads always maintain the
current visible tab.

The page loads fine and appears to work, however after a tab is
changed a massive (fullscreen at 1280x1024) message box appears.
Basically its all the HTML from the usual extensive tapestry exception
page. My app like the TabSet demo uses the the blow code to recive the
currently selected tab ID.

        @OnEvent(component = "tabset", value = "action")
        public void onChange(String choosenPanelId)
        {
                activePanel = choosenPanelId;
        }

The problem is Tapestry for whatever reason is expecting a method
without the chossenPanelId parameter which evidently wouldn't be of
any use.

I am using this TabSet on a page which has an onActive and onPassivate
methods. From what I can tell the Action link used by the AJAX request
is not recognised because of the extra onActivate parameter in the
URL. Below is the first line of the request I found its producing
(according to Wire Shark).

POST /site/sccbreakdownsection.adviceeditor.tabset?t:ac=107/actionItems HTTP/1.1

The TabSet control generates a new Event Link with no prams then this
is URL is provided the pages Java Script code. It then tacks on a
forward slash and the selected panels ID. In the above example
"actionItems", 107 is the onActivate parameter.

Can some one tell me what the correct URL for this link would look
like? Where should the Action Links parameter and the onActivate
parameter appear in the URL.


Thanks

Charlie M

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to