myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Volker Weber" <weber.vol...@googlemail.com>
Subject Re: [Tobago] - Problems with updating text field with AJAX
Date Thu, 04 Jan 2007 20:16:58 GMT
The toolbarButton triggers the ajax request?

2007/1/4, John <johnk@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 <johnk@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
> >
>
>

Mime
View raw message