html:select

2006-02-01 Thread rahul kshirsagar
Hi,

I am using  for drop down population.Now i want to populate alreay 
selected value in the drop down when page is refeshed.The thing is i have that 
value with me which is to be populated but i dont know how to set it in 
.
I know it is possible using bean:write but dont have the syntax.

If you have any way out ,please let me know.


Re: RE: html:select

2006-02-01 Thread rahul kshirsagar
Hi,

Actually i m doin that only.But the application need is that the value of drop 
down should get populated from diferent bean.
Say i m getting selected value from form1 and setting it in form2 and then this 
value needs to be shown as a default value of drop down.

  


On Wed, 01 Feb 2006 Murugesan,Kathiresan(Cognizant) wrote :
>
>Hi,
>
>In your action class just set the value in the respective  
>field's set method. It will automatically select the value.
>
>Regards
>Kathir.
>
>
>________
>
> From: rahul kshirsagar [mailto:[EMAIL PROTECTED]
>Sent: Wed 2/1/2006 6:45 PM
>To: user
>Subject: html:select
>
>
>
>Hi,
>
>I am using  for drop down population.Now i want to populate 
>alreay selected value in the drop down when page is refeshed.The thing is i 
>have that value with me which is to be populated but i dont know how to set it 
>in .
>I know it is possible using bean:write but dont have the syntax.
>
>If you have any way out ,please let me know.
>
>
>
>
>This e-mail and any files transmitted with it are for the sole use of the 
>intended recipient(s) and may contain confidential and privileged information.
>If you are not the intended recipient, please contact the sender by reply 
>e-mail and destroy all copies of the original message.
>Any unauthorized review, use, disclosure, dissemination, forwarding, printing 
>or copying of this email or any action taken in reliance on this e-mail is 
>strictly
>prohibited and may be unlawful.
>
>   Visit us at http://www.cognizant.com


validation.xml

2005-12-22 Thread rahul kshirsagar
Hi,

I am using validation.xml in my application.It takes care of client side as 
well as server side validations.It is working fine.But i dont understand how 
exactly it takes care of both validations.

Regards,
Rahul.  


Opening a New window

2006-01-12 Thread rahul kshirsagar
Hi,

I am using struts in my application.I have one JSP in which i have "search" and 
"submit" button.I am opening a new window on click of "search" and populating a 
jsp.Now i want to pass a value from this new jsp to old jsp and also want to 
retain data in old jsp.I am not able to pass the value back to old jsp?Do i 
need to call action class on submit of new jsp?

Can you provide me the solution for the same?


Opening a new window

2006-01-12 Thread rahul kshirsagar
Hi,

I am using struts in my application.I have one parent jsp from which i am 
opening a new window.Now i want to pass some value from this child window and 
close the same.
How to pass this value from child to parent jsp and also retain values in 
parent jsp?
Which is the efficient way to implement the same?