Hello!
I have the followig problem:
i have this
jsp page:
<body>
Sie Sind jetzt auf der CustomerTicketPage.jsp
<table>
<tr>
<s
roperty value="problem.problemNumber"/>
<s
ropertyvalue="problem.problemTitle" />
<s
roperty value="problem.problemDescription"/>
<s
roperty value="problem.problemStatus"/>
<s
roperty value="problem.problemPriority"/>
<tr>
<s:iterator value="commentField">
<tr>
<td>
<s
roperty value="CommentNumber"/>
<s
roperty value="CommentCreationDate"/>
<s
roperty value="CommentText"/>
</td>
</tr>
</s:iterator>
</table>
<s:form action="Problem_load" method="POST">
<s:submit value="Zur�ck zur �bersicht" cssClass="InputButton"/>
</s:form>
<s:form action="Add_Comment" method="POST">
<s:textarea label="Kommentar" name="CommentText"/>
<s:submit value="Kommentar hinzuf�gen" cssClass="InputButton"/>
</s:form>
</body>
</html>
in my Add_Comment Action class, i would like to use the commentText, which works perfectly if i add commentText variable to the class, and getter/setter.
But, i also need the problemNumber, but its always null if i make a variable and getters/setters. Do i need to put the problemNumber somehow into the
<s:form action="Add_Comment" method="POST">
<s:textarea label="Kommentar" name="CommentText"/>
<s:submit value="Kommentar hinzuf�gen" cssClass="InputButton"/>
</s:form>
part?
Thanks for your help!