You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by pdt_p <pi...@gmail.com> on 2007/08/27 06:34:14 UTC

Integrate AjaxAnywhere with Trinidad Poll

Hi guys,

I just wonder is there anyone has successfully integrate AjaxAnywhere with
Trinidad poll element?
I have tried to integrate it and the result, the poll listener will only be
executed once. It happen only after the page is rendered and after that the
poll listener never get executed anymore unless I refresh my page.
In this page I have substitute the form submit to ajaxanywhere form submit
through this script:
ajaxAnywhere.formName = "testForm";
ajaxAnywhere.bindById();
ajaxAnywhere.substituteFormSubmitFunction();


Second question, When I paly around with AA seems like Trinidad PartialPage
is not working. I may get wrong here. Any suggestion or information about
this issue?

Thanks

Pdt


-- 
View this message in context: http://www.nabble.com/Integrate-AjaxAnywhere-with-Trinidad-Poll-tf4333316.html#a12341525
Sent from the MyFaces - Users mailing list archive at Nabble.com.


Re: Integrate AjaxAnywhere with Trinidad Poll

Posted by Andrew Robinson <an...@gmail.com>.
Why not switch from tree2 to tr:navigationTree?

Also Trinidad is a full AJAX library, you do not need A4J or AA (I
have used all three, and the Trinidad one is flexible enough for me).

-Andrew

On 8/27/07, pdt_p <pi...@gmail.com> wrote:
>
> Hi guys,
>
> Thank you for the suggestion. the reason I am using AA with Trinidad because
> Tomahawk Tree2. I have to expand or collapse the tree without need reloading
> the page but only the Tree2 zone.
>
> As you guys said that there should be no reason to use AA if I am using
> Trinidad.
> Please suggest me, what's ajax library that will be suitable for Trinidad?
> We have problem integrating Ajax4Jsf with Trinidad then we move to AA.
>
> Thank you.
>
> Pdt
>
>
> Scott O'Bryan wrote:
> >
> > Yeah, I totally agree with this.  Having 2 js libraries interact with
> > the XMLHttpRequest is bound to cause some problems.  I imagine that the
> > issue your facing is that AA's AJAX implementation is conflicting with
> > Trinidad's AJAX implementation.  Either way, there should be no reason
> > to use AA if you are using Trinidad.
> >
> > Scott
> >
> > Andrew Robinson wrote:
> >> Why use AA with Trinidad. AA doesn't give you any functionality that
> >> Trinidad already has. My suggestion is to definitely stop using AA.
> >>
> >> On 8/26/07, pdt_p <pi...@gmail.com> wrote:
> >>
> >>> Hi guys,
> >>>
> >>> I just wonder is there anyone has successfully integrate AjaxAnywhere
> >>> with
> >>> Trinidad poll element?
> >>> I have tried to integrate it and the result, the poll listener will only
> >>> be
> >>> executed once. It happen only after the page is rendered and after that
> >>> the
> >>> poll listener never get executed anymore unless I refresh my page.
> >>> In this page I have substitute the form submit to ajaxanywhere form
> >>> submit
> >>> through this script:
> >>> ajaxAnywhere.formName = "testForm";
> >>> ajaxAnywhere.bindById();
> >>> ajaxAnywhere.substituteFormSubmitFunction();
> >>>
> >>>
> >>> Second question, When I paly around with AA seems like Trinidad
> >>> PartialPage
> >>> is not working. I may get wrong here. Any suggestion or information
> >>> about
> >>> this issue?
> >>>
> >>> Thanks
> >>>
> >>> Pdt
> >>>
> >>>
> >>> --
> >>> View this message in context:
> >>> http://www.nabble.com/Integrate-AjaxAnywhere-with-Trinidad-Poll-tf4333316.html#a12341525
> >>> Sent from the MyFaces - Users mailing list archive at Nabble.com.
> >>>
> >>>
> >>>
> >>
> >>
> >
> >
> >
>
> --
> View this message in context: http://www.nabble.com/Integrate-AjaxAnywhere-with-Trinidad-Poll-tf4333316.html#a12360056
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>
>

Re: Integrate AjaxAnywhere with Trinidad Poll

Posted by pdt_p <pi...@gmail.com>.
Hi guys,

Thank you for the suggestion. the reason I am using AA with Trinidad because
Tomahawk Tree2. I have to expand or collapse the tree without need reloading
the page but only the Tree2 zone.

As you guys said that there should be no reason to use AA if I am using
Trinidad. 
Please suggest me, what's ajax library that will be suitable for Trinidad? 
We have problem integrating Ajax4Jsf with Trinidad then we move to AA.

Thank you.

Pdt


