This is a binding problem, play is not binding the long parameter it receives Going from play's documentation: playframework.org/documentation/1.2.3/co... You would need to change the name on your select to items. Id It's possible that it will not work, as play expects the list to have the index as itemsi. Id Anyway, if this doesn't solve your problem, you can make a custom bind, but that option is good mostly when you're going need this bind in a lot of places, if you're doing it only once, there's no reason to not do the query as you said in the end of the post.(Play will make this query to do this binding, so you don't lose or win any performance by doing it yourself) Update Something along the lines: Before(only={"save"}) static void parseParams() { String itens = params.
GetAll("items") for (int i=0;iId",itensi) } } Should work Another way is javascript, but it's harder and more bug prone.
This is a binding problem, play is not binding the long parameter it receives. Going from play's documentation: playframework.org/documentation/1.2.3/co... You would need to change the name on your select to items. Id It's possible that it will not work, as play expects the list to have the index as itemsi.id... Anyway, if this doesn't solve your problem, you can make a custom bind, but that option is good mostly when you're going need this bind in a lot of places, if you're doing it only once, there's no reason to not do the query as you said in the end of the post.(Play will make this query to do this binding, so you don't lose or win any performance by doing it yourself) Update Something along the lines: @Before(only={"save"}) static void parseParams() { String itens = params.
GetAll("items") for (int i=0;iId",itensi) } } Should work. Another way is javascript, but it's harder and more bug prone.
Thanks for you response. Pls have a look at my update. – reen Sep 15 at 9:44 Thanks now it works, I added the working Version to Update 2.
– reen Sep 16 at 13:50.
Submit a list of Objects in Play Framework.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.