Re: form in application context`

2006-07-30 Thread Kavita Mehta
Thanks Chris .. Christopher Goldman wrote: On Fri, 2006-07-28 at 16:36 +0530, Kavita Mehta wrote: hmm ..thanks n how gud is an idea to access this value from outside action class ..i.e. i call a method in action class from outside struts framework which changes its value on recieving an

Re: form in application context`

2006-07-28 Thread Christopher Goldman
On Fri, 2006-07-28 at 16:36 +0530, Kavita Mehta wrote: > hmm ..thanks n how gud is an idea to access this value from outside > action class ..i.e. i call a method in action class from outside struts > framework which changes its value on recieving an alarm/trap. > > Patil, Sheetal wrote: > >

Re: form in application context`

2006-07-28 Thread Kavita Mehta
thanks ... Antonio Petrelli wrote: Kavita Mehta ha scritto: It supports application support too .. http://www.javaworld.com/javaworld/jw-09-2004/jw-0913-struts-p3.html ..the last point is about scope . It is wrong: http://struts.apache.org/1.x/struts-core/apidocs/org/apache/struts/config/Act

Re: form in application context`

2006-07-28 Thread Antonio Petrelli
Kavita Mehta ha scritto: It supports application support too .. http://www.javaworld.com/javaworld/jw-09-2004/jw-0913-struts-p3.html ..the last point is about scope . It is wrong: http://struts.apache.org/1.x/struts-core/apidocs/org/apache/struts/config/ActionConfig.html#setScope(java.lang.Str

Re: form in application context`

2006-07-28 Thread Kavita Mehta
day, July 28, 2006 4:24 PM To: Struts Users Mailing List Subject: Re: form in application context` can you please exlpain it furthur as i am new to struts n i have never used a DTO . Patil, Sheetal wrote: Its better that u put an normal DTO in application scope and change values as per con

RE: form in application context`

2006-07-28 Thread Patil, Sheetal
essage- From: Kavita Mehta [mailto:[EMAIL PROTECTED] Sent: Friday, July 28, 2006 4:24 PM To: Struts Users Mailing List Subject: Re: form in application context` can you please exlpain it furthur as i am new to struts n i have never used a DTO . Patil, Sheetal wrote: > Its better that u put a

Re: form in application context`

2006-07-28 Thread Kavita Mehta
28, 2006 4:02 PM To: Struts Users Mailing List Subject: Re: form in application context` but why not form bean in application context ... Antonio Petrelli wrote: Kavita Mehta ha scritto: Hi, can we keep a form bean in application context ?? My requirement is that every operator that

Re: form in application context`

2006-07-28 Thread Kavita Mehta
It supports application support too .. http://www.javaworld.com/javaworld/jw-09-2004/jw-0913-struts-p3.html ..the last point is about scope . I am new to struts..n as far as my understanding goes, the form bean is reinitialized each time i visit the JSP page again ..am i correct ? if not, the

Re: form in application context`

2006-07-28 Thread Antonio Petrelli
Kavita Mehta ha scritto: but why not form bean in application context ... For two reasons: * Struts 1 supports form beans only in request and session scopes (correct me if I am wrong). * Form beans are connected to HTML forms. Do you imagine a form that changes an object for the application?

RE: form in application context`

2006-07-28 Thread Patil, Sheetal
Its better that u put an normal DTO in application scope and change values as per condition -Original Message- From: Kavita Mehta [mailto:[EMAIL PROTECTED] Sent: Friday, July 28, 2006 4:02 PM To: Struts Users Mailing List Subject: Re: form in application context` but why not form bean

Re: form in application context`

2006-07-28 Thread Kavita Mehta
but why not form bean in application context ... Antonio Petrelli wrote: Kavita Mehta ha scritto: Hi, can we keep a form bean in application context ?? My requirement is that every operator that opens my screen should see the same values corresponding to a field ..i.e. i dont want to reset my

Re: form in application context`

2006-07-28 Thread Antonio Petrelli
Kavita Mehta ha scritto: Hi, can we keep a form bean in application context ?? My requirement is that every operator that opens my screen should see the same values corresponding to a field ..i.e. i dont want to reset my form bean for each session/operator/window ... Any ideas ?? Don't use

form in application context`

2006-07-28 Thread Kavita Mehta
Hi, can we keep a form bean in application context ?? My requirement is that every operator that opens my screen should see the same values corresponding to a field ..i.e. i dont want to reset my form bean for each session/operator/window ... Any ideas ?? Thanks Kavita --