Process help
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
Process help
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Windows Server Forum Index -> CMS Server
Author Message
dee
Guest





Posted: Thu Jan 13, 2005 3:53 am    Post subject: Process help Reply with quote

Hello,
I need a help in the CMS step by step process.
In the save process, when a user clicks on "Save" or "Save
and Exit" button, what is the first function called?

I would like to know what comes before "OnSavingContent" of
a page or placeholder.

I have noticed that "<?xml..." stops the rest of the
contents to be saved in a placeholder. I would like to
remove those tags as early as possible.

Thank you in Advance.
dee
Back to top
Stefan [MSFT]
Guest





Posted: Thu Jan 13, 2005 3:14 pm    Post subject: Re: Process help Reply with quote

Hi Dee,

the first function is the constructor of the AuthoringReditSaveAction or of
the AuthoringReeditSaveAndExitAction class.
After this the the next function is the PerformActionBehaviour function of
these classes.

Cheers,
Stefan.


"dee" <anonymous@discussions.microsoft.com> wrote in message
news:078701c4f8f1$1c6d04d0$a401280a@phx.gbl...
Quote:
Hello,
I need a help in the CMS step by step process.
In the save process, when a user clicks on "Save" or "Save
and Exit" button, what is the first function called?

I would like to know what comes before "OnSavingContent" of
a page or placeholder.

I have noticed that "<?xml..." stops the rest of the
contents to be saved in a placeholder. I would like to
remove those tags as early as possible.

Thank you in Advance.
dee
Back to top
dee
Guest





Posted: Fri Jan 14, 2005 12:46 am    Post subject: Re: Process help Reply with quote

thank you for your help Stefan. I will see if I can use
those functions.
dee

Quote:
-----Original Message-----
Hi Dee,

the first function is the constructor of the
AuthoringReditSaveAction or of
the AuthoringReeditSaveAndExitAction class.
After this the the next function is the
PerformActionBehaviour function of
these classes.

Cheers,
Stefan.


"dee" <anonymous@discussions.microsoft.com> wrote in message
news:078701c4f8f1$1c6d04d0$a401280a@phx.gbl...
Hello,
I need a help in the CMS step by step process.
In the save process, when a user clicks on "Save" or "Save
and Exit" button, what is the first function called?

I would like to know what comes before "OnSavingContent" of
a page or placeholder.

I have noticed that "<?xml..." stops the rest of the
contents to be saved in a placeholder. I would like to
remove those tags as early as possible.

Thank you in Advance.
dee


.
Back to top
dee
Guest





Posted: Mon Jan 17, 2005 6:14 pm    Post subject: Re: Process help Reply with quote

Hi Stefan,
For a placeholder named "policy",
I did a request form as follows:
Request.Form["Policy:AuthoringModeControlsContainer:ActiveXAuthoringControl"]

It did return all the contents Okay. So, I am assuming the
contents is being sent to the server.

Somewhere along the line, it gets erased if there is a
<?xml...
It happens before OnSavingContent of placholder.

Where shall I make changes to strip the contents to make it
go smoothly?

Thanks
Dee

Quote:
-----Original Message-----
Hi Dee,

that is not normal.
Please check if the content is in the Request.Form fields
beeing sent to the
server.

Cheers,
Stefan.

"dee" <anonymous@discussions.microsoft.com> wrote in message
news:1b9701c4fcb9$8b884750$a401280a@phx.gbl...
Hi Stefan,
I have already tried that. By the time it gets to
OnSavingContent or OnSaveContent, the content after <?xml..
is already removed. So, I would like to catch and clean it
before that.

Thanks
dee

-----Original Message-----
Hi Dee,

ah! Ok, usually you would use a stripping placeholder
control to strip out
the unwanted tags.
This can be done using a customized version of the
following placeholder
control:
http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=5B9F
3F0F-B5AF-4209-915F-B47D4C58230F

Cheers,
Stefan.

"dee" <anonymous@discussions.microsoft.com> wrote in message
news:182c01c4fcb3$a8fe4c40$a301280a@phx.gbl...
Hi Stefan,
It is an HTML Placeholder. When authors copy from Word and
plaste into the HTML placeholder, the xml contents
(<?xml...) gets copied over into the placeholder. These
tags are not visible in the page but can be seen in the
page source.
Any ideas?
Thanks you
Dee

-----Original Message-----
Hi Dee,

I assume you are talking about placeholder content, right?
What kind of placeholder are you talking about?
An XML placeholder?

As you are talking about an XML tag I assume that you are
talking about an
XML placeholder. Is this correct?

HtmlPlaceholders (e.g.) are not able to store non-Html
content so it is
normal that non html tags are stripped out.
Just to double check.

Cheers,
Stefan.


"dee" <anonymous@discussions.microsoft.com> wrote in message
news:072401c4fcac$28432500$7d02280a@phx.gbl...
Dear All & Stefan,
Here I am again. I have been working to resolve an issue
and have been trying to pin point where the problem resides.

Upon "Save and Exit" or "Save" , part of the content
dissapears after occurance of "<?xml:namespace prefix = "o"
ns = "urn:schemas-microsoft-com:office:office" />"

Everytime there is an xml namespace tag, any contents after
that just gets wiped out. I would like to clean the content
before saving the page and I did find a good sample on the
web.

