S.param(key) with arrays of values

30 views
Skip to first unread message

alexmnyc

unread,
May 20, 2013, 7:16:18 PM5/20/13
to lif...@googlegroups.com
Quick question guys, I have a simple request with a body like this:
 
  1. ids:
    5196ab0309a683dcf6b4d158
  2. ids:
    5196aae009a683dcf6b4d157
 
When i trace out S.param("ids") I only get a single value and not an array. What's the recommended approach to get an entire List of values?
 
Thank you
 
Alex
 

Diego Medina

unread,
May 20, 2013, 7:24:53 PM5/20/13
to Lift
S.params("ids")   (note the s added to param)

Thanks


 

--
--
Lift, the simply functional web framework: http://liftweb.net
Code: http://github.com/lift
Discussion: http://groups.google.com/group/liftweb
Stuck? Help us help you: https://www.assembla.com/wiki/show/liftweb/Posting_example_code
 
---
You received this message because you are subscribed to the Google Groups "Lift" group.
To unsubscribe from this group and stop receiving emails from it, send an email to liftweb+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Diego Medina
Lift/Scala Developer
di...@fmpwizard.com
http://fmpwizard.telegr.am

a.mik...@gmail.com

unread,
May 20, 2013, 8:55:54 PM5/20/13
to lif...@googlegroups.com
thank you, Diego!
Reply all
Reply to author
Forward
0 new messages