Hi, I wanted to make an image button, which I render in fallowing way:
<xsl:template match="wi:action[wi:styling/@type='image']"> <button type="submit" name="[EMAIL PROTECTED]" id="[EMAIL PROTECTED]" value="normalize-space(wi:label)"> <img src="{wi:styling/@src}" alt="{normalize-space(wi:label)}" title="{normalize-space(wi:hint):> </button> </xsl:template>
It works fine with Mozilla, but when I tried IE I received an exception (there are more than one such button):
uncaught JavaScript exception: at menu (file:/var/www/webapps/ROOT/admin/flows/menu.js, Line 70) at (resource://org/apache/cocoon/woody/flow/javascript/woody2.js, Line 148): java.lang.IllegalStateException: SubmitWidget can only be set once.
Other How can I avoid sending value of unselected button by IE? Of course I can use <input type="image">, but what about more advanced buttons?
Be sure, you are not the only one: http://marc.theaimsgroup.com/?t=107962802400002&r=1&w=4
I figured out the problem, suggested a solution (but have not thought deeper about it), but did not do anything on it.
Joerg
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
