Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
Hi,
I would like to know how to show all Life Cycle States of a specific Life Cycle template in a drop down in Create Part jsp file.
So that the User can select the desired Life Cycle state from drop down while creating Part.
I have an idea to use DataUtility through customization.
But still looking for best solution to achieve this through Configuration.
Thanks in advance.
I'm doing something similar to display Views in a comboBox, but my comboBox is in a table, so I think I had to use the dataUtility for that reason.
Additionally you could put everything in the .jsp. I'm not sure which way is better, just showing you another option.
//JSP PAGE
<%
//Code to gather all system views
View[] viewList = ViewHelper.service.getAllViews();
List<string> viewKey = new ArrayList<string>();
List<string> viewDisplay = new ArrayList<string>();
for( int i=0; i < viewList.length; i++)
{
viewKey.add(viewList[i].getName());
viewDisplay.add(viewList[i].getName());
}
%>
<c:set var="d" value="<%=viewDisplay%">"/>
<c:set var="k" value="<%=viewKey%">"/>
<w:combobox id="comboBox1" name="comboBox1" displayvalues="${d}" internalvalues="${k}"/">
~Jamie
Hi David,