Hello,
I am currently developing a Portlet for Liferay using Struts 2, it is working
good and I am often surprised with all the possibilities from Struts2.
Unfortunately I have a blocker !
I would like to design a form with a survey thanks to dropDown List and would
like to get all the content from a database.
In the database, there are a table question (questionId, questionName) and a
table answer (answerId, answerName, questionId) and I would like to generate
all the dropdown from these table...
While (questions)
{
<s:select name="question.getName()">
While {answers from this question)
{
<option value="answer.getName()>
}
</s:select>
}
I tried many solutions, but I didn't achieved it!
Thank you for your help,
Mat
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]