- Added a realtime workflow option for content publishing.
- Added switches to auto request commit operations and skip adding comments.
This commit is contained in:
parent
c09b2cae1b
commit
3259da6750
403 changed files with 350 additions and 50605 deletions
|
|
@ -63,6 +63,11 @@ A text label that will be displayed if toHtmlWithWrapper() is called. Defaults t
|
|||
|
||||
If set to 1 then a "None" option will appear in the list of workflows, which will store a null value in the field. Defaults to 0.
|
||||
|
||||
=head4 includeRealtime
|
||||
|
||||
Most workflow triggers can't handle realtime workflows, so we leave out realtime workflows unless they should
|
||||
specifically be included.
|
||||
|
||||
=cut
|
||||
|
||||
sub definition {
|
||||
|
|
@ -86,6 +91,9 @@ sub definition {
|
|||
none=>{
|
||||
defaulValue=>0
|
||||
},
|
||||
includeRealtime => {
|
||||
defaultValue => 0
|
||||
},
|
||||
dbDataType => {
|
||||
defaultValue => "VARCHAR(22) BINARY",
|
||||
},
|
||||
|
|
@ -103,7 +111,7 @@ Renders a template picker control.
|
|||
|
||||
sub toHtml {
|
||||
my $self = shift;
|
||||
my $workflowList = WebGUI::Workflow->getList($self->session, $self->get("type"));
|
||||
my $workflowList = WebGUI::Workflow->getList($self->session, $self->get("type"), $self->get("includeRealtime"));
|
||||
$workflowList->{""} = "None" if ($self->get("none"));
|
||||
$self->set("options", $workflowList);
|
||||
return $self->SUPER::toHtml();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue