15.08.2013 Views

Ektron® eWebEditPro Developer's Reference Guide

Ektron® eWebEditPro Developer's Reference Guide

Ektron® eWebEditPro Developer's Reference Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Automatic Upload<br />

<br />

<br />

<br />

<br />

mdf171290.jpg<br />

http://us.news2.yimg.com/us.yimg.com/p/nm/20021218/mdf171290.jpg<br />

<br />

128000<br />

'Rings' Leads Charge to Record<br />

<br />

http://us.news1.yimg.com/us.yimg.com/p/nm/20021218/amdf171290.jpg<br />

<br />

<br />

http://story.news.yahoo.com/news?tmpl=story&amp;u=/021218/161/2w6dq.html<br />

<br />

image/jpeg<br />

0<br />

0<br />

0<br />

<br />

<br />

<br />

<br />

<br />

The above data island example is simplified from the full example shown above. It<br />

is shown isolated from the rest of the HTML, and contains only one uploaded file.<br />

This example is a typical string returned from EWepAutoSvr or the other serverside<br />

scripts.<br />

Assembling the Response XML Data Island<br />

Example<br />

You can use the EWepAutoSvr module’s interface to assemble the response XML<br />

data island. An object interface is used in place of a DOM interface to set the<br />

values.<br />

The ASP script sets values in the eWepAutoSvr object. Then, the eWepAutoSvr<br />

object can produce the resulting full XML data island, which can be placed in the<br />

returning document.<br />

See Also: ”EWepAutoSvr Object API” on page 477<br />

Below is an example of using the EWepAutoSvr module to create the complex<br />

example shown in ”Data Island” on page 471.<br />

<br />

<br />

File Upload Response<br />

<br />

File Upload Response<br />

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!