bean:define to assign a different value to an existing variable

2003-06-27 Thread ben . jessel
Apologies for the x-post, I put this in the dev newsgroup by a mistake. Ben In this code excerpt I am defining a bean with bean:define. However, I want to conditionally change the value. According to the struts doc, bean:define either creates, or replaces a previous instance of the bean as

Re: bean:define to assign a different value to an existing variable

2003-06-27 Thread Sandeep Takhar
I don't think you can have it twice on the same page. You will have to try another way. sandeep --- [EMAIL PROTECTED] wrote: Apologies for the x-post, I put this in the dev newsgroup by a mistake. Ben In this code excerpt I am defining a bean with bean:define. However, I want to

Re: bean:define to assign a different value to an existing variable

2003-06-27 Thread ben . jessel
Hi James, So what does the name portion of the bean:define actually do ( I've done the RTFM but I'm still confused ). Is the name the name of the value in pageContext() and id the scripting value on the jsp page? Thanks Ben James Mitchell [EMAIL PROTECTED] 27/06/2003 11:55 Please respond

Re: bean:define to assign a different value to an existing variable

2003-06-27 Thread James Mitchell
On Friday 27 June 2003 09:26, [EMAIL PROTECTED] wrote: Hi James, So what does the name portion of the bean:define actually do ( I've done the RTFM but I'm still confused ). Is the name the name of the value in pageContext() and id the scripting value on the jsp page? I know, the docs can be

Re: bean:define to assign a different value to an existing variable

2003-06-27 Thread ben . jessel
Thanks James, Thanks for the tips, I'm really trying to do things the right way! -b James Mitchell [EMAIL PROTECTED] 27/06/2003 14:58 Please respond to Struts Users Mailing List To: Struts Users Mailing List [EMAIL PROTECTED] cc: Subject:Re: