cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <joerg.heini...@gmx.de>
Subject Re: Error in forms-field-styling.xsl in svn
Date Wed, 27 Jul 2005 22:10:29 GMT
On 26.07.2005 13:54, Christoph Hermann wrote:

> <input type="button" id="{@id}-input" name="{@id}-input" value="..."
> onclick="forms_submitForm(this)"/>
> 
> where it should be
> 
> <input type="button" id="{@id}-input" name="{@id}" value="..."
>                                             ^^^^^^
> onclick="forms_submitForm(this)"/>
> 
> Becaus using the line above with "-input" cocoon will tell:
> Invalid submit id (no such widget): upload-input (for a widget called
> "upload").

Sylvain? It was introduced with 
http://svn.apache.org/viewcvs.cgi/cocoon/blocks/core/forms/trunk/samples/resources/forms-field-styling.xsl?rev=161264&r1=157119&r2=161264&diff_format=h.

The both <input type="file"/> are indeed different. Should the @id and 
@name differ?

Joerg

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message