Hi, there is also problem with: <s:iterator value="attrMatrixValue"> and <s:if test="attrMatrixValue ==null"></s:if>
it should be something like <s:iterator value="attrMatrixValue" var="iterator"> <s:if test="iterator ==null"></s:if> Read more about it here: http://struts.apache.org/2.x/docs/tag-reference.html Best greetings, Paweł Wielgus. 2008/10/7 Sébastien Domergue <[EMAIL PROTECTED]>: > Hi, > > in your test condition, struts doesn't understand that attrMatrixValue is a > property, you should write something like : > <s:if test="%{attrMatrixValue != null}"> > Using '%{' means that the expression have to be evaluated. > > Regards > > Sébastien > > Hardik Shah a écrit : >> >> hi >> >> i have vector of vector and i can easily iterate using <s:iterate> in >> between <s:iterate> >> >> but the problem is that some of the element in vector of vector is null >> >> like >> ------------------------------------ >> <s:iterator value="attributelist" id="attriblist"> >> <tr> >> <td><s:property value="attrName"/></td> >> <td><s:property value="attrValue"/></td> >> <td><s:property value="attrType"/></td> >> <td><s:property value="attrForIndiName"/></td> >> <td><s:property value="userTypeName"/></td> >> <td><s:property value="userInput"/></td> >> <td><s:property value="remark"/></td> >> <td> >> <%int srno=1; %> >> >> >> <s:iterator value="attrMatrixValue"> >> <%=srno++ %> >> <s:if test="attrMatrixValue ==null"></s:if> >> <s:else> >> <s:property /> >> <br> >> </s:else> >> </s:iterator> >> <%srno=1; %> >> >> ----------------- >> how i can put condition for that i am not good in ognl >> >> please help me >> >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >