Closed
Bug 306014
Opened 19 years ago
Closed 19 years ago
xforms simple search form example doesn't submit data
Categories
(Core Graveyard :: XForms, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: aharth, Assigned: aaronr)
References
()
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b2) Gecko/20050531 Firefox/1.0+ Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b2) Gecko/20050531 Firefox/1.0+ The tutorial at http://www.w3.org/MarkUp/Forms/2003/xforms-for-html-authors.html#ASimpleSearchForm describes a simple search XForm. The example doesn't have any <instance>..</instance> definition in it. If I add the <instance>...</instance> definition to the xml file, I can actally submit data; before that, submitting data is not possible (nothing happens if I click on "Go"). A little bit down in the tutorial it says: If there is no instance element there (as in the search example above), then one is silently created. I think that's the bug: there is no instance element silently created. Reproducible: Always Steps to Reproduce: 1. Access: <h:html xmlns:h="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/2002/xforms"> <h:head> <h:title>Search</h:title> <model> <submission action="http://xformstest.org/cgi-bin/echo.sh" method="get" id="s"/> </model> </h:head> <h:body> <h:p> <input ref="q"><label>Find</label></input> <submit submission="s"><label>Go</label></submit> </h:p> </h:body> </h:html> 2. Click "Go" 3. Nothing happens Actual Results: nothing Expected Results: submit the value of the input filed as q paramter via HTTP GET to http://xformstest.org/cgi-bin/echo.sh
Updated•19 years ago
|
Assignee: nobody → aaronr
Component: Form Manager → XForms
Product: Firefox → Core
QA Contact: form.manager → spride
Version: unspecified → 1.8 Branch
Comment 1•19 years ago
|
||
(In reply to comment #0) > User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b2) Gecko/20050531 Firefox/1.0+ > Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b2) Gecko/20050531 Firefox/1.0+ This a rather old build. It works in a current nightly. Filing WFM.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
Updated•8 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•