Return-Path: Delivered-To: apmail-jakarta-struts-user-archive@apache.org Received: (qmail 97084 invoked from network); 11 Sep 2002 02:10:13 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 11 Sep 2002 02:10:13 -0000 Received: (qmail 21927 invoked by uid 97); 11 Sep 2002 02:10:43 -0000 Delivered-To: qmlist-jakarta-archive-struts-user@jakarta.apache.org Received: (qmail 21883 invoked by uid 97); 11 Sep 2002 02:10:42 -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 21871 invoked by uid 98); 11 Sep 2002 02:10:42 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-Id: <5.1.0.14.0.20020911100312.0461dea8@pop.scioworks.com> X-Sender: john@pop.scioworks.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Wed, 11 Sep 2002 10:09:55 +0800 To: "Struts Users Mailing List" From: John Yu Subject: Re: set a value from a form to a form In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Rcpt-To: X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Mike, If I understand you correctly, you want to retain the value when the form is submitted. One option is to use to display the value and use to retain the value for form submission. Prop1: ... The value is *not* retained in a bean. It's just resubmitted as an URI parameter. If you let Struts do the auto formbean population, you will get it in the actionform object. Bean created by in the request scope will "disappear" because whenever you submit the form, that's a complete new request. At 06:36 am 11-09-2002, you wrote: >I have a form object that populates html fields. The problem is, I want to >display some of the form data and have it uneditable. When I submit the >form loses all the data that is not in an html:.. tag. >I've tried... > scope="request" toScope="request"/> >but this doesnt seem to work >thanks, >Mike -- John Yu Scioworks Technologies e: john@scioworks.com w: +(65) 873 5989 w: http://www.scioworks.com m: +(65) 9782 9610 Scioworks Camino - "Don't develop Struts Apps without it!" Copyright (c) 2002 John Yu/Scioworks Technologies. All rights reserved. -- To unsubscribe, e-mail: For additional commands, e-mail: