cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivelin Ivanov" <ive...@apache.org>
Subject Re: XMLForms XMLFormTransformer
Date Fri, 07 Jun 2002 04:12:09 GMT
Did you look at the latest Feedback Wizard demo for XMLForm.

A sample use of the hidden tag is:

<xf:hidden ref="xpath/to/some/element/">
    <xf:value>567</xf:value>
</xf:hidden>


The hidden tag is provided a value in the markup.
It does not read value from the model for the same reasons that the XForms
standard does not support hidden.
If you want to put in a hidden tag something which is part of the model,
then why do the round trip at all? Just keep the value in the model on the
server.

Do you have a good use case which calls for populating hidden from the form
model instance?


Ivelin







----- Original Message -----
From: "Andrew Timberlake" <andrew@timberlake.co.za>
To: <cocoon-dev@xml.apache.org>
Sent: Thursday, June 06, 2002 8:29 AM
Subject: XMLForms XMLFormTransformer


> Is there a reason why hidden fields are not supported in XMLForms.
> If I set a xf:hidden element it is not populated with a value.
> I would like to patch the XMLFormTransformer to include hidden field
> support but want to check if this has be purposefully left out?
>
> TIA
>
> Andrew
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>


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


Mime
View raw message