I have now checked in the following enhancement:
A new servlet init-param that allow you to control class generation:
<init-param>
<param-name>generateDtoClasses</param-name>
<param-value>interface,dtoall,dto</param-value>
</init-param>
In the above example mapped classes are enabled for generation in all possible locations. The default value if not specifying this parameter is "interface" which is the same as DWR 2.x behaviour.
The meaning of the setting values are:
interface:
-> /dwr/interface/<proxy>.js includes all mapped classes
dtoall:
-> /dwr/dtoall.js includes all mapped classes
dto:
-> /dwr/dto/<class>.js includes a single mapped class
I have now checked in the following enhancement:
A new servlet init-param that allow you to control class generation:
<init-param>
<param-name>generateDtoClasses</param-name>
<param-value>interface,dtoall,dto</param-value>
</init-param>
In the above example mapped classes are enabled for generation in all possible locations. The default value if not specifying this parameter is "interface" which is the same as DWR 2.x behaviour.
The meaning of the setting values are:
interface:
-> /dwr/interface/<proxy>.js includes all mapped classes
dtoall:
-> /dwr/dtoall.js includes all mapped classes
dto:
-> /dwr/dto/<class>.js includes a single mapped class