Hi,
 
I am having problem in displaying in struts. Can you help me out.
 
I want to display like
 
vendor ABC (checkbox)

    |-----------Dc1, Dc2, DC3 ....(each dc one checkbox)
 vendor DCF
    |-----------DC3,DC7,DC9 ....
 
...........
.......
......
 
I have hastable in my action class with contains
 
all the Vendor names as a key
and all the dc is in ArrayList   ( the arrayList contains Dc1,Dc2,Dc3... for
a particular vendor)
it is like
Hastable.put(vendorABC, arrayList) 
 
I am returning this method to my jsp using my getVendorName() which will
return Hastable.
 
I would like to know how to iterate through hastable which has arrayList
also.
Can you help me to display in the above format also how i will get the
selected values in my action class.
say if the user select vendor ABC and DC1 i need to take thoese values to my
action class.


In my form i am having set/get method like..


        public Hashtable getVendorName() {
                return vendorName;
        }

        /**
         * Set vendorName
         * @param <code>String</code>
         */
        public void setVendorName(Hashtable v) {
                vendorName = v;
        }



 
My formName is myForm.java ( method in the form name is getVendorName()
returns Hastable no parameters)
My actionClass name  is myAction.java
My jsp page is myJsp.jsp
 
Advance Thanks  for you great help...
 
Bala

____________________________________________________
This message contains information that may be privileged or confidential and
is the property of the Cap Gemini Ernst & Young Group. It is intended only
for the person to whom it is addressed. If you are not the intended
recipient, you are not authorised to read, print, retain, copy, disseminate,
distribute, or use this message or any part thereof. If you receive this
message in error, please notify the sender immediately and delete all copies
of this message.

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

Reply via email to