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 Previous  1, 2
 
Post new topic   Reply to topic    Windows Server Forum Index -> CMS Server
Author Message
Stefan [MSFT]
Guest





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

Hi Dee,

"Html" is the property name of the MCMS Html placeholder control.

I have never seen that the content gets truncated. You should open a support
call for this to check if this is an ASP.NET or an MCMS problem.

Cheers,
Stefan.


"dee" <anonymous@discussions.microsoft.com> wrote in message
news:1cde01c4fd66$8a486bb0$a301280a@phx.gbl...
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=5B9
F
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:ActiveXAuthoringContro
l
"
]

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=5
B
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:ActiveXAuthoringCo
n
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 10:42 pm    Post subject: Re: Process help Reply with quote

Thank you Stefan.
Dee

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

"Html" is the property name of the MCMS Html placeholder
control.

I have never seen that the content gets truncated. You
should open a support
call for this to check if this is an ASP.NET or an MCMS
problem.

Cheers,
Stefan.


"dee" <anonymous@discussions.microsoft.com> wrote in message
news:1cde01c4fd66$8a486bb0$a301280a@phx.gbl...
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

-----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=5B9
F
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:ActiveXAuthoringContro
l
"
]

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=5
B
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:ActiveXAuthoringCo
n
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 Previous  1, 2
Page 2 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