Return-Path: X-Original-To: apmail-struts-user-archive@www.apache.org Delivered-To: apmail-struts-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 86591DAC6 for ; Mon, 24 Sep 2012 14:39:41 +0000 (UTC) Received: (qmail 97024 invoked by uid 500); 24 Sep 2012 14:39:39 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 96984 invoked by uid 500); 24 Sep 2012 14:39:39 -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 96973 invoked by uid 99); 24 Sep 2012 14:39:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Sep 2012 14:39:39 +0000 X-ASF-Spam-Status: No, hits=4.7 required=5.0 tests=FREEMAIL_FORGED_REPLYTO,FSL_FREEMAIL_1,FSL_FREEMAIL_2,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [98.139.91.100] (HELO nm30.bullet.mail.sp2.yahoo.com) (98.139.91.100) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 24 Sep 2012 14:39:30 +0000 Received: from [72.30.22.77] by nm30.bullet.mail.sp2.yahoo.com with NNFMP; 24 Sep 2012 14:39:08 -0000 Received: from [98.139.91.8] by tm11.bullet.mail.sp2.yahoo.com with NNFMP; 24 Sep 2012 14:39:08 -0000 Received: from [127.0.0.1] by omp1008.mail.sp2.yahoo.com with NNFMP; 24 Sep 2012 14:39:08 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 60728.29210.bm@omp1008.mail.sp2.yahoo.com Received: (qmail 41422 invoked by uid 60001); 24 Sep 2012 14:39:07 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1348497547; bh=j2dz6EjF5zhTcxUiufM3EDjq+vAlDsHNklLjj92EdtQ=; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=yfetBC26ZjwyvuwHQBDBrLEq5/dOLhW71Poj8Ygz0RRV8bCQddpnmbR4ULeJ0s7wDaSKlZnobvZfh+ZDkZgehCurhoYtKRA3L/FvR6f6pPdtfGxlJMaCdEPZSn2vOD/l0CgkWznwX5p/0j0BkmRymfa3y0w8TJzOwsir+chTmMI= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=XZQ35xip+02gHkqFQaDwO2QIIbuXNZ9sIjcFyELLiU0UIa4Hbzsc9plxDcz1ie8EjOVkhAewJxFUB0p4M8yetLa2dbt3p9+eXP4A6r5LAuJyMNC0BewXCF2vTvozA069Udlz1G7aXVAOHovhwv4fwG+Rb81R50ow4v8zTb7xflM=; X-YMail-OSG: RlUyExMVM1lvKRdzn6v16WXZsB9Ap5Z6xjvsNeZ8F87hzlN z6eaUp3rhosDlA59LEZNt08ks_N5LUBzb1hm1FJTZJtWkyGgIXhdNhIli5Wl 72hIaTEFyXLDmaAuyTm4dcnDGydZGY6adRswyuEiixzur1NrQGHfTkV_L.oA BQQQQ_6uwKHVdS5WjPo75YHso3FvB6dLCkTpqgQWSAXJ0JqSxuGx5ppoyAdq RLQCyiDgpDDCr62M5rC9EeQp5_Zxf3DT.Y2NZNMYedtzIk1WxZdRQwRqfEZx feD0hDR0XeQIz1bemfBha2cr6s5QIqoZcaRp4yVDFlwTY1N1w45SzqmRc_VV S2wHdHdzHjR1vUDIGuX44J1uzP0TTE9tfwfZRKq54Pk4kAV766sAvPMKFGJO JmfbwqkvtH9t6qP4VljGt9fTmjLrymdb04wx5tXTmxkOSFOtdnpC41eksDPL I56GGJzWsmUnXdjUrdPdHsOkmF7gOW2kTJzh2eQ2_PLEYvabyjpYcuXMihOs 8FxLAGnISutS.Ml1Qjot6MhmeiY_TwYLF.m8G9oTVpNVnaVRmUlUBA1UG4F6 PlfykjuS6 Received: from [63.88.33.254] by web112405.mail.gq1.yahoo.com via HTTP; Mon, 24 Sep 2012 07:39:07 PDT X-Mailer: YahooMailWebService/0.8.121.434 References: <1348445031.65084.YahooMailNeo@web112407.mail.gq1.yahoo.com> Message-ID: <1348497547.24721.YahooMailNeo@web112405.mail.gq1.yahoo.com> Date: Mon, 24 Sep 2012 07:39:07 -0700 (PDT) From: Omar Ngarigari Reply-To: Omar Ngarigari Subject: Re: s:checkbox inside s:iterator in struts2.3.1.2 To: Struts Users Mailing List MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="669362022-1776045532-1348497547=:24721" --669362022-1776045532-1348497547=:24721 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello,=0A=0AI changed my JSP page as per the documentation=C2=A0recommendat= ion:=0A=0A=0A=0A=0A=0A=C2=A0=0A=0A= =0A=0A________________________________=0A From: Lukasz Lenart =0ATo: Struts Users Mailing List ; Omar= Ngarigari =0ASent: Monday, September 24, 2012 12:5= 0 AM=0ASubject: Re: s:checkbox inside s:iterator in struts2.3.1.2=0A =0A201= 2/9/24 Omar Ngarigari :=0A> Hello,=0A>=0A> Please he= lp, I am having problem that I cannot figure out how to solve it. The probl= em is as follow:=0A>=0A> 1. JSP page:=0A> =0A> =0A> =0A> =0A> =0A>=0A> 2. Action Class=0A> public class ExampleA= ction extends ActionSupport {=0A> private List myList =3D new ArrayLi= st();=0A> private List stringList =3D new ArrayList()= ;=0A> private int age;=0A> getter/setters()=0A>=0A> public String execute()= {=0A> generatePDFFile(age);=0A> return Action.SUCCESS;=0A> }=0A>=0A }=0A>= =0A> My problem is I don't know how to get the age in checkbox at JSP page = back in the action class to generate PDF file. The PDF file is generated ba= sed on the age from the JSP. Is there any one can help me to achieve that.= =0A=0APlease check the documentation [1] as I've mixed attributes, attribut= e=0Aname is the name of property to set, attribute fieldValue will be=0Aeva= luated to HTML attribute value (true/false) - check the examples in=0Athe d= oc.=0A=0A[1] http://struts.apache.org/2.x/docs/checkbox.html=0A=0A=0ARegard= s=0A-- =0A=C5=81ukasz=0A+ 48 606 323 122 http://www.lenart.org.pl/=0A=0A---= ------------------------------------------------------------------=0ATo uns= ubscribe, e-mail: user-unsubscribe@struts.apache.org=0AFor additional comma= nds, e-mail: user-help@struts.apache.org --669362022-1776045532-1348497547=:24721--