Return-Path: Delivered-To: apmail-jakarta-struts-user-archive@apache.org Received: (qmail 25280 invoked from network); 16 Jul 2003 20:13:47 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 16 Jul 2003 20:13:47 -0000 Received: (qmail 23360 invoked by uid 97); 16 Jul 2003 20:16:22 -0000 Delivered-To: qmlist-jakarta-archive-struts-user@nagoya.betaversion.org Received: (qmail 23353 invoked from network); 16 Jul 2003 20:16:21 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 16 Jul 2003 20:16:21 -0000 Received: (qmail 17494 invoked by uid 500); 16 Jul 2003 20:12:16 -0000 Mailing-List: contact struts-user-help@jakarta.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 struts-user@jakarta.apache.org Received: (qmail 17440 invoked from network); 16 Jul 2003 20:12:16 -0000 Received: from yorktown.nielsenmedia.com (63.114.249.17) by daedalus.apache.org with SMTP; 16 Jul 2003 20:12:16 -0000 Received: from nmrusdunsxg10.nmrlan.net (nmrusdunsxg10.nielsenmedia.com [10.9.11.154]) by yorktown.nielsenmedia.com (8.12.9/8.12.8) with ESMTP id h6GKCK5t003934 for ; Wed, 16 Jul 2003 16:12:20 -0400 (EDT) Received: from nmrusdunsxg2.nielsenmedia.com (unverified) by nmrusdunsxg10.nmrlan.net (Content Technologies SMTPRS 4.3.6) with ESMTP id for ; Wed, 16 Jul 2003 16:12:19 -0400 Received: by nmrusdunsxg2.nielsenmedia.com with Internet Mail Service (5.5.2653.19) id <31744Z7T>; Wed, 16 Jul 2003 16:12:18 -0400 Message-ID: <0BC5187E59E2D411A81000508BB09569055FE765@nmrusdunsx6.nielsenmedia.com> From: "Chen, Gin" To: "'Struts Users Mailing List'" Subject: RE: Setting html tag attribute value Date: Wed, 16 Jul 2003 16:12:16 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Or: Or: (better suited for a boolean)
BTW: JSP 2.0 will support ${blah} notation outside of the JSTL taglib so even if it looks ugly and awkward right now. It is just temporary :) -Tim -----Original Message----- From: Mike Jasnowski [mailto:mjasnows@bea.com] Sent: Wednesday, July 16, 2003 4:02 PM To: Struts Users Mailing List Subject: RE: Setting html tag attribute value What happens if you do something like this:
-----Original Message----- From: Craig Berry [mailto:Craig.Berry@portblue.com] Sent: Wednesday, July 16, 2003 3:54 PM To: struts-user@jakarta.apache.org Subject: Setting html tag attribute value On a jsp page, I need to set the visibility of a div element based on the value of a form attribute. The div is inside an element for the form in question (editDeForm). The fragment should look something like:
but JSTL EL attribute tags don't work in non-JSTL tags. I could go to the trouble of doing a jsp:bean to grab the form bean, then call the getter method explicitly to get the value, all inside <% %> in the attr value, but that strikes me as being far clumsier than it should be using the JSTL/Struts combo. So, can someone please point me in the right direction to handle this? -- Craig Berry x7546 --------------------------------------------------------------------- To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: struts-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: struts-user-help@jakarta.apache.org