I tried to work with cutomizing the placeholder with
OnSavingContent(PlaceholderControlSavingEventArgs e).
Content was already erased by the time it reached
"OnSavingContent".

I did content check with
"Request.Form["Policy:AuthoringModeControlsContainer:ActiveXAuthoringContr
o
l
"];"
at the
InvokeSaveExitAuth function in DefaultConsole. I did it
before calling
AuthoringReeditSaveAndExitAction1.PerformAction().
All the contents were there. I may not be checking at the
right location. Something happend in between there and
OnSavingContent.

I tried to inherit and override PerformActionBehavior
method of AuthoringReeditSaveAndExitAction. I could not go
too far with it.

If you could guide me into a direction, I would be
extremely thankful!!

Thank you
Dee



.



.



.
Back to top
Stefan [MSFT]
Guest





Posted: Mon Jan 17, 2005 6:14 pm    Post subject: Re: Process help Reply with quote

Hi Dee,

that is not normal.
Please check if the content is in the Request.Form fields beeing sent to the
server.

Cheers,
Stefan.

"dee" <anonymous@discussions.microsoft.com> wrote in message
news:1b9701c4fcb9$8b884750$a401280a@phx.gbl...
Hi Stefan,
I have already tried that. By the time it gets to
OnSavingContent or OnSaveContent, the content after <?xml..
is already removed. So, I would like to catch and clean it
before that.

Thanks
dee

Quote:
-----Original Message-----
Hi Dee,

ah! Ok, usually you would use a stripping placeholder
control to strip out
the unwanted tags.
This can be done using a customized version of the
following placeholder
control:
http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=5B9F
3F0F-B5AF-4209-915F-B47D4C58230F

Cheers,
Stefan.

"dee" <anonymous@discussions.microsoft.com> wrote in message
news:182c01c4fcb3$a8fe4c40$a301280a@phx.gbl...
Hi Stefan,
It is an HTML Placeholder. When authors copy from Word and
plaste into the HTML placeholder, the xml contents
(<?xml...) gets copied over into the placeholder. These
tags are not visible in the page but can be seen in the
page source.
Any ideas?
Thanks you
Dee

-----Original Message-----
Hi Dee,

I assume you are talking about placeholder content, right?
What kind of placeholder are you talking about?
An XML placeholder?

As you are talking about an XML tag I assume that you are
talking about an
XML placeholder. Is this correct?

HtmlPlaceholders (e.g.) are not able to store non-Html
content so it is
normal that non html tags are stripped out.
Just to double check.

Cheers,
Stefan.


"dee" <anonymous@discussions.microsoft.com> wrote in message
news:072401c4fcac$28432500$7d02280a@phx.gbl...
Dear All & Stefan,
Here I am again. I have been working to resolve an issue
and have been trying to pin point where the problem resides.

Upon "Save and Exit" or "Save" , part of the content
dissapears after occurance of "<?xml:namespace prefix = "o"
ns = "urn:schemas-microsoft-com:office:office" />"

Everytime there is an xml namespace tag, any contents after
that just gets wiped out. I would like to clean the content
before saving the page and I did find a good sample on the
web.

I tried to work with cutomizing the placeholder with
OnSavingContent(PlaceholderControlSavingEventArgs e).
Content was already erased by the time it reached
"OnSavingContent".

I did content check with
"Request.Form["Policy:AuthoringModeControlsContainer:ActiveXAuthoringContr
o
l
"];"
at the
InvokeSaveExitAuth function in DefaultConsole. I did it
before calling
AuthoringReeditSaveAndExitAction1.PerformAction().
All the contents were there. I may not be checking at the
right location. Something happend in between there and
OnSavingContent.

I tried to inherit and override PerformActionBehavior
method of AuthoringReeditSaveAndExitAction. I could not go
too far with it.

If you could guide me into a direction, I would be
extremely thankful!!

Thank you
Dee



.



.
Back to top
dee
Guest





Posted: Mon Jan 17, 2005 6:14 pm    Post subject: Re: Process help Reply with quote

Hi Stefan,
I have already tried that. By the time it gets to
OnSavingContent or OnSaveContent, the content after <?xml..
is already removed. So, I would like to catch and clean it
before that.

Thanks
dee

Quote:
-----Original Message-----
Hi Dee,

ah! Ok, usually you would use a stripping placeholder
control to strip out
the unwanted tags.
This can be done using a customized version of the
following placeholder
control:
http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=5B9F3F0F-B5AF-4209-915F-B47D4C58230F

Cheers,
Stefan.

"dee" <anonymous@discussions.microsoft.com> wrote in message
news:182c01c4fcb3$a8fe4c40$a301280a@phx.gbl...
Hi Stefan,
It is an HTML Placeholder. When authors copy from Word and
plaste into the HTML placeholder, the xml contents
(<?xml...) gets copied over into the placeholder. These
tags are not visible in the page but can be seen in the
page source.
Any ideas?
Thanks you
Dee

-----Original Message-----
Hi Dee,

I assume you are talking about placeholder content, right?
What kind of placeholder are you talking about?
An XML placeholder?

As you are talking about an XML tag I assume that you are
talking about an
XML placeholder. Is this correct?

HtmlPlaceholders (e.g.) are not able to store non-Html
content so it is
normal that non html tags are stripped out.
Just to double check.

Cheers,
Stefan.