Scott O'Bryan wrote:
> 
> Yeah, I totally agree with this.  Having 2 js libraries interact with 
> the XMLHttpRequest is bound to cause some problems.  I imagine that the 
> issue your facing is that AA's AJAX implementation is conflicting with 
> Trinidad's AJAX implementation.  Either way, there should be no reason 
> to use AA if you are using Trinidad.
> 
> Scott
> 
> Andrew Robinson wrote:
>> Why use AA with Trinidad. AA doesn't give you any functionality that
>> Trinidad already has. My suggestion is to definitely stop using AA.
>>
>> On 8/26/07, pdt_p <pi...@gmail.com> wrote:
>>   
>>> Hi guys,
>>>
>>> I just wonder is there anyone has successfully integrate AjaxAnywhere
>>> with
>>> Trinidad poll element?
>>> I have tried to integrate it and the result, the poll listener will only
>>> be
>>> executed once. It happen only after the page is rendered and after that
>>> the
>>> poll listener never get executed anymore unless I refresh my page.
>>> In this page I have substitute the form submit to ajaxanywhere form
>>> submit
>>> through this script:
>>> ajaxAnywhere.formName = "testForm";
>>> ajaxAnywhere.bindById();
>>> ajaxAnywhere.substituteFormSubmitFunction();
>>>
>>>
>>> Second question, When I paly around with AA seems like Trinidad
>>> PartialPage
>>> is not working. I may get wrong here. Any suggestion or information
>>> about
>>> this issue?
>>>
>>> Thanks
>>>
>>> Pdt
>>>
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Integrate-AjaxAnywhere-with-Trinidad-Poll-tf4333316.html#a12341525
>>> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>>>
>>>
>>>     
>>
>>   
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Integrate-AjaxAnywhere-with-Trinidad-Poll-tf4333316.html#a12360056
Sent from the MyFaces - Users mailing list archive at Nabble.com.


Re: Integrate AjaxAnywhere with Trinidad Poll

Posted by Scott O'Bryan <da...@gmail.com>.
Yeah, I totally agree with this.  Having 2 js libraries interact with 
the XMLHttpRequest is bound to cause some problems.  I imagine that the 
issue your facing is that AA's AJAX implementation is conflicting with 
Trinidad's AJAX implementation.  Either way, there should be no reason 
to use AA if you are using Trinidad.

Scott

Andrew Robinson wrote:
> Why use AA with Trinidad. AA doesn't give you any functionality that
> Trinidad already has. My suggestion is to definitely stop using AA.
>
> On 8/26/07, pdt_p <pi...@gmail.com> wrote:
>   
>> Hi guys,
>>
>> I just wonder is there anyone has successfully integrate AjaxAnywhere with
>> Trinidad poll element?
>> I have tried to integrate it and the result, the poll listener will only be
>> executed once. It happen only after the page is rendered and after that the
>> poll listener never get executed anymore unless I refresh my page.
>> In this page I have substitute the form submit to ajaxanywhere form submit
>> through this script:
>> ajaxAnywhere.formName = "testForm";
>> ajaxAnywhere.bindById();
>> ajaxAnywhere.substituteFormSubmitFunction();
>>
>>
>> Second question, When I paly around with AA seems like Trinidad PartialPage
>> is not working. I may get wrong here. Any suggestion or information about
>> this issue?
>>
>> Thanks
>>
>> Pdt
>>
>>
>> --
>> View this message in context: http://www.nabble.com/Integrate-AjaxAnywhere-with-Trinidad-Poll-tf4333316.html#a12341525
>> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>>
>>
>>     
>
>   


Re: Integrate AjaxAnywhere with Trinidad Poll

Posted by Andrew Robinson <an...@gmail.com>.
Why use AA with Trinidad. AA doesn't give you any functionality that
Trinidad already has. My suggestion is to definitely stop using AA.

On 8/26/07, pdt_p <pi...@gmail.com> wrote:
>
> Hi guys,
>
> I just wonder is there anyone has successfully integrate AjaxAnywhere with
> Trinidad poll element?
> I have tried to integrate it and the result, the poll listener will only be
> executed once. It happen only after the page is rendered and after that the
> poll listener never get executed anymore unless I refresh my page.
> In this page I have substitute the form submit to ajaxanywhere form submit
> through this script:
> ajaxAnywhere.formName = "testForm";
> ajaxAnywhere.bindById();
> ajaxAnywhere.substituteFormSubmitFunction();
>
>
> Second question, When I paly around with AA seems like Trinidad PartialPage
> is not working. I may get wrong here. Any suggestion or information about
> this issue?
>
> Thanks
>
> Pdt
>
>
> --
> View this message in context: http://www.nabble.com/Integrate-AjaxAnywhere-with-Trinidad-Poll-tf4333316.html#a12341525
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>
>