struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arunkumar Balasubramanian <arun...@hotmail.com>
Subject RE: Display tag and AJAX
Date Fri, 06 Jun 2008 04:52:36 GMT
 
Thanks for your reply.
 
Can you give the reference of javascript functions used for the display:table used with in
AjaxAnywhere tag? If you have an working example, it would be great, if you could provide
the reference with other classes involved with display:table.
 
 



> From: lrampersaud@ceis.cujae.edu.cu> To: user@struts.apache.org> Subject: Re: Display
tag and AJAX> Date: Thu, 5 Jun 2008 19:48:14 -0700> > yes, you can update a display
table alone with an ajax call. > > this is one done with ajaxanywhere:> > <aa:zone
name="bossTechnicalCompetitions">> <display:table name="workers"> decorator="displaytagClasses.DisplayRadio">
class="displaytag">> > <display:column property="projWorker" title=""> style="width:
10px" />> <display:column property="lastName"> title="Primer Apellido" />>
<display:column property="surName"> title="Segundo Apellido" />> <display:column
property="workerName"> title="Nombre(s)" />> <display:column property="lester"
title="Detalles" />> > <display:footer>> <tr class="row_color">>
<td style="width: 10px">> &nbsp;> </td>> <td>> &nbsp;>
</td>> <td>> &nbsp;> </td>> <td>> &nbsp;>
</td>> <td>> &nbsp;> </td>> </tr>> <tr>>
<td colspan="4" class="headerTable" align="center">> > <DIV align="center"
/>> <c:out> value="${sessionScope.projWorkerPaginator.pageIndexText}" />>
</DIV>> </td>> </tr>> </display:footer>> </display:table>>
</aa:zone>> > > > Saludos> Lalchandra Rampersaud> ------------>
Carpe diem> > > ----- Original Message ----- > From: "Arunkumar Balasubramanian"
<arun-82@hotmail.com>> To: "Struts Users Mailing List" <user@struts.apache.org>>
Sent: Wednesday, June 04, 2008 6:41 PM> Subject: Display tag and AJAX> > > >
Can we update the display:table with an ajax call? Here is what I was expecting to do.>
> - There are different radio buttons (each will have different status of results) - Depending
on the selection, the display:table has to update the rows. - There display:table headers
dosen't change and the values inside the display:rable changes based on the selections.>
> I was trying to do the following.> > - Make an AJAX call when the user clicks on
radio buttons, so that only the display:table gets refreshed and not the entire page. - Based
on the selections, the display:table will update the results.> > If someone was able
to provide the reference for how to perform the above task it would be great.> > Thanks
in advance.> _________________________________________________________________> It’s
easy to add contacts from Facebook and other social sites through Windows Live™ Messenger.
Learn how.> https://www.invite2messenger.net/im/?source=TXT_EML_WLH_LearnHow
_________________________________________________________________
Instantly invite friends from Facebook and other social networks to join you on Windows Live™
Messenger.
https://www.invite2messenger.net/im/?source=TXT_EML_WLH_InviteFriends
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message