Struts And iBATIS

2003-10-08 Thread Aswathy Priyarenj
Hello all,

Is Struts And iBATIS going smoothly together ?

Could u please explore the benefits with iBATIS ?

Thanks in advance

Aswathy

_
The heat is on! Catch the latest action. 
http://server1.msn.co.in/sp03/formula2003/ Speed along with F1!

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Changed fields in ActionForm

2003-08-27 Thread Aswathy Priyarenj
Hello,

I would like to know whether any facility is available in Struts
to know which are the fields get changed.
Eg;- I am displaying one jsp with one actionForm.
 I want to show one alert msg if user has changed any of the fields 
(before submitting)

Without explicitly checking each field , Is there any to get the changed 
fields ?

ThanksĀ®ards

Aswathy

_
MSN Hotmail now on your Mobile phone. 
http://server1.msn.co.in/sp03/mobilesms/ Click here.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: html:options can not automatically match value

2003-06-16 Thread Aswathy Priyarenj
U can use  tag instead of .
This will retain the selected value .

From: "lcl" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: html:options can not automatically match value
Date: Thu, 5 Jun 2003 10:57:15 +0800
Sakis,

Thank you very much. I have done as you mentioned, but the result has not
changed.
I have tried to changed the collection name to
com_nsk_gs_sales_ClientInfo(of course, do it in action form to set a same
named attribute in session), and add a name attribute in html:selection tag
, which will like :
  
  
  
the output html will like this :

  name1
  name10
  name11
  ...

but no one will be mark as "SELECTED" , WOW!
"Sakis Chatzinikolaou" <[EMAIL PROTECTED]>
[EMAIL PROTECTED]
> Maybe you need to specify the name of the form bean before the
> property="projclieid"
> e.g.
> 
>
> and maybe the collection name should not be the
com.nsk.gs.sales.ClientInfo
>
> but the name you put in the request from the action class before you 
call
> the jsp
>
> 
>   
> property="estateOfficeID"  labelProperty="estateOfficeName" />
> 
>
> The estateOfficesNames is an attribute set in the request from the 
action
> class
> The apartmentForm  is the form bean and the apartmentOffice is a 
property
of
> the bean
>
> Hope this helps
>
> - Original Message -
> From: "lcl" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, June 04, 2003 12:33 PM
> Subject: html:options can not automatically match value
>
>
> > Hi all ,
> >
> > I have using the following code to express a select control in html
using
> > strtus tag:
> >
> > 
> >   
> > labelProperty="cliename"
> > property="clieid" />
> > 
> >
> > When this jsp page is running, all is ok, but the options will not 
match
> > what the "projclieid" is. in the dropdown list, there is one item 
match
> the
> > value,but it is not mark as "selected", what's wrong?
> >
> > And if I manually specific the value,such as 
> > property="projclieid" value="aa">,
> >  it will work fine, it will more surprise me...
> >
> > Please help me, thank you very much.
> > lcl
> >
> >
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_
Gift yourself a holiday. Treat your family like royalty. 
http://www.flexihols.com/2003/index.php

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: ArrayList as an element of DynaActionForm

2003-06-03 Thread Aswathy Priyarenj
Pls refer   tag . I tried with treemap. It is working 
fine.

I think this will retain the all the collections ( including arraylist) 
object in struts form.



From: "Dan Tran" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Subject: ArrayList as an element of DynaActionForm
Date: Tue, 3 Jun 2003 00:58:39 -0700
Hello, I define an ArrayList as an element of my DynaActionForm.

I set up my form and load it up on my jsp using 

But when I submit the form back to the server, my ArrayList always empty.

What did I do wrong?

Thanks

-Dan
_
Got a wish? Make it come true. 
http://server1.msn.co.in/msnleads/citibankpersonalloan/index.asp Best 
personal loans!

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: ArrayList in forms

2003-05-29 Thread Aswathy Priyarenj
Thanks... It worked


From: Mark Lowe <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Subject: Re: ArrayList in forms
Date: Thu, 29 May 2003 12:52:56 +0100
One way of doing it, would be to scope the ArrayList to the session.

On Thursday, May 29, 2003, at 12:27 Europe/London, Aswathy Priyarenj wrote:

I want to maintain an ArrayList object across action classes which uses 
same form class. Howz it possible ?

_
Staying fit. It's about being happy! 
http://server1.msn.co.in/features/stayingfit/index.asp Check out the new 
mantra.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_
Staying fit. It's about being happy! 
http://server1.msn.co.in/features/stayingfit/index.asp Check out the new 
mantra.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


ArrayList in forms

2003-05-29 Thread Aswathy Priyarenj
I want to maintain an ArrayList object across action classes which uses same 
form class. Howz it possible ?

_
Staying fit. It's about being happy! 
http://server1.msn.co.in/features/stayingfit/index.asp Check out the new 
mantra.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


281177: Struts 1.1

2003-05-29 Thread Aswathy Priyarenj
Hello,

Am working in Struts 1.1

1) Is it mandatory to restart the application if I hav changed one action 
class or form ?

2) Is it possible to store all collection objects using  
tag ?

Rgds

Aswathy

_
Attention NRIs! Send money to India. 
http://server1.msn.co.in/msnleads/citibankrca/citibankrca2.asp Do it in a 
jiffy!

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]