struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vikash Manoranjan" <vikasmanoran...@infotechsw.com>
Subject RE: handle set of list of objects
Date Mon, 02 Jul 2007 11:45:18 GMT
Your all text fields are disabled. Then I do not understand of what u want
to hold??

Thanks and Regards, 

Vikash Manoranjan


-----Original Message-----
From: prafull.jain@wipro.com [mailto:prafull.jain@wipro.com] 
Sent: 02 July 2007 16:57
To: user@struts.apache.org
Subject: RE: handle set of list of objects



 
 
Thanks & Regards,
Prafull Jain J
 

________________________________

From: Prafull Jain (WT01 - SECURITIES)
Sent: Mon 02/07/2007 4:47 PM
To: Struts Users Mailing List; 'Struts Users Mailing List'
Subject: RE: handle set of list of objects


Hi Vikash,
 
I want to do this using actionForm. I am using struts - jsp tag. Every
fields are releated to my actionForm. but I am able to set properties of
fields which are getting set of list of objects values, in my actionForm. I
have only 2 question.
 
1) how to set properties of fields which are getting set of list of objects
values.
 
2) how to define this property in actionForm.
 
In my jsp, I  am doing like..
 
*****************
<%

Set isidSet = overViewForm.getIsid() ;

request.setAttribute("isid",isidSet);

%>

<c:forEach var="isid" items="${isid}"> 

.......

<td class="first">

<input id="identifierType" name="identifierType" type="text" disabled="true"
value="<c:out value="${isid.ID_CTXT_TYP}"/>" />

</td>

<td>

<input id="identifierValue" name="identifierValue" type="text"
disabled="true" value="<c:out value="${isid.ISS_ID}"/>" />

</td>

<td class="first">

<input id="identifierPurpose" name="identifierPurpose" type="text"
disabled="true" value="<c:out value="${isid.LAST_CHG_USR_ID}"/>" />

</td>

</c:forEach>

****************************************************

 

 
Thanks & Regards,
Prafull Jain J
 

________________________________

From: Vikash Manoranjan [mailto:vikasmanoranjan@infotechsw.com]
Sent: Mon 02/07/2007 4:36 PM
To: 'Struts Users Mailing List'
Subject: RE: handle set of list of objects



Put the set object into session and retrive it from session in your action
class and after retrivial remove it from session.


Thanks and Regards,

Vikash Manoranjan



-----Original Message-----
From: prafull.jain@wipro.com [mailto:prafull.jain@wipro.com]
Sent: 02 July 2007 16:26
To: user@struts.apache.org
Subject: handle set of list of objects




Hi,

In my struts application, I am getting results from database, based on my
search query.

In result, I am getting set of list of objects mean set contain lists and
list contain objects.

I am passing these values from my action class to jsp page using one bean
class.

Now I want to pass all changed value from jsp page to my next action class
using actionForm.

but problem is, How can I do. because there are set of list of objects.

pls give me suggestion. pls let me know, if any one need others information.






Thanks & Regards,
Prafull Jain J




The information contained in this electronic message and any attachments to
this message are intended for the exclusive use of the addressee(s) and may
contain proprietary, confidential or privileged information. If you are not
the intended recipient, you should not disseminate, distribute or copy this
e-mail. Please notify the sender immediately and destroy all copies of this
message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should
check this email and any attachments for the presence of viruses. The
company accepts no liability for any damage caused by any virus transmitted
by this email.

www.wipro.com


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org






The information contained in this electronic message and any attachments to
this message are intended for the exclusive use of the addressee(s) and may
contain proprietary, confidential or privileged information. If you are not
the intended recipient, you should not disseminate, distribute or copy this
e-mail. Please notify the sender immediately and destroy all copies of this
message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should
check this email and any attachments for the presence of viruses. The
company accepts no liability for any damage caused by any virus transmitted
by this email.
 
www.wipro.com


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message