Erlang/OTP Forums

Author Message

<  Yaws mailing list  ~  queryvar & postvar don't return multiple results

yc
Posted: Tue Oct 23, 2007 8:20 am Reply with quote
User Joined: 13 Oct 2007 Posts: 47
Hi -

it seems that yaws_api currently only returns the first match for either queryvar or postvar, and as such doesn't directly support multi value such as the select field.
View user's profile Send private message
Guest
Posted: Tue Oct 23, 2007 10:51 am Reply with quote
Guest
YC wrote:
> Hi -
>
> it seems that yaws_api currently only returns the first match for either
> queryvar or postvar, and as such doesn't directly support multi value
> such as the select field. Just wondering if there are reasons for it?
>
> If not - below is my attempt to contribute Smile The multi-result version
> returns a tuple so it's easier to check (rather than determining list of
> lists), but if it's the only value then it still just returns a string.
>


patch applied - thanks

/klacke

--
Claes Wikstrom -- Caps lock is nowhere and
http://www.tail-f.com -- everything is under control
cellphone: +46 70 2097763

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum