Fellow Laszloans,

I'm new to the platform and having difficulty getting updateData() to update 
the xml file (dataset) that the datapath references.  Using the debugger, I see 
that the in-memory datapath is updated, but not the file itself.  Here's the 
code snippet:
_________________________________________________________________
<view id="v2" layout="x" />
   <dataset name="resumedata" src="resumedata.xml"/>
   <hbox spacing="20" />
   <class name="resume" layout="x" datapath="resumedata:/resume/employerinfo"
      <statictext name="t1" label="Employer Name"/>
      <edittext name="it1" width="150" datapath="@name"/>
      <!-- several other text controls -->
      <button name="b">Update
         <handler name="onclick">
            updateData();
         </handler>
      </button>
   </class>
<resume name="r" visible="false" />

<!-- r is visible later when another control is selected -->
__________________________________________________________________

Thanks in advance.

Rob

       
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.

Reply via email to