update "#appStatus.index" instead of "#appStatus.incex"
On 5/24/07, Vijay Prajapati <[EMAIL PROTECTED]> wrote:
Dave,
I am here giving my code on JSP. So please try to correct it.
I have 7 elements in collection and i have to show 5 elements in one row
and rest of the elements in second row. If there are n elements in
collection then there would be many rows and in each rows 5 elements will be
display.
<table width="100%" border="0" align="center" cellpadding="0" cellspacing=
"1" >
<s:iterator id="appId" status="appStatus" value= "applications">
<tr>
<s:subset source="applications" count="5" start= "#appStatus.index"
>
<s:iterator>
<td width="20%" height="80" align="center" valign="middle">
< s:url id="applicationmonitor" action ="
ViewApplicationAction.action">
< s:param name="applicationName" value= "%{application}"/>
<s:param name ="systemName" value="%{system}" />
</s:url> < p> <s:a href= "%{applicationmonitor}" cssClass=
"homelink" ><img src="images/newwind_img.gif" width="51" height="51"
border="0"><br>
<s:if test="!systemName.equals('All')" ><s:property value="application"
/></s:if>
< s:else><s:property value ="system"/>-<s:property value=
"application"/></ s:else>
</s:a>
</p>
</td>
</s:iterator>
</s:subset >
</tr>
< tr>
<td colspan="8" align="center" valign="middle" class="error" > <
s:actionmessage/></ td>
</tr>
</ s:iterator>
</table >
On 5/24/07, Dave Newton <[EMAIL PROTECTED]> wrote:
>
> --- Vijay Prajapati <[EMAIL PROTECTED]> wrote:
> > If you have any solution then help me out.
>
> Seriously, I think I helped you already.
>
> Maybe if you explain where you're having issues coming
> up with the solution we can work our way through it.
>
> d.
>
>
>
>
>
____________________________________________________________________________________
>
> 8:00? 8:25? 8:40? Find a flick in no time
> with the Yahoo! Search movie showtime shortcut.
> http://tools.search.yahoo.com/shortcuts/#news
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>