The tag <fi:styling type="date" ../> is responsible for the layout on your page. You can find the styling in the stylesheets that come with cforms. The date styling in particular can be found in forms-calendar-styling.xsl.
You've got several options: create your own styling type, change the cforms stylesheet itself or override it. I have created my own stylesheet that includes the cforms stylesheet "forms-samples-styling.xsl" this stylesheet on its own includes the other cforms stylesheets. So I have my own types and override some of the cforms by just using the same matcher. (I actually copied some templates from the cforms sheets and adapted them to my needs) Kind Regards, Jan ----- Original Message ----- From: "Freddy" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 21, 2004 11:26 AM Subject: [CocoonForms] Disable Calendar > Hi all! > > Just one small question: What do I have to do if I want to disable the > calendar in woody-Forms. I have > > <fd:field id="birthdate"> > <fd:label>Geburtstag</fd:label> > <fd:datatype base="date"> > <fd:convertor type="formatting" variant="date"> > <fd:patterns> > <fd:pattern>dd.MM.yyyy</fd:pattern> > </fd:patterns> > </fd:convertor> > </fd:datatype> > </fd:field> > > and my binding is:: > > <fi:label>String fields</fi:label> > <fi:styling layout="columns"/> > <fi:items> > <ft:widget id="birthdate"> > <fi:styling type="date" format="dd.MM.yyyy"/> > </ft:widget> > <ft:widget id="language"/> > </fi:items> > > And I get an Input-Field with a Calendar next to it. But I want to have > it disabled. > > Thanks for your help > > Freddy > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
