Re: How to select a value when a form is prepopulated

2006-08-20 Thread Puneet Lakhina
On 8/21/06, sheetal <[EMAIL PROTECTED]> wrote: Hi, My action class on success, is prepopulating a combo box (.. ...>, on the jsp.. for which I have used a form bean. Now, the problem is that I also want a field to be selected from combo, after prepopulating it.. and before displaying the jsp pag

struts1.0 and 1.1 and 1.2 and 1.3

2006-08-20 Thread Gomathi
hai what is the difference between struts1.1 and struts 1.2 and diffrence between 1.2 and 1.3

Re: How to select a value when a form is prepopulated

2006-08-20 Thread paz . periasamy
You need to have another attribute in the form bean to be contain the selected value. The options which are being pre-populated need to be available as Collection objects. Thanks and regards, Pazhanikanthan. P (Paz) Consultant for AXA, Senior Software Engineer, HCL Australia Services Pty. Ltd.

How to select a value when a form is prepopulated

2006-08-20 Thread sheetal
Hi, My action class on success, is prepopulating a combo box (.. ...>, on the jsp.. for which I have used a form bean. Now, the problem is that I also want a field to be selected from combo, after prepopulating it.. and before displaying the jsp page... If anyone has any idea,.. Thanks.. Rgds,

Re: Question about Lookup dispatch action

2006-08-20 Thread Puneet Lakhina
The "return false;" would have to go LAST, otherwise onClickSubmit() wouldn't get called. Yup..sorry.. my wrong.. -- Puneet

Re: 1.3 set-property key

2006-08-20 Thread Joe Germuska
At 9:59 AM -0700 8/20/06, Paul Benedict wrote: So it's just a map of properties? yep. So I guess you lose type conversion, if you were using non-string bean properties in subclasses of the config objects. Otherwise, I think it simplifies things considerably. Joe Joe Germuska <[EMAIL PR

RE: Re: Forwards between webapps

2006-08-20 Thread David Friedman
If you need to share information between contexts, I believe Tomcat (if you use it) has a setting to make a context's data public. With that you could put shared items in an application scope and do JNDI lookups of the shared data. Regards, David -Original Message- From: Saeed, Rada [ma

Re: 1.3 set-property key

2006-08-20 Thread Paul Benedict
So it's just a map of properties? Joe Germuska <[EMAIL PROTECTED]> wrote: At 1:45 AM -0700 8/20/06, Paul Benedict wrote: >The key attribute of set-property reads: > > Since Struts 1.3, an alternate syntax is supported. By using > the "key" attribute instead of the "property" attribute, y

Re: 1.3 set-property key

2006-08-20 Thread Joe Germuska
At 1:45 AM -0700 8/20/06, Paul Benedict wrote: The key attribute of set-property reads: Since Struts 1.3, an alternate syntax is supported. By using the "key" attribute instead of the "property" attribute, you can set arbitrary string properties on the Config object which is populat

tiles - tiles stand-alone stability level

2006-08-20 Thread Mehdi Bahribayli
What is stability level of tiles stand-alone (Developing, Evolving)? Will it go through backward incompatible changes? - How low will we go? Check out Yahoo! Messenger’s low PC-to-Phone call rates.

1.3 set-property key

2006-08-20 Thread Paul Benedict
The key attribute of set-property reads: Since Struts 1.3, an alternate syntax is supported. By using the "key" attribute instead of the "property" attribute, you can set arbitrary string properties on the Config object which is populated based on the containing element. NOTE:

RE: Struts URL Pattern

2006-08-20 Thread Paul Benedict
Awesome find. Thanks David! David Friedman <[EMAIL PROTECTED]> wrote: My bad, what was I thinking? LOL. Try this: servlet.getServletConfig().getServletContext().getAttribute(Globals.SERVLET_ KEY)); As in this example where I print out an error message: public class DavidAction extends Action {