cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

How can I obtain the JSP value as a table in Info-Engine XML?

AR_9920456
12-Amethyst

How can I obtain the JSP value as a table in Info-Engine XML?

we write this xml in info engine.

<%@page language="java"%>
<%@taglib uri="http://www.ptc.com/infoengine/taglib/core" prefix="ie"%>

<ie:webject name="Query-Objects" type="OBJ">
<ie:param name="INSTANCE" data="$(@FORM[]supporting-adapter[*])" delim="!" valueSeparator="!" default="<%=com.infoengine.au.NamingService.getVMName()%>"/>
<ie:param name="ATTRIBUTE" data="Customer1"/>
<ie:param name="ATTRIBUTE" data="Emmision"/>
<ie:param name="ATTRIBUTE" data="Engine"/>
<ie:param name="ATTRIBUTE" data="healthStatus"/>
<ie:param name="TYPE" data="wt.projmgmt.admin.Project2"/>
<ie:param name="WHERE" data="()"/>
</ie:webject> 

 

 

we write jsp as 

<%@page language="java"%>
<%@taglib uri="http://www.ptc.com/infoengine/taglib/core" prefix="ie"%>
<html>
<body>

<ie:task uri="ext/NEWEXAMPLE.xml" processor="com.windchill.wcdev.Windchill"/>
<ie:webject name="Display-Table" type="DSP">
<ie:param name="ATTRIBUTE" data="S.No,Customer1,Emmision,Engine,healthStatus" delim=","/>
<ie:param name="HEADER" data="S.No,CUSTOMER,EMISION NORMS,ENGINE MODEL,STATUS" delim=","/>
<ie:param name="BORDER" data="1"/>
<ie:param name="GROUP_IN" data="project"/>
</ie:webject>


</html>
</body> We have a table, but we would like to fill a certain cell in the STATUS table with a specific color, such as RED, GREEN, or YELLOW.how to do this

2 REPLIES 2

Thank you for your question.
I encourage you to bring more details and context to your initial inquiry. This will make it easier for you to receive meaningful help from other Community members.
Regards,
Andra

Hi @AR_9920456 

Usually you can set a CSS style to the text in the table, and based on the CSS style it can be shown as you need by your conditions.

I usually write DataUtility where I assign own CSS style based on my conditions.

PetrH

Top Tags