Input fields not created

Hi all,

When I use the Generator with the schema “inoDadosSchema.tsd” (coll: cloecao, doctype: raiz) the input fields aren’t in JSP pages.
If I use the “Property” doctype everything is fine.

Can anybody help us?

X-Application Version: 3.1.1
Tamino Version : 3.1.1
Platform : Win2k Pro WebContainer : Tomcat 3.3
JDK Version : 1.3.1_01

Thanks,

Frederico
Consist Brazil

inoDadosSchema.tsd

---- Start ----

<?xml version = "1.0" encoding = "UTF-8"?>
<xs:schema xmlns:xs = “XML Schema” xmlns:tsd = “http://namespaces.softwareag.com/tamino/TaminoSchemaDefinition”>
xs:annotation
xs:appinfo
<tsd:schemaInfo name = “colecao”>
<tsd:collection name = “colecao”></tsd:collection>
<tsd:doctype name = “raiz”>
tsd:logical
tsd:contentopen</tsd:content>
</tsd:logical>
tsd:physical</tsd:physical>
</tsd:doctype>
tsd:adminInfo
tsd:versionTSD3</tsd:version>
tsd:created2002-01-02T17:34:42.420-03:00</tsd:created>
tsd:modified2002-01-02T17:34:42.420-03:00</tsd:modified>
</tsd:adminInfo>
</tsd:schemaInfo>
</xs:appinfo>
</xs:annotation>
<xs:element name = “raiz”>
xs:complexType
<xs:choice minOccurs = “0” maxOccurs = “unbounded”>
<xs:element name = “elemento1”>
xs:annotation
xs:appinfo
tsd:elementInfo
tsd:physical
tsd:native
tsd:index
tsd:text</tsd:text>
</tsd:index>
</tsd:native>
</tsd:physical>
tsd:physical
tsd:which/raiz/elemento1</tsd:which>
tsd:native
tsd:index
tsd:text</tsd:text>
</tsd:index>
</tsd:native>
</tsd:physical>
</tsd:elementInfo>
</xs:appinfo>
</xs:annotation>
<xs:complexType mixed = “true”>
<xs:attribute name = “atributo” type = “xs:string”>
xs:annotation
xs:appinfo
tsd:attributeInfo
tsd:physical
tsd:native
tsd:index
tsd:text</tsd:text>
</tsd:index>
</tsd:native>
</tsd:physical>
tsd:physical
tsd:which/raiz/elemento1/@atributo</tsd:which>
tsd:native
tsd:index
tsd:text</tsd:text>
</tsd:index>
</tsd:native>
</tsd:physical>
</tsd:attributeInfo>
</xs:appinfo>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name = “elemento2”>
xs:annotation
xs:appinfo
tsd:elementInfo
tsd:physical
tsd:native
tsd:index
tsd:text</tsd:text>
</tsd:index>
</tsd:native>
</tsd:physical>
tsd:physical
tsd:which/raiz/elemento2</tsd:which>
tsd:native
tsd:index
tsd:text</tsd:text>
</tsd:index>
</tsd:native>
</tsd:physical>
</tsd:elementInfo>
</xs:appinfo>
</xs:annotation>
<xs:complexType mixed = “true”></xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:schema>

----- End -----

[This message was edited by Harald Wolf on 27 Feb 2002 at 16:38.]

Hello,

since the generation of choice elements is a quite complex task, it was not included in X-Application 3.1.1. So, currently choice tags are ignored and the associated input fields are not displayed. Only headings for those tags are generated.

We are working on this issue, so that in the near future a new version of the X-Application Generator will be available which will support choice tags as well.

As a workaround you can edit the generated JSP pages and add the JSP tags processing choice elements as described in the documentation.

Thank you for your comment.

Stefan Schwalm

Thank you very much, we will wait.

Best regards,
Frederico

Hi,

your problem should be solved with the preview that is released on the contributions forum.

Please check it out, comments are welcome

Cheers

Stefan Schwalm

Software AG, Darmstadt

Choices are now supported by the x-application generator.

Regards, Harald