"dee" <anonymous@discussions.microsoft.com> wrote in message
news:072401c4fcac$28432500$7d02280a@phx.gbl...
Dear All & Stefan,
Here I am again. I have been working to resolve an issue
and have been trying to pin point where the problem resides.

Upon "Save and Exit" or "Save" , part of the content
dissapears after occurance of "<?xml:namespace prefix = "o"
ns = "urn:schemas-microsoft-com:office:office" />"

Everytime there is an xml namespace tag, any contents after
that just gets wiped out. I would like to clean the content
before saving the page and I did find a good sample on the
web.

I tried to work with cutomizing the placeholder with
OnSavingContent(PlaceholderControlSavingEventArgs e).
Content was already erased by the time it reached
"OnSavingContent".

I did content check with
"Request.Form["Policy:AuthoringModeControlsContainer:ActiveXAuthoringContro
l
"];"
at the
InvokeSaveExitAuth function in DefaultConsole. I did it
before calling
AuthoringReeditSaveAndExitAction1.PerformAction().
All the contents were there. I may not be checking at the
right location. Something happend in between there and
OnSavingContent.

I tried to inherit and override PerformActionBehavior
method of AuthoringReeditSaveAndExitAction. I could not go
too far with it.

If you could guide me into a direction, I would be
extremely thankful!!

Thank you
Dee



.



.
Back to top
Stefan [MSFT]
Guest





Posted: Mon Jan 17, 2005 6:14 pm    Post subject: Re: Process help Reply with quote

Hi Dee,

ah! Ok, usually you would use a stripping placeholder control to strip out
the unwanted tags.
This can be done using a customized version of the following placeholder
control:
http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=5B9F3F0F-B5AF-4209-915F-B47D4C58230F

Cheers,
Stefan.

"dee" <anonymous@discussions.microsoft.com> wrote in message
news:182c01c4fcb3$a8fe4c40$a301280a@phx.gbl...
Hi Stefan,
It is an HTML Placeholder. When authors copy from Word and
plaste into the HTML placeholder, the xml contents
(<?xml...) gets copied over into the placeholder. These
tags are not visible in the page but can be seen in the
page source.
Any ideas?
Thanks you
Dee

Quote:
-----Original Message-----
Hi Dee,

I assume you are talking about placeholder content, right?
What kind of placeholder are you talking about?
An XML placeholder?

As you are talking about an XML tag I assume that you are
talking about an
XML placeholder. Is this correct?

HtmlPlaceholders (e.g.) are not able to store non-Html
content so it is
normal that non html tags are stripped out.
Just to double check.

Cheers,
Stefan.


"dee" <anonymous@discussions.microsoft.com> wrote in message
news:072401c4fcac$28432500$7d02280a@phx.gbl...
Dear All & Stefan,
Here I am again. I have been working to resolve an issue
and have been trying to pin point where the problem resides.

Upon "Save and Exit" or "Save" , part of the content
dissapears after occurance of "<?xml:namespace prefix = "o"
ns = "urn:schemas-microsoft-com:office:office" />"

Everytime there is an xml namespace tag, any contents after
that just gets wiped out. I would like to clean the content
before saving the page and I did find a good sample on the
web.

I tried to work with cutomizing the placeholder with
OnSavingContent(PlaceholderControlSavingEventArgs e).
Content was already erased by the time it reached
"OnSavingContent".

I did content check with
"Request.Form["Policy:AuthoringModeControlsContainer:ActiveXAuthoringContro
l
"];"
at the
InvokeSaveExitAuth function in DefaultConsole. I did it
before calling
AuthoringReeditSaveAndExitAction1.PerformAction().
All the contents were there. I may not be checking at the
right location. Something happend in between there and
OnSavingContent.

I tried to inherit and override PerformActionBehavior
method of AuthoringReeditSaveAndExitAction. I could not go
too far with it.

If you could guide me into a direction, I would be
extremely thankful!!

Thank you
Dee



.
Back to top
dee
Guest





Posted: Mon Jan 17, 2005 6:14 pm    Post subject: Re: Process help Reply with quote

Hi Stefan,
It is an HTML Placeholder. When authors copy from Word and
plaste into the HTML placeholder, the xml contents
(<?xml...) gets copied over into the placeholder. These
tags are not visible in the page but can be seen in the
page source.
Any ideas?
Thanks you
Dee

Quote:
-----Original Message-----
Hi Dee,

I assume you are talking about placeholder content, right?
What kind of placeholder are you talking about?
An XML placeholder?

As you are talking about an XML tag I assume that you are
talking about an
XML placeholder. Is this correct?

HtmlPlaceholders (e.g.) are not able to store non-Html
content so it is
normal that non html tags are stripped out.
Just to double check.

Cheers,
Stefan.


"dee" <anonymous@discussions.microsoft.com> wrote in message
news:072401c4fcac$28432500$7d02280a@phx.gbl...
Dear All & Stefan,
Here I am again. I have been working to resolve an issue
and have been trying to pin point where the problem resides.

Upon "Save and Exit" or "Save" , part of the content
dissapears after occurance of "<?xml:namespace prefix = "o"
ns = "urn:schemas-microsoft-com:office:office" />"

Everytime there is an xml namespace tag, any contents after
that just gets wiped out. I would like to clean the content
before saving the page and I did find a good sample on the
web.

