Re: Tabbed Panel and Ajax

2007-08-21 Thread Richard Sayre
That worked perfect, thanks. On 8/17/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: > you can specify a form to be sumitted when the div refreshes, using formId. > > musachy > > On 8/17/07, Richard Sayre <[EMAIL PROTECTED]> wrote: > > I have my div refreshing when an 'editQuestion' topic is publis

Re: Tabbed Panel and Ajax

2007-08-17 Thread Musachy Barroso
you can specify a form to be sumitted when the div refreshes, using formId. musachy On 8/17/07, Richard Sayre <[EMAIL PROTECTED]> wrote: > I have my div refreshing when an 'editQuestion' topic is published. > > > > > > href="%{loadQuestionDetails}" listenTopics="/editQuestion">

Re: Tabbed Panel and Ajax

2007-08-17 Thread Richard Sayre
I have my div refreshing when an 'editQuestion' topic is published. As you can see I have the parameter questionId hard coded. When ever the div reloads itself I would like to be able to change the questionId parameter. Id there an example in the showcase that does this?

Re: Tabbed Panel and Ajax

2007-08-17 Thread Musachy Barroso
If all you want to do is reload the div content, you can set it's href to the url that returns the html, set it's listeninTopics to a topic that you can publish, and the div will reload its content automagically. (check showcase and documentation for examples) musachy On 8/16/07, Richard Sayre <[

Re: Tabbed Panel and Ajax

2007-08-16 Thread Richard Sayre
I seem to have it working now. There was a form wrapped around the tabbed panel. My Ajax function was setting the inner html of this form, effectively wiping out the rest of the tab contents. Now I am wondering if listening to the topics is nessessary? In fact how does it work? In my function

Re: Tabbed Panel and Ajax

2007-08-16 Thread Musachy Barroso
so you are saying that the tabs work fine before clicking on the link, but they don't work after that? What are you doing in editUdf()? Is there any error when you set debug="true" on head? (or any javascript error in general?) musachy On 8/16/07, Richard Sayre <[EMAIL PROTECTED]> wrote: > I hav

Tabbed Panel and Ajax

2007-08-16 Thread Richard Sayre
I have a tabbed panel set up as follows Static Content... Static link Edit UDF Static content When I click the link in the UDF tab, the /editUdfs gets published and the edit gui displays in the tab, the problem is if I click on another tab after this happens, the conten