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
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
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
3 matches
Mail list logo