Page Menu
Home
Code
Search
Configure Global Search
Log In
Files
F946602
TableAdapter.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
988 B
Subscribers
None
TableAdapter.js
View Options
/*
Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
Available via Academic Free License >= 2.1 OR the modified BSD license.
see: http://dojotoolkit.org/license for details
*/
if
(
!
dojo
.
_hasResource
[
"dojox.wire.TableAdapter"
]){
dojo
.
_hasResource
[
"dojox.wire.TableAdapter"
]
=
true
;
dojo
.
provide
(
"dojox.wire.TableAdapter"
);
dojo
.
require
(
"dojox.wire.CompositeWire"
);
dojo
.
declare
(
"dojox.wire.TableAdapter"
,
dojox
.
wire
.
CompositeWire
,{
_wireClass
:
"dojox.wire.TableAdapter"
,
constructor
:
function
(
_1
){
this
.
_initializeChildren
(
this
.
columns
);
},
_getValue
:
function
(
_2
){
if
(
!
_2
||!
this
.
columns
){
return
_2
;
}
var
_3
=
_2
;
if
(
!
dojo
.
isArray
(
_3
)){
_3
=
[
_3
];
}
var
_4
=
[];
for
(
var
i
in
_3
){
var
_5
=
this
.
_getRow
(
_3
[
i
]);
_4
.
push
(
_5
);
}
return
_4
;
},
_setValue
:
function
(
_6
,
_7
){
throw
new
Error
(
"Unsupported API: "
+
this
.
_wireClass
+
"._setValue"
);
},
_getRow
:
function
(
_8
){
var
_9
=
(
dojo
.
isArray
(
this
.
columns
)
?
[]
:
{});
for
(
var
c
in
this
.
columns
){
_9
[
c
]
=
this
.
columns
[
c
].
getValue
(
_8
);
}
return
_9
;
}});
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 26, 07:59 (1 d, 1 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
24110
Default Alt Text
TableAdapter.js (988 B)
Attached To
rZEDHG ZedLegacy
Event Timeline
Log In to Comment