Re: [Xsltforms-support] Problem with replace all
Brought to you by:
alain-couthures
|
From: Klotz, L. <Lei...@xe...> - 2010-01-29 17:40:15
|
I don't mean to cause confusion; I meant with instance data to submit, serialized as application/x-www-form-urlencoded.
For example:
<html>
<head>
<model>
<instance>
<data xmlns="">
<q />
<hl>en</hl>
</data>
</instance>
<submission id="do-search" method="get" resource="http://www.example.com/search" replace="all" />
</model>
</head>
<body>
<input ref="q">
<label>Search: </label>
<send submission="do-search" ev:event="DOMActivate" />
</input>
<select1 ref="hl">
<label>Language</label>
<item><label>English</label><value>en</value></item>
<item><label>French</label><value>fr</value></item>
</select1>
</body>
</html>
-----Original Message-----
From: COUTHURES Alain [mailto:ala...@ag...]
Sent: Friday, January 29, 2010 9:34 AM
To: Klotz, Leigh
Cc: Thorsten Roggendorf; xsl...@li...
Subject: Re: [Xsltforms-support] Problem with replace all
Leigh,
> I still believe the <submssion method="get" replace="all"> could
> easily use the same technique as the XSTLForms feature <submssion
> method="xml-urlencoded-post"> and use the underlying HTML4 form
> implementation for the GET instead of using XHR.
>
> This seems like a small amount of work, and would fix the main use case immediately.
>
Don't you think that <submission method="get" replace="all">, with no instance data to submit, has no meaning itself and that <load> should be used instead ?
-Alain
|