You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by John <jo...@jak.com> on 2007/01/08 23:43:45 UTC

RE: [Tobago] - Problems with updating text field with AJAX - RESEND

Well, not directly. I don't know how to explicity initiate an AJAX
request. I'm only using the inherent AJAX within the sheet code. I'm not
sure I understand your question. 

-----Original Message-----
From: Volker Weber [mailto:weber.volker@googlemail.com] 
Sent: Thursday, January 04, 2007 12:17 PM
To: MyFaces Discussion
Subject: Re: [Tobago] - Problems with updating text field with AJAX

The toolbarButton triggers the ajax request?

2007/1/4, John <jo...@jak.com>:
> Hi Volker,
>
> From a button on the toolbar above. Which querys the database and 
> updates the sheets data.
> Then the tx:in is updated by doing a setValue on its component (which 
> I now know only to take affect during a relayout[not the right name] 
> phase), as well as just modifying its value.
>
> John
>
> -----Original Message-----
> From: Volker Weber [mailto:weber.volker@googlemail.com]
> Sent: Thursday, January 04, 2007 10:36 AM
> To: MyFaces Discussion
> Subject: Re: [Tobago] - Problems with updating text field with AJAX
>
> Hi John,
>
> how did you trigger the refreshing?
>
> 2007/1/4, John <jo...@jak.com>:
> >
> >
> > My page is basically laid out like this:
> >
> > --------------------
> > tx:in
> > --------------------
> >
> > --------------------
> > tc:sheet
> > --------------------
> >
> > When the sheet is refreshed (new data pulled in from the backing 
> > bean), the tx:in displays a new count of the rows.
> > This has always worked fine. It uses a binding and also a value to 
> > grab the row count from the backing bean
> >
> > Now with AJAX enabled, I'm noticing that the tx:in doesn't always 
> > update (about 50% of the time). I'm attributing this to the sheet 
> > updating in place with AJAX and therefore not refreshing the tx:in.
> >
> > How do I make tx:in update still?
> >
> > Thanks,
> >
> > John
> >
>
>


Re: [Tobago] - Problems with updating text field with AJAX - RESEND

Posted by Bernd Bohmann <be...@atanion.com>.
Hello John,

it would be easier to understand the problem if you send a simple jsp 
page for this.

Regards

Bernd

John wrote:
> Well, not directly. I don't know how to explicity initiate an AJAX
> request. I'm only using the inherent AJAX within the sheet code. I'm not
> sure I understand your question. 
> 
> -----Original Message-----
> From: Volker Weber [mailto:weber.volker@googlemail.com] 
> Sent: Thursday, January 04, 2007 12:17 PM
> To: MyFaces Discussion
> Subject: Re: [Tobago] - Problems with updating text field with AJAX
> 
> The toolbarButton triggers the ajax request?
> 
> 2007/1/4, John <jo...@jak.com>:
>> Hi Volker,
>>
>> From a button on the toolbar above. Which querys the database and 
>> updates the sheets data.
>> Then the tx:in is updated by doing a setValue on its component (which 
>> I now know only to take affect during a relayout[not the right name] 
>> phase), as well as just modifying its value.
>>
>> John
>>
>> -----Original Message-----
>> From: Volker Weber [mailto:weber.volker@googlemail.com]
>> Sent: Thursday, January 04, 2007 10:36 AM
>> To: MyFaces Discussion
>> Subject: Re: [Tobago] - Problems with updating text field with AJAX
>>
>> Hi John,
>>
>> how did you trigger the refreshing?
>>
>> 2007/1/4, John <jo...@jak.com>:
>>>
>>> My page is basically laid out like this:
>>>
>>> --------------------
>>> tx:in
>>> --------------------
>>>
>>> --------------------
>>> tc:sheet
>>> --------------------
>>>
>>> When the sheet is refreshed (new data pulled in from the backing 
>>> bean), the tx:in displays a new count of the rows.
>>> This has always worked fine. It uses a binding and also a value to 
>>> grab the row count from the backing bean
>>>
>>> Now with AJAX enabled, I'm noticing that the tx:in doesn't always 
>>> update (about 50% of the time). I'm attributing this to the sheet 
>>> updating in place with AJAX and therefore not refreshing the tx:in.
>>>
>>> How do I make tx:in update still?
>>>
>>> Thanks,
>>>
>>> John
>>>
>>
> 
>