Quantcast
Channel: PTC Community: Message List - Windchill
Viewing all articles
Browse latest Browse all 8876

Re: Get Part Information where i am on for JSP Site

$
0
0

Daniel,

 

Is it something along the lines of this in your jsp you are looking for?

 

<%@ include file="/netmarkets/jsp/util/begin.jspf" %>

 

<%@ page import="wt.fc.Persistable" %>

<%@ page import="wt.util.*" %>

<%@ page import="wt.part.*" %>

<%@ page import="wt.fc.*" %>

 

<%

String oid = request.getParameter("oid");

ReferenceFactory rf = new ReferenceFactory();

Persistable p = rf.getReference(oid).getObject();

WTPart wtp = (WTPart) p;

String num = wtp.getNumber();

%>

 

<%@ include file="/netmarkets/jsp/util/end.jspf"%>


Viewing all articles
Browse latest Browse all 8876

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>