0 Replies Latest reply on Apr 19, 2013 2:52 PM by 1004196

    How to set bean property when field is empty

      i am using <jsp:setProperty> in my jsp pages such that field values get stored in the bean properties

      <jsp:setProperty name="adetails" property="*" />

      The problem I am facing is for empty fields the bean is not getting called.

      Suppose there is a Name field.
      When I am writing a value in the field for example Ron ,its getting stored in the name property of adetails bean.
      But afterward if I am erasing the value Ron and making the field empty the bean property is not changing.

      Is there any way this can be accomplished.........I dont want to manually code for every field.....there are too many fields......:(