Microsoft Content Management Server - Another question about posting status

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > October 2004 > Another question about posting status





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Another question about posting status
GoCMS

2004-10-20, 5:48 pm

Hi, there:
Still the same code above, I was able to set the placeholder HTML
property. However, when I go to the destination page ( the one I just set one
of of the placeholders), it still shows the old content. But if I explicitly
click "Edit" link and go to edit page, the content is right. Isn't that
strange? In order to synchronize these two content, I have to click "Save and
Exit" manually. Did I miss anything when I do a cmsContext.CommitAll() ?
Stefan [MSFT]

2004-10-20, 5:48 pm

Hi,

yes you missed something!
The fact that the placeholder controls got already populated before your
change was done.
So you need another round trip to get the changes visible.

Either do the change BEFORE the placeholder controls load placeholder
content method is fired or do another round trip.

Cheers,
Stefan

--
This posting is provided "AS IS" with no warranties, and confers no rights.

MCMS FAQ:
http://download.microsoft.com/downl...6a/MCMS+2002+-+(complete)+FAQ.htm
MCMS Blog: http://blogs.msdn.com/stefan_gossner/category/4983.aspx
MCMS Sample Code:
http://www.gotdotnet.com/community/...t+S
erver

MCMS Whitepapers and other docs:
http://blogs.msdn.com/stefan_gossne...2/07/41859.aspx
--------------------------------


"GoCMS" <GoCMS@discussions.microsoft.com> wrote in message
news:60DD30CF-46BC-4272-999E-96749A90A9B2@microsoft.com...
> Hi, there:
> Still the same code above, I was able to set the placeholder HTML
> property. However, when I go to the destination page ( the one I just set

one
> of of the placeholders), it still shows the old content. But if I

explicitly
> click "Edit" link and go to edit page, the content is right. Isn't that
> strange? In order to synchronize these two content, I have to click "Save

and
> Exit" manually. Did I miss anything when I do a cmsContext.CommitAll() ?



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com