cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <sylv...@apache.org>
Subject Re: [CForms] Form id not propagated?
Date Thu, 30 Mar 2006 08:58:53 GMT
Carsten Ziegeler wrote:
> I'm setting the id on a form in the model and it seems that neither
> the cforms transformer nor the jx macros propagate this id to the
> resulting html, so a simple
> <ft:form-template action="." method="POST">
> is not enough.
>
> Currently I have to repeat the id, like:
> <ft:form-template id="something" action="." method="POST">
>
> which should be imho unnecessary as the id is already specified in the
> model.
>
> Is this a bug or a mistake on my site?
>   

Looking at the code, the id attribute is not output when the form has no
id, but should be produced otherwise...

Sylvain

-- 
Sylvain Wallez
http://bluxte.net
Apache Software Foundation Member


Mime
View raw message