Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
Java-SCA-1.4
-
None
-
All platforms, JavaScript client side
Description
Currently the JavaScript client supports XML to model deserialzation. This allows one to go from XML documents to the JavaScript Atom model of Feeds, Entrys, Persons, etc. Luciano suggested in feed back to TUSCANY-2568 on the dev mail list that we be able to serialize from the model to XML as well.
For example:
var entry = new Entry();
entry.setTitle( "cart-item" );
entry.setContent("Apples $2.99" );
var xml = entry.toXML();
// entry = '<entry xmlns="http://www.w3.org/2005/Atom"><title>cart-item</title><content
type="text">Apples $2.99</content></entry>'
Attachments
Issue Links
- is related to
-
TUSCANY-2568 Javascript model for Atom binding collections and entries
- Closed