English 中文(简体)
体 力
原标题:playframework form inputs with array names

我试图提交一种形式,如:

<textarea name="criticism[]" rows="3" cols="5"></textarea>

文本领域需要一个阵列作为名称,因为网页上可以有无限数目的号码,用户用js加起来。

The values are passed to the controller correctly.

在控制器中,I确实有params.flash(),似乎增加了 see的数值,因为在模板中,如果我确实有${flash},这些数值将刊印在屏幕上。 然而,我可以以任何方式接触他们。

我没有哪怕是 wise?

支票:

最佳回答

热点范围仅可满足当前要求和下一个请求。 在本届会议上作一些发言。

然而,闪电和届会无意储存价值。 他们只有4kb。 a. 储存一些物品,使用 d和(或)海滩

如果你想在下一页重新表述你的价值观,那么将阵列作为<条码>批评的参数转至下一个方法,并在你的模板中加以使用:${criticism[x]}

问题回答

暂无回答




相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签