I tried to work with cutomizing the placeholder with
OnSavingContent(PlaceholderControlSavingEventArgs e).
Content was already erased by the time it reached
"OnSavingContent".

I did content check with
"Request.Form["Policy:AuthoringModeControlsContainer:ActiveXAuthoringControl
"];"
at the
InvokeSaveExitAuth function in DefaultConsole. I did it
before calling
AuthoringReeditSaveAndExitAction1.PerformAction().
All the contents were there. I may not be checking at the
right location. Something happend in between there and
OnSavingContent.

I tried to inherit and override PerformActionBehavior
method of AuthoringReeditSaveAndExitAction. I could not go
too far with it.

If you could guide me into a direction, I would be
extremely thankful!!

Thank you
Dee



.
Back to top
Stefan [MSFT]
Guest





Posted: Mon Jan 17, 2005 6:14 pm    Post subject: Re: Process help Reply with quote

Hi Dee,

I assume you are talking about placeholder content, right?
What kind of placeholder are you talking about?
An XML placeholder?

As you are talking about an XML tag I assume that you are talking about an
XML placeholder. Is this correct?

HtmlPlaceholders (e.g.) are not able to store non-Html content so it is
normal that non html tags are stripped out.
Just to double check.

Cheers,
Stefan.


"dee" <anonymous@discussions.microsoft.com> wrote in message
news:072401c4fcac$28432500$7d02280a@phx.gbl...
Dear All & Stefan,
Here I am again. I have been working to resolve an issue
and have been trying to pin point where the problem resides.

Upon "Save and Exit" or "Save" , part of the content
dissapears after occurance of "<?xml:namespace prefix = "o"
ns = "urn:schemas-microsoft-com:office:office" />"

Everytime there is an xml namespace tag, any contents after
that just gets wiped out. I would like to clean the content
before saving the page and I did find a good sample on the
web.

I tried to work with cutomizing the placeholder with
OnSavingContent(PlaceholderControlSavingEventArgs e).
Content was already erased by the time it reached
"OnSavingContent".

I did content check with
"Request.Form["Policy:AuthoringModeControlsContainer:ActiveXAuthoringControl
"];"
at the
InvokeSaveExitAuth function in DefaultConsole. I did it
before calling
AuthoringReeditSaveAndExitAction1.PerformAction().
All the contents were there. I may not be checking at the
right location. Something happend in between there and
OnSavingContent.

I tried to inherit and override PerformActionBehavior
method of AuthoringReeditSaveAndExitAction. I could not go
too far with it.

If you could guide me into a direction, I would be
extremely thankful!!

Thank you
Dee
Back to top
dee
Guest





Posted: Mon Jan 17, 2005 6:14 pm    Post subject: Re: Process help Reply with quote

Dear All & Stefan,
Here I am again. I have been working to resolve an issue
and have been trying to pin point where the problem resides.

Upon "Save and Exit" or "Save" , part of the content
dissapears after occurance of "<?xml:namespace prefix = "o"
ns = "urn:schemas-microsoft-com:office:office" />"

Everytime there is an xml namespace tag, any contents after
that just gets wiped out. I would like to clean the content
before saving the page and I did find a good sample on the
web.

I tried to work with cutomizing the placeholder with
OnSavingContent(PlaceholderControlSavingEventArgs e).
Content was already erased by the time it reached
"OnSavingContent".

I did content check with
"Request.Form["Policy:AuthoringModeControlsContainer:ActiveXAuthoringControl"];"
at the
InvokeSaveExitAuth function in DefaultConsole. I did it
before calling
AuthoringReeditSaveAndExitAction1.PerformAction().
All the contents were there. I may not be checking at the
right location. Something happend in between there and
OnSavingContent.

I tried to inherit and override PerformActionBehavior
method of AuthoringReeditSaveAndExitAction. I could not go
too far with it.

If you could guide me into a direction, I would be
extremely thankful!!

Thank you
Dee
Back to top
Stefan [MSFT]
Guest





Posted: Tue Jan 18, 2005 3:53 am    Post subject: Re: Process help Reply with quote

Hi Dee,

did you create a custom placeholder control like the stripping placeholder
control?
If yes, please debug the SavePlaceholderContent method and check if
"base.Html" contains the correct content or not.

Cheers,
Stefan.


"dee" <anonymous@discussions.microsoft.com> wrote in message
news:18aa01c4fcbf$3b394aa0$a301280a@phx.gbl...
Hi Stefan,
For a placeholder named "policy",
I did a request form as follows:
Request.Form["Policy:AuthoringModeControlsContainer:ActiveXAuthoringControl"
]

It did return all the contents Okay. So, I am assuming the
contents is being sent to the server.

Somewhere along the line, it gets erased if there is a
<?xml...
It happens before OnSavingContent of placholder.

Where shall I make changes to strip the contents to make it
go smoothly?

Thanks
Dee

Quote:
-----Original Message-----
Hi Dee,

that is not normal.
Please check if the content is in the Request.Form fields
beeing sent to the
server.

Cheers,
Stefan.

"dee" <anonymous@discussions.microsoft.com> wrote in message
news:1b9701c4fcb9$8b884750$a401280a@phx.gbl...
Hi Stefan,
I have already tried that. By the time it gets to
OnSavingContent or OnSaveContent, the content after <?xml..
is already removed. So, I would like to catch and clean it
before that.

