using the iterate tag, your columns wiuld just be an attribute on your
iteree (element, whatever)...

I cant really see your problem...

Mikkel

-----Oprindelig meddelelse-----
Fra: du Clos, John [mailto:[EMAIL PROTECTED]]
Sendt: 31 May 2001 16:14
Til: '[EMAIL PROTECTED]'
Emne: RE: Grid Support in Struts


Jeff,

yes i did look at the example from yesterday, but it did not seem to be
multi-dimensional.  Seems to iterate over a set object based on static
attributes on the object in a single dimension array; this is does not
fulfill our requirement of a grid.  I need to dynamically add rows and
columns.

That is why i posted the grid question, i did not think the grid requirement
posted on the list was a true multi-dimensional grid requirement... maybe i
miss read it.

Thanks,
JD
 

-----Original Message-----
From: Jeff Trent [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 31, 2001 10:01 AM
To: [EMAIL PROTECTED]
Subject: Re: Grid Support in Struts


I guess you didn't look very hard.  There are examples as early as yesterday
in the archives.

----- Original Message -----
From: "du Clos, John" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 31, 2001 9:19 AM
Subject: Grid Support in Struts


>
> We currently have a business requirement to provide a "grid" type of
> interface as part of many web pages in our design.  I searched the list
for
> Grid examples or support and did not find anything.  Has anyone
implemented
> a psudo grid function using Struts... that would support the following:
>
> col1          col2         col3
> _______   _______   _______
> row 1 |______ |  |_______|  |______|
> _______   _______   _______
> row 2 |______ |  |_______|  |______|
> _______   _______   _______
> row 3 |______ |  |_______|  |______|
> _______   _______   _______
> row 4 |______ |  |_______|  |______|
>
> .....
> .....
>
> Essentially, i believe we are looking for a solution that supports a
> 2-dimensional array so we can reference it as ObjName(row,col).  I read
the
> iterate tag documentation, but did not seem to be well suited for
> multi-dimension.  Any suggestions would be greatly appreciated.
>
> The additional business requirement is that we allow user to dynamically
add
> rows and columns... i found something on the list to support dynamically
> adding rows w/iterate and some coding on the jsp, but nothing on dynamic
> columns....
>
> Thanks,
> JD
>
>
>

Reply via email to