Has anyone used an ImageButtonBean in a
DynaActionForm? I'm getting the following error:
org.apache.commons.beanutils.ConversionException:
Cannot assign value of type 'java.lang.String' to
property 'submitButton' of type
'org.apache.struts.util.ImageButtonBean'

My jsp page has this in it:
                    <html:image src="images/bw_request_card.gif"
property="submitButton" alt="Submit" />
                    <html:image src="images/bw_cancel.gif"
property="cancelButton" alt="Cancel" />

My struts-config.xml has this:
   <form-bean ...>
...
      <form-property name="cancelButton"
type="org.apache.struts.util.ImageButtonBean"/>
      <form-property name="submitButton"
type="org.apache.struts.util.ImageButtonBean"/>
    </form-bean>
Thanks,

Richard

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

Reply via email to