Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 45940 invoked from network); 20 Sep 2010 05:50:58 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 20 Sep 2010 05:50:58 -0000 Received: (qmail 17289 invoked by uid 500); 20 Sep 2010 05:50:56 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 16874 invoked by uid 500); 20 Sep 2010 05:50:52 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 16866 invoked by uid 99); 20 Sep 2010 05:50:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Sep 2010 05:50:51 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,SPF_HELO_PASS,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Sep 2010 05:50:46 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1OxZGj-0004Bd-OE for user@struts.apache.org; Sun, 19 Sep 2010 22:50:25 -0700 Message-ID: <29756382.post@talk.nabble.com> Date: Sun, 19 Sep 2010 22:50:25 -0700 (PDT) From: SudhirJava To: user@struts.apache.org Subject: RE: Javascript proble in sx:civ in struts2 In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Nabble-From: sudhirid@gmail.com References: <29735361.post@talk.nabble.com> <4C932CED.6070809@flordeutopia.pt> Thanks for the advice. But my problem is, after clicking on the tabbed pannel I am loading one jsp(certification.jsp). I want, if I write javascript inside certification.jsp that should work. mgainty wrote: >=20 >=20 > Good Advice > =20 > struts anchor tag: > href The URL to call to obtain the content. Note: If used with ajax > context, the value must be set as an url tag value. > =20 > --the javascript anchor alternative references struts-dojo-tags uri and > allows a javascript handler as illustrated here: > <%@ taglib prefix=3D"sx" uri=3D"/struts-dojo-tags" %> > ...... > handler=3D"JavaScriptFunction" > /> >=20 > Martin=20 > ______________________________________________=20 > Verzicht und Vertraulichkeitanmerkung/Note de d=C3=A9ni et de confidentia= lit=C3=A9 >=20 > Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene > Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugt= e > Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht > dient lediglich dem Austausch von Informationen und entfaltet keine > rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von > E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. > Ce message est confidentiel et peut =C3=AAtre privil=C3=A9gi=C3=A9. Si vo= us n'=C3=AAtes pas le > destinataire pr=C3=A9vu, nous te demandons avec bont=C3=A9 que pour satis= faire > informez l'exp=C3=A9diteur. N'importe quelle diffusion non autoris=C3=A9e= ou la > copie de ceci est interdite. Ce message sert =C3=A0 l'information seuleme= nt et > n'aura pas n'importe quel effet l=C3=A9galement obligatoire. =C3=89tant d= onn=C3=A9 que > les email peuvent facilement =C3=AAtre sujets =C3=A0 la manipulation, nou= s ne > pouvons accepter aucune responsabilit=C3=A9 pour le contenu fourni. >=20 >=20 >=20 > =20 >=20 >> Date: Fri, 17 Sep 2010 09:55:09 +0100 >> From: alopez@flordeutopia.pt >> To: user@struts.apache.org >> Subject: Re: Javascript proble in sx:civ in struts2 >>=20 >> I don't have a definite answer, but just keep in mind that: >>=20 >> - The Dojo plugin is deprecated, you might want to consider other ways= =20 >> of achieving the same thing. >>=20 >> - For the ajax tags to work you have to include the head tag ( >> ). >>=20 >> Please read: >>=20 >> http://struts.apache.org/2.x/docs/ajax-tags.html >> http://struts.apache.org/2.x/docs/dojo-head.html >> http://struts.apache.org/2.x/docs/ajax.html >>=20 >> SudhirJava, 17-09-2010 06:44: >> > >> > Hi, >> > Please help me in the following issue. >> > >> > I have gone throgh some threads which have explained the same problem. >> > But not able to solve this. >> > >> > So I need your help on this. >> > Please provide me if you know the solution is explained clearly. >> > >> > I apoloigize if this a duplicate thread. >> > >> > >> > The issue in Javascript is not working in the included page in sx:div. >> > Below is the code >> > In certification.jsp if I click on Edit link it is not calling the >> > javascript function editCertification() >> > I am using struts2-dojo-plugin-2.1.8.1.jar >> > struts2-core-2.1.8.1.jar >> > >> > >> > welcome.jsp >> > ------------------ >> > > > preload=3D"false" executeScripts=3D"true" separateScripts=3D"false"> >> >> > >> > struts.xml >> > -------------- >> > > > class=3D"com.lnt.pms.action.AddDeleteCertificationAction"> > > name=3D"success">/pages/certification.jsp >> > >> > certification.jsp >> > --------------------- >> > >> > >> > > > value=3D"userCertificationId" /> >> > > > href=3D"javascript:editCertification('%{userCertificationId}')" >> > theme=3D"xhtml">Edit >> > >> > >> > >> > Regards >> > Sudhir >> > sudhirid@... >>=20 >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org >> For additional commands, e-mail: user-help@struts.apache.org >>=20 > =09=09 =09 =09=09 =20 >=20 --=20 View this message in context: http://old.nabble.com/Javascript-proble-in-sx= %3Aciv-in-struts2-tp29735361p29756382.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org