The documentation http://cocoon.apache.org/2.2/blocks/forms/1.0/485_1_1.html states:
"forms-calendar-styling.xsl: contains the styling of a field with type "date" and provides a visual calendar for easy selection of date. So the calendar is an advanced styling too, but because it has much specific stuff we separated it out of forms-advanced-styling.xsl." Hope this helps. Robby -----Original Message----- From: Robby Pelssers [mailto:robby.pelss...@ciber.com] Sent: Thursday, September 17, 2009 11:02 PM To: users@cocoon.apache.org Subject: RE: Selection-list is rendered as a text input. <fd:field id="projectNote"> <fd:label>Ocena projektu: </fd:label> <fd:datatype base="long"> <fd:selection-list> <fd:item value="2"/> <fd:item value="3"/> </fd:selection-list> </fd:datatype> </fd:field> Should be <fd:field id="projectNote"> <fd:label>Ocena projektu: </fd:label> <fd:datatype base="long"/> <fd:selection-list> <fd:item value="2"/> <fd:item value="3"/> </fd:selection-list> </fd:field> For styling a field widget as date I'm not sure anymore how to do that. Cheers, Robby Pelssers -----Original Message----- From: Tomasz Piechowicz [mailto:tomasz.piechow...@gmail.com] Sent: Thursday, September 17, 2009 9:56 PM To: users@cocoon.apache.org Subject: Selection-list is rendered as a text input. Hi. I am trying to create form which is based on form example which i found on cocoon 2.2 home page. I have selection-list widget in my form model, and after I run project in browser selection-list is renderd as a normal text input instead of html select tag :(. My second question relates to date selection. Does cforms contains something like date-selection widget (ex. like in xforms) ? I set field datatype to date, but again in browser widget is rendered as a normal text input without any extra date widget in which user could select date instead of manually typing it into input. Any help will be appreciated. Regards, Tomek Piechowicz Part of my form model : <fd:field id="projectNote"> <fd:label>Ocena projektu: </fd:label> <fd:datatype base="long"> <fd:selection-list> <fd:item value="2"/> <fd:item value="3"/> </fd:selection-list> </fd:datatype> </fd:field> Part of my form template: <ft:widget id="projectNote"> <fi:styling list-type="radio"/> </ft:widget> --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org