왜 jsp에서 입력 값을 가져올 수 없는지 알 수 없습니다. 내가 "선택"에 대한 몇 가지 입력 fiels을 만들기 위해 사이클을 사용하고 있지만, mvcportlet에서 값을 가져 오려고 할 때, 아무 것도 얻지 못합니다.liferay 포틀릿에서 입력 필드 값을 가져올 수 없음
<aui:form action="<%=addPollURL%>">
<aui:fieldset>
<%
int optionCount = Integer.parseInt(optionCountS);
for (int i = 0; i < optionCount; i++) {
%>
<aui:input label="<%=Integer.toString(i + 1)%>" name="choice<%=i%>"
type="text" />
<%
}
%>
<aui:button-row>
<aui:button value="Add poll" type="submit" />
</aui:button-row>
</aui:fieldset>
</aui:form>
여기 mvcportlet 방법을 간다
List<String> choices = new ArrayList<String>();
int count = Integer.parseInt(actualChoiceCount);
for (int i = 0; i < count; i++) {
System.err
.println("another choice"
+ ParamUtil
.getString(
actionRequest,
("choice" + i)));
choices.add(new String(ParamUtil.getString(actionRequest,
("choice" + i))));
}