Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 38728 invoked from network); 15 Feb 2005 16:10:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 15 Feb 2005 16:10:59 -0000 Received: (qmail 21985 invoked by uid 500); 15 Feb 2005 16:10:48 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 21957 invoked by uid 500); 15 Feb 2005 16:10:48 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: 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 21944 invoked by uid 99); 15 Feb 2005 16:10:48 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from c243-111.rim.net (HELO MHS02YKF.rim.net) (216.9.243.111) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 15 Feb 2005 08:10:46 -0800 Received: from ngw02ykf.rim.net ([10.102.108.31]) by MHS02YKF.rim.net with Microsoft SMTPSVC(6.0.3790.211); Tue, 15 Feb 2005 11:10:43 -0500 Importance: normal Priority: normal Received: from XCH20YKF.rim.net ([10.102.100.35]) by ngw02ykf.rim.net (SAVSMTP 3.1.6.45) with SMTP id M2005021511104303965 for ; Tue, 15 Feb 2005 11:10:43 -0500 Received: from XCH30YKF.rim.net ([10.102.100.42]) by XCH20YKF.rim.net with Microsoft SMTPSVC(5.0.2195.6713); Tue, 15 Feb 2005 11:10:43 -0500 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.181 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: html-el oddities Date: Tue, 15 Feb 2005 11:10:43 -0500 Message-ID: <86813175CB1EC54DA9FCA869EDE1F4F4AB8FAE@XCH30YKF.rim.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: html-el oddities thread-index: AcUTeOZv02XKpcuuQMOmF50bxETQ0A== From: "Trevor Hill" To: "Struts Users Mailing List" X-OriginalArrivalTime: 15 Feb 2005 16:10:43.0606 (UTC) FILETIME=[E69E3B60:01C51378] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Thanks -- your option (2) seems to be working fairly well for me now. I = still have to see if struts will accept the faked up input tag and stick = the data into the form bean, but I don't see any reason why that = shouldn't work. I wonder why (1) wouldn't work for me though -- it gave me the same = result as the JSTL tag did. (It iterated fine but would just print out = ${cur.prdNumber} rather than the actual vaule) It seems odd that the EL tag does everything except actually do the = EL-evaulation. --Trevor -----Original Message----- From: Woodchuck [mailto:woodchuck_5@yahoo.com] Sent: February 15, 2005 10:31 AM To: Struts Users Mailing List Subject: RE: html-el oddities i can think of 2 things you can try: 1) use instead of i have found that jstl-scoped objects do not always work well with struts tags 2) simply don't use the tag you can achieve the same result with: )" maxlength=3D"5" size=3D"3" value=3D""> hth, woodchuck --- Trevor Hill wrote: > To try and attack this question from another angle, is there any > reason that this wouldn't work (or would work differently) in > Struts(-el) 1.1 as opposed to 1.2.x? I'm limited to using 1.1 only, > but cannot find any old 1.1 documentation to work from. >=20 > Thanks, > --Trevor=20 >=20 > -----Original Message----- > From: Trevor Hill=20 > Sent: February 14, 2005 8:33 AM > To: Struts Users Mailing List > Subject: RE: html-el oddities >=20 >=20 > As I said in my original question, I had tried 'cur.prdNumber' and > had the same result, and so had tried shoving the value of > cur.prdNumber into a page-scoped variable named 'curPrdNumber', with > the exact same less-than-spectacular results. >=20 > So I guess I'm still stuck, but thanks. >=20 > -----Original Message----- > From: Jason Lea [mailto:jason@kumachan.net.nz] > Sent: February 11, 2005 4:54 PM > To: Struts Users Mailing List > Subject: Re: html-el oddities >=20 >=20 > I think you are missing a dot :) cur.PrdNumber not curPrdNumber >=20 > Try: >=20 > size=3D"3" value=3D""> >=20 >=20 >=20 >=20 >=20 >=20 > Trevor Hill wrote: >=20 > >I'm having an interesting issue. I have a form in which the only > input is a bunch of text boxes which correspond to quantities of > products. The associated form thus consists of just a HashMap. My > JSP page is as follows: > ><... header stuff ...> > > > > > > Product > > Product Number > > Price > > Quantity to add > > > > > > > > > > > > > > > > > > currencyCode=3D"${cur.currencyCode}" value=3D"${cur.price}"/> > > > > property=3D"quantity(${curPrdNumber})" size=3D"3" maxlength=3D"5" = /> > > > > > ><... submit button, close form, etc....> > > > > > > > >However, the output of the last TD is:=20 > > > > size=3D"3" value=3D""> > > > >which is correct except for that whole "not interpreting the EL > expression" bit. > > > >I've tried using a page-scoped temporary variable (as above), I've > tried directly referencing ${cur.prdNumber} in the html-el:text tag, > I've checked all my TLDs and the struts-el.jar files to ensure > they're in the correct place and checked the web.xml file to make > sure all the TLDs are mentioned. There are no error messages in my > application's log or my application server's log that would suggest > some class or configuration file being out of whack. > > > >All my other taglibs (normal struts tags and jstl tags) are working > just fine, and the html-el tag /seems/ to work fine from a Struts > standpoint in that it makes an just like it > should, but no el-evaluation. This problem doesn't appear to be > specific to the mapped property "quantity", as I can try other > html-el tags that directly refer to either ${curPrdNumber} or > {$cur.prdNumber}, and I get the same result -- no evaluation. > > > >Am I missing something glaringly obvious? > > > >Thanks, > >--Trevor > > > > > > > >--------------------------------------------------------------------- > >This transmission (including any attachments) may contain > confidential information, privileged material (including material > protected by the solicitor-client or other applicable privileges), or > constitute non-public information. Any use of this information by > anyone other than the intended recipient is prohibited. If you have > received this transmission in error, please immediately reply to the > sender and delete this information from your system. Use, > dissemination, distribution, or reproduction of this transmission by > unintended recipients is not authorized and may be unlawful. > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: user-unsubscribe@struts.apache.org > >For additional commands, e-mail: user-help@struts.apache.org > > > > > > =20 > > >=20 > --=20 > Jason Lea >=20 >=20 >=20 >=20 > --=20 > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.300 / Virus Database: 265.8.7 - Release Date: 2005.02.10 >=20 >=20 >=20 >=20 > --------------------------------------------------------------------- > This transmission (including any attachments) may contain > confidential information, privileged material (including material > protected by the solicitor-client or other applicable privileges), or > constitute non-public information. Any use of this information by > anyone other than the intended recipient is prohibited. If you have > received this transmission in error, please immediately reply to the > sender and delete this information from your system. Use, > dissemination, distribution, or reproduction of this transmission by > unintended recipients is not authorized and may be unlawful. >=20 >=20 >=20 > --------------------------------------------------------------------- > This transmission (including any attachments) may contain > confidential information, privileged material (including material > protected by the solicitor-client or other applicable privileges), or > constitute non-public information. Any use of this information by > anyone other than the intended recipient is prohibited. If you have > received this transmission in error, please immediately reply to the > sender and delete this information from your system. Use, > dissemination, distribution, or reproduction of this transmission by > unintended recipients is not authorized and may be unlawful. >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org > For additional commands, e-mail: user-help@struts.apache.org >=20 >=20 =09 __________________________________=20 Do you Yahoo!?=20 All your favorites on one personal page - Try My Yahoo! http://my.yahoo.com=20 --------------------------------------------------------------------- This transmission (including any attachments) may contain confidential = information, privileged material (including material protected by the = solicitor-client or other applicable privileges), or constitute = non-public information. Any use of this information by anyone other than = the intended recipient is prohibited. If you have received this = transmission in error, please immediately reply to the sender and delete = this information from your system. Use, dissemination, distribution, or = reproduction of this transmission by unintended recipients is not = authorized and may be unlawful. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org