PTCGlobalServices
Windchill9-ClientCustomization-PTC
StudentGuide
TS-GS-011
Copyright©2008ParametricTechnologyCorporation.AllRightsReserved.
UserandtrainingdocumentationfromParametricTechnologyCorporationanditssubsidiarycom-
panies(collectively"PTC")issubjecttothecopyrightlawsoftheUnitedStatesandothercoun-
triesandisprovidedunderalicenseagreementthatrestrictscopying,disclosure,anduseof
suchdocumentation.Thesoftwaredescribedinthisdocumentisprovidedunderwrittenlicense
agreement,containsvaluabletradesecretsandproprietaryinformation,andisprotectedbythe
copyrightlawsoftheUnitedStatesandothercountries.Itmaynotbecopiedordistributedinany
formormedium,disclosedtothirdparties,orusedinanymannernotprovidedforinthesoftware
licensesagreementexceptwithwrittenpriorapprovalfromPTC.
UNAUTHORIZEDUSEOFSOFTWAREORITSDOCUMENTATIONCANRESULTINCIVIL
DAMAGESANDCRIMINALPROSECUTION.
IPPolicy
PTCIPPolicy
ThePTCIPusageandprotectionpolicyforPTCinternalemployeesisstillbeingdened.
TableofContents
Windchill9-ClientCustomization-PTCStudentGuide
Module1:Introduction............................................................................................................1
ClassIntroductionandLogistics........................................................................................3
ClassroomRules.............................................................................................................4
Module2:GenericUICustomization........................................................................................7
UIBranding.....................................................................................................................9
ChangingDisplayedT extinrbInfoFiles...........................................................................10
Exercise1:CreateaNewLifeCycleState......................................................................17
IdentifyingModeledLocalizableText...............................................................................18
Exercise2:ModifyLocalizedT extUsingInfoReport........................................................20
HandlingIconsforBusinessObjects...............................................................................21
Preferences...................................................................................................................23
URLFactory..................................................................................................................25
Module3:StandardUIT echnologies.....................................................................................27
Exercise1:CreateaCustomSimpleTag........................................................................29
JavaServerPagesStandardTagLibrary..........................................................................31
CustomTags.................................................................................................................32
JavaExpressionLanguage.............................................................................................35
Exercise2:RetrieveResourceBundleDataandParsewithJSTLandEL........................36
JavaScriptOverview......................................................................................................39
AsynchronousJavaScriptandXML(Ajax).......................................................................41
Exercise3:DynamicUItoSearchforParts....................................................................43
Module4:WindchillClientArchitecture..................................................................................47
WindchillClientT echnologies..........................................................................................49
UIElements...................................................................................................................50
JSPClientArchitectureTerminology................................................................................61
ToolsandReferences.....................................................................................................65
Exercise1:UsetheJCAToolsandExamples.................................................................70
Module5:AddingActions.....................................................................................................73
ActionFramework..........................................................................................................75
JCAActions...................................................................................................................80
Exercise1:ModifyDefaultListofPartActions................................................................85
EditingTabsandSubTabs.............................................................................................86
Exercise2:IncorporateCustomJSPPagesintotheUI...................................................88
Validators......................................................................................................................92
Exercise3:CreateaT abVisibleonlytoAdministrator.....................................................99
Module6:DisplayaBasicTable..........................................................................................101
JCACommonComponents..........................................................................................103
DescribingaComponent..............................................................................................107
RetrievingData.............................................................................................................111
AdditionalDetailsforAcquiringData..............................................................................119
RenderComponent......................................................................................................122
Exercise1:ImplementaLifeCycleList........................................................................123
AcquireDatawithInfo*Engine.......................................................................................126
Exercise2:AcquireDatawithInfo*Engine....................................................................128
AcquireDatawithNmObjectUtility.................................................................................130
Module7:Attributes............................................................................................................133