private String resultingConversationIdOrOutcome;
@Create
public void createSelectItems()
{
ConversationEntries conversationEntries = ConversationEntries.getInstance();
if (conversationEntries==null)
{
selectItems = Collections.EMPTY_LIST;
}
else
{
Set<ConversationEntry> orderedEntries = new TreeSet<ConversationEntry>();
orderedEntries.addAll( conversationEntries.getConversationEntries() );
selectItems = new ArrayList<SelectItem>( conversationEntries.size() );
for ( ConversationEntry entry: orderedEntries )
{
if ( entry.isDisplayable() && !Session.instance().isInvalid() )
{
selectItems.add( new SelectItem( entry.getId(), entry.getDescription() ) );