After a similar question I asked a few days ago... I decided to create a
tag-library and some utility classes  that will make it easy
integrate jqgrid into struts2 applications...  I already have something
working but it is far from finished (see
http://code.google.com/p/antilia-struts/) and I'll be adding more
functionality in the near future. In fact, there is already a small test
application showing  how to use the taglib
http://code.google.com/p/antilia-struts/source/browse/#svn/trunk/struts2-jq-antilia-test

<http://code.google.com/p/antilia-struts/source/browse/#svn/trunk/struts2-jq-antilia-test>I
know there is already a struts2-jquery integration project.. So, once I have
something finished  I wouldn't mind if "my" code is integrated into the
standard plugin (of course if the developers of it are interested in
including my code).

Best,

Ernesto

On Wed, Sep 2, 2009 at 4:42 PM, Wes Wannemacher <w...@wantii.com> wrote:

> I've done it a few different ways. One of  my favorite ways is to use
> jqgrid and JSON... This is a bit complicated though, so not for the
> faint of heart. Constructing a basic table is pretty easy -
>
> <table>
> <tr>
>  <td>header1</td><td>header2</td>
> </tr>
> <s:iterator value="iterableActionProperty" var="record" >
> <tr><td><s:property value="#record.value1"></td><td><s:property
> value="#record.value2"/></td></tr>
> </s:iterator>
> </table>
>
> Of course, you would probably want to properly add theader / tbody
> tags, but I was too lazy to make this a full-featured example.
>
> -Wes
>
> On Wed, Sep 2, 2009 at 10:35 AM, Arthur Neves<arthu...@gmail.com> wrote:
> > Hi,
> >
> > I'd like to know, if is there a way to make tables(grids) easily in
> Struts2?
> > What do you use? Is there a tag?
> >
>
>
>
> --
> Wes Wannemacher
>
> Head Engineer, WanTii, Inc.
> Need Training? Struts, Spring, Maven, Tomcat...
> Ask me for a quote!
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>

Reply via email to