here is it .. <%@ page language="java" contentType="text/html;charset=UTF-8"%> <%@ taglib prefix="s" uri="/struts-tags" %> <%@ taglib uri="http://displaytag.sf.net" prefix="display" %> <%@ taglib uri="http://ajaxtags.org/tags/ajax" prefix="ajax" %>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/prototype.js"></script> <script type="text/javascript" src="<%=request.getContextPath()%>/js/ scriptaculous.js"></script> <script type="text/javascript" src="<%=request.getContextPath()%>/js/overlibmws.js"></script> <script type="text/javascript" src="<%=request.getContextPath()%>/js/ overlibmws_crossframe.js"></script> <script type="text/javascript" src="<%=request.getContextPath()%>/js/ overlibmws_iframe.js"></script> <script type="text/javascript" src="<%=request.getContextPath()%>/js/ overlibmws_hide.js"></script> <script type="text/javascript" src="<%=request.getContextPath()%>/js/ overlibmws_shadow.js"></script> <script type="text/javascript" src="<%=request.getContextPath()%>/js/ ajaxtags.js"></script> <s:head theme="ajax" debug="false"/> <s:div id="carpage"> <div class="table"> <s:form id="carform" method="POST"> <s:set name="carlist" value="carList" scope="request"/> <ajax:displayTag id="displayTagFrame" ajaxFlag="displayAjax" baseUrl="/Dashboard/ViewAllCars.action"> <display:table name="carlist" class="table" pagesize="10" export="false" excludedParams="ajax" requestURI="/Dashboard/ViewAllCars.action"> <display:column> <s:checkbox name="selectedItems" theme="simple" fieldValue="%{#attr.carlist.id}" ></s:checkbox></display:column> <display:column property ="name" title="Name" escapeXml="true" ></display:column> <display:column property ="model" title="Model" escapeXml="true" defaultorder="descending"></display:column> <display:column property ="type" title="Type" escapeXml="true"></display:column> <display:column property ="user" title="User" escapeXml="true"></display:column> <display:column property ="Server.name" title="Server" escapeXml="true"></display:column> <display:column title="Groups" escapeXml="true"><s:property value="%{#attr.carlist.groups.{name}}" /></display:column> </display:table> </ajax:displayTag> </s:form> <br><br> <s:url id="deletecar" value="/Dashboard/deleteCar.action" /> <s:a indicator="indicator" href="%{deletecar}" showLoadingText="false" id="deleteCar" cssClass="anchors" theme="ajax" targets="filers" formId="filerform" >Delete</s:a> </div> </s:div> <br><br><br> mgainty wrote: > > > please display full contents of your jsp > > Martin > ______________________________________________ > Disclaimer and confidentiality note > Everything in this e-mail and any attachments relates to the official > business of Sender. This transmission is of a confidential nature and > Sender does not endorse distribution to any party other than intended > recipient. Sender does not necessarily endorse content contained within > this transmission. > > >> Date: Mon, 15 Sep 2008 15:24:30 -0700 >> From: [EMAIL PROTECTED] >> To: user@struts.apache.org >> Subject: Re: Struts 2 + AjaxTags + DisplayTag >> >> >> I tried using ajaxtags with display tag in my app and havent been >> successful. >> My App has a Tabbed Panel and in one of the tabs I have a table that I am >> trying to use >> AjaxTags with. >> >> in the html I see the code generated below. However when i click on the >> Next >> button nothing happens. >> THere is no errors or anything. I do have the requestURI set to the >> action. >> >> javascript://nop/ Next >> >> any help is greatly appreciated? >> >> >> >> >> Márcio Gurgel wrote: >> > >> > Hi Randy, >> > >> > I also tried to set requestURI. >> > I'm having lots of problems with components inside tabbedPanels... >> > >> > For example: >> > This example works outside a tabbed panel: >> > >> > 2. Attach to "onmouseover", and "onclick" event on Area below and >> update >> > content of Div1, highlight targets with green color >> > <sx:bind id="ex2" href="%{#urlAbrirDadosGerais}" sources="div2" >> > targets="div1" events="onmouseover,onclick" highlightColor="green"/> >> > <div id="div2" style="width: 300px; height: 50px; border: 1px solid >> > black"> >> > Mouse Over or Click Here! >> > </div> >> > >> > When its inside a div from tabbedpanel just doesn't work. >> > >> > Does anyone can help me? >> > >> > >> > 2008/4/15, Randy Burgess <[EMAIL PROTECTED]>: >> >> >> >> Well your requestURI is not set so the URL is set to the current JSP >> and >> >> not >> >> the action. I have never had any success leaving requestURI blank with >> >> DisplayTag on S1 or S2. I always set it to the name of an action. >> >> >> >> Regards, >> >> Randy Burgess >> >> Sr. Web Applications Developer >> >> Nuvox Communications >> >> >> >> >> >> >> >> > From: Márcio Gurgel <[EMAIL PROTECTED]> >> >> > Reply-To: Struts Users Mailing List <user@struts.apache.org> >> >> > Date: Tue, 15 Apr 2008 01:18:34 -0300 >> >> > To: Struts Users Mailing List <user@struts.apache.org> >> >> > Subject: Re: Struts 2 + AjaxTags + DisplayTag >> >> >> >> > >> >> > Matt, tanks for your help. But I need to persist with displayTags /: >> >> > >> >> > I guess that there's some kind of validation inside struts 2 that >> >> doesnt >> >> > allow the correct work of ajaxtags.. >> >> > Just take a look at my generated url from displaytag pagination. >> >> > >> >> > http://localhost:8080/SGVDBA/view/usuario/UsuPesquisaResultados.jsp? >> >> > >> >> >> currentUsu.eMail=¤tUsu.chv=¤tUsu.dtGvr=&struts.enableJSONValidatio >> >> > n=true >> >> > &buttonPesquisar=Pesquisar&dojo.currentUsu.dtGvr=&d-49489-p=2 >> >> > >> >> > >> >> > Tanks all! >> >> > >> >> > 2008/4/14, matt.payne <[EMAIL PROTECTED]>: >> >> >> >> >> >> >> >> >> You could try struts2 + jquery + jgrid >> >> >> (http://trirand.com/jqgrid/jqgrid.html) >> >> >> If you need ajax, you need something that returns an json or xml >> >> response >> >> >> (insert you velocity, freemarker, json result, jsp result here). >> >> >> >> >> >> Matt >> >> >> >> >> >> >> >> >> >> >> >> Márcio Gurgel wrote: >> >> >>> >> >> >>> Hi all! >> >> >>> >> >> >>> Since this morning I'm having troubles to configure ajaxTags in my >> >> >>> project. >> >> >>> I followed the steps from ajaxTags web site, I also saw the >> ajaxTags >> >> >> show >> >> >>> case wich contains a example of display:table. >> >> >>> But doen't work... >> >> >>> >> >> >>> Is there some kind os special configuration for struts 2? >> >> >>> My displayTable is inside a <sx:tabbedPanel><sx:div> >> >> >>> >> >> >>> I also tried to use: useSelectedTabCookie="useSelectedTabCookie" >> to >> >> >> select >> >> >>> the correct tab when my displayTable pagination submits the page. >> >> >>> In this case, the content of the first tab doesn't appear. >> >> >>> >> >> >>> Regards. >> >> >>> >> >> >>> Márcio Gurgel >> >> >>> >> >> >>> >> >> >> >> >> >> >> >> >> -- >> >> >> View this message in context: >> >> >> >> >> >> http://www.nabble.com/Struts-2-%2B-AjaxTags-%2B-DisplayTag-tp16670438p1668945 >> >> >> 8.html >> >> >> Sent from the Struts - User mailing list archive at Nabble.com. >> >> >> >> >> >> >> >> >> >> --------------------------------------------------------------------- >> >> >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> >> >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> This email and any attachments ("Message") may contain legally >> privileged >> >> and/or confidential information. If you are not the addressee, or if >> >> this >> >> Message has been addressed to you in error, you are not authorized to >> >> read, >> >> copy, or distribute it, and we ask that you please delete it >> (including >> >> all >> >> copies) and notify the sender by return email. Delivery of this >> Message >> >> to >> >> any person other than the intended recipient(s) shall not be deemed a >> >> waiver >> >> of confidentiality and/or a privilege. >> >> >> >> >> >> This email and any attachments ("Message") may contain legally >> privileged >> >> and/or confidential information. If you are not the addressee, or if >> >> this >> >> Message has been addressed to you in error, you are not authorized to >> >> read, >> >> copy, or distribute it, and we ask that you please delete it >> (including >> >> all >> >> copies) and notify the sender by return email. Delivery of this >> Message >> >> to >> >> any person other than the intended recipient(s) shall not be deemed a >> >> waiver >> >> of confidentiality and/or a privilege. >> >> >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/Struts-2-%2B-AjaxTags-%2B-DisplayTag-tp16670438p19502279.html >> Sent from the Struts - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> > > _________________________________________________________________ > See how Windows connects the people, information, and fun that are part of > your life. > http://clk.atdmt.com/MRT/go/msnnkwxp1020093175mrt/direct/01/ > -- View this message in context: http://www.nabble.com/Struts-2-%2B-AjaxTags-%2B-DisplayTag-tp16670438p19514444.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]