Thanks
dee

-----Original Message-----
Hi Dee,

ah! Ok, usually you would use a stripping placeholder
control to strip out
the unwanted tags.
This can be done using a customized version of the
following placeholder
control:
http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=5B9
F
3F0F-B5AF-4209-915F-B47D4C58230F

Cheers,
Stefan.

"dee" <anonymous@discussions.microsoft.com> wrote in message
news:182c01c4fcb3$a8fe4c40$a301280a@phx.gbl...
Hi Stefan,
It is an HTML Placeholder. When authors copy from Word and
plaste into the HTML placeholder, the xml contents
(<?xml...) gets copied over into the placeholder. These
tags are not visible in the page but can be seen in the
page source.
Any ideas?
Thanks you
Dee

-----Original Message-----
Hi Dee,

I assume you are talking about placeholder content, right?
What kind of placeholder are you talking about?
An XML placeholder?

As you are talking about an XML tag I assume that you are
talking about an
XML placeholder. Is this correct?

HtmlPlaceholders (e.g.) are not able to store non-Html
content so it is
normal that non html tags are stripped out.
Just to double check.

Cheers,
Stefan.


"dee" <anonymous@discussions.microsoft.com> wrote in message
news:072401c4fcac$28432500$7d02280a@phx.gbl...
Dear All & Stefan,
Here I am again. I have been working to resolve an issue
and have been trying to pin point where the problem resides.

Upon "Save and Exit" or "Save" , part of the content
dissapears after occurance of "<?xml:namespace prefix = "o"
ns = "urn:schemas-microsoft-com:office:office" />"

Everytime there is an xml namespace tag, any contents after
that just gets wiped out. I would like to clean the content
before saving the page and I did find a good sample on the
web.

I tried to work with cutomizing the placeholder with
OnSavingContent(PlaceholderControlSavingEventArgs e).
Content was already erased by the time it reached
"OnSavingContent".

I did content check with
"Request.Form["Policy:AuthoringModeControlsContainer:ActiveXAuthoringCont
r
o
l
"];"
at the
InvokeSaveExitAuth function in DefaultConsole. I did it
before calling
AuthoringReeditSaveAndExitAction1.PerformAction().
All the contents were there. I may not be checking at the
right location. Something happend in between there and
OnSavingContent.

I tried to inherit and override PerformActionBehavior
method of AuthoringReeditSaveAndExitAction. I could not go
too far with it.

If you could guide me into a direction, I would be
extremely thankful!!

Thank you
Dee



.



.



.
Back to top
dee
Guest





Posted: Tue Jan 18, 2005 4:33 am    Post subject: Re: Process help Reply with quote

Hi Stefan,
Yes, I did try that if it is part of the sample provided in
the site
"http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=5B9F
3F0F-B5AF-4209-915F-B47D4C58230F".

By the time it reachecd SavePlaceholderContent, part of the
content was already erased.

I also tried OnSavingContent and partial content was
already erased.


Thank You
Dee


Quote:
-----Original Message-----
Hi Dee,

did you create a custom placeholder control like the
stripping placeholder
control?
If yes, please debug the SavePlaceholderContent method and
check if
"base.Html" contains the correct content or not.

Cheers,
Stefan.


"dee" <anonymous@discussions.microsoft.com> wrote in message
news:18aa01c4fcbf$3b394aa0$a301280a@phx.gbl...
Hi Stefan,
For a placeholder named "policy",
I did a request form as follows:
Request.Form["Policy:AuthoringModeControlsContainer:ActiveXAuthoringControl"
]

It did return all the contents Okay. So, I am assuming the
contents is being sent to the server.

Somewhere along the line, it gets erased if there is a
?xml...
It happens before OnSavingContent of placholder.

Where shall I make changes to strip the contents to make it
go smoothly?

Thanks
Dee

-----Original Message-----
Hi Dee,

that is not normal.
Please check if the content is in the Request.Form fields
beeing sent to the
server.

Cheers,
Stefan.

"dee" <anonymous@discussions.microsoft.com> wrote in message
news:1b9701c4fcb9$8b884750$a401280a@phx.gbl...
Hi Stefan,
I have already tried that. By the time it gets to
OnSavingContent or OnSaveContent, the content after <?xml..
is already removed. So, I would like to catch and clean it
before that.

Thanks
dee

-----Original Message-----
Hi Dee,

ah! Ok, usually you would use a stripping placeholder
control to strip out
the unwanted tags.
This can be done using a customized version of the
following placeholder
control:
http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=5B9
F
3F0F-B5AF-4209-915F-B47D4C58230F

Cheers,
Stefan.

"dee" <anonymous@discussions.microsoft.com> wrote in message
news:182c01c4fcb3$a8fe4c40$a301280a@phx.gbl...
Hi Stefan,
It is an HTML Placeholder. When authors copy from Word and
plaste into the HTML placeholder, the xml contents
(<?xml...) gets copied over into the placeholder. These
tags are not visible in the page but can be seen in the
page source.
Any ideas?
Thanks you
Dee

-----Original Message-----
Hi Dee,

I assume you are talking about placeholder content, right?
What kind of placeholder are you talking about?
An XML placeholder?

As you are talking about an XML tag I assume that you are
talking about an
XML placeholder. Is this correct?

HtmlPlaceholders (e.g.) are not able to store non-Html
content so it is
normal that non html tags are stripped out.
Just to double check.

Cheers,
Stefan.


"dee" <anonymous@discussions.microsoft.com> wrote in
message
news:072401c4fcac$28432500$7d02280a@phx.gbl...
Dear All & Stefan,
Here I am again. I have been working to resolve an issue
and have been trying to pin point where the problem
resides.

Upon "Save and Exit" or "Save" , part of the content
dissapears after occurance of "<?xml:namespace prefix = "o"
ns = "urn:schemas-microsoft-com:office:office" />"

Everytime there is an xml namespace tag, any contents after
that just gets wiped out. I would like to clean the content
before saving the page and I did find a good sample on the
web.

I tried to work with cutomizing the placeholder with
OnSavingContent(PlaceholderControlSavingEventArgs e).
Content was already erased by the time it reached
"OnSavingContent".

I did content check with
"Request.Form["Policy:AuthoringModeControlsContainer:ActiveXAuthoringCont
r
o
l
"];"
at the
InvokeSaveExitAuth function in DefaultConsole. I did it
before calling
AuthoringReeditSaveAndExitAction1.PerformAction().
All the contents were there. I may not be checking at the
right location. Something happend in between there and
OnSavingContent.

I tried to inherit and override PerformActionBehavior
method of AuthoringReeditSaveAndExitAction. I could not go
too far with it.

If you could guide me into a direction, I would be
extremely thankful!!

Thank you
Dee



.



.



.



.
Back to top
Stefan [MSFT]
Guest





Posted: Tue Jan 18, 2005 5:17 pm    Post subject: Re: Process help Reply with quote

Hi Dee,

please confirm that you checked base.Html.

The code in the SavePlaceholder calls the base SavePlaceholderContent
class - that's not what I was interested in!

Cheers,
Stefan.


"dee" <anonymous@discussions.microsoft.com> wrote in message
news:10a201c4fce4$9fbe7a20$a501280a@phx.gbl...
Hi Stefan,
Yes, I did try that if it is part of the sample provided in
the site
"http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=5B9F
3F0F-B5AF-4209-915F-B47D4C58230F".

By the time it reachecd SavePlaceholderContent, part of the
content was already erased.

I also tried OnSavingContent and partial content was
already erased.


Thank You
Dee


Quote:
-----Original Message-----
Hi Dee,

did you create a custom placeholder control like the
stripping placeholder
control?
If yes, please debug the SavePlaceholderContent method and
check if
"base.Html" contains the correct content or not.

Cheers,
Stefan.


"dee" <anonymous@discussions.microsoft.com> wrote in message
news:18aa01c4fcbf$3b394aa0$a301280a@phx.gbl...
Hi Stefan,
For a placeholder named "policy",
I did a request form as follows:
Request.Form["Policy:AuthoringModeControlsContainer:ActiveXAuthoringControl
"
]

It did return all the contents Okay. So, I am assuming the
contents is being sent to the server.

Somewhere along the line, it gets erased if there is a
?xml...
It happens before OnSavingContent of placholder.

Where shall I make changes to strip the contents to make it
go smoothly?

Thanks
Dee

-----Original Message-----
Hi Dee,

that is not normal.
Please check if the content is in the Request.Form fields
beeing sent to the
server.

Cheers,
Stefan.

"dee" <anonymous@discussions.microsoft.com> wrote in message
news:1b9701c4fcb9$8b884750$a401280a@phx.gbl...
Hi Stefan,
I have already tried that. By the time it gets to
OnSavingContent or OnSaveContent, the content after <?xml..
is already removed. So, I would like to catch and clean it
before that.

Thanks
dee

-----Original Message-----
Hi Dee,

ah! Ok, usually you would use a stripping placeholder
control to strip out
the unwanted tags.
This can be done using a customized version of the
following placeholder
control:
http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=5B
9
F
3F0F-B5AF-4209-915F-B47D4C58230F

Cheers,
Stefan.

"dee" <anonymous@discussions.microsoft.com> wrote in message
news:182c01c4fcb3$a8fe4c40$a301280a@phx.gbl...
Hi Stefan,
It is an HTML Placeholder. When authors copy from Word and
plaste into the HTML placeholder, the xml contents
(<?xml...) gets copied over into the placeholder. These
tags are not visible in the page but can be seen in the
page source.
Any ideas?
Thanks you
Dee

-----Original Message-----
Hi Dee,

I assume you are talking about placeholder content, right?
What kind of placeholder are you talking about?
An XML placeholder?

As you are talking about an XML tag I assume that you are
talking about an
XML placeholder. Is this correct?

HtmlPlaceholders (e.g.) are not able to store non-Html
content so it is
normal that non html tags are stripped out.
Just to double check.

Cheers,
Stefan.


"dee" <anonymous@discussions.microsoft.com> wrote in
message
news:072401c4fcac$28432500$7d02280a@phx.gbl...
Dear All & Stefan,
Here I am again. I have been working to resolve an issue
and have been trying to pin point where the problem
resides.

Upon "Save and Exit" or "Save" , part of the content
dissapears after occurance of "<?xml:namespace prefix = "o"
ns = "urn:schemas-microsoft-com:office:office" />"

Everytime there is an xml namespace tag, any contents after
that just gets wiped out. I would like to clean the content
before saving the page and I did find a good sample on the
web.

I tried to work with cutomizing the placeholder with
OnSavingContent(PlaceholderControlSavingEventArgs e).
Content was already erased by the time it reached
"OnSavingContent".

I did content check with
"Request.Form["Policy:AuthoringModeControlsContainer:ActiveXAuthoringCon
t
r
o
l
"];"
at the
InvokeSaveExitAuth function in DefaultConsole. I did it
before calling
AuthoringReeditSaveAndExitAction1.PerformAction().
All the contents were there. I may not be checking at the
right location. Something happend in between there and
OnSavingContent.

I tried to inherit and override PerformActionBehavior
method of AuthoringReeditSaveAndExitAction. I could not go
too far with it.

If you could guide me into a direction, I would be
extremely thankful!!

Thank you
Dee



.



.



.



.
Back to top
dee
Guest





Posted: Tue Jan 18, 2005 8:03 pm    Post subject: Re: Process help Reply with quote

Hi Stefan,
I checked the base.Html before calling
"base.SavePlaceholderContent(e)" function in the customized
placeholder. Partial content was already erased at this point.

Should I have checked at other location... such as the
DefaultConsole? Where in the process shall I check the Html
content?

Thank you Stefan.
Dee

Quote:
-----Original Message-----
Hi Dee,

please confirm that you checked base.Html.

The code in the SavePlaceholder calls the base
SavePlaceholderContent
class - that's not what I was interested in!

Cheers,
Stefan.


"dee" <anonymous@discussions.microsoft.com> wrote in message
news:10a201c4fce4$9fbe7a20$a501280a@phx.gbl...
Hi Stefan,
Yes, I did try that if it is part of the sample provided in
the site
"http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=5B9F
3F0F-B5AF-4209-915F-B47D4C58230F".

By the time it reachecd SavePlaceholderContent, part of the
content was already erased.

I also tried OnSavingContent and partial content was
already erased.


Thank You
Dee


-----Original Message-----
Hi Dee,

did you create a custom placeholder control like the
stripping placeholder
control?
If yes, please debug the SavePlaceholderContent method and
check if
"base.Html" contains the correct content or not.

Cheers,
Stefan.


"dee" <anonymous@discussions.microsoft.com> wrote in message
news:18aa01c4fcbf$3b394aa0$a301280a@phx.gbl...
Hi Stefan,
For a placeholder named "policy",
I did a request form as follows:
Request.Form["Policy:AuthoringModeControlsContainer:ActiveXAuthoringControl
"
]

It did return all the contents Okay. So, I am assuming the
contents is being sent to the server.

Somewhere along the line, it gets erased if there is a
?xml...
It happens before OnSavingContent of placholder.

Where shall I make changes to strip the contents to make it
go smoothly?

Thanks
Dee

-----Original Message-----
Hi Dee,

that is not normal.
Please check if the content is in the Request.Form fields
beeing sent to the
server.

Cheers,
Stefan.

"dee" <anonymous@discussions.microsoft.com> wrote in message
news:1b9701c4fcb9$8b884750$a401280a@phx.gbl...
Hi Stefan,
I have already tried that. By the time it gets to
OnSavingContent or OnSaveContent, the content after <?xml..
is already removed. So, I would like to catch and clean it
before that.

Thanks
dee

-----Original Message-----
Hi Dee,

ah! Ok, usually you would use a stripping placeholder
control to strip out
the unwanted tags.
This can be done using a customized version of the
following placeholder
control:
http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=5B
9
F
3F0F-B5AF-4209-915F-B47D4C58230F

Cheers,
Stefan.

"dee" <anonymous@discussions.microsoft.com> wrote in
message
news:182c01c4fcb3$a8fe4c40$a301280a@phx.gbl...
Hi Stefan,
It is an HTML Placeholder. When authors copy from Word and
plaste into the HTML placeholder, the xml contents
(<?xml...) gets copied over into the placeholder. These
tags are not visible in the page but can be seen in the
page source.
Any ideas?
Thanks you
Dee

-----Original Message-----
Hi Dee,

I assume you are talking about placeholder content, right?
What kind of placeholder are you talking about?
An XML placeholder?

As you are talking about an XML tag I assume that you are
talking about an
XML placeholder. Is this correct?

HtmlPlaceholders (e.g.) are not able to store non-Html
content so it is
normal that non html tags are stripped out.
Just to double check.

Cheers,
Stefan.


"dee" <anonymous@discussions.microsoft.com> wrote in
message
news:072401c4fcac$28432500$7d02280a@phx.gbl...
Dear All & Stefan,
Here I am again. I have been working to resolve an issue
and have been trying to pin point where the problem
resides.

Upon "Save and Exit" or "Save" , part of the content
dissapears after occurance of "<?xml:namespace prefix
= "o"
ns = "urn:schemas-microsoft-com:office:office" />"

Everytime there is an xml namespace tag, any contents
after
that just gets wiped out. I would like to clean the
content
before saving the page and I did find a good sample on the
web.

I tried to work with cutomizing the placeholder with
OnSavingContent(PlaceholderControlSavingEventArgs e).
Content was already erased by the time it reached
"OnSavingContent".

I did content check with
"Request.Form["Policy:AuthoringModeControlsContainer:ActiveXAuthoringCon
t
r
o
l
"];"
at the
InvokeSaveExitAuth function in DefaultConsole. I did it
before calling
AuthoringReeditSaveAndExitAction1.PerformAction().
All the contents were there. I may not be checking at the
right location. Something happend in between there and
OnSavingContent.

I tried to inherit and override PerformActionBehavior
method of AuthoringReeditSaveAndExitAction. I could not go
too far with it.

If you could guide me into a direction, I would be
extremely thankful!!

Thank you
Dee



.



.



.



.



.
Back to top
dee
Guest





Posted: Tue Jan 18, 2005 8:40 pm    Post subject: Re: Process help Reply with quote

Hi Stefan,
One thing i have noticed is that, it happens in the "Save
And Exit" or "Save" only. It never happens in "Save New
Page". What could be different in the process?
We have two domains. It happens more often to one domain
then the other.

Thanks
Dee

Quote:
-----Original Message-----
Hi Dee,

please confirm that you checked base.Html.

The code in the SavePlaceholder calls the base
SavePlaceholderContent
class - that's not what I was interested in!

Cheers,
Stefan.


"dee" <anonymous@discussions.microsoft.com> wrote in message
news:10a201c4fce4$9fbe7a20$a501280a@phx.gbl...
Hi Stefan,
Yes, I did try that if it is part of the sample provided in
the site
"http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=5B9F
3F0F-B5AF-4209-915F-B47D4C58230F".

By the time it reachecd SavePlaceholderContent, part of the
content was already erased.

I also tried OnSavingContent and partial content was
already erased.


Thank You
Dee


-----Original Message-----
Hi Dee,

did you create a custom placeholder control like the
stripping placeholder
control?
If yes, please debug the SavePlaceholderContent method and
check if
"base.Html" contains the correct content or not.

Cheers,
Stefan.


"dee" <anonymous@discussions.microsoft.com> wrote in message
news:18aa01c4fcbf$3b394aa0$a301280a@phx.gbl...
Hi Stefan,
For a placeholder named "policy",
I did a request form as follows:
Request.Form["Policy:AuthoringModeControlsContainer:ActiveXAuthoringControl
"
]

It did return all the contents Okay. So, I am assuming the
contents is being sent to the server.

Somewhere along the line, it gets erased if there is a
?xml...
It happens before OnSavingContent of placholder.

Where shall I make changes to strip the contents to make it
go smoothly?

Thanks
Dee

-----Original Message-----
Hi Dee,

that is not normal.
Please check if the content is in the Request.Form fields
beeing sent to the
server.

Cheers,
Stefan.

"dee" <anonymous@discussions.microsoft.com> wrote in message
news:1b9701c4fcb9$8b884750$a401280a@phx.gbl...
Hi Stefan,
I have already tried that. By the time it gets to
OnSavingContent or OnSaveContent, the content after <?xml..
is already removed. So, I would like to catch and clean it
before that.

Thanks
dee

-----Original Message-----
Hi Dee,

ah! Ok, usually you would use a stripping placeholder
control to strip out
the unwanted tags.
This can be done using a customized version of the
following placeholder
control:
http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=5B
9
F
3F0F-B5AF-4209-915F-B47D4C58230F

Cheers,
Stefan.

"dee" <anonymous@discussions.microsoft.com> wrote in
message
news:182c01c4fcb3$a8fe4c40$a301280a@phx.gbl...
Hi Stefan,
It is an HTML Placeholder. When authors copy from Word and
plaste into the HTML placeholder, the xml contents
(<?xml...) gets copied over into the placeholder. These
tags are not visible in the page but can be seen in the
page source.
Any ideas?
Thanks you
Dee

-----Original Message-----
Hi Dee,

I assume you are talking about placeholder content, right?
What kind of placeholder are you talking about?
An XML placeholder?

As you are talking about an XML tag I assume that you are
talking about an
XML placeholder. Is this correct?

HtmlPlaceholders (e.g.) are not able to store non-Html
content so it is
normal that non html tags are stripped out.
Just to double check.

Cheers,
Stefan.


"dee" <anonymous@discussions.microsoft.com> wrote in
message
news:072401c4fcac$28432500$7d02280a@phx.gbl...
Dear All & Stefan,
Here I am again. I have been working to resolve an issue
and have been trying to pin point where the problem
resides.

Upon "Save and Exit" or "Save" , part of the content
dissapears after occurance of "<?xml:namespace prefix
= "o"
ns = "urn:schemas-microsoft-com:office:office" />"

Everytime there is an xml namespace tag, any contents
after
that just gets wiped out. I would like to clean the
content
before saving the page and I did find a good sample on the
web.

I tried to work with cutomizing the placeholder with
OnSavingContent(PlaceholderControlSavingEventArgs e).
Content was already erased by the time it reached
"OnSavingContent".

I did content check with
"Request.Form["Policy:AuthoringModeControlsContainer:ActiveXAuthoringCon
t
r
o
l
"];"
at the
InvokeSaveExitAuth function in DefaultConsole. I did it
before calling
AuthoringReeditSaveAndExitAction1.PerformAction().
All the contents were there. I may not be checking at the
right location. Something happend in between there and
OnSavingContent.

I tried to inherit and override PerformActionBehavior
method of AuthoringReeditSaveAndExitAction. I could not go
too far with it.

If you could guide me into a direction, I would be
extremely thankful!!

Thank you
Dee



.



.



.



.



.
Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> CMS Server All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB