Windchill Client Architecture Common Components
Tag getModel


Creates a component model based on the supplied component descriptor and query parameters. The resulting model is assigned to a scoped variable specified by the var attribute.


Tag Information
Tag Classcom.ptc.core.components.tags.components.GetModelTag
TagExtraInfo ClassNone
Body Contentscriptless
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
vartruetruejava.lang.StringThe scoped variable to assign the resulting component model to
scopefalsetruejava.lang.StringThe name of the scope to export the var attribute to. The scope can be (case-insensitive): "page","request","session", or "application"
serviceNamefalsetruejava.lang.StringThe name of the service class to use to get model data. This property is mutually exclusive with the queryCommand or statementSpec attributes. If this attribute is specified, then methodName must be specified as well. Arguments to the method can be specified with the addServiceArgument tag.
methodNamefalsetruejava.lang.StringThe name of the method to use to get model data. This property is mutually exclusive with the queryCommand or statementSpec attributes. If this attribute is specified, then serviceName must be specified as well. Arguments to this method can be specified with the addServiceArgument tag.
statementSpecfalsetruewt.pds.StatementSpecThe StatementSpec to use to get model data. Note that QuerySpec implements StatementSpec. This property is mutually exclusive with the queryCommand, serviceName, and methodName attributes.
queryCommandfalsetruecom.ptc.core.query.command.common.AbstractQueryCommandThe AbstractQueryCommand to use to get model data. This property is mutually exclusive with the statementSpec, serviceName, and methodName attributes.
descriptortruetruecom.ptc.core.components.descriptor.ComponentDescriptorThe descriptor to base the component model on
treeHandlerfalsetruejava.lang.StringThe selector for the TreeHandler to use to build the data model. The tree handler should be registered in application context
pageLimitfalsetrueintThe number of rows to display per page in the table. If this was specified by the getIeModel tag, it does not need to be respecified here.

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.