Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X
I've been pretty good a custom display actions, tables and renderers. I need to create my first wizard which is simply in concept but there are some things I am unclear about.
Story: Add a custom action to the Change Notice that displays a related object to the change notice and allows the user to edit information about that object. There can be more than one related object but a drop down list will allow the user to toggle between the different objects to edit a specific one.
I think I have the form processor down which processes the form once a user hits complete. The wizard template (one step) looks fairly straight forward with describeAttributesTable block for input.
Things I am fuzzy on:
any help or examples appreciated.
Ok, looks like a solved the first part. Confidence building. In the wizard example, they buried the getModel call in another jspf fragment call. This is straight up standard stuff.
<jca:getModel var="tableModel" descriptor="${attributesTableDescriptor}"
serviceName="com.ptc.core.components.forms.CreateAndEditModelGetter"
methodName="getItemAttributes">
<jca:addServiceArgument value="${attributesTableDescriptor}" type="com.ptc.core.components.descriptor.ComponentDescriptor"/>
<jca:addServiceArgument value="${commandBean}" type="com.ptc.netmarkets.util.beans.NmCommandBean"/>
<jca:addServiceArgument value="${nmcontext.context}" type="com.ptc.netmarkets.util.misc.NmContext"/>
</jca:getModel>