<html:image src="../../images/sendandsave.gif" property="guess"/>

results in

<input type="image" name="" src="../../images/saveasdraft.gif">

which is not what I'd expect from looking at the source for ImageTag:

 public int doEndTag() throws JspException {

        // Generate an HTML <input type="image"> element
        HttpServletResponse response =
            (HttpServletResponse) pageContext.getResponse();
        String tmp = null;
        StringBuffer results = new StringBuffer();
        results.append("<input type=\"image\" name=\"");
        results.append(property);
        results.append("\"");
..........

Is there something else I have to do to get the name attribute set?

Cheers


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************

Reply via email to