[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tuscany-dev
Subject:    [jira] Created: (TUSCANY-2623) Atom binding JavaScript client needs
From:       "Dan Becker (JIRA)" <dev () tuscany ! apache ! org>
Date:       2008-09-29 13:34:44
Message-ID: 364101815.1222695284446.JavaMail.jira () brutus
[Download RAW message or body]

Atom binding JavaScript client needs model to XML serialization
---------------------------------------------------------------

                 Key: TUSCANY-2623
                 URL: https://issues.apache.org/jira/browse/TUSCANY-2623
             Project: Tuscany
          Issue Type: Improvement
          Components: Java SCA ATOM Binding Extension
    Affects Versions: Java-SCA-1.4
         Environment: All platforms, JavaScript client side
            Reporter: Dan Becker
            Priority: Minor


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>'



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic