SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 85 | Next

Deepak Vohra

"Ajax in Oracle JDeveloper"

The root element of the dwr.xml file is dwr.
5 DTD for dwr.xml-http://getahead.org/dwr/dwr10.dtd
5.3 Creating a DWR Application 95
Creators are used to create JavaScript corresponding to Java classes and
converters are used to convert between Java data types on the server-side
and JavaScript data types on the client-side. Data types boolean, byte,
short, int, long, float, double, char, java.lang.Boolean,
java.lang.Byte, java.lang.Short, java.lang.Integer,
java.lang.Long, java.lang.Float, java.lang.Double,
java.lang.Character, java.math.BigInteger,
java.math.BigDecimal and java.lang.String and the date
converter are enabled by default. Therefore, we won??™t be specifying a
converter. Classes that are to be allowed access from JavaScript are
specified in the allow element. The create element specifies the
classes that are to be remoted in JavaScript.
(create | convert)*
)>
The create element has required attributes creator and
javascript and an optional attribute scope.
creator CDATA #REQUIRED
javascript CDATA #REQUIRED
scope (application|session|request|page) #IMPLIED
>
The creator attribute specifies which creator is used to instantiate the
Java class. The most commonly used creator is ???new???. The javascript
attribute specifies the JavaScript class library that is created from the Java
class. The scope attribute specifies the scope in which the Java bean is
available and may be set to ???application???, ???page???, ???session??? and ???request???.


Pages:
73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97