| Author |
Message |
Marc
Guest
|
Posted:
Thu Jan 13, 2005 2:39 am Post subject:
Reusing Decline with Reason action for Submit |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
 |
|
|
|
|