[Using Sakai] some form questions
Luke FERNANDEZ
LFERNANDEZ at weber.edu
Fri Apr 10 11:20:06 PDT 2009
Is there a form builder tool bundled into 2.5x? At first gloss I don't see one....through Site Info I've added the the tool labeled:
Forms Add XSD forms for collecting structured data in matrices and wizards
But this tool doesn't actually generate XSD as far as I can tell.
Luke
>>> Sean Keesler <sean at keesler.org> 4/10/2009 12:11 PM >>>
I would recommend using the form builder tool itself, which doesn't
cause those issues.
An external that has worked for me in 2.5.x is:
formbuilder -r12479
https://source.sakaiproject.org/contrib/ucf/formbuilder/trunk
--Sean
On Fri, Apr 10, 2009 at 1:49 PM, Christian Aziz <caziz at rutgers.edu> wrote:
> Luke,
>
> It seems to me the only reason why Sakai didn't like it is the very first
> <xs:element> 'name' attribute was empty. Since that is the document's root
> node, Sakai doesn't know what to do with it. You'll notice it worked on the
> new one because that was included.
>
> Best regards,
>
> Christian V. Aziz - Instructional Designer
> Office of Instructional and Research Technology
> Rutgers, The State University of New Jersey
>
> 101K Administrative Services Building Annex 1
> 56 Bevier Road, Piscataway, NJ 08854
> Tel: 732-445-8732 | Fax: 732-445-5539
>
>
> ----- "Luke FERNANDEZ" <LFERNANDEZ at weber.edu> wrote:
>>
>>
>> I've just been fiddling with creating forms after a hiatus and I had a few
>> questions. I've been using the form builder at:
>>
>> http://trident.cdws.ucf.edu/xsdweaver/
>>
>> When I generated an XSD (see the XSD in the PS) and then tried to create
>> a form with it using the form tool the form tool wouldn't create it
>> (although it didn't throw a validation error). As a benchmark I tried
>> running through the process again with an old XSD I had lying around (see
>> PSS) and it worked.
>>
>> This suggests to me that the above URL for generating XSD may not always
>> generate stuff that Sakai's form builder can consume. Or is there another
>> explanation? What form builder are people using these days that will
>> generate XSDs that Sakai will gulp down without issues?
>>
>> Cheers,
>>
>> Luke
>>
>> PS: (Bad XSD:)
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
>> elementFormDefault="qualified">
>> <xs:element name="">
>> <xs:annotation>
>> <xs:documentation
>> source="ospi.label"></xs:documentation>
>> <xs:documentation
>> source="ospi.description"></xs:documentation>
>> </xs:annotation>
>> <xs:complexType>
>> <xs:sequence>
>> <xs:element name="Namex" minOccurs="1">
>> <xs:annotation>
>> <xs:documentation
>> source="ospi.label">Labelx</xs:documentation>
>> <xs:documentation
>> source="ospi.description">Descriptionx</xs:documentation>
>> </xs:annotation>
>> <xs:simpleType>
>> <xs:restriction base="xs:string">
>> <xs:maxLength value="100"/>
>> </xs:restriction>
>> </xs:simpleType>
>> </xs:element>
>> <xs:element name="NamexFile" minOccurs="1">
>> <xs:annotation>
>> <xs:documentation
>> source="ospi.label">LabexxFile</xs:documentation>
>> <xs:documentation
>> source="ospi.description">DescxFile</xs:documentation>
>> </xs:annotation>
>> <xs:simpleType>
>> <xs:restriction base="xs:anyURI">
>> </xs:restriction>
>> </xs:simpleType>
>> </xs:element>
>> </xs:sequence>
>> </xs:complexType>
>> </xs:element>
>> </xs:schema>
>>
>>
>> PSS (Good XSD):
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
>> elementFormDefault="qualified">
>> <xs:element name="evaluation">
>> <xs:complexType>
>> <xs:sequence>
>> <xs:element name="title" minOccurs="1" type="xs:string"/>
>> <xs:element name="comment" minOccurs="1" type="xs:string">
>> <xs:simpleType>
>> <xs:restriction base="xs:string">
>> <xs:maxLength value="512" />
>> </xs:restriction>
>> </xs:simpleType>
>> <xs:annotation>
>> <xs:documentation source="ospi.label">Write your
>> evaluation below</xs:documentation>
>> <xs:documentation source="ospi.description">Give your
>> reason here</xs:documentation>
>> <xs:documentation
>> source="ospi.isRichText">true</xs:documentation>
>> </xs:annotation>
>> </xs:element>
>> </xs:sequence>
>> </xs:complexType>
>> </xs:element>
>> </xs:schema>
>>
>>
>> _______________________________________________
>> sakai-user mailing list
>> sakai-user at collab.sakaiproject.org
>> http://collab.sakaiproject.org/mailman/listinfo/sakai-user
>>
>> TO UNSUBSCRIBE: send email to
>> sakai-user-unsubscribe at collab.sakaiproject.org with a subject of
>> "unsubscribe"
>>
> _______________________________________________
> sakai-user mailing list
> sakai-user at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-user
>
> TO UNSUBSCRIBE: send email to sakai-user-unsubscribe at collab.sakaiproject.org
> with a subject of "unsubscribe"
>
_______________________________________________
sakai-user mailing list
sakai-user at collab.sakaiproject.org
http://collab.sakaiproject.org/mailman/listinfo/sakai-user
TO UNSUBSCRIBE: send email to sakai-user-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
More information about the sakai-user
mailing list