Re: displayGroup questions
Re: displayGroup questions
- Subject: Re: displayGroup questions
- From: Owen McKerrow <email@hidden>
- Date: Thu, 29 Jan 2009 15:31:29 +1100
On 29/01/2009, at 2:50 PM, Theodore Petrosky wrote:
I am using some of the ajax examples as a starting template for a
project. I have used the DependentListsExample. My 'list' is an
array from a postgresql db and it is working almost perfectly. I
have not been able to figure out how to get the table to update
after I insert a new row in the database.
I am examining the different examples and the answer eludes me. How
can I get the displayGroup to refresh the screen after an insert?
dg.refresh would be nice but doesn't exist...
Ted
Hi Ted,
Couple of ways depending on how you are inserting the row into the
database. Check the doco on each of these methods and see which one
suits you best :
displayGroup.updateDisplayedObjects();
displayGroup.qualifyDataSource();
displayGroup.qualifyDisplayGroup();
Owen McKerrow
WebMaster, emlab
Ph : +61 02 4221 5517
http://emlab.uow.edu.au
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - -
"I like the way this project has somehow, against all common sense,
got itself made."
- Peter Jackson, "The Lord of The Rings"
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden