Portlet Factory, Version 6.1.2


 

Choosing builders that work with variables and schemas

This topic describes builders that work with variables and schemas.

Table 1. Builders to work with variables and schemas
Task Builder you should use
Create an XML variable. The Variable builder let you type or paste XML data; the Import To XML builder imports an XML file.
Use an existing schema file (.XSD) in a model. The Schema builder imports a schema for use in your model.
Create a simple schema. Use Variable builder to create an XML variable with the desired structure, and then use Simple Schema Generator builder to make a schema from that variable.
Use sample data in a schema. Use the Variable builder to generate some sample data. Select the Variable builder and use the Type select to navigate to your schema. After you have selected the schema, click on the Create Sample Data button to generate sample data.
Use an existing Java Bean in an application. Once you have used Linked Java Object to make the Bean available in your model, you can use the Data Page builder to generate page fields directly from Java Bean properties. The Java/XML Converter builder can also be used to convert beans to XML.
Transform data between schemas. Use the Service Operation builder for simple mapping. This is usually done in a service provider model. For more complex XML manipulation, use Java code that manipulates IXml. See the Javadoc for the IXml class for details.
Share some data across applications. For example, to create a filter application that lets users specify values that are used by multiple other applications on the same or different pages. The Shared Variable builder marks a variable so that it can be shared across applications and models.


Library | Support |