RE: Can another bean besides the FormBean be used inside a Form?

2001-06-14 Thread Allamsetty, Venkata

in the html code,


 

I populate providerList in the jsp code, using

  pageContext.setAttribute("providerList",
ssUtils.getProvidersForDropDown(sPracticeId));

and the method in ssUtils returns an ArrayList of beans each of which
contain a label and a value. 

hope that helps

-VA 

-Original Message-
From: Shamdasani Nimmi-ANS004 [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 14, 2001 11:24 AM
To: struts-user@jakarta. apache. org (E-mail)
Subject: Can another bean besides the FormBean be used inside a Form?


Hi,

I have a form  which has a SELECT type field. The value selected from the
Select options should set the corresponding field in the FormBean but the
options available in this Select field are in another bean in the session
scope. How do I  specify such a Select field using  &
 tags?

TIA

-Nimmi



RE: Can another bean besides the FormBean be used inside a Form?

2001-06-14 Thread Shamdasani Nimmi-ANS004

Never Mind I found the solution

-Original Message-
From: Shamdasani Nimmi-ANS004 [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 14, 2001 10:24 AM
To: struts-user@jakarta. apache. org (E-mail)
Subject: Can another bean besides the FormBean be used inside a Form?


Hi,

I have a form  which has a SELECT type field. The value selected from the Select 
options should set the corresponding field in the FormBean but the options available 
in this Select field are in another bean in the session scope. How do I  specify such 
a Select field using  &  tags?

TIA

-Nimmi