dcsimg

How can you tell if a form bean was automatically created?

Ted Husted

In general, you can define a special member variable in the bean that indicates that it has just been created. On a manual create you would reset that yourself, but on an auto create it would remain set, and the validate method would detect it (or you could check manually).