Mark Baker wrote:
> On 1/9/07, Mike Schinkel <mikeschinkel@...> wrote:
> > However, the reason I was asking was because I was trying
> > to gather evidence to present to Ian Hickson to support adding
> > URI Template support to the action method of the form element
> > in Web Forms 2.0. I sent an email to uri@... to that
> > effect[1], but got to response.
>
> Though in theory that sounds like a great idea, it would
> break existing clients which is a non-starter when defining
> HTML extensions.
Excellent point! I hadn't considered that. Duh.
> You'd need a new parameter to get
> around that problem.
So by "parameter" do you mean attribute? For example, would this be
workable where newer browsers would use "template" instead of "action?"
<form method="get"
action="http://www.welldesignedurls.org/query">
template="http://www.welldesignedurls.org/{category}/{era}/">
<p>Where would you like to go?
<select name="category">
<option value="standards">Standards</option>
<option value="proposals">Proposals</option>
<option value="ideas">Ideas</option>
</select>/<select name="era">
<option value="past">Past</option>
<option value="present">Present</option>
<option value="future">Future</option>
</select>
<button type="submit">Go!</button>
</p>
</form>
--
-Mike Schinkel
http://www.mikeschinkel.com/blogs/
http://www.welldesignedurls.org/
"It never ceases to amaze how many people will proactively debate away
attempts to make the web more usable..."