description of replace attribute in xforms:submission

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

description of replace attribute in xforms:submission

Doug Young

Hi,

  Can anyone explain (or give me a url for an explanation of) the different values the xforms:submission replace attribute can take, in particular the difference between all and instance ?

 

According to the http://www.w3.org/TR/xforms11

replace=all concludes with entire containing document being replaced with the returned body.

 

but replace-instance only replaces the instance

 

does this mean that replace=all changes the page to be just the returned xml ?

 

regards

   Doug

 

 

Doug Young

Software Engineer

 

Teleflex IT

1 Michaelson Square
Livingston
West Lothian
Scotland
EH54 7DP

+44 (0) 1506 407107

 



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: description of replace attribute in xforms:submission

Alessandro  Vernet
Administrator
Hi Doug,

On 7/28/06, Doug Young <[hidden email]> wrote:
> does this mean that replace=all changes the page to be just the returned xml?

This is exactly it: if you use replace="all", when the submission is
triggered, you will go to page pointed by the 'action' attribute. So
the expectation is that that page will return HTML and it can be
itself implemented in XForms.

Alex
--
Blog (XML, Web apps, Open Source):
http://www.orbeon.com/blog/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet