Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
acs-workflow
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
project-open
acs-workflow
Commits
83aceebf
Commit
83aceebf
authored
May 22, 2014
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- beautified
parent
eb734c84
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
24 deletions
+1
-24
arc-edit.tcl
www/admin/arc-edit.tcl
+1
-24
No files found.
www/admin/arc-edit.tcl
View file @
83aceebf
...
...
@@ -32,33 +32,10 @@ set guard_custom_arg [ad_quotehtml $guard_custom_arg]
# must match
# Ugh! This is ugly. We really need that callback repository!
set
possible_guards
[
util_memoize
{
db_list possible_guards
{
select a0.package_name || '.' || a0.object_name
from user_arguments a0
where position = 0
and argument_name is null
and data_type = 'CHAR'
and in_out = 'OUT'
and exists
(
select 1 from user_arguments a1 where a1.package_name=a0.package_name and a1.object_name=a0.object_name
and a1.position=1 and a1.data_type='NUMBER' and a1.in_out='IN'
)
and exists
(
select 1 from user_arguments a2 where a2.package_name=a0.package_name and a2.object_name=a0.object_name
and a2.position=2 and a2.data_type='VARCHAR2' and a2.in_out='IN'
)
and exists
(
select 1 from user_arguments a3 where a3.package_name=a0.package_name and a3.object_name=a0.object_name
and a3.position=3 and a3.data_type='VARCHAR2' and a3.in_out='IN'
)
and exists
(
select 1 from user_arguments a4 where a4.package_name=a0.package_name and a4.object_name=a0.object_name
and a4.position=4 and a4.data_type='VARCHAR2' and a4.in_out='IN'
)
and exists
(
select 1 from user_arguments a5 where a5.package_name=a0.package_name and a5.object_name=a0.object_name
and a5.position=5 and a5.data_type='VARCHAR2' and a5.in_out='IN'
)
and exists
(
select 1 from user_arguments a6 where a6.package_name=a0.package_name and a6.object_name=a0.object_name
and a6.position=6 and a6.data_type='VARCHAR2' and a6.in_out='IN'
)
}}
3600
]
set
possible_guards
[
util_memoize
[
list
db_list possible_guards
""
]
3600
]
template::multirow create guard_options value selected name
template::multirow append guard_options
""
[
ad_decode
$guard
_callback
""
"SELECTED"
""
]
"--no guard--
[
ad_decode
$guard
_callback
""
"(current)"
""
]
"
template::multirow append guard_options
"#"
[
ad_decode
$guard
_callback
"#"
"SELECTED"
""
]
"No other guards were satsified
[
ad_decode
$guard
_callback
"#"
"(current)"
""
]
"
if
{
!
[
empty_string_p
$guard
_callback
]
&& !
[
string
equal
$guard
_callback
"#"
]
&&
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment