|
|
| Author |
Message |
< Yaws mailing list ~ queryvar & postvar don't return multiple results |
| yc |
Posted: Tue Oct 23, 2007 8:20 am |
|
|
|
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. |
|
|
| Back to top |
|
| Guest |
Posted: Tue Oct 23, 2007 10:51 am |
|
|
|
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 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 |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
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
|
|
|