G
gk
hi,
i dont understand what is the job of converter in DWR AJAX.
can anybody please help me
http://getahead.ltd.uk/dwr/server/dwrxml/converters
converting my java classes to what ?
why does it convert ?
for example : i have a dwr.xml where
dwr.xml
========
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE dwr PUBLIC
"-//GetAhead Limited//DTD Direct Web Remoting 1.0//EN"
"http://www.getahead.ltd.uk/dwr/dwr10.dtd">
<dwr>
<allow>
<create creator="new" javascript="Chat">
<param name="class" value="[your.package].Chat"/>
</create>
<convert converter="bean" match="[your.package].Message"/>
</allow>
</dwr>
look at this steps <convert converter="bean"
match="[your.package].Message"/>
it is converting a java class named "Message" to "bean"......why ?
whats the "bean" means now ?
very confusing.
please help ....explain
i dont understand what is the job of converter in DWR AJAX.
can anybody please help me
http://getahead.ltd.uk/dwr/server/dwrxml/converters
converting my java classes to what ?
why does it convert ?
for example : i have a dwr.xml where
dwr.xml
========
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE dwr PUBLIC
"-//GetAhead Limited//DTD Direct Web Remoting 1.0//EN"
"http://www.getahead.ltd.uk/dwr/dwr10.dtd">
<dwr>
<allow>
<create creator="new" javascript="Chat">
<param name="class" value="[your.package].Chat"/>
</create>
<convert converter="bean" match="[your.package].Message"/>
</allow>
</dwr>
look at this steps <convert converter="bean"
match="[your.package].Message"/>
it is converting a java class named "Message" to "bean"......why ?
whats the "bean" means now ?
very confusing.
please help ....explain