Skip to main content
1-Visitor
August 4, 2010
Question

How to fetch WTPart "number" from a propertyPanelModel ?

  • August 4, 2010
  • 0 replies
  • 519 views

Hi Windchill Guru's

I want to know howtofetch the "number" of the WTPart from the "propertyPanelModel" ?

As per the format of the WTPART "number" field my logic changes, hence I need to fetch the "number"

<-----------------------JSP Page -------------------------->

....

<jca:describepropertypanel var="propertyPanelDescriptor">
<jca:describeproperty id="number"/>
</jca:describepropertypanel>


<jca:getmodel var="propertyPanelModel"&lt;br"/> descriptor="${propertyPanelDescriptor}"
serviceName="wt.fc.StandardPersistenceManager"
methodName="refresh">
<jca:addserviceargument value="${commandBean.primaryOid.oid}" type="wt.fc.ObjectIdentifier"/>
</jca:getmodel>

<jca:renderpropertypanel>
<jca:addpropertypanel model="${propertyPanelModel}"/">
</jca:renderpropertypanel>

<-- HOW TO GET WTPART "number" from "propertyPanelModel" ? -->

Regards,

Pradeep Shinde