RE: Merging form properties

2005-08-16 Thread Cadariu, Mihai
I couldn't find any utility method to only copy non-null properties from the form bean. I tried your suggestion to describe() the formbean then filter out the nulls, then populate() the destination formbean. That worked for formbeans which do not have nested indexed formbeans. A describe() of the

RE: Limit length of select box value displayed

2005-08-12 Thread Cadariu, Mihai
You could restrict the length of the label at generation time, in the JSP. Conversely you can use the CSS 'width' property on the SELECT tag to set a desired width. However, I don't think Struts can help in this problem. Mihai -Original Message- From: Antony Paul [mailto:[EMAIL PROTECTE

Merging form properties

2005-07-28 Thread Cadariu, Mihai
Hi, Is there a way to merge properties of two formbeans? I have two instances of the same form bean class, both containing some properties filled, the rest being null. I would like to copy the non-null properties from one form bean to the other. I tried using the PropertyUtils.copyProperties or B