it's a bug, you need to escape the ", like this

<html:image src="images/UpdateButton.gif" property="updateContact\""
value="updateContact"/>

> ----------
> From:         Nathan Coast[SMTP:[EMAIL PROTECTED]]
> Reply To:     [EMAIL PROTECTED]
> Sent:         Thursday, May 17, 2001 10:02 AM
> To:   struts-user
> Subject:      html:image bug?
> 
> Hi
> 
> <%@ taglib uri="/WEB-INF/tld/struts-html.tld" prefix="html" %>
> <html:image alt="submit" style="cursor:hand" src="/img/but_submit.gif" />
> 
> results in this html being generated:
> 
> <input type="image" name=" src="/img/but_submit.gifalt="submit"
> style="cursor:hand">
> 
> obvious problems with name=" and src="/img/but_submit.gifalt="submit"
> 
> Can anyone confirm if this is a bug? had a look at bugzilla but couldn't
> find 
> any matching bugs.
> 
> Cheers
> Nathan
> 
> 
> 

Reply via email to