cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carsten Ziegeler <cziege...@apache.org>
Subject Re: [CForms] Form id not propagated?
Date Thu, 30 Mar 2006 10:34:42 GMT
Sylvain Wallez schrieb:
> 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...
> 
So it should work? Can you point me to the source where this is done?
Thanks

Carsten
-- 
Carsten Ziegeler - Open Source Group, S&N AG
http://www.s-und-n.de
http://www.osoco.org/weblogs/rael/

Mime
View raw message