Simulating XML-formatted requests with a check box

By : Softies on Rails  |    On : 2007 November 29  


Tag : Database,SQL

  |   View Original

I was working on the search form shown above in the usual RESTful manner. This form posts to a create action of my SearchesController, and the code basically looks like this: def create @search_results = find_matching_rows # code to search the db respond_to do |format| format.html # default behavior, show results in html page format.xml { render :xml => @search_results.to_xml } end end My routes file looks like this: map.res...

Total:

Click here to continue on details

Content Ownership

The content of this posting is wholly owned by Softies on Rails, and as such: the same retains sole copyright for the content. softlogger.com is not responsible for this content.


Recommended Related Readings :

Creating Validator Controls for the CheckBox and CheckBoxList

IntroductionASP.NET provides a variety of validation Web controls that can be used to validate...


CheckedListBox (1) - Checking, Unchecking, Comparing

   This blog item was originally going to be about ten lines long and all I intended to show w...


Integrating Excel (Services) and PowerPoint with the Microsoft SDK for Open XML Formats

Today's author: Danny Khen, a program manager who works on both the Excel and Excel Services t...


Using a Validator to Validate a Check Box

Well, I must have spent about an hour today trying to figure out something that I assumed woul...


An ASP.NET 2.0 Validator Web Control for CheckBoxes and CheckBoxLists

ASP.NET provides a variety of validation Web controls that can be used to validate a user's fo...


DOC, XLS and PPT Binary File Format Specifications Released (plus WMF, Windows Compound File [aka OLE 2.0 Structured Storage] and Ink Serialized Format Specifications and Translator to XML news)

Brian Jones: Open XML Formats - Binary Documentation (.doc, .xls, .ppt) and Translator Projec...




Quote: Good judgment comes from experience, and often experience comes from bad judgment - Rita Mae Brown