Personalización básica > User Interface Customization > Customizing HTML Clients Using the Windchill JSP Framework > Attribute Panels > Packaged Samples > Advanced Attribute Panel on an Information Page
  
Advanced Attribute Panel on an Information Page
This panel is the same one used in the Advanced Attribute Panel example, only displayed on a tab in the information page for the Carambola object type.
The action for this panel is the information page for the Carambola object type:
<action name="infoPageExample">
<command url="ptc1/tcomp/infoPage?typeIdForTypeLookup=com.ptc.carambola.
customization.examples.infoPage.Carambola" windowType="page"/>
</action>
The action tag used to invoke the action from the JSP adds the parameters “tlnAction” and “tlnType” to the infoPage URL to tell the system to navigate to the tab in the Carambola information page that has the “attributePanel” action component.
<%
HashMap<String,String> advPanelInfoPageParams = new HashMap<String,String>();
// automatically forward to the tab for attribute panel.
advPanelInfoPageParams.put("tlnAction", "attributePanel");
advPanelInfoPageParams.put("tlnType","carambola"); %>
<jca:action actionName="infoPageExample" actionType="carambola"
button="false" params="<%=advPanelInfoPageParams%>" shellURL="true"/>
The attributePanel action (defined for object type “carambola”) is the same one used to display the panel in the Advanced Attribute Panel example:
<action name="attributePanel">
<component name="attributesTable" typeBased="true" windowType="page"
urlParams="typeIdForTypeLookup=com.ptc.carambola.customization.examples.
attributePanel.AttributePanelExampleObject"
<label>Advanced Attribute Panel</label>
</action>
Although the attributePanel action is in the information page table of contents action model, it is not in the tab set action model for the Carambola type so the system creates a new tab in the information page for it.
Note that the panel is for an AttributePanelExampleObject even though the information page is for a Carambola object. This is because the datum object returned by the panel builder is an AttributePanelExampleObject.
See the Advanced Attribute Panel example for more information about the panel and builder used to produce it.
Location of Example
To navigate to this example in the produce go to Customization > Component Catalog > Attribute Panel > Advanced Attribute Panel on an Information Page.
Actions for this Example
Action Name
Object Type Name
File
infoPageExample
carambola
/config/actions/Carambola-actions.xml
Action Models for this Example
None
Packaged Samples