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
hai
what is the difference between struts1.1 and struts 1.2
and diffrence between 1.2 and 1.3
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.
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,
The "return false;" would have to go LAST, otherwise onClickSubmit()
wouldn't get called.
Yup..sorry.. my wrong..
--
Puneet
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
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
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
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
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! Messengers low PC-to-Phone call rates.
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:
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 {
12 matches
Mail list logo