I have discovered that LazyValidatorForm is incompatible with using a
dot separated name to pass on information about which submit method is
used.  E.g. property='webmasterHostsOptions.method' in <html:image>
will get the following exception:


<http-error>
org.apache.commons.beanutils.NestedNullException: Null property value
for 'webmasterHostsOptions'

org.apache.commons.beanutils.PropertyUtilsBean.getNestedProperty(PropertyUtilsBean.java:669)
        
org.apache.commons.beanutils.PropertyUtilsBean.getProperty(PropertyUtilsBean.java:715)
        
org.apache.commons.beanutils.BeanUtilsBean.setProperty(BeanUtilsBean.java:884)
        
org.apache.commons.beanutils.BeanUtilsBean.populate(BeanUtilsBean.java:811)
        org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:298)
        org.apache.struts.util.RequestUtils.populate(RequestUtils.java:493)
</http-error>

If I change this to property='webmasterHostsOptions-*-method', then I get:


<http-error>
java.lang.IllegalArgumentException: No bean specified
        
org.apache.commons.beanutils.PropertyUtilsBean.getPropertyDescriptor(PropertyUtilsBean.java:751)
        
org.apache.commons.beanutils.BeanUtilsBean.setProperty(BeanUtilsBean.java:937)
        
org.apache.commons.beanutils.BeanUtilsBean.populate(BeanUtilsBean.java:811)
        org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:298)
        org.apache.struts.util.RequestUtils.populate(RequestUtils.java:493)
</http-error>

Anyone know what bean this is "talking about"?  I can go through the
process, of course, but if someone has a quick answer, that would be
appreciated.

Jack



-- 
------------------------------

"You can lead a horse to water but you cannot make it float on its back."

~Dakota Jack~

"You can't wake a person who is pretending to be asleep."

~Native Proverb~

"Each man is good in His sight. It is not necessary for eagles to be crows."

~Hunkesni (Sitting Bull), Hunkpapa Sioux~

-----------------------------------------------

"This message may contain confidential and/or privileged information.
If you are not the addressee or authorized to receive this for the
addressee, you must not use, copy, disclose, or take any action based
on this message or any information herein. If you have received this
message in error, please advise the sender immediately by reply e-mail
and delete this message. Thank you for your cooperation."

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to