Start a topic
With the exception of Windchill, The PTC Community is on read-only status until April 6 in preparation for moving our community to a new platform. Learn more here
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

The PTC Community is on temporary read only status in preparation for moving our community to a new platform. Learn more here

Translate the entire conversation x

What are the Java APIs to validate the Windchill url component

Kanchana
10-Marble

What are the Java APIs to validate the Windchill url component

Hi, 

I want to create a Filter on the Pop-up Window Actions. Based on the action Name, I want to enable or disable the Action. What is the Java Api? I found WTContainerReference for the Product Details. 

 

Url : colorStructure/zfColorStructureWizardPopup?context=tcomp%24infoPage%24VR%3Awt.part.WTPart%3A1173627%24VR%3Awt.part.WTPart%3A1173627%21*&componentType=INFO&cacheBuster=17727800&ContainerOid=OR%3Awt.pdmlink.PDMLinkProduct%3A133401&oid=VR%3Awt.part.WTPart%3A1173627&u8=1&unique_page_number=58185912925159_7& AjaxEnabled=component&actionName=zfColorStructureWizard&

portlet=poppedup&context=tcomp%24infoPage%24VR%3Awt.part.WTPart%3A1173627%24VR%3Awt.part.WTPart%3A1173627!*&oid=VR%3Awt.part.WTPart%3A1173627

 

Thanks!

Kanchana.

 
ACCEPTED SOLUTION

Accepted Solutions

Found the solution.

HttpServletRequest httpRequest = validationCriteria.getHttpRequest();

String actionNameWizard = httpRequest.getParameter("actionName");

View solution in original post

3 REPLIES 3
TDT
16-Pearl
16-Pearl
(To:Kanchana)

Hi @Kanchana,

Do you need to hide the step JSP?

Kanchana
10-Marble
(To:TDT)

Hi @TDT ,

 

I want to Hide the Actions if its this Wizard pop up. zipped the screenshot.

There is Actions drop down menu which has Copy, Paste, Export Options within the Wizard toolbar. I want to Disable the Actions if this pop up wizard opens. Rest of the places, these Actions should show. So, I am creating a Filter to validate the actionName value.

 
 

 

 

 

Found the solution.

HttpServletRequest httpRequest = validationCriteria.getHttpRequest();

String actionNameWizard = httpRequest.getParameter("actionName");

Announcements


Top Tags