You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by BOULAY Arnaud <ar...@renault.com> on 2003/06/30 09:45:39 UTC
Simplest way to show the matrix
Hi !
I would like to know what is the best practise to show a 2d array of simple type like double or int in a .jsp using logic:iterate.
regards,
Arnaud
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
Re: Simplest way to show the matrix
Posted by Erik Price <ep...@ptc.com>.
Take the red pill.
Erik
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
RE: Simplest way to show the matrix
Posted by Filip Polsakiewicz <Fi...@innoface.de>.
hi,
try:
<logic:iterate name="..." property="ydirection" id="y">
<logic:iterate name="..." property="xdirection" id="x">
<bean:define id="output" value="<%=myarray[x,y] %>"/>
<bean:write name="output"/>
</logic:iterate>
</logic:iterate>
HTH Filip
> -----Original Message-----
> From: BOULAY Arnaud [mailto:arnaud.boulay-renexter@renault.com]
> Sent: Monday, June 30, 2003 9:46 AM
> To: struts-user@jakarta.apache.org
> Subject: Simplest way to show the matrix
>
>
> Hi !
> I would like to know what is the best practise to show a 2d array
> of simple type like double or int in a .jsp using logic:iterate.
> regards,
> Arnaud
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org