Reusing Decline with Reason action for Submit
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
Reusing Decline with Reason action for Submit

 
Post new topic   Reply to topic    Windows Server Forum Index -> CMS Server
Author Message
Marc
Guest





Posted: Thu Jan 13, 2005 2:39 am    Post subject: Reusing Decline with Reason action for Submit Reply with quote

Stefan,

Could you give me some advice on how to resuse the Decline with Reason
components for the Submit process. What we would like to do is have the
author submit a brief desciption of what has changed and email that to the
editors along with notification of submition.

I am little confused on how all the files interact with each other through
the .js files etc... Any detail description on this would be greatly
appreciated.

As always thanks for the support on our first CMS install.

Marc
Back to top
Stefan [MSFT]
Guest





Posted: Thu Jan 13, 2005 3:28 pm    Post subject: Re: Reusing Decline with Reason action for Submit Reply with quote

Hi Marc,

you need derive the Action from SubmitAction rather than from DeclineAction.
I think that's all you need to change.

Cheers,
Stefan.


"Marc" <Marc@discussions.microsoft.com> wrote in message
news:D9B60BEA-58AC-4D91-8130-9205701FFCAE@microsoft.com...
Quote:
Stefan,

Could you give me some advice on how to resuse the Decline with Reason
components for the Submit process. What we would like to do is have the
author submit a brief desciption of what has changed and email that to the
editors along with notification of submition.

I am little confused on how all the files interact with each other through
the .js files etc... Any detail description on this would be greatly
appreciated.

As always thanks for the support on our first CMS install.

Marc
Back to top
Marc
Guest





Posted: Thu Jan 13, 2005 8:59 pm    Post subject: Re: Reusing Decline with Reason action for Submit Reply with quote

Thanks Stefan!

Here is what I did:

Created new SubmitReasonAction.cs deriving from SubmitAction and using code
from DeclineAction. Changed any internal references to Decline to Submit.

Created new SubmitDlg.aspx and .js file in folder under /webauthor/dialogs.

Added duplicate js functions (referencing submit rather than decline) in
console.js.

Just have to add customaction to default console referencing the
submitreasonaction.cs

This all look correct to you?

Thanks!

"Stefan [MSFT]" wrote:

Quote:
Hi Marc,

you need derive the Action from SubmitAction rather than from DeclineAction.
I think that's all you need to change.

Cheers,
Stefan.


"Marc" <Marc@discussions.microsoft.com> wrote in message
news:D9B60BEA-58AC-4D91-8130-9205701FFCAE@microsoft.com...
Stefan,

Could you give me some advice on how to resuse the Decline with Reason
components for the Submit process. What we would like to do is have the
author submit a brief desciption of what has changed and email that to the
editors along with notification of submition.

I am little confused on how all the files interact with each other through
the .js files etc... Any detail description on this would be greatly
appreciated.

As always thanks for the support on our first CMS install.

Marc


Back to top
Stefan [MSFT]
Guest





Posted: Thu Jan 13, 2005 9:06 pm    Post subject: Re: Reusing Decline with Reason action for Submit Reply with quote

Yes, looks good!
:-)

"Marc" <Marc@discussions.microsoft.com> wrote in message
news:DFA495A0-0A4F-4B02-ABD0-FA002D927CD8@microsoft.com...
Quote:
Thanks Stefan!

Here is what I did:

Created new SubmitReasonAction.cs deriving from SubmitAction and using
code
from DeclineAction. Changed any internal references to Decline to Submit.

Created new SubmitDlg.aspx and .js file in folder under
/webauthor/dialogs.

Added duplicate js functions (referencing submit rather than decline) in
console.js.

Just have to add customaction to default console referencing the
submitreasonaction.cs

This all look correct to you?

Thanks!

"Stefan [MSFT]" wrote:

Hi Marc,

you need derive the Action from SubmitAction rather than from
DeclineAction.
I think that's all you need to change.

Cheers,
Stefan.


"Marc" <Marc@discussions.microsoft.com> wrote in message
news:D9B60BEA-58AC-4D91-8130-9205701FFCAE@microsoft.com...
Stefan,

Could you give me some advice on how to resuse the Decline with Reason
components for the Submit process. What we would like to do is have
the
author submit a brief desciption of what has changed and email that to
the
editors along with notification of submition.

I am little confused on how all the files interact with each other
through
the .js files etc... Any detail description on this would be greatly
appreciated.

As always thanks for the support on our first CMS install.

Marc


Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> CMS Server All times are GMT
Page 1 of 1